Skip to content
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

Do hydra to swagger specs migration for azure-sdk-for-net #3482

Merged
merged 10 commits into from
Jul 27, 2017
Original file line number Diff line number Diff line change
Expand Up @@ -20,61 +20,7 @@
</ItemGroup>

<ItemGroup>
<None Update="SessionRecords\Authorization.Tests.BasicTests\ClassicAdministratorListTests.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="SessionRecords\Authorization.Tests.BasicTests\RoleAssignmentAtScopeAndAboveTest.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="SessionRecords\Authorization.Tests.BasicTests\RoleAssignmentByIdTests.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="SessionRecords\Authorization.Tests.BasicTests\RoleAssignmentListByFilterTest.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="SessionRecords\Authorization.Tests.BasicTests\RoleAssignmentListForScopeTest.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="SessionRecords\Authorization.Tests.BasicTests\RoleAssignmentListWithAssignedToFilterTest.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="SessionRecords\Authorization.Tests.BasicTests\RoleAssignmentPagingTest.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="SessionRecords\Authorization.Tests.BasicTests\RoleAssignmentsCreateDeleteTests.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="SessionRecords\Authorization.Tests.BasicTests\RoleAssignmentsListGetTests.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="SessionRecords\Authorization.Tests.BasicTests\RoleDefinitionCreateTests.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="SessionRecords\Authorization.Tests.BasicTests\RoleDefinitionsByIdTests.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="SessionRecords\Authorization.Tests.BasicTests\RoleDefinitionsListGetTests.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="SessionRecords\Authorization.Tests.BasicTests\RoleDefinitionsListWithFilterTests.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="SessionRecords\Authorization.Tests.BasicTests\RoleDefinitionUpdateTests.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="SessionRecords\Authorization.Tests.PermissionsTests\GetNonExistentResourceGroupPermissions.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="SessionRecords\Authorization.Tests.PermissionsTests\GetNonExistentResourcePermissions.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="SessionRecords\Authorization.Tests.PermissionsTests\GetResourceGroupPermissions.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="SessionRecords\Authorization.Tests.PermissionsTests\GetResourcePermissions.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
<None Update="SessionRecords\Authorization.Tests.TestExecutionContext\.ctor.json">
<None Update="SessionRecords\**\*.json">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
</None>
</ItemGroup>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
"a5949526-d805-4782-b507-b556e230e0e5"
"c42156f6-dcf6-449a-8470-1c10e7a27441"
],
"accept-language": [
"en-US"
],
"User-Agent": [
"FxVersion/4.6.25009.03",
"FxVersion/4.6.25211.01",
"Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/2.5.0.0"
]
},
Expand All @@ -29,7 +29,7 @@
"no-cache"
],
"Date": [
"Thu, 08 Jun 2017 23:20:38 GMT"
"Thu, 25 May 2017 07:14:40 GMT"
],
"Pragma": [
"no-cache"
Expand All @@ -42,16 +42,16 @@
"Accept-Encoding"
],
"x-ms-request-id": [
"westus2:1e7e4205-cf95-40a3-a78d-aff641a83f52"
"southeastasia:9fa50e45-d87b-4dc6-ad49-375e5339c915"
],
"x-ms-ratelimit-remaining-subscription-reads": [
"14979"
"14726"
],
"x-ms-correlation-request-id": [
"b7f76d95-207c-4c9c-a579-2879da42e39c"
"45ffa78b-9eec-416c-8fa3-20707db2578b"
],
"x-ms-routing-request-id": [
"WESTUS2:20170608T232038Z:b7f76d95-207c-4c9c-a579-2879da42e39c"
"SOUTHEASTASIA:20170525T071440Z:45ffa78b-9eec-416c-8fa3-20707db2578b"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,66 @@
{
"Entries": [
{
"RequestUri": "/providers/Microsoft.Authorization/providerOperations?api-version=0001-07-01&$expand=resourceTypes",
"EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wcm92aWRlck9wZXJhdGlvbnM/YXBpLXZlcnNpb249MDAwMS0wNy0wMSYkZXhwYW5kPXJlc291cmNlVHlwZXM=",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
"dbc90372-3670-493a-8b06-32650e47a124"
],
"accept-language": [
"en-US"
],
"User-Agent": [
"FxVersion/4.6.25009.03",
"Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/2.5.0.0"
]
},
"ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"InvalidResourceType\",\r\n \"message\": \"The resource type 'providerOperations' could not be found in the namespace 'Microsoft.Authorization' for api version '0001-07-01'. The supported api-versions are '2015-07-01-preview,2015-07-01,2016-07-01'.\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"258"
],
"Content-Type": [
"application/json; charset=utf-8"
],
"Expires": [
"-1"
],
"Cache-Control": [
"no-cache"
],
"Date": [
"Wed, 26 Jul 2017 07:21:22 GMT"
],
"Pragma": [
"no-cache"
],
"x-ms-failure-cause": [
"gateway"
],
"x-ms-ratelimit-remaining-tenant-reads": [
"14980"
],
"x-ms-request-id": [
"900673a1-fd3e-4b2c-b0b7-17c8ed0fd052"
],
"x-ms-correlation-request-id": [
"900673a1-fd3e-4b2c-b0b7-17c8ed0fd052"
],
"x-ms-routing-request-id": [
"WESTUS:20170726T072122Z:900673a1-fd3e-4b2c-b0b7-17c8ed0fd052"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
]
},
"StatusCode": 404
}
],
"Names": {},
"Variables": {
"SubscriptionId": "4004a9fd-d58e-48dc-aeb2-4a4aec58606f"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"Entries": [
{
"RequestUri": "/providers/Microsoft.Authorization/providerOperations/InvalidProvider?api-version=2015-07-01&$expand=resourceTypes",
"EncodedRequestUri": "L3Byb3ZpZGVycy9NaWNyb3NvZnQuQXV0aG9yaXphdGlvbi9wcm92aWRlck9wZXJhdGlvbnMvSW52YWxpZFByb3ZpZGVyP2FwaS12ZXJzaW9uPTIwMTUtMDctMDEmJGV4cGFuZD1yZXNvdXJjZVR5cGVz",
"RequestMethod": "GET",
"RequestBody": "",
"RequestHeaders": {
"x-ms-client-request-id": [
"4074ccf0-ec81-4824-b468-8f188d855775"
],
"accept-language": [
"en-US"
],
"User-Agent": [
"FxVersion/4.6.25009.03",
"Microsoft.Azure.Management.Authorization.AuthorizationManagementClient/2.5.0.0"
]
},
"ResponseBody": "{\r\n \"error\": {\r\n \"code\": \"ProviderNotFound\",\r\n \"message\": \"Provider 'InvalidProvider' not found.\"\r\n }\r\n}",
"ResponseHeaders": {
"Content-Length": [
"87"
],
"Content-Type": [
"application/json; charset=utf-8"
],
"Expires": [
"-1"
],
"Cache-Control": [
"no-cache"
],
"Date": [
"Wed, 26 Jul 2017 07:22:10 GMT"
],
"Pragma": [
"no-cache"
],
"Server": [
"Microsoft-IIS/8.5"
],
"Set-Cookie": [
"x-ms-gateway-slice=productionb; path=/; secure; HttpOnly"
],
"x-ms-request-id": [
"1230792d-66c5-4c16-b777-833798722c4b"
],
"X-Content-Type-Options": [
"nosniff"
],
"Strict-Transport-Security": [
"max-age=31536000; includeSubDomains"
],
"X-Powered-By": [
"ASP.NET"
],
"x-ms-ratelimit-remaining-tenant-reads": [
"14976"
],
"x-ms-correlation-request-id": [
"410ec018-d64f-4c28-9b1a-53b6c61864ce"
],
"x-ms-routing-request-id": [
"WESTUS:20170726T072211Z:410ec018-d64f-4c28-9b1a-53b6c61864ce"
]
},
"StatusCode": 404
}
],
"Names": {},
"Variables": {
"SubscriptionId": "4004a9fd-d58e-48dc-aeb2-4a4aec58606f"
}
}

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Loading