Skip to content

Pull from upstream dev to origin release #321

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

Merged
merged 32 commits into from
May 5, 2016
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
6e0fa7c
Fixing CR comments on ADL live test
yoreddy Apr 12, 2016
7819b8f
Add built-in environment for AzureGermanCloud and remove unused source
markcowl Apr 23, 2016
53ac38d
Update tests for new AzureGermanCloud Environment
markcowl Apr 25, 2016
4d26435
added cmdlets for logger, properties, git and openIdConnect
solankisamir Apr 26, 2016
15980bf
Fixed Add-AzureAccount AAD authentication failure for empty AADTenant…
Apr 27, 2016
6285407
review comments around line break, switch parameter, assembly evidence
solankisamir Apr 27, 2016
47911ec
Fix Graph Audience for AzureGermanCloud endpoint
markcowl Apr 28, 2016
a3a7818
Merge remote-tracking branch 'refs/remotes/Azure/dev' into sasolank_u…
solankisamir Apr 28, 2016
945fefe
Resolve merge issues
solankisamir Apr 28, 2016
71bd4f3
Merge branch 'dev' of github.com:Azure/azure-powershell into blackForest
markcowl Apr 28, 2016
a47109a
Add missing BackupRestore files from Websites
solankisamir Apr 28, 2016
a0307a7
Resolve conflicts during merge with azurecmdfiles.wxi
solankisamir Apr 28, 2016
6bd6e20
Updating help analyzer to catch missing help xml files #2146
markcowl Apr 28, 2016
2d03e86
Updating old rdfe unit tests for environments
markcowl Apr 28, 2016
f03811e
Cleanup unused branch in HelpAnalyzer.cs
markcowl Apr 28, 2016
81c7d63
Update to allow a user to not specify a secret name
Apr 28, 2016
a0c503e
Merge pull request #2032 from MabOneSdk/release
markcowl Apr 28, 2016
936980a
Merge branch 'dev' of github.com:Azure/azure-powershell into blackForest
markcowl Apr 28, 2016
87e06b7
Merge branch 'dev' of github.com:Azure/azure-powershell into helpFix
markcowl Apr 28, 2016
c107184
Updating installer for renamed help files
markcowl Apr 28, 2016
e9a2f92
Merge branch 'dev' of https://github.com/Azure/azure-powershell into dev
Apr 28, 2016
f4959f0
Merge remote-tracking branch 'refs/remotes/Azure/dev' into sasolank_u…
solankisamir Apr 28, 2016
3ee88c0
Merge pull request #2137 from markcowl/blackForest
markcowl Apr 28, 2016
8be962c
Merge branch 'dev' of github.com:Azure/azure-powershell into helpFix
markcowl Apr 28, 2016
54324f6
Merge pull request #2161 from hovsepm/dev
markcowl Apr 28, 2016
5abe25e
Merge pull request #2164 from begoldsm/dev
markcowl Apr 28, 2016
40158fc
Fixing CR comments on ADL live test
yoreddy Apr 12, 2016
b2ac4eb
Support for CertificateFileContents in HDI-ADL cmdlets
yoreddy Apr 28, 2016
2087be4
Merge branch 'dev' of https://github.com/yoreddy/azure-powershell int…
yoreddy Apr 28, 2016
fea4bb8
Merge pull request #2155 from solankisamir/sasolank_updatepowershell
markcowl Apr 28, 2016
71b7811
Merge pull request #2163 from markcowl/helpFix
sphibbs Apr 28, 2016
24eebc9
Merge pull request #2166 from yoreddy/dev
Apr 28, 2016
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 15 additions & 7 deletions setup/azurecmdfiles.wxi
Original file line number Diff line number Diff line change
Expand Up @@ -2148,6 +2148,9 @@
<Component Id="cmp97DCE18753534AD69AF7E7D8D9E44502" Guid="*">
<File Id="fil90907D4E09BBD5280D1418AC997233C0" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.RedisCache\Microsoft.Rest.ClientRuntime.Azure.Authentication.dll" />
</Component>
<Component Id="cmpB32ADC3C63EDA08D6532967360D34D43" Guid="*">
<File Id="filE08640EF6FC290EA9D7AE25D975604D9" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.RedisCache\Microsoft.Rest.ClientRuntime.Azure.dll" />
</Component>
<Component Id="cmpDE6C92AC2ECEED1C03C8D6728B42EA70" Guid="*">
<File Id="filB8103ADF161FDE5CAC0F8629BB53738D" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.RedisCache\Microsoft.Rest.ClientRuntime.dll" />
</Component>
Expand Down Expand Up @@ -2627,8 +2630,8 @@
<Component Id="cmpA2A4B67ACC8738C88A82A9576BD82026" Guid="*">
<File Id="fil2E6EA8F5997FA6DBE29FCE3A58F051DF" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Storage\Microsoft.Rest.ClientRuntime.Azure.Authentication.dll" />
</Component>
<Component Id="cmp3AE4D7EAA86E455A89006A85332F6B3A" Guid="*">
<File Id="fil6C5492894C2F4DDD80E710891D53B6D2" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Storage\Microsoft.Rest.ClientRuntime.Azure.dll" />
<Component Id="cmp954D77FCB95677621EC6B1C52E8B4AB2" Guid="*">
<File Id="fil6844E5CF8B2186F0D283DF52A5892125" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Storage\Microsoft.Rest.ClientRuntime.Azure.dll" />
</Component>
<Component Id="cmpE56C0006C325EFBAD7984DBBCF689FD2" Guid="*">
<File Id="filDAF92272D69F4A127139311912333F8B" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Storage\Microsoft.Rest.ClientRuntime.dll" />
Expand Down Expand Up @@ -3015,6 +3018,9 @@
<Component Id="cmp8F839B12289A46E7A8870014F8111911" Guid="*">
<File Id="fil449FE2073F074013C18B88473DD9F75D" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Websites\Microsoft.Azure.Commands.Websites.dll" />
</Component>
<Component Id="cmpAC5BC334718546D9DDEBC02E08A4532E" Guid="*">
<File Id="fil0058CD8D090E7A70802FC54C74FADBEE" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Websites\Microsoft.Azure.Commands.Websites.dll-Help.xml" />
</Component>
<Component Id="cmp2488ACCABA4CB85A6B69DBB1D9FDD233" Guid="*">
<File Id="fil021881BAF48E9A0C07D3E790AA0F5590" KeyPath="yes" Source="$(var.sourceDir)\ResourceManager\AzureResourceManager\AzureRM.Websites\Microsoft.Azure.Common.dll" />
</Component>
Expand Down Expand Up @@ -4074,12 +4080,12 @@
<Component Id="cmpB379F478799A33A4B4343BA15AC89F48" Guid="*">
<File Id="fil0239F2F240D028259DDB85300C39829C" KeyPath="yes" Source="$(var.sourceDir)\ServiceManagement\Azure\RecoveryServices\Microsoft.Azure.Commands.Common.Authentication.dll" />
</Component>
<Component Id="cmp1E1EACEE941A7D7B9B2649BB3AC9ABC3" Guid="*">
<File Id="fil7BC44111780DA333D7D3C421E0660012" KeyPath="yes" Source="$(var.sourceDir)\ServiceManagement\Azure\RecoveryServices\Microsoft.Azure.Commands.RecoveryServices.dll-help.xml" />
</Component>
<Component Id="cmpB69D649FD24EBC270A2013375C2AF99B" Guid="*">
<File Id="fil8C7BE3D686B22FA7B371793DE9DFCCDD" KeyPath="yes" Source="$(var.sourceDir)\ServiceManagement\Azure\RecoveryServices\Microsoft.Azure.Commands.RecoveryServicesRdfe.dll" />
</Component>
<Component Id="cmpC1D7C834CACA385FC5B0D004675BC3BA" Guid="*">
<File Id="filF8B866285975B9616E0830999DFCE229" KeyPath="yes" Source="$(var.sourceDir)\ServiceManagement\Azure\RecoveryServices\Microsoft.Azure.Commands.RecoveryServicesRdfe.dll-help.xml" />
</Component>
<Component Id="cmp8BF1C84B7C0D6D25264BEF64FD945354" Guid="*">
<File Id="filD24F4EB26C2FA956CA7A93BCAF4A2AD7" KeyPath="yes" Source="$(var.sourceDir)\ServiceManagement\Azure\RecoveryServices\Microsoft.Azure.Common.dll" />
</Component>
Expand Down Expand Up @@ -5762,6 +5768,7 @@
<ComponentRef Id="cmpD5D6E28B9232D19A4D3FC543B56214DB" />
<ComponentRef Id="cmp6DCD11F46E1DCE998C423CD0BC09CD15" />
<ComponentRef Id="cmp97DCE18753534AD69AF7E7D8D9E44502" />
<ComponentRef Id="cmpB32ADC3C63EDA08D6532967360D34D43" />
<ComponentRef Id="cmpDE6C92AC2ECEED1C03C8D6728B42EA70" />
<ComponentRef Id="cmpC601580257AEA8DA8522AD7F32FE545C" />
<ComponentRef Id="cmp1BF396A297DE4BB9EFCE53AA38D5EF41" />
Expand Down Expand Up @@ -5919,7 +5926,7 @@
<ComponentRef Id="cmp4EA5A818E3BE7C67C27B69ADABCE5CBF" />
<ComponentRef Id="cmpBF600E80A7D04977AF21CAA07A79254C" />
<ComponentRef Id="cmpA2A4B67ACC8738C88A82A9576BD82026" />
<ComponentRef Id="cmp3AE4D7EAA86E455A89006A85332F6B3A" />
<ComponentRef Id="cmp954D77FCB95677621EC6B1C52E8B4AB2" />
<ComponentRef Id="cmpE56C0006C325EFBAD7984DBBCF689FD2" />
<ComponentRef Id="cmpA94FD747C692B4A9A45D9DE5D869DE53" />
<ComponentRef Id="cmp7F0D9683DB4D431F6A1A42EBCAD0E4E3" />
Expand Down Expand Up @@ -6045,6 +6052,7 @@
<ComponentRef Id="cmp9CD7A6B4A060D1905998AF07D0B4B02A" />
<ComponentRef Id="cmpC3F5E35306467501723E692635390B24" />
<ComponentRef Id="cmp8F839B12289A46E7A8870014F8111911" />
<ComponentRef Id="cmpAC5BC334718546D9DDEBC02E08A4532E" />
<ComponentRef Id="cmp2488ACCABA4CB85A6B69DBB1D9FDD233" />
<ComponentRef Id="cmp67AFEBC05483435B1BCA6071E6B47F01" />
<ComponentRef Id="cmp2C2622C3604F560651F9A1522DE2A835" />
Expand Down Expand Up @@ -6382,8 +6390,8 @@
<ComponentRef Id="cmp5FB7157FEA8EDC9D2D10814DA15518AE" />
<ComponentRef Id="cmpC0EA9433103A723191792448380E84AB" />
<ComponentRef Id="cmpB379F478799A33A4B4343BA15AC89F48" />
<ComponentRef Id="cmp1E1EACEE941A7D7B9B2649BB3AC9ABC3" />
<ComponentRef Id="cmpB69D649FD24EBC270A2013375C2AF99B" />
<ComponentRef Id="cmpC1D7C834CACA385FC5B0D004675BC3BA" />
<ComponentRef Id="cmp8BF1C84B7C0D6D25264BEF64FD945354" />
<ComponentRef Id="cmp18ED74EDB82DE2351B9655ED86ACA19A" />
<ComponentRef Id="cmp6842A5697846B92CCF6ED50688A26C1A" />
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ public void LoadingProfileWorks()
AzureSession.DataStore = dataStore;
dataStore.WriteFile(path, contents);
var profile = new AzureRMProfile(path);
Assert.Equal(4, profile.Environments.Count);
Assert.Equal(5, profile.Environments.Count);
Assert.Equal("3c0ff8a7-e8bb-40e8-ae66-271343379af6", profile.Context.Tenant.Id.ToString());
Assert.Equal("contoso.com", profile.Context.Tenant.Domain);
Assert.Equal("00000000-0000-0000-0000-000000000000", profile.Context.Subscription.Id.ToString());
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,32 @@ private string StorageFileEndpointFormat()
{ AzureEnvironment.Endpoint.GraphEndpointResourceId, AzureEnvironmentConstants.USGovernmentGraphEndpoint }
}
}
},
{
EnvironmentName.AzureGermanCloud,
new AzureEnvironment
{
Name = EnvironmentName.AzureGermanCloud,
Endpoints = new Dictionary<AzureEnvironment.Endpoint, string>
{
{ AzureEnvironment.Endpoint.PublishSettingsFileUrl, AzureEnvironmentConstants.GermanPublishSettingsFileUrl },
{ AzureEnvironment.Endpoint.ServiceManagement, AzureEnvironmentConstants.GermanServiceEndpoint },
{ AzureEnvironment.Endpoint.ResourceManager, AzureEnvironmentConstants.GermanResourceManagerEndpoint },
{ AzureEnvironment.Endpoint.ManagementPortalUrl, AzureEnvironmentConstants.GermanManagementPortalUrl },
{ AzureEnvironment.Endpoint.ActiveDirectory, AzureEnvironmentConstants.GermanActiveDirectoryEndpoint },
{ AzureEnvironment.Endpoint.ActiveDirectoryServiceEndpointResourceId, AzureEnvironmentConstants.GermanServiceEndpoint },
{ AzureEnvironment.Endpoint.StorageEndpointSuffix, AzureEnvironmentConstants.GermanStorageEndpointSuffix },
{ AzureEnvironment.Endpoint.Gallery, AzureEnvironmentConstants.GermanGalleryEndpoint },
{ AzureEnvironment.Endpoint.SqlDatabaseDnsSuffix, AzureEnvironmentConstants.GermanSqlDatabaseDnsSuffix },
{ AzureEnvironment.Endpoint.Graph, AzureEnvironmentConstants.GermanGraphEndpoint },
{ AzureEnvironment.Endpoint.TrafficManagerDnsSuffix, AzureEnvironmentConstants.GermanTrafficManagerDnsSuffix },
{ AzureEnvironment.Endpoint.AzureKeyVaultDnsSuffix, AzureEnvironmentConstants.GermanKeyVaultDnsSuffix },
{ AzureEnvironment.Endpoint.AzureKeyVaultServiceEndpointResourceId, AzureEnvironmentConstants.GermanAzureKeyVaultServiceEndpointResourceId },
{ AzureEnvironment.Endpoint.GraphEndpointResourceId, AzureEnvironmentConstants.GermanGraphEndpoint }
}
}
}

};

public Uri GetEndpointAsUri(AzureEnvironment.Endpoint endpoint)
Expand Down Expand Up @@ -337,88 +362,74 @@ public enum Endpoint
public static class EnvironmentName
{
public const string AzureCloud = "AzureCloud";

public const string AzureChinaCloud = "AzureChinaCloud";

public const string AzureUSGovernment = "AzureUSGovernment";
public const string AzureGermanCloud = "AzureGermanCloud";
}

public static class AzureEnvironmentConstants
{
public const string AzureServiceEndpoint = "https://management.core.windows.net/";

public const string ChinaServiceEndpoint = "https://management.core.chinacloudapi.cn/";

public const string USGovernmentServiceEndpoint = "https://management.core.usgovcloudapi.net/";
public const string GermanServiceEndpoint = "https://management.core.cloudapi.de/";

public const string AzureResourceManagerEndpoint = "https://management.azure.com/";

public const string ChinaResourceManagerEndpoint = "https://management.chinacloudapi.cn/";

public const string USGovernmentResourceManagerEndpoint = "https://management.usgovcloudapi.net/";
public const string GermanResourceManagerEndpoint = "https://management.microsoftazure.de/";

public const string GalleryEndpoint = "https://gallery.azure.com/";

public const string ChinaGalleryEndpoint = "https://gallery.chinacloudapi.cn/";

public const string USGovernmentGalleryEndpoint = "https://gallery.usgovcloudapi.net/";
public const string GermanGalleryEndpoint = "https://gallery.cloudapi.de/";

public const string AzurePublishSettingsFileUrl = "http://go.microsoft.com/fwlink/?LinkID=301775";

public const string ChinaPublishSettingsFileUrl = "http://go.microsoft.com/fwlink/?LinkID=301776";

public const string USGovernmentPublishSettingsFileUrl = "https://manage.windowsazure.us/publishsettings/index";
public const string GermanPublishSettingsFileUrl = "https://manage.microsoftazure.de/publishsettings/index";

public const string AzureManagementPortalUrl = "http://go.microsoft.com/fwlink/?LinkId=254433";

public const string ChinaManagementPortalUrl = "http://go.microsoft.com/fwlink/?LinkId=301902";

public const string USGovernmentManagementPortalUrl = "https://manage.windowsazure.us";
public const string GermanManagementPortalUrl = "http://portal.microsoftazure.de/";

public const string AzureStorageEndpointSuffix = "core.windows.net";

public const string ChinaStorageEndpointSuffix = "core.chinacloudapi.cn";

public const string USGovernmentStorageEndpointSuffix = "core.usgovcloudapi.net";
public const string GermanStorageEndpointSuffix = "core.cloudapi.de";

public const string AzureSqlDatabaseDnsSuffix = ".database.windows.net";

public const string ChinaSqlDatabaseDnsSuffix = ".database.chinacloudapi.cn";

public const string USGovernmentSqlDatabaseDnsSuffix = ".database.usgovcloudapi.net";
public const string GermanSqlDatabaseDnsSuffix = ".database.cloudapi.de";

public const string AzureActiveDirectoryEndpoint = "https://login.microsoftonline.com/";

public const string ChinaActiveDirectoryEndpoint = "https://login.chinacloudapi.cn/";

public const string USGovernmentActiveDirectoryEndpoint = "https://login-us.microsoftonline.com/";
public const string GermanActiveDirectoryEndpoint = "https://login.microsoftonline.de/";

public const string AzureGraphEndpoint = "https://graph.windows.net/";

public const string ChinaGraphEndpoint = "https://graph.chinacloudapi.cn/";

public const string USGovernmentGraphEndpoint = "https://graph.windows.net/";
public const string GermanGraphEndpoint = "https://graph.cloudapi.de/";

public const string AzureTrafficManagerDnsSuffix = "trafficmanager.net";

public const string ChinaTrafficManagerDnsSuffix = "trafficmanager.cn";

public const string USGovernmentTrafficManagerDnsSuffix = "usgovtrafficmanager.net";
public const string GermanTrafficManagerDnsSuffix = "azuretrafficmanager.de";

public const string AzureKeyVaultDnsSuffix = "vault.azure.net";

public const string ChinaKeyVaultDnsSuffix = "vault.azure.cn";

public const string USGovernmentKeyVaultDnsSuffix = "vault.usgovcloudapi.net";
public const string GermanKeyVaultDnsSuffix = "vault.microsoftazure.de";

public const string AzureKeyVaultServiceEndpointResourceId = "https://vault.azure.net";

public const string ChinaKeyVaultServiceEndpointResourceId = "https://vault.azure.cn";

public const string USGovernmentKeyVaultServiceEndpointResourceId = "https://vault.usgovcloudapi.net";
public const string GermanAzureKeyVaultServiceEndpointResourceId = "https://vault.microsoftazure.de";

public const string AzureDataLakeAnalyticsCatalogAndJobEndpointSuffix = "azuredatalakeanalytics.net";

public const string AzureDataLakeStoreFileSystemEndpointSuffix = "azuredatalakestore.net";
}
}

This file was deleted.

Loading