Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

405 Error when modifying short names for commands #430

Open
andrew-lee-metaswitch opened this issue Jan 8, 2024 · 0 comments
Open

405 Error when modifying short names for commands #430

andrew-lee-metaswitch opened this issue Jan 8, 2024 · 0 comments

Comments

@andrew-lee-metaswitch
Copy link
Member

I am running the codegen server locally on WSL, and am hitting an issue adding short dummaries to commands in the GUI:

image

(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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant