[BUG] Running publisher after revision deletion remove whole API
- Vorherrschende Sprache
- C#
- Sterne
- 448
- Forks
- 247
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
### Release version
v6.0.1.3
### Describe the bug
When I commit changes to an API with multiple revisions and remove one of the revisions, the publisher removes the entire API.
### Expected behavior
I expect that only the revision removed in the commit will be deleted from the APIM instance.
### Actual behavior
In reality, the entire API is removed from the APIM instance.
### Reproduction Steps
I have an API with three revisions:
```
apis/
├── azerty-service/
├── azerty-service;rev=2/
└── azerty-service;rev=3/
```
I delete the folder apis/azerty-service;rev=2, commit the changes, and run the publisher for these updates.
As a result, the entire API azerty-service, including all its revisions, is removed from the APIM instance.
Beitragsleitfaden
Rechercherichtung
Beginne damit, das Update von publisher mit einer API zu reproduzieren, die die drei aufgeführten Revisionen enthält, entferne anschließend nur den Ordner apis/azerty-service;rev=2 und führe publisher aus. Als erledigt gilt die Änderung, wenn die APIM-Instanz azerty-service und azerty-service;rev=3 behält und nur Revision 2 löscht.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- azure, csharp
- Bereich
- api, devops
- Issue-Typ
- Bug
- Schwierigkeit
- 4/5
- Geschätzter Aufwand
- 3-5 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100