Skip to content

Conversation

@ninpan-ms
Copy link
Contributor

@ninpan-ms ninpan-ms commented Dec 28, 2021


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

  • Have you run azdev style <YOUR_EXT> locally? (pip install azdev required)
  • Have you run 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.

@ninpan-ms ninpan-ms changed the title Add gateway related methods [Spring Cloud] Add gateway related methods Dec 28, 2021
@yonzhan
Copy link
Collaborator

yonzhan commented Dec 28, 2021

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")
Copy link
Contributor

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?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updated and added description

@zhoxing-ms
Copy link
Contributor

Is this part of main...VSChina:enterprise ? If so, please link these relevant PRs in the PR description

@zhoxing-ms zhoxing-ms merged commit 63de053 into Azure:main Dec 29, 2021
@ninpan-ms
Copy link
Contributor Author

#4294

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

Successfully merging this pull request may close these issues.

4 participants