Azure / Azure/apiops

[BUG] V6.0 pushes API with empty serviceUrl

Aperta
#670 4 commenti 2 reazioni 1 assegnatario Rivendicata da @guythetechie Vedi su GitHub
Lingua principale
C#
Stelle
448
Fork
247
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### Release version

v6.0.11

### Describe the bug

APIOps removes the `serviceUrl` (also known as HTTP(s) Endpoint) configuration for some of our APIs.
the serviceUrl is overwritten for every environment in a configuration and a couple (that we have seen) of our APIs had the serviceUrl changed to `null` by APIOps after upgrading to v6.0.11

I just rolled back to v5 and the few API have got their serviceUrl back

### Expected behavior

API consistently deployed with serviceUrl if it is overwritten from configuration file

### Actual behavior

few API deploy with serviceUrl as `null`

### Reproduction Steps

The apiInformation, specs and config file did not change since v5 for those API so I am unsure why it would fail here.

apiInformation.json:

```json
{
"properties": {
"apiRevision": "1",
"authenticationSettings": {},
"displayName": "rp-sis",
"isCurrent": true,
"path": "rp/scheme-integration-service",
"protocols": ["https"],
"serviceUrl": "https://sis.example.net",
"subscriptionRequired": false
}
}
```

configuration.d1.yml:

```yaml
---
apimServiceName: apimxxxxx
[...]
apis:
[...]
- name: rp-sis
properties:
serviceUrl: "https://sis.dev-example.net"
[...]
```

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.