APIM cross reference is not allowed while publishing failing

オープン
#344 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
48/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
azure, github-actions, node.js, typescript
領域
cli, cloud

調査の方向性

Start by tracing the CLI publish path for APIM backends and how it handles certificate resource IDs across APIM instances. The report includes an HTTP 400 validation error showing a certificate from dev-apim-01 referenced while targeting uat-apim-01; reproduce with the reported setup and inspect the publish behavior. Done means publishing supports the intended cross-reference or clearly handles the invalid reference without failing unexpectedly.

索引モデルが issue の本文から書いたものです。

説明

type:bug
Command that triggered the bug

apiops cli

Expected behavior

resource group and apim instance should be allowed before while publishing APIM Instance PRROD instances

Actual behavior

ERROR PUT backend/XXXX: HTTP 400: {"error":{"code":"ValidationError","message":"Resource id '/subscriptions/XXXXX/resourceGroups/XXXX/providers/Microsoft.ApiManagement/service/XXXX/certificates/GCERT' references APIM service 'dev-apim-01', which is different from the service 'uat-apim-01' targeted by the request. Cross-service resource references are not allowed.","details":null}}

apiops CLI version

1.0.5

Environment details

LINUX
node js 24.21.0

CI/CD environment

GitHub Actions

Is this bug blocking you?

Yes

主要言語
TypeScript
スター
44
フォーク
14
PR マージ指標
30日以内にマージされた PR はありません

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

Azure/apiops-cli のほかの issue

Azure/apiops-cli の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。