Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Add AzureEnvironment namespace option and use its definition #192

Merged
merged 10 commits into from
Dec 1, 2020

Conversation

serbrech
Copy link
Member

The namespace connection settings are currently harcoded.
when deployed in different azure environment, Suffix and authentidation resourceURI endpoint need to be configured.
For most cases the autorest environment configuration should work, and should be the default source of truth.
For some special cases, we need to configure it manually.

This allows to use the values set in autorest azure environments, and to override it alltogether if needed by exposing the ResourceURI properties on the Namespace struct.

I think that the autorest environment value for service bus is outdated, and I have opened an issue for it :
Azure/go-autorest#565

namespace.go Outdated Show resolved Hide resolved
namespace.go Outdated Show resolved Hide resolved
namespace.go Outdated Show resolved Hide resolved
namespace.go Show resolved Hide resolved
namespace.go Outdated Show resolved Hide resolved
namespace.go Outdated Show resolved Hide resolved
namespace.go Outdated Show resolved Hide resolved
namespace.go Show resolved Hide resolved
namespace.go Show resolved Hide resolved
@jhendrixMSFT jhendrixMSFT merged commit c0e1f59 into Azure:master Dec 1, 2020
@jhendrixMSFT
Copy link
Member

Fix is in v0.10.7

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants