[Question] APIM Publish is not working after extraction and getting error of version set
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 45/100
調査の方向性
Start with the publish flow and the request handling shown in tools/code/common/Http.cs at line 173, then trace how the extracted API version-set reference is used for a higher environment. Reproduce the publish failure from the stated steps and compare the referenced APIM service with the target service. Done means publishing the extracted API without the cross-service resource-reference error.
索引モデルが issue の本文から書いたものです。
説明
Release version
Old method (version < 3.0.0) API OPs
Question Details
System.Net.Http.HttpRequestException: HTTP request to URI https://management.azure.com/subscriptions/***/resourceGroups//providers/Microsoft.ApiManagement/service//apis/aiaut-smart-ingest-test-v1;rev=1?api-version=2023-09-01-preview failed with status code 400. Content is '{"error":{"code":"ValidationError","message":"Resource id '/subscriptions/***/resourceGroups//providers/Microsoft.ApiManagement/service//apiVersionSets/6aba9dd53fc6d87451c5577d' references APIM service '', which is different from the service '' targeted by the request. Cross-service resource references are not allowed.","details":null}}'.
at common.HttpPipelineExtensions.<>c__DisplayClass11_0.b__0(Response response) in /home/runner/work/apiops/apiops/tools/code/common/Http.cs:line 173
at LanguageExt.Either.Left2.Match[B](Func2 Left, Func`2 Right)
Expected behavior
Earlier it was deploying the same version set extracted by API ops to higher env.
Actual behavior
Earlier it was deploying the same version set extracted by API ops to higher env.
Reproduction Steps
After extraction when trying to publish the API to higher env
- 主要言語
- C#
- スター
- 449
- フォーク
- 248
- PR マージ指標
- 30日以内にマージされた PR はありません
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
Azure/apiops のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
[BUG] Publisher misses logger dependency in policy XML対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープン
難易度 3/5 1〜2日 初心者へのやさしさ 70/100
-
難易度 4/5 3〜5日 初心者へのやさしさ 55/100
-
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
似ている issue
-
Проблема с Dotnet RUオープンarea-tutorials needs-triage
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
dotnet/website-feedback#1779 ·
-
conductor good first issue ready
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
nilvon9wo/agentic-software-workflow#25 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
S: Untriaged
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
space-wizards/space-station-14#46357 ·
メンテナーはふだん 1 日以内に返信
-
Versioning_oM: Remove unneeded depeendecy on Test_oM対応中かも @IsakNaslundBh が今日担当しました。 オープンtype:bug type:compliance
難易度 2/5 1時間未満 初心者へのやさしさ 85/100
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100