APIM cross reference is not allowed while publishing failing
还没有人认领这个 Issue。
评估
- 难度
- 4/5
- 预计耗时
- 3-5 天
- 新手友好度
- 48/100
- Issue 类型
- 缺陷
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- azure, github-actions, node.js, typescript
调研方向
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 内容生成。
描述
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
环境准备
在浏览器里用你自己的 GitHub 账号启动这个项目的开发容器。
- 没有 Dockerfile 或 Docker Compose 文件
- 没有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
Azure/apiops-cli 的其他 Issue
-
type:bug
难度 2/5 1-3 小时 新手友好度 71/100
Azure/apiops-cli#350 ·
-
stale
难度 1/5 1-3 小时 新手友好度 84/100
Azure/apiops-cli#333 · 1 条评论 ·
-
extract fails when a policy uses set-backend-service backend-id="{{namedValue}}"可能已有人在做 @dannyward630 于 37 天前认领。 未关闭stale type:bug
难度 2/5 1-3 小时 新手友好度 78/100
Azure/apiops-cli#331 · 1 条评论 ·
-
Docs example says products are auto-included transitively, but they aren't extracted with `products: []`可能已有人在做 @cdayne 于 27 天前认领。 未关闭stale type:question
难度 2/5 1-3 小时 新手友好度 76/100
Azure/apiops-cli#277 · 1 条评论 ·
-
Extractor mistakes set-body json response as transitive dependency which causes pipeline failure未关闭type:bug
难度 3/5 1-2 天 新手友好度 56/100
Azure/apiops-cli#349 ·
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 64/100
tashfeenahmed/freellmapi#2217 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 67/100
remotion-dev/skills#37 ·
-
gui: a narrow window's gateway key row with a line under it wraps its faded badges onto blank lines未关闭
难度 2/5 1-3 小时 新手友好度 74/100
-
Slider: Escape during a thumb drag keeps and commits the dragged value, unlike ui-sdk's other drags未关闭
难度 2/5 1-3 小时 新手友好度 76/100
vercel-labs/ui#1758 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 70/100
nicobailon/pi-subagents#3425 ·
维护者通常 1 天内回复