Azure / Azure/azure-libraries-for-java
update web app api get Error because tag messed up
- 主要言語
- Java
- スター
- 97
- フォーク
- 102
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
### SDK version
1.11.0
### OS
Windows 10
### Actual behavior
api usage code snippet:
```
update.withJavaVersion(mojo.getJavaVersion()).withWebContainer(mojo.getJavaWebContainer());
update.apply();
```
```withJaveVersion``` and ```withWebContainer``` use the same setting with by web app, then I get the error message;
[ERROR] Failed to execute goal com.microsoft.azure:azure-webapp-maven-plugin:1.3.0-SNAPSHOT:deploy (default-cli) on project windows-jar: The request content was invalid and could not be deserialized:** 'Unexpected character encountered while parsing value: {. Path 'tags['hidden-related:/subscriptions/2085065b-00f8-4cba-9675-ba15f4d4ab66/resourcegroups/qisun/providers/Microsoft']**', line 1, position 144.'. OnError while emitting onNext value: retrofit2.Response.class -> [Help 1]
>Note
There was issue reported and addressed before, tracked in this issue https://github.com/Azure/azure-sdk-for-java/issues/1755
Is there any tag issue related regression?
コントリビューションガイド
調査の方向性
まず、SDK 1.11.0 上で、示されている update.withJavaVersion と withWebContainer の呼び出しを使って Maven plugin の deploy goal を再現し、次にタグを出力する Web アプリの更新パスを調査します。以前の issue #1755 と動作を比較します。2 つの設定によって不正なタグが作成されなくなり、デプロイに成功すれば完了です。
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- azure, java
- 領域
- cloud, devops
- issue の種類
- バグ
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 停滞
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100