Skip to content

Commit 3d38c4e

Browse files
authored
Merge pull request #564 from Azure/dev
huangpf PR: dev <- Azure:dev
2 parents e7365ba + f194766 commit 3d38c4e

File tree

2 files changed

+14
-9
lines changed

2 files changed

+14
-9
lines changed

src/ResourceManager/AzureBatch/Commands.Batch.Test/SessionRecords/Microsoft.Azure.Commands.Batch.Test.ScenarioTests.CertificateTests/TestCertificateCrudOperations.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
"RequestUri": "/certificates?api-version=2016-02-01.3.0",
55
"EncodedRequestUri": "L2NlcnRpZmljYXRlcz9hcGktdmVyc2lvbj0yMDE2LTAyLTAxLjMuMA==",
66
"RequestMethod": "POST",
7+
//[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")]
78
"RequestBody": "{\r\n \"thumbprint\": \"c1e494a415149c5f211c4778b52f2e834a07247c\",\r\n \"thumbprintAlgorithm\": \"sha1\",\r\n \"data\": \"MIIB9DCCAWGgAwIBAgIQpUXhwCuAPJRDhl7kY/0PdTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC0JhdGNoVGVzdDAxMB4XDTE1MTAwMjE2MjkwNVoXDTM5MTIzMTIzNTk1OVowFjEUMBIGA1UEAxMLQmF0Y2hUZXN0MDEwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAM06unpRipn3BmHBM75d0s8w/Wwifci16PoJo4c2V68GwsCCFsNOn5ypo7BBXo1fpBjrnso5w+koaE5LjxkBSVm+TkogwbKlW6WURTM0O5viRVbPnEEU/Y01Pj5cJElFuLEk9Uoe/r/lP8b5A607t1cPjSXkwhEZEYc3LkHDSo0ZAgMBAAGjSzBJMEcGA1UdAQRAMD6AEFRsTAsrvF+FmPuICooZXaKhGDAWMRQwEgYDVQQDEwtCYXRjaFRlc3QwMYIQpUXhwCuAPJRDhl7kY/0PdTAJBgUrDgMCHQUAA4GBALt0F8Ep+8XVE/M2aNtxzlku72gxiOiAo1HmpUaixXx3gl8kdP3xgoKMaq4JskqdLmbJJUnCQ3wmzsdPwjswsW2ycT12zuBddaiS+id98k8U/KYc6FxMgS+H70FYOxARLn7P4FSSBf/QCyign+BherzezdZ5NBdfzbmWxIMP5iFJ\",\r\n \"certificateFormat\": \"cer\"\r\n}",
89
"RequestHeaders": {
910
"Content-Type": [
@@ -81,6 +82,7 @@
8182
"AzurePowershell/v1.5.0"
8283
]
8384
},
85+
//[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")]
8486
"ResponseBody": "{\r\n \"odata.metadata\": \"https://jstesteastus2.eastus2.batch.azure.com/$metadata#certificates/@Element\",\r\n \"thumbprint\": \"c1e494a415149c5f211c4778b52f2e834a07247c\",\r\n \"thumbprintAlgorithm\": \"sha1\",\r\n \"url\": \"https://jstesteastus2.eastus2.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=C1E494A415149C5F211C4778B52F2E834A07247C)\",\r\n \"state\": \"active\",\r\n \"stateTransitionTime\": \"2016-06-16T22:35:33.3655549Z\",\r\n \"publicData\": \"MIIB9DCCAWGgAwIBAgIQpUXhwCuAPJRDhl7kY/0PdTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC0JhdGNoVGVzdDAxMB4XDTE1MTAwMjE2MjkwNVoXDTM5MTIzMTIzNTk1OVowFjEUMBIGA1UEAxMLQmF0Y2hUZXN0MDEwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAM06unpRipn3BmHBM75d0s8w/Wwifci16PoJo4c2V68GwsCCFsNOn5ypo7BBXo1fpBjrnso5w+koaE5LjxkBSVm+TkogwbKlW6WURTM0O5viRVbPnEEU/Y01Pj5cJElFuLEk9Uoe/r/lP8b5A607t1cPjSXkwhEZEYc3LkHDSo0ZAgMBAAGjSzBJMEcGA1UdAQRAMD6AEFRsTAsrvF+FmPuICooZXaKhGDAWMRQwEgYDVQQDEwtCYXRjaFRlc3QwMYIQpUXhwCuAPJRDhl7kY/0PdTAJBgUrDgMCHQUAA4GBALt0F8Ep+8XVE/M2aNtxzlku72gxiOiAo1HmpUaixXx3gl8kdP3xgoKMaq4JskqdLmbJJUnCQ3wmzsdPwjswsW2ycT12zuBddaiS+id98k8U/KYc6FxMgS+H70FYOxARLn7P4FSSBf/QCyign+BherzezdZ5NBdfzbmWxIMP5iFJ\"\r\n}",
8587
"ResponseHeaders": {
8688
"Content-Type": [
@@ -176,6 +178,7 @@
176178
"AzurePowershell/v1.5.0"
177179
]
178180
},
181+
//[SuppressMessage("Microsoft.Security", "CS002:SecretInNextLine")]
179182
"ResponseBody": "{\r\n \"odata.metadata\": \"https://jstesteastus2.eastus2.batch.azure.com/$metadata#certificates\",\r\n \"value\": [\r\n {\r\n \"thumbprint\": \"c1e494a415149c5f211c4778b52f2e834a07247c\",\r\n \"thumbprintAlgorithm\": \"sha1\",\r\n \"url\": \"https://jstesteastus2.eastus2.batch.azure.com/certificates(thumbprintAlgorithm=sha1,thumbprint=c1e494a415149c5f211c4778b52f2e834a07247c)\",\r\n \"state\": \"deleting\",\r\n \"stateTransitionTime\": \"2016-06-16T22:35:33.8477619Z\",\r\n \"previousState\": \"active\",\r\n \"previousStateTransitionTime\": \"2016-06-16T22:35:33.3655549Z\",\r\n \"publicData\": \"MIIB9DCCAWGgAwIBAgIQpUXhwCuAPJRDhl7kY/0PdTAJBgUrDgMCHQUAMBYxFDASBgNVBAMTC0JhdGNoVGVzdDAxMB4XDTE1MTAwMjE2MjkwNVoXDTM5MTIzMTIzNTk1OVowFjEUMBIGA1UEAxMLQmF0Y2hUZXN0MDEwgZ8wDQYJKoZIhvcNAQEBBQADgY0AMIGJAoGBAM06unpRipn3BmHBM75d0s8w/Wwifci16PoJo4c2V68GwsCCFsNOn5ypo7BBXo1fpBjrnso5w+koaE5LjxkBSVm+TkogwbKlW6WURTM0O5viRVbPnEEU/Y01Pj5cJElFuLEk9Uoe/r/lP8b5A607t1cPjSXkwhEZEYc3LkHDSo0ZAgMBAAGjSzBJMEcGA1UdAQRAMD6AEFRsTAsrvF+FmPuICooZXaKhGDAWMRQwEgYDVQQDEwtCYXRjaFRlc3QwMYIQpUXhwCuAPJRDhl7kY/0PdTAJBgUrDgMCHQUAA4GBALt0F8Ep+8XVE/M2aNtxzlku72gxiOiAo1HmpUaixXx3gl8kdP3xgoKMaq4JskqdLmbJJUnCQ3wmzsdPwjswsW2ycT12zuBddaiS+id98k8U/KYc6FxMgS+H70FYOxARLn7P4FSSBf/QCyign+BherzezdZ5NBdfzbmWxIMP5iFJ\"\r\n }\r\n ]\r\n}",
180183
"ResponseHeaders": {
181184
"Content-Type": [

tools/GlobalFilters.xml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -134,16 +134,16 @@
134134
<!-- <string>\\Test[s]?\\</string> -->
135135
<string>\\OneBox\\</string>
136136
<string>ART\\TSATest</string>
137-
<string>KeyVault\\KeyVault.Tests\\Resources\\localhost.pfx</string>
137+
<string>KeyVault\\KeyVault.Tests\\Resources\\localhost.pfx</string>
138138
<string>ResourceManager\\ApiManagement\\Commands.SMAPI.Test\\Resources\\testcertificate.pfx</string>
139-
<string>ResourceManager\\ApiManagement\\Commands.ApiManagement.Test\\testcertificate.pfx</string>
140-
<string>Common\\Commands.Common.Authentication.Test\\Resources\\InvalidProfile.PublishSettings</string>
141-
<string>Common\\Commands.Common.Authentication.Test\\Resources\\InvalidProfile.PublishSettings</string>
142-
<string>Common\\Commands.Common.Authentication.Test\\Resources\\ValidProfile3.PublishSettings</string>
143-
<string>Common\\Commands.Common.Authentication.Test\\Resources\\ValidProfile.PublishSettings</string>
144-
<string>Common\\Commands.Common.Authentication.Test\\Resources\\Azure.publishsettings</string>
145-
<string>Common\\Commands.Common.Authentication.Test\\Resources\\ValidProfileChina.PublishSettings</string>
146-
<string>Common\\Commands.Common.Authentication.Test\\Resources\\ValidProfileChinaOld.PublishSettings</string>
139+
<string>ResourceManager\\ApiManagement\\Commands.ApiManagement.Test\\testcertificate.pfx</string>
140+
<string>Common\\Commands.Common.Authentication.Test\\Resources\\InvalidProfile.PublishSettings</string>
141+
<string>Common\\Commands.Common.Authentication.Test\\Resources\\InvalidProfile.PublishSettings</string>
142+
<string>Common\\Commands.Common.Authentication.Test\\Resources\\ValidProfile3.PublishSettings</string>
143+
<string>Common\\Commands.Common.Authentication.Test\\Resources\\ValidProfile.PublishSettings</string>
144+
<string>Common\\Commands.Common.Authentication.Test\\Resources\\Azure.publishsettings</string>
145+
<string>Common\\Commands.Common.Authentication.Test\\Resources\\ValidProfileChina.PublishSettings</string>
146+
<string>Common\\Commands.Common.Authentication.Test\\Resources\\ValidProfileChinaOld.PublishSettings</string>
147147
<string>Common\\Commands.Common.Authentication.Test\\Resources\\ValidProfile2.PublishSettings</string>
148148
<string>ResourceManager\\AzureBatch\\Commands.Batch.Test\\Resources\\BatchTestCert05.pfx</string>
149149
<string>ResourceManager\\AzureBatch\\Commands.Batch.Test\\Resources\\BatchTestCert04.pfx</string>
@@ -168,6 +168,8 @@
168168
<string>ServiceManagement\\Compute\\Commands.ServiceManagement.Test\\Resources\\ServiceConfiguration.cscfg</string>
169169
<string>ServiceManagement\\Sql\\Commands.SqlDatabase.Test\\Resources\\PowershellTestClientCert.pfx</string>
170170
<string>ServiceManagement\\Sql\\Commands.SqlDatabase.Test\\Resources\\PowershellTestSSLCert.pfx</string>
171+
<string>\\bin\\Debug\\</string>
172+
<string>\\package[s]?\\</string>
171173
</Filters>
172174
</ResourceFilter>
173175
</ResourceSearchFilters>

0 commit comments

Comments
 (0)