-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[Spring Cloud] Add gateway related methods #4261
Conversation
Spring Cloud |
route_configs = client.gateway_route_configs.list( | ||
resource_group, service, DEFAULT_NAME) | ||
if name in (route_config.name for route_config in list(route_configs)): | ||
raise CLIError("Route config " + name + " already exists") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we use the specific error type InvalidArgumentValueError
or ValidationError
instead of CLIError
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Updated and added description
Is this part of main...VSChina:enterprise ? If so, please link these relevant PRs in the PR description |
Co-authored-by: ZelinWang <[email protected]>
Co-authored-by: ZelinWang <[email protected]>
Add implementation of gateway update, show, clear, gateway custom-domain show, list, update, unbind, gateway route-config show, list, create, update and remove.
The pr is part of main...VSChina:enterprise.
General Guidelines
azdev style <YOUR_EXT>
locally? (pip install azdev
required)python scripts/ci/test_index.py -q
locally?For new extensions:
About Extension Publish
There is a pipeline to automatically build, upload and publish extension wheels.
Once your PR is merged into master branch, a new PR will be created to update
src/index.json
automatically.The precondition is to put your code inside this repo and upgrade the version in the PR but do not modify
src/index.json
.