Azure / Azure/azure-cli-dev-tools
405 Error when modifying short names for commands
- Lingua principale
- Python
- Stelle
- 91
- Fork
- 134
- Merge medio
- 2h 51m
- PR unite (30g)
- 1
Descrizione
I am running the codegen server locally on WSL, and am hitting an issue adding short dummaries to commands in the GUI:

(azcli) developer@DESKTOP-10GJ18A ~/ado $ aaz-dev run -c azure-cli -e azure-cli-extensions/ -s azure-rest-api-specs-pr/ -a aaz/
* Environment: production
WARNING: This is a development server. Do not use it in a production deployment.
Use a production WSGI server instead.
* Debug mode: off
/home/developer/ado/azcli/lib/python3.8/site-packages/fuzzywuzzy/fuzz.py:11: UserWarning: Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning
warnings.warn('Using slow pure-python SequenceMatcher. Install python-Levenshtein to remove this warning')
INFO:werkzeug:WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
* Running on http://127.0.0.1:5000
INFO:werkzeug:Press CTRL+C to quit
tcgetpgrp failed: Not a tty
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:02] "GET / HTTP/1.1" 304 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:02] "GET /static/js/main.5e3a54b4.js HTTP/1.1" 304 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:02] "GET /static/css/main.e6c13ad2.css HTTP/1.1" 304 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:02] "GET /manifest.json HTTP/1.1" 304 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:02] "GET /favicon.ico HTTP/1.1" 304 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:02] "GET /logo192.png HTTP/1.1" 304 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:04] "GET / HTTP/1.1" 304 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:04] "GET /static/js/main.5e3a54b4.js HTTP/1.1" 304 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:04] "GET /static/css/main.e6c13ad2.css HTTP/1.1" 304 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:04] "GET /AAZ/Editor/Workspaces HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:04] "GET /manifest.json HTTP/1.1" 304 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:04] "GET /logo192.png HTTP/1.1" 304 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:06] "GET /AAZ/Specs/Planes HTTP/1.1" 200 -
INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:06] "GET /AAZ/Editor/Workspaces/mobilenetwork-andrew HTTP/1.1" 200 -
**INFO:werkzeug:127.0.0.1 - - [08/Jan/2024 15:12:20] "PATCH /AAZ/Editor/Workspaces/mobilenetwork-andrew/CommandTree/Nodes/aaz/mobile-network/packet-core-control-plane HTTP/1.1" 405 -**
After following https://eng.ms/docs/cloud-ai-platform/azure-core/azure-management-and-platforms/control-plane-bburns/azure-cli-tools-azure-cli-powershell-and-terraform/azure-cli-tools/teams_docs/azcli_docs/setup_for_codegen
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Inizia eseguendo il comando documentato `aaz-dev run` e riproduci la modifica nella GUI che invia PATCH a `/AAZ/Editor/Workspaces/{workspace}/CommandTree/Nodes/{node}`. Traccia il modo in cui il server di codegen gestisce quell’endpoint e determina perché restituisce 405. Il lavoro è completato quando i riepiloghi brevi dei comandi possono essere modificati tramite la GUI senza la risposta 405.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- python
- Ambito
- cli, tooling
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100