Conversation
️✔️AzureCLI-FullTest
|
|
Hi @wchigit, |
|
| rule | cmd_name | rule_message | suggest_message |
|---|---|---|---|
| connection create cosmos-sql | cmd connection create cosmos-sql update parameter client_type: updated property choices from ['dotnet', 'java', 'nodejs', 'none', 'python'] to ['dotnet', 'java', 'nodejs', 'none', 'python', 'springBoot'] |
||
| connection preview-configuration cosmos-sql | cmd connection preview-configuration cosmos-sql update parameter client_type: updated property choices from ['dotnet', 'java', 'nodejs', 'none', 'python'] to ['dotnet', 'java', 'nodejs', 'none', 'python', 'springBoot'] |
||
| connection update cosmos-sql | cmd connection update cosmos-sql update parameter client_type: updated property choices from ['dotnet', 'java', 'nodejs', 'none', 'python'] to ['dotnet', 'java', 'nodejs', 'none', 'python', 'springBoot'] |
||
| functionapp connection create cosmos-sql | cmd functionapp connection create cosmos-sql update parameter client_type: updated property choices from ['dotnet', 'java', 'nodejs', 'none', 'python'] to ['dotnet', 'java', 'nodejs', 'none', 'python', 'springBoot'] |
||
| functionapp connection update cosmos-sql | cmd functionapp connection update cosmos-sql update parameter client_type: updated property choices from ['dotnet', 'java', 'nodejs', 'none', 'python'] to ['dotnet', 'java', 'nodejs', 'none', 'python', 'springBoot'] |
||
| webapp connection create cosmos-sql | cmd webapp connection create cosmos-sql update parameter client_type: updated property choices from ['dotnet', 'java', 'nodejs', 'none', 'python'] to ['dotnet', 'java', 'nodejs', 'none', 'python', 'springBoot'] |
||
| webapp connection update cosmos-sql | cmd webapp connection update cosmos-sql update parameter client_type: updated property choices from ['dotnet', 'java', 'nodejs', 'none', 'python'] to ['dotnet', 'java', 'nodejs', 'none', 'python', 'springBoot'] |
Collaborator
|
Service Connector |
az spring connection: enable new auth types for Spring Boot and Cosmos SQL connectionaz spring connection: Enable new auth types for Spring Boot and Cosmos SQL connection
yungezz
reviewed
Jul 3, 2023
...zure/cli/command_modules/serviceconnector/tests/latest/test_springboot_cosmossql_scenario.py
Outdated
Show resolved
Hide resolved
xfz11
approved these changes
Jul 12, 2023
Contributor
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
kairu-ms
approved these changes
Jul 12, 2023
avgale
pushed a commit
to avgale/azure-cli
that referenced
this pull request
Aug 24, 2023
… Spring Boot and Cosmos SQL connection (Azure#26719) * add Spring Cloud Azure migration warning * update warning message * delete whitespace * delete redundant whitespaces * fix typo * fix line-too-long error * improve warning messages * add check and test results * fix not-in-list ValueError * fix CLI style * add logs * fix style
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related command
az spring connection create/update cosmos-sql
az spring connection show
az spring connection list-configuration
Description
To enable managed identity and service principal as the auth type when sercie connector connects spring apps and cosmos sql using spring boot as the client type. According to Spring Cloud Azure version 4.0, new configuration properties are included. Warning for migration and new display of the connection config info is added.
Testing Guide
Create connection with system identity
az spring connection create cosmos-sql --resource-group --service --app --target-resource-group --account --database --client-type springBoot
Update connection with user identity
az spring connection update cosmos-sql --resource-group --service --app --connection --user-identity client-id= subs-id=
List configurations
az spring connection list-configuration -g --service --app --connection
If the auth type is secret, two sets of configurations will be displayed with explanations.
History Notes
[Component Name 1] BREAKING CHANGE:
az command a: Make some customer-facing breaking change[Component Name 2]
az command b: Add some customer-facing featureThis checklist is used to make sure that common guidelines for a pull request are followed.
The PR title and description has followed the guideline in Submitting Pull Requests.
I adhere to the Command Guidelines.
I adhere to the Error Handling Guidelines.