-
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
Support tls feature in api version 2021-09-01-preview #3976
Changes from 22 commits
62e330f
d60c93a
bf6e1f8
af9bf68
55efe1e
c2f397e
9a593e7
2eaad34
beda95e
9802d1e
1befe7e
11d553b
ee3aa12
cb16092
8102b03
daaa77e
dbf5e53
8161214
6faefef
2723794
f7e6b7c
4d62702
d9f1e3b
9118208
6525cdd
d29fe5b
9615643
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ | |
cf_spring_cloud, | ||
cf_spring_cloud_20201101preview, | ||
cf_spring_cloud_20210601preview, | ||
cf_spring_cloud_20210901preview, | ||
cf_config_servers) | ||
from ._transformers import (transform_spring_cloud_table_output, | ||
transform_app_table_output, | ||
|
@@ -69,6 +70,7 @@ def load_command_table(self, _): | |
g.custom_command('stop', 'app_stop', supports_no_wait=True) | ||
g.custom_command('restart', 'app_restart', supports_no_wait=True) | ||
g.custom_command('logs', 'app_tail_log') | ||
g.custom_command('append-loaded-public-certificate', 'app_append_loaded_public_certificate') | ||
|
||
with self.command_group('spring-cloud app identity', client_factory=cf_spring_cloud, | ||
exception_handler=handle_asc_exception) as g: | ||
|
@@ -102,12 +104,13 @@ def load_command_table(self, _): | |
g.custom_command('redis update', 'binding_redis_update') | ||
g.custom_show_command('remove', 'binding_remove') | ||
|
||
with self.command_group('spring-cloud certificate', client_factory=cf_spring_cloud, | ||
with self.command_group('spring-cloud certificate', client_factory=cf_spring_cloud_20210901preview, | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Should we just set the default API version to 2021-09-01-preview? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If not, we would update all clients related with certificate to 2021-09-01-preview one by one. |
||
exception_handler=handle_asc_exception) as g: | ||
g.custom_command('add', 'certificate_add') | ||
g.custom_show_command('show', 'certificate_show', table_transformer=transform_spring_cloud_certificate_output) | ||
g.custom_command('list', 'certificate_list', table_transformer=transform_spring_cloud_certificate_output) | ||
g.custom_command('remove', 'certificate_remove') | ||
g.custom_command('list-reference-app', 'certificate_list_reference_app', table_transformer=transform_app_table_output) | ||
|
||
with self.command_group('spring-cloud app custom-domain', client_factory=cf_spring_cloud, | ||
exception_handler=handle_asc_exception) as g: | ||
|
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.
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