APIM cross reference is not allowed while publishing failing

Abierto
#344 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
azure, github-actions, node.js, typescript
Área
cli, cloud

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
TypeScript
Estrellas
44
Forks
14
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Azure/apiops-cli

Todos los issues de Azure/apiops-cli

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.