This repository was archived by the owner on Oct 10, 2023. It is now read-only.
feat(AzureEnvironments): use upstream func for validation#4587
Open
JefeDavis wants to merge 3 commits into
Open
feat(AzureEnvironments): use upstream func for validation#4587JefeDavis wants to merge 3 commits into
JefeDavis wants to merge 3 commits into
Conversation
Author
|
Hi @JefeDavis! And thank you for opening your first Pull Request. Someone will review it soon. Thank you for committing to making Tanzu Framework better. |
remove hard-coded maps for Azure environments and call EnvironmentFromName function from go-autorest/azure library to leverage upstream provider to validate Azure Environments also enables initial ability to specify custom endpoints for AzureStackCloud by using the Environment 'AzureStackCloud' and specifying AZURE_ENVIRONMENT_FILEPATH and providing an AzureEnvironment json file Closes Issue vmware-tanzu#3162 Signed-off-by: Jeff Davis <jeffda@vmware.com>
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
What this PR does / why we need it
removes hard-coded maps for Azure environments and
calls the EnvironmentFromName function from go-autorest/azure library to leverage upstream provider to validate Azure Environments. Also enables initial ability to specify custom endpoints for AzureStackCloud by using the Environment 'AzureStackCloud', specifying AZURE_ENVIRONMENT_FILEPATH, and providing an AzureEnvironment json file
Which issue(s) this PR fixes
Fixes #3162
Describe testing done for PR
Unit tests have been added to cover this change
Release note
Additional information
Special notes for your reviewer