[FEATURE REQ] Allow only product extraction and not enforce that apis are also extracted in the same run
- Lingua principale
- C#
- Stelle
- 448
- Fork
- 247
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
### Please describe the feature.
When I run a product extractor and have no apis listed. It will not write the apis association file. I see in the Trace that the apis are being listed but i believe the CLI is getting that list and perhaps trying to validate that the APIs exist or, that it tries to reconcile them with its own list of APIs. And when it doesn't find a match, it doesn't write any associations.
We have a workflow whereby we manage products separately. This pretty much means I cannot run the product extractor or, if I do, i have to also extract the APIS, and then cherry pick the src content and move it into a branch that I can then reconcile w/ the rest of the codebase.
Perhaps if we can't just trust the api-names in the product (and I don't know why you couldn't.. as they're saved in the platform) then you could list APIs and check the names for matches.
But I think you can just get the API names from the list products for API as you do and just trust the names: https://learn.microsoft.com/en-us/rest/api/apimanagement/product-api/list-by-product?view=rest-apimanagement-2022-08-01&tabs=HTTP
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia con l’estrattore dei prodotti e il percorso CLI che gestisce i prodotti per i quali non sono elencate API, quindi confrontalo con l’endpoint API Management List APIs by Product menzionato nell’issue. La modifica è completa quando un’estrazione limitata ai prodotti scrive il proprio file di associazione delle API senza richiedere l’estrazione delle API né rifiutare i nomi delle API del prodotto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- azure, csharp
- Ambito
- api, backend
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100