Skip to content

Updating release notes for the AzureStack release 1.6.0 #7924

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

Closed
wants to merge 105 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
105 commits
Select commit Hold shift + click to select a range
c8337dd
Add code changes to support gallery images and ultraSSD in the simple
praries880 Nov 6, 2018
dfc8485
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
praries880 Nov 6, 2018
2d0e4d1
Add changelog entry
praries880 Nov 6, 2018
1682d70
Add and update cmdlet scripts
zyxyoshine Nov 6, 2018
3c3da94
Add and update tests
zyxyoshine Nov 6, 2018
8087870
Update SessionRecords
zyxyoshine Nov 6, 2018
61f6b14
Merge branch 'preview' into Oct2018FRP
zyxyoshine Nov 7, 2018
c544ff5
fix comments
zyxyoshine Nov 8, 2018
6b1188b
Add negative tests
zyxyoshine Nov 8, 2018
17cf1c1
Update SessionRecords
zyxyoshine Nov 8, 2018
c5b0167
Merge branch 'Oct2018FRP' of https://github.com/zyxyoshine/azure-powe…
zyxyoshine Nov 8, 2018
f40cee5
Checking Subdomain, Tabular Formatting
cle5eland Nov 8, 2018
04cc0e8
Added test execution
cle5eland Nov 8, 2018
25a05eb
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
praries880 Nov 8, 2018
25e326d
Add test changes and fix the code
praries880 Nov 8, 2018
bad9bc4
updated version and changelog
cle5eland Nov 8, 2018
a45900f
Fix ultraSSD tests for new-vm case
praries880 Nov 8, 2018
de0f0ab
Add test file for new ultrassd test
praries880 Nov 8, 2018
d273b81
Update change log
zyxyoshine Nov 9, 2018
db73da9
Add ultrassd tests for vmss as well
praries880 Nov 9, 2018
04d1154
Add missing test file and update logic in image.cs
praries880 Nov 12, 2018
134dc84
Removed storage depedency when inferring storageBlobContainerName
yaakoviyun Nov 14, 2018
186b73c
Removed storage depedency when inferring storageBlobContainerName
yaakoviyun Nov 14, 2018
1e953a1
Update changelog
yaakoviyun Nov 14, 2018
ba13e84
[Storage] Support hdfs
blueww Jun 25, 2018
6191d1a
Merge branch 'preview' into 6499_UltraSSD_SIG_Compute
Nov 14, 2018
8f2c890
Add tests for creating vm/vmss from SIG images
praries880 Nov 15, 2018
3ba73f1
Addressed Review -- Renamed methods, reverted version
cle5eland Nov 15, 2018
de2cabd
Merge branch '6499_UltraSSD_SIG_Compute' of https://github.com/prarie…
praries880 Nov 15, 2018
2b48162
[Stroage] breaking chagne notice
blueww Nov 15, 2018
eeaac2d
Add alias support for Get- AzsInfrastructureVolume cmdlet
zyxyoshine Nov 15, 2018
44b2140
Resolve issue https://github.com/Azure/azure-powershell/issues/6161
zhangyd2015 Nov 15, 2018
57e48bd
updated test record
cle5eland Nov 15, 2018
00329a9
Merge pull request #7843 from Azure/release-2018-11-20
Nov 15, 2018
3a18da0
Merge branch 'preview' into locationwarn
Nov 15, 2018
309181f
Merge branch 'preview' into preview
Nov 15, 2018
38daeb2
Merge branch 'preview' into Oct2018FRP
Nov 15, 2018
477ec6a
Merge pull request #7834 from wastoresh/locationwarn
Nov 15, 2018
622034f
Merge pull request #7762 from zyxyoshine/Oct2018FRP
Nov 16, 2018
c3e9508
Merge branch 'preview' into clthomps/iotcentral-backlog
Nov 16, 2018
0874d36
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
praries880 Nov 16, 2018
fe47e9a
Update help files
praries880 Nov 16, 2018
0ae470b
Took care of review comments
praries880 Nov 16, 2018
658a82a
Merge pull request #7853 from Azure/release-2018-11-20
Nov 16, 2018
511d57b
Merge branch 'preview' into 6499_UltraSSD_SIG_Compute
Nov 16, 2018
42220a6
Update ChangeLog.md
Nov 17, 2018
87ffded
Merge branch 'preview' into preview
Nov 17, 2018
07ea15e
Merge pull request #7821 from wastoresh/hdfs
Nov 17, 2018
a9d0f28
Merge pull request #7820 from yaakoviyun/preview
Nov 17, 2018
e320294
Update WindowsAzure.Storage to 9.3.0 and remove warning suppress, upd…
zhangyd2015 Nov 17, 2018
4f953cf
Merge branch 'preview' of https://github.com/zhangyd2015/azure-powers…
zhangyd2015 Nov 17, 2018
090403a
Merge pull request #7754 from praries880/6499_UltraSSD_SIG_Compute
Nov 19, 2018
96196cf
Merge branch 'preview' into clthomps/iotcentral-backlog
cormacpayne Nov 19, 2018
a6f5611
Add required assemblies System.IO.FileSystem.AccessControl.dll and Mi…
zhangyd2015 Nov 20, 2018
b80295b
Update Set-AzureRmSqlDatabase.md
FonsecaSergio Nov 20, 2018
f461c1c
Update Enable-AzureRmActivityLogAlert.md
SwayTex Nov 20, 2018
5830816
Merge pull request #7870 from FonsecaSergio/patch-2
cormacpayne Nov 20, 2018
d7dc565
Merge pull request #7871 from SwayTex/patch-1
Nov 20, 2018
ea79a0b
Merge pull request #7779 from cle5eland/clthomps/iotcentral-backlog
Nov 20, 2018
95f7837
Merge pull request #7839 from zhangyd2015/preview
MiYanni Nov 20, 2018
bb3da11
add powershell module and test for alert repair SDK
sumitabarahmand Nov 1, 2018
f8249f0
[Storage] Support Static Web blob service configuration
blueww Nov 21, 2018
71a04b8
Modify documentation in help files.
bashahee Nov 21, 2018
245f9a3
Update AuditingHelpMessages.cs
bashahee Nov 21, 2018
1aef174
Reset all commits to 1
thomasyip-msft Nov 21, 2018
ef54a33
Merge pull request #9 from Azure/preview
bashahee Nov 21, 2018
347643c
Update ChangeLog.md
bashahee Nov 21, 2018
04c30fd
Updating Azs.Fabric.Admin version to 0.3.0 resolving the conflicts
bganapa Nov 21, 2018
4ad9497
Merge pull request #7803 from thomasyip-msft/AutomationTests
MiYanni Nov 21, 2018
899f229
Merge pull request #7882 from bashahee/preview
cormacpayne Nov 21, 2018
72f99e8
[Storage] Fix the FileCopy
blueww Nov 21, 2018
e34cb51
added client side validations for AFS restore
siddharth7 Nov 23, 2018
aefa6df
[RS] Added deprecation message for Set-AzureRmRecoveryServicesVaultCo…
Nov 23, 2018
3c2f375
Update New-AzureRmOperationalInsightsWorkspace.md
theheatDK Nov 25, 2018
48ded99
Update New-AzureRmLoadBalancerOutboundRuleConfig.md
khannarhea Nov 26, 2018
f7b8705
Add a sample script to calculate storage account billable size.
EmmaZhu Oct 8, 2018
51a01e9
Refine the script to calculate billable blob size.
EmmaZhu Oct 19, 2018
f3fd2e7
Update New-AzureRmOperationalInsightsWorkspace.md
cormacpayne Nov 26, 2018
b1412aa
Merge pull request #7888 from MabOneSdk/users/sisi/afs-restore-update…
cormacpayne Nov 26, 2018
e9c7a65
Merge pull request #7893 from Azure/khannarhea-patch-1
cormacpayne Nov 26, 2018
ac17aaf
Merge pull request #7891 from theheatDK/patch-1
cormacpayne Nov 26, 2018
667dea5
Merge pull request #7889 from MabOneSdk/deprecate-vaultcontext
cormacpayne Nov 26, 2018
eef7401
making storage account and rg name optional for afs restore
siddharth7 Nov 22, 2018
2cb2c72
Merge pull request #7879 from wastoresh/staticweb
cormacpayne Nov 26, 2018
c24ba1f
Merge branch 'preview' into filcopycontext
cormacpayne Nov 26, 2018
707f5f9
Merge pull request #7877 from EmmaZhu/preview
cormacpayne Nov 26, 2018
60d1133
Merge pull request #7878 from wastoresh/filcopycontext
cormacpayne Nov 26, 2018
e9a0d4d
Bug 3231969: Minor typo in Invoke-AzureRmStorageSyncCompatibilityChec…
Nov 26, 2018
43a221f
Merge branch 'preview' of https://github.com/Azure/azure-powershell i…
Nov 26, 2018
2dc784e
Merge pull request #7906 from afedyashov/preview
cormacpayne Nov 26, 2018
dd84cdd
Merge pull request #7742 from sumitabarahmand/feature/repairswagger
Nov 27, 2018
4dadd10
Re-generated Help Files for new cmdlet.
Nov 27, 2018
8888950
Added module description back
Nov 27, 2018
fe75838
Update Add-AzureRmApplicationGatewayHttpListenerCustomError.md
chayanbaner Nov 27, 2018
2f028fe
Update Microsoft.DataTransfer.Gateway.Encryption to 3.11.6898.1 to co…
zhangyd2015 Nov 27, 2018
65e3429
Fix code to use Get-AnalysisServicesLocation
Nov 27, 2018
3bfcbcb
Update New-AzureRmTag.md
DexterPOSH Nov 27, 2018
d3e979f
Update ChangeLog.md
cormacpayne Nov 27, 2018
76579c0
Merge pull request #7918 from minghan/miteh-fix-2018-11
cormacpayne Nov 27, 2018
911dc90
Merge pull request #7911 from deathly809/preview
cormacpayne Nov 27, 2018
7e02bcd
Merge pull request #7886 from MabOneSdk/users/sisi/afs-restore-update
cormacpayne Nov 27, 2018
7828a7e
Merge pull request #7922 from DexterPOSH/patch-1
cormacpayne Nov 27, 2018
32d0a3f
Merge pull request #7917 from chayanbaner/patch-1
cormacpayne Nov 27, 2018
821f8f2
Merge pull request #7919 from zhangyd2015/preview
cormacpayne Nov 27, 2018
b32403c
Updating release notes for the AzureStack release 1.6.0
bganapa Nov 27, 2018
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
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ function Test-AnalysisServicesServer
try
{
# Creating server
$location = Get-Location
$location = Get-AnalysisServicesLocation
$resourceGroupName = Get-ResourceGroupName
$serverName = Get-AnalysisServicesServerName
$backupBlobContainerUri = $env:AAS_DEFAULT_BACKUP_BLOB_CONTAINER_URI
Expand Down Expand Up @@ -105,9 +105,8 @@ function Test-AnalysisServicesServer
Suspend-AzureRmAnalysisServicesServer -ResourceGroupName $resourceGroupName -Name $serverName
[array]$serverGet = Get-AzureRmAnalysisServicesServer -ResourceGroupName $resourceGroupName -Name $serverName
$serverGetItem = $serverGet[0]
# this is to ensure backward compatibility compatibility. The servie side would make change to differenciate state and provisioningState in future
Assert-True {$serverGetItem.State -like "Paused"}
Assert-True {$serverGetItem.ProvisioningState -like "Paused"}
# Assert-True {$serverGetItem.ProvisioningState -like "Succeeded"} # TODO: Uncomment this in future after fix is deployed.

# Resume Analysis Servicesserver
Resume-AzureRmAnalysisServicesServer -ResourceGroupName $resourceGroupName -Name $serverName
Expand Down Expand Up @@ -139,7 +138,7 @@ function Test-AnalysisServicesServerScaleUpDown
try
{
# Creating server
$location = Get-Location
$location = Get-AnalysisServicesLocation
$resourceGroupName = Get-ResourceGroupName
$serverName = Get-AnalysisServicesServerName
New-AzureRmResourceGroup -Name $resourceGroupName -Location $location
Expand Down Expand Up @@ -195,7 +194,7 @@ function Test-AnalysisServicesServerFirewall
try
{
# Creating server
$location = Get-Location Microsoft.AnalysisServices 'servers' 'West US'
$location = Get-AnalysisServicesLocation
$resourceGroupName = Get-ResourceGroupName
$serverName = Get-AnalysisServicesServerName
New-AzureRmResourceGroup -Name $resourceGroupName -Location $location
Expand Down Expand Up @@ -262,7 +261,7 @@ function Test-AnalysisServicesServerScaleOutIn
try
{
# Creating server
$location = Get-Location Microsoft.AnalysisServices 'servers' 'West US'
$location = Get-AnalysisServicesLocation
$resourceGroupName = Get-ResourceGroupName
$serverName = Get-AnalysisServicesServerName
New-AzureRmResourceGroup -Name $resourceGroupName -Location $location
Expand Down Expand Up @@ -324,7 +323,7 @@ function Test-AnalysisServicesServerDisableBackup
try
{
# Creating server
$location = Get-Location
$location = Get-AnalysisServicesLocation
$resourceGroupName = Get-ResourceGroupName
$serverName = Get-AnalysisServicesServerName
$backupBlobContainerUri = $env:AAS_DEFAULT_BACKUP_BLOB_CONTAINER_URI
Expand Down Expand Up @@ -390,7 +389,7 @@ function Test-NegativeAnalysisServicesServer
try
{
# Creating Account
$location = Get-Location
$location = Get-AnalysisServicesLocation
$resourceGroupName = Get-ResourceGroupName
$serverName = Get-AnalysisServicesServerName
New-AzureRmResourceGroup -Name $resourceGroupName -Location $location
Expand Down Expand Up @@ -450,7 +449,7 @@ function Test-AnalysisServicesServerLogExport
)
try
{
$location = Get-Location
$location = Get-AnalysisServicesLocation
$resourceGroupName = Get-ResourceGroupName
$serverName = Get-AnalysisServicesServerName
New-AzureRmResourceGroup -Name $resourceGroupName -Location $location
Expand Down Expand Up @@ -498,7 +497,7 @@ function Test-AnalysisServicesServerRestart
try
{
# Creating server
$location = Get-Location
$location = Get-AnalysisServicesLocation
$resourceGroupName = Get-ResourceGroupName
$serverName = Get-AnalysisServicesServerName
New-AzureRmResourceGroup -Name $resourceGroupName -Location $location
Expand Down Expand Up @@ -554,7 +553,7 @@ function Test-AnalysisServicesServerSynchronizeSingle
try
{
# Creating server
$location = Get-Location
$location = Get-AnalysisServicesLocation
$resourceGroupName = Get-ResourceGroupName
$serverName = Get-AnalysisServicesServerName
New-AzureRmResourceGroup -Name $resourceGroupName -Location $location
Expand Down Expand Up @@ -633,7 +632,7 @@ function Test-AnalysisServicesServerGateway
try
{
# Creating server
$location = Get-Location
$location = Get-AnalysisServicesLocation
$resourceGroupName = Get-ResourceGroupName
$serverName = Get-AnalysisServicesServerName
$gatewayName = $env:GATEWAY_NAME
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,11 @@ function Get-ResourceGroupName

<#
.SYNOPSIS
Gets a location for testing.
Gets a location for testing Azure Analysis Services.
#>
function Get-Location
function Get-AnalysisServicesLocation
{
# TODO: should be implemented via Get-AzureRmResourceProvider
return "West US"
return Get-Location -providerNamespace "Microsoft.AnalysisServices" -resourceType "servers" -preferredLocation "West US"
}

<#
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@
<None Update="ScenarioTests\*.ps1">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="ScenarioTests\*.cer">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="ScenarioTests\Resources\*.*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,10 +62,18 @@
<Compile Include="ScenarioTests\AccountTests.cs" />
<Compile Include="ScenarioTests\AutomationScenarioTestsBase.cs" />
<Compile Include="ScenarioTests\AutomationTests.cs" />
<Compile Include="ScenarioTests\CertificateTests.cs" />
<Compile Include="ScenarioTests\ConnectionTests.cs" />
<Compile Include="ScenarioTests\CredentialTests.cs" />
<Compile Include="ScenarioTests\HybridWorkerGroupTests.cs" />
<Compile Include="ScenarioTests\JobScheduleTests.cs" />
<Compile Include="ScenarioTests\ModuleTests.cs" />
<Compile Include="ScenarioTests\ScheduleTests.cs" />
<Compile Include="ScenarioTests\VariableTests.cs" />
<Compile Include="ScenarioTests\RunbookJobTests.cs" />
<Compile Include="ScenarioTests\SourceControlTests.cs" />
<Compile Include="ScenarioTests\UpdateManagementTests.cs" />
<Compile Include="ScenarioTests\WebhookTests.cs" />
<Compile Include="UnitTests\GetAzureAutomationDscNodeConfigurationDeploymentSchedulesTest.cs" />
<Compile Include="UnitTests\GetAzureAutomationDscNodeConfigurationTest.cs" />
<Compile Include="UnitTests\GetAzureAutomationDscNodeReportTest.cs" />
Expand Down Expand Up @@ -126,122 +134,16 @@
<ItemGroup>
<None Include="MSSharedLibKey.snk" />
<None Include="packages.config" />
<None Include="ScenarioTests\AccountTests.ps1">
<None Include="SessionRecords\**\*.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="ScenarioTests\AutomationTests.ps1">
<None Include="ScenarioTests\*.ps1">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="ScenarioTests\HybridWorkerGroupTests.ps1">
<None Include="ScenarioTests\*.cer">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="ScenarioTests\Resources\RB-GraphTutorial.graphrunbook">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="ScenarioTests\Resources\RB-PowerShellScriptTutorial.ps1">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="ScenarioTests\RunbookJobTests.ps1">
<CopyToOutputDirectory>Always</CopyToOutputDirectory>
</None>
<None Include="ScenarioTests\SourceControlTests.ps1">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="ScenarioTests\UpdateManagementTests.ps1">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="ScenarioTests\Resources\fastjob.ps1">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="ScenarioTests\Resources\ContosoDscConfiguration.ps1" />
<None Include="ScenarioTests\Resources\Test-Workflow.ps1">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="ScenarioTests\Resources\Test-WorkflowV2.ps1">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="ScenarioTests\Resources\Test-WorkFlowWithVariousParameters.ps1">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="ScenarioTests\Resources\Use-WorkflowCheckpointSample.ps1">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="ScenarioTests\Resources\Write-DebugAndVerboseOutput.ps1">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
<ItemGroup />
<ItemGroup>
<Content Include="SessionRecords\Microsoft.Azure.Commands.Automation.Test.AccountTests\*.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="SessionRecords\Commands.Automation.Test.SourceControlTests\CreateGitHubSourceControlAndSync.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="SessionRecords\Commands.Automation.Test.SourceControlTests\CreateVsoGitSourceControlAndSync.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="SessionRecords\Commands.Automation.Test.SourceControlTests\CreateVsoTfvcSourceControlAndSync.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="SessionRecords\Commands.Automation.Test.HybridWorkerGroupTests\E2EHybridWorkerGroup.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="SessionRecords\Commands.Automation.Test.UpdateManagementTests\CreateLinuxWeeklySUC.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="SessionRecords\Commands.Automation.Test.UpdateManagementTests\CreateWindowsMonthlySUC.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="SessionRecords\Commands.Automation.Test.UpdateManagementTests\CreateLinuxOneTimeSUCNonAzureOnly.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="SessionRecords\Commands.Automation.Test.UpdateManagementTests\CreateLinuxOneTimeSUCWithAllOption.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="SessionRecords\Commands.Automation.Test.UpdateManagementTests\CreateLinuxOneTimeSUCWithDefaults.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="SessionRecords\Commands.Automation.Test.UpdateManagementTests\CreateWindowsOneTimeSUCWithAllOption.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="SessionRecords\Commands.Automation.Test.UpdateManagementTests\CreateWindowsOneTimeSUCWithDefaults.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="SessionRecords\Commands.Automation.Test.UpdateManagementTests\DeleteSUC.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="SessionRecords\Commands.Automation.Test.UpdateManagementTests\GetAllMachineRuns.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="SessionRecords\Commands.Automation.Test.UpdateManagementTests\GetAllMachineRunsWithFilters.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="SessionRecords\Commands.Automation.Test.UpdateManagementTests\GetAllMachineRunsWithFiltersNoResults.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="SessionRecords\Commands.Automation.Test.UpdateManagementTests\GetAllRuns.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="SessionRecords\Commands.Automation.Test.UpdateManagementTests\GetAllRunsWithFilters.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="SessionRecords\Commands.Automation.Test.UpdateManagementTests\GetAllRunsWithFiltersNoResults.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="SessionRecords\Commands.Automation.Test.UpdateManagementTests\GetAllSUCs.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<Content Include="SessionRecords\Commands.Automation.Test.UpdateManagementTests\GetAllSUCsForVM.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</Content>
<None Include="SessionRecords\Commands.Automation.Test.RunbookJobTests\TestCreateRunbookGraph.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="SessionRecords\Commands.Automation.Test.RunbookJobTests\TestImportAndDeleteRunbookGraphical.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Include="SessionRecords\Commands.Automation.Test.RunbookJobTests\TestImportRunbookPowerShell.json">
</None>
<None Include="ScenarioTests\Resources\*.*">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@
// limitations under the License.
// ----------------------------------------------------------------------------------

using Microsoft.Azure.Commands.Automation.Test;
using Microsoft.Azure.ServiceManagemenet.Common.Models;
using Microsoft.WindowsAzure.Commands.ScenarioTest;
using Xunit;

namespace Microsoft.Azure.Commands.Automation.Test
namespace Commands.Automation.Test
{
public class AccountTests : AutomationScenarioTestsBase
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,12 +50,13 @@ protected void RunPowerShellTest(XunitTracingInterceptor logger, params string[]
var sf = new StackTrace().GetFrame(1);
var callingClassType = sf.GetMethod().ReflectedType?.ToString();
var mockName = sf.GetMethod().Name;

HttpMockServer.RecordsDirectory = GetSessionRecordsDirectory();
using (var context = MockContext.Start(callingClassType, mockName))
{
SetupManagementClients(context);

var callingClassName = callingClassType?
var callingClassName = callingClassType ?
.Split(new[] { "." }, StringSplitOptions.RemoveEmptyEntries)
.Last();

Expand Down Expand Up @@ -88,7 +89,6 @@ private string GetSessionRecordsDirectory()
{
// Note: if you are developing new tests, set the recording directory to a local path.
// this is the location where the json files will be created.
// var recordsDirectory = Path.Combine("e:\\", "SessionRecords");
var recordsDirectory = Path.Combine(AppDomain.CurrentDomain.BaseDirectory, "SessionRecords");
return recordsDirectory;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
// ----------------------------------------------------------------------------------
//
// Copyright Microsoft Corporation
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
// http://www.apache.org/licenses/LICENSE-2.0
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// ----------------------------------------------------------------------------------

namespace Commands.Automation.Test
{
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Microsoft.Azure.Commands.Automation.Test;
using Microsoft.Azure.ServiceManagemenet.Common.Models;
using Microsoft.WindowsAzure.Commands.ScenarioTest;
using Xunit;
public class CertificateTests : AutomationScenarioTestsBase
{
public XunitTracingInterceptor logger;

public CertificateTests(Xunit.Abstractions.ITestOutputHelper output)
{
logger = new XunitTracingInterceptor(output);
XunitTracingInterceptor.AddToContext(logger);
}

[Fact]
[Trait(Category.Service, Category.Automation)]
[Trait(Category.RunType, Category.LiveOnly)]
[Trait(Category.AcceptanceType, Category.CheckIn)]
[Trait(Category.AcceptanceType, Category.BVT)]
public void TestE2ECertificates()
{
RunPowerShellTest(logger, "Test-E2ECertificates");
}

}
}
Loading