From 1d5b17235df47b830925d9dceb142dfe8e094fdc Mon Sep 17 00:00:00 2001 From: Jose Manuel Heredia Hidalgo Date: Fri, 11 Jun 2021 13:54:49 -0700 Subject: [PATCH] Update identity version ad re do recordings (#15704) --- sdk/synapse/synapse-artifacts/package.json | 2 +- ...ding_should_get_a_bigdatapool_by_name.json | 18 +- .../recording_should_list_bigdatapools.json | 18 +- .../recording_should_create_dataflow.json | 77 +- .../recording_should_delete_dataflow.json | 65 +- .../recording_should_get_dataflow.json | 20 +- .../recording_should_list_dataflows.json | 18 +- .../recording_should_rename_dataflow.json | 183 +---- ...ording_should_get_integrationruntimes.json | 18 +- ...rding_should_list_integrationruntimes.json | 18 +- .../recording_should_create_library.json | 69 +- .../recording_should_delete_library.json | 65 +- .../library/recording_should_get_library.json | 18 +- .../recording_should_list_library.json | 18 +- ...ording_should_get_a_bigdatapool_by_name.js | 101 ++- .../recording_should_list_bigdatapools.js | 103 ++- .../recording_should_create_dataflow.js | 181 +++-- .../recording_should_delete_dataflow.js | 149 +++- .../dataflow/recording_should_get_dataflow.js | 105 ++- .../recording_should_list_dataflows.js | 103 ++- .../recording_should_rename_dataflow.js | 740 +++++++++++++----- ...ecording_should_get_integrationruntimes.js | 103 ++- ...cording_should_list_integrationruntimes.js | 103 ++- .../recording_should_create_library.js | 201 ++++- .../recording_should_delete_library.js | 149 +++- .../library/recording_should_get_library.js | 105 ++- .../library/recording_should_list_library.js | 105 ++- 27 files changed, 2028 insertions(+), 827 deletions(-) diff --git a/sdk/synapse/synapse-artifacts/package.json b/sdk/synapse/synapse-artifacts/package.json index cdb9d3fcf230..af7c3154358d 100644 --- a/sdk/synapse/synapse-artifacts/package.json +++ b/sdk/synapse/synapse-artifacts/package.json @@ -34,7 +34,7 @@ "devDependencies": { "@azure/dev-tool": "^1.0.0", "@azure/eslint-plugin-azure-sdk": "^3.0.0", - "@azure/identity": "^1.1.0", + "@azure/identity": "2.0.0-beta.4", "@azure/test-utils-recorder": "^1.0.0", "@microsoft/api-extractor": "7.7.11", "@rollup/plugin-commonjs": "11.0.2", diff --git a/sdk/synapse/synapse-artifacts/recordings/browsers/bigdatapools/recording_should_get_a_bigdatapool_by_name.json b/sdk/synapse/synapse-artifacts/recordings/browsers/bigdatapools/recording_should_get_a_bigdatapool_by_name.json index 91da896c62ea..3eb8730e7ad0 100644 --- a/sdk/synapse/synapse-artifacts/recordings/browsers/bigdatapools/recording_should_get_a_bigdatapool_by_name.json +++ b/sdk/synapse/synapse-artifacts/recordings/browsers/bigdatapools/recording_should_get_a_bigdatapool_by_name.json @@ -4,22 +4,24 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1322", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:15:59 GMT", + "date": "Fri, 11 Jun 2021 18:40:59 GMT", "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11562.10 - NCUS ProdSlices", - "x-ms-request-id": "e955ba6f-e596-499b-be82-5c8cd2206a00" + "x-ms-ests-server": "2.1.11829.4 - SCUS ProdSlices", + "x-ms-request-id": "faa7c9a1-9d33-439e-90ca-b4b90c542200" } }, { @@ -30,15 +32,15 @@ }, "requestBody": null, "status": 200, - "response": "{\"properties\":{\"creationDate\":\"2020-11-18T19:10:21.6Z\",\"sparkVersion\":\"2.4\",\"nodeCount\":10,\"nodeSize\":\"Small\",\"nodeSizeFamily\":\"MemoryOptimized\",\"autoScale\":{\"enabled\":true,\"minNodeCount\":3,\"maxNodeCount\":10},\"autoPause\":{\"enabled\":true,\"delayInMinutes\":15},\"isComputeIsolationEnabled\":false,\"sessionLevelPackagesEnabled\":false,\"cacheSize\":0,\"dynamicExecutorAllocation\":{\"enabled\":false},\"lastSucceededTimestamp\":\"2020-11-18T19:10:25.52Z\",\"provisioningState\":\"Succeeded\"},\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.ProjectArcadia/workspaces/xysynapsetest/sparkComputes/testsparkpool\",\"name\":\"testsparkpool\",\"type\":\"Microsoft.ProjectArcadia/workspaces/sparkComputes\",\"location\":\"westus2\",\"tags\":{}}", + "response": "{\"properties\":{\"creationDate\":\"2020-11-18T19:10:21.6Z\",\"sparkVersion\":\"2.4\",\"nodeCount\":10,\"nodeSize\":\"Small\",\"nodeSizeFamily\":\"MemoryOptimized\",\"autoScale\":{\"enabled\":true,\"minNodeCount\":3,\"maxNodeCount\":10},\"autoPause\":{\"enabled\":true,\"delayInMinutes\":15},\"isComputeIsolationEnabled\":false,\"sessionLevelPackagesEnabled\":false,\"cacheSize\":0,\"dynamicExecutorAllocation\":{\"enabled\":false},\"lastSucceededTimestamp\":\"2021-05-18T11:44:57.77Z\",\"provisioningState\":\"Succeeded\"},\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.ProjectArcadia/workspaces/xysynapsetest/sparkComputes/testsparkpool\",\"name\":\"testsparkpool\",\"type\":\"Microsoft.ProjectArcadia/workspaces/sparkComputes\",\"location\":\"westus2\",\"tags\":{}}", "responseHeaders": { "content-length": "756", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:15:59 GMT", + "date": "Fri, 11 Jun 2021 18:40:59 GMT", "server": "Microsoft-HTTPAPI/2.0", "status": "200", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "45086e38-941f-4345-b272-28fac8c01f16" + "x-ms-request-id": "54b86f5f-fe4f-4125-be34-e6e1fca2d69b" } } ], @@ -46,5 +48,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "287c718d64e94115faa2f2c283e3d913" + "hash": "985a433417c3edcefd1553ea2fd608fd" } \ No newline at end of file diff --git a/sdk/synapse/synapse-artifacts/recordings/browsers/bigdatapools/recording_should_list_bigdatapools.json b/sdk/synapse/synapse-artifacts/recordings/browsers/bigdatapools/recording_should_list_bigdatapools.json index 737c4b1f2079..8f1da9b0e12b 100644 --- a/sdk/synapse/synapse-artifacts/recordings/browsers/bigdatapools/recording_should_list_bigdatapools.json +++ b/sdk/synapse/synapse-artifacts/recordings/browsers/bigdatapools/recording_should_list_bigdatapools.json @@ -4,22 +4,24 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1322", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:15:59 GMT", + "date": "Fri, 11 Jun 2021 18:40:59 GMT", "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11562.10 - SCUS ProdSlices", - "x-ms-request-id": "1c106eb6-c49c-4606-bd61-888571656a00" + "x-ms-ests-server": "2.1.11829.4 - SCUS ProdSlices", + "x-ms-request-id": "faa7c9a1-9d33-439e-90ca-b4b901542200" } }, { @@ -30,15 +32,15 @@ }, "requestBody": null, "status": 200, - "response": "{\"value\":[{\"properties\":{\"creationDate\":\"2020-11-19T21:41:05.3233333Z\",\"sparkVersion\":\"2.4\",\"nodeCount\":4,\"nodeSize\":\"Small\",\"nodeSizeFamily\":\"MemoryOptimized\",\"autoScale\":{\"enabled\":false,\"minNodeCount\":3,\"maxNodeCount\":10},\"autoPause\":{\"enabled\":true,\"delayInMinutes\":15},\"isComputeIsolationEnabled\":false,\"sessionLevelPackagesEnabled\":false,\"cacheSize\":0,\"dynamicExecutorAllocation\":{\"enabled\":false},\"lastSucceededTimestamp\":\"2020-11-19T21:41:13.2833333Z\",\"provisioningState\":\"Succeeded\"},\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.ProjectArcadia/workspaces/xysynapsetest/sparkComputes/HamonsSpark\",\"name\":\"HamonsSpark\",\"type\":\"Microsoft.ProjectArcadia/workspaces/sparkComputes\",\"location\":\"westus2\",\"tags\":{}},{\"properties\":{\"creationDate\":\"2021-01-11T06:04:11.4733333Z\",\"sparkVersion\":\"2.4\",\"nodeCount\":0,\"nodeSize\":\"Small\",\"nodeSizeFamily\":\"MemoryOptimized\",\"autoScale\":{\"enabled\":true,\"minNodeCount\":3,\"maxNodeCount\":10},\"autoPause\":{\"enabled\":true,\"delayInMinutes\":15},\"isComputeIsolationEnabled\":false,\"sessionLevelPackagesEnabled\":false,\"cacheSize\":0,\"dynamicExecutorAllocation\":{\"enabled\":false},\"lastSucceededTimestamp\":\"2021-01-11T06:04:18.1666667Z\",\"provisioningState\":\"Succeeded\"},\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.ProjectArcadia/workspaces/xysynapsetest/sparkComputes/jianghaospool\",\"name\":\"jianghaospool\",\"type\":\"Microsoft.ProjectArcadia/workspaces/sparkComputes\",\"location\":\"westus2\",\"tags\":{}},{\"properties\":{\"creationDate\":\"2020-11-18T19:10:21.6Z\",\"sparkVersion\":\"2.4\",\"nodeCount\":10,\"nodeSize\":\"Small\",\"nodeSizeFamily\":\"MemoryOptimized\",\"autoScale\":{\"enabled\":true,\"minNodeCount\":3,\"maxNodeCount\":10},\"autoPause\":{\"enabled\":true,\"delayInMinutes\":15},\"isComputeIsolationEnabled\":false,\"sessionLevelPackagesEnabled\":false,\"cacheSize\":0,\"dynamicExecutorAllocation\":{\"enabled\":false},\"lastSucceededTimestamp\":\"2020-11-18T19:10:25.52Z\",\"provisioningState\":\"Succeeded\"},\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.ProjectArcadia/workspaces/xysynapsetest/sparkComputes/testsparkpool\",\"name\":\"testsparkpool\",\"type\":\"Microsoft.ProjectArcadia/workspaces/sparkComputes\",\"location\":\"westus2\",\"tags\":{}}]}", + "response": "{\"value\":[{\"properties\":{\"creationDate\":\"2020-11-19T21:41:05.3233333Z\",\"sparkVersion\":\"2.4\",\"nodeCount\":4,\"nodeSize\":\"Small\",\"nodeSizeFamily\":\"MemoryOptimized\",\"autoScale\":{\"enabled\":false,\"minNodeCount\":3,\"maxNodeCount\":10},\"autoPause\":{\"enabled\":true,\"delayInMinutes\":15},\"isComputeIsolationEnabled\":false,\"sessionLevelPackagesEnabled\":false,\"cacheSize\":0,\"dynamicExecutorAllocation\":{\"enabled\":false},\"lastSucceededTimestamp\":\"2021-05-18T11:44:58.5966667Z\",\"provisioningState\":\"Succeeded\"},\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.ProjectArcadia/workspaces/xysynapsetest/sparkComputes/HamonsSpark\",\"name\":\"HamonsSpark\",\"type\":\"Microsoft.ProjectArcadia/workspaces/sparkComputes\",\"location\":\"westus2\",\"tags\":{}},{\"properties\":{\"creationDate\":\"2021-01-11T06:04:11.4733333Z\",\"sparkVersion\":\"2.4\",\"nodeCount\":0,\"nodeSize\":\"Small\",\"nodeSizeFamily\":\"MemoryOptimized\",\"autoScale\":{\"enabled\":true,\"minNodeCount\":3,\"maxNodeCount\":10},\"autoPause\":{\"enabled\":true,\"delayInMinutes\":15},\"isComputeIsolationEnabled\":false,\"sessionLevelPackagesEnabled\":false,\"cacheSize\":0,\"dynamicExecutorAllocation\":{\"enabled\":false},\"lastSucceededTimestamp\":\"2021-05-18T11:44:57.4066667Z\",\"provisioningState\":\"Succeeded\"},\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.ProjectArcadia/workspaces/xysynapsetest/sparkComputes/jianghaospool\",\"name\":\"jianghaospool\",\"type\":\"Microsoft.ProjectArcadia/workspaces/sparkComputes\",\"location\":\"westus2\",\"tags\":{}},{\"properties\":{\"creationDate\":\"2020-11-18T19:10:21.6Z\",\"sparkVersion\":\"2.4\",\"nodeCount\":10,\"nodeSize\":\"Small\",\"nodeSizeFamily\":\"MemoryOptimized\",\"autoScale\":{\"enabled\":true,\"minNodeCount\":3,\"maxNodeCount\":10},\"autoPause\":{\"enabled\":true,\"delayInMinutes\":15},\"isComputeIsolationEnabled\":false,\"sessionLevelPackagesEnabled\":false,\"cacheSize\":0,\"dynamicExecutorAllocation\":{\"enabled\":false},\"lastSucceededTimestamp\":\"2021-05-18T11:44:57.77Z\",\"provisioningState\":\"Succeeded\"},\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.ProjectArcadia/workspaces/xysynapsetest/sparkComputes/testsparkpool\",\"name\":\"testsparkpool\",\"type\":\"Microsoft.ProjectArcadia/workspaces/sparkComputes\",\"location\":\"westus2\",\"tags\":{}}]}", "responseHeaders": { "content-length": "2299", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:15:59 GMT", + "date": "Fri, 11 Jun 2021 18:40:59 GMT", "server": "Microsoft-HTTPAPI/2.0", "status": "200", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "4c7defe3-74c1-4888-8308-868a5ed4710c" + "x-ms-request-id": "5232ed02-39c3-421d-9b10-c0e42c610671" } } ], @@ -46,5 +48,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "a338136bc3147a1576b8d512fcadaa55" + "hash": "c4719dc92a7c9d77e944b35c69a64933" } \ No newline at end of file diff --git a/sdk/synapse/synapse-artifacts/recordings/browsers/dataflow/recording_should_create_dataflow.json b/sdk/synapse/synapse-artifacts/recordings/browsers/dataflow/recording_should_create_dataflow.json index 002295571f60..24343adaa005 100644 --- a/sdk/synapse/synapse-artifacts/recordings/browsers/dataflow/recording_should_create_dataflow.json +++ b/sdk/synapse/synapse-artifacts/recordings/browsers/dataflow/recording_should_create_dataflow.json @@ -4,22 +4,24 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1322", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:15:59 GMT", + "date": "Fri, 11 Jun 2021 18:40:59 GMT", "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11562.10 - SCUS ProdSlices", - "x-ms-request-id": "7245599c-dde0-4068-b6a2-cc47abb37900" + "x-ms-ests-server": "2.1.11829.4 - EUS ProdSlices", + "x-ms-request-id": "90b9ae11-bc0c-4bc4-81d2-aebdb0ca1800" } }, { @@ -30,24 +32,24 @@ }, "requestBody": "{\"properties\":{\"type\":\"MappingDataFlow\"}}", "status": 202, - "response": "{\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow\",\"recordId\":1439121,\"state\":\"Creating\",\"created\":\"2021-04-05T22:16:00.0166667Z\",\"changed\":\"2021-04-05T22:16:00.0166667Z\",\"type\":\"DataFlow\",\"name\":\"testdataflow\",\"operationId\":\"9732ad0f-2d87-49c4-b533-5a916627f20e\",\"artifactId\":\"E1254504-E8DA-4D96-AF88-927331B1DB45\"}", + "response": "{\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow\",\"recordId\":1884920,\"state\":\"Creating\",\"created\":\"2021-06-11T18:41:00.0466667Z\",\"changed\":\"2021-06-11T18:41:00.0466667Z\",\"type\":\"DataFlow\",\"name\":\"testdataflow\",\"operationId\":\"31a301d6-71fc-4e6d-b13f-db4d423d69f8\",\"artifactId\":\"7CF65782-66E7-4CA9-8EDE-ABDB9769838B\"}", "responseHeaders": { "access-control-allow-headers": "Location, Retry-After", "access-control-expose-headers": "Location, Retry-After", "content-length": "425", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:15:59 GMT", - "location": "https://testaccount.dev.azuresynapse.net/operationResults/9732ad0f-2d87-49c4-b533-5a916627f20e?api-version=2019-06-01-preview", + "date": "Fri, 11 Jun 2021 18:40:59 GMT", + "location": "https://testaccount.dev.azuresynapse.net/operationResults/31a301d6-71fc-4e6d-b13f-db4d423d69f8?api-version=2019-06-01-preview", "retry-after": "10", "server": "Microsoft-HTTPAPI/2.0", "status": "202", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "ec63eeb4-8acc-41c0-979a-2582513a99e1" + "x-ms-request-id": "1c6cd174-b7ec-4a2e-bbdc-5c2c89fab25c" } }, { "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/operationResults/9732ad0f-2d87-49c4-b533-5a916627f20e", + "url": "https://testaccount.dev.azuresynapse.net/operationResults/31a301d6-71fc-4e6d-b13f-db4d423d69f8", "query": { "api-version": "2019-06-01-preview" }, @@ -59,18 +61,18 @@ "access-control-expose-headers": "Location, Retry-After", "content-length": "23", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:15:59 GMT", - "location": "https://testaccount.dev.azuresynapse.net/operationResults/9732ad0f-2d87-49c4-b533-5a916627f20e?api-version=2019-06-01-preview", + "date": "Fri, 11 Jun 2021 18:40:59 GMT", + "location": "https://testaccount.dev.azuresynapse.net/operationResults/31a301d6-71fc-4e6d-b13f-db4d423d69f8?api-version=2019-06-01-preview", "retry-after": "10", "server": "Microsoft-HTTPAPI/2.0", "status": "202", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "c055ce21-c118-404d-94d8-7a139921467b" + "x-ms-request-id": "4f73eecc-498a-4d92-a728-205dbb72a375" } }, { "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/operationResults/9732ad0f-2d87-49c4-b533-5a916627f20e", + "url": "https://testaccount.dev.azuresynapse.net/operationResults/31a301d6-71fc-4e6d-b13f-db4d423d69f8", "query": { "api-version": "2019-06-01-preview" }, @@ -82,18 +84,18 @@ "access-control-expose-headers": "Location, Retry-After", "content-length": "23", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:01 GMT", - "location": "https://testaccount.dev.azuresynapse.net/operationResults/9732ad0f-2d87-49c4-b533-5a916627f20e?api-version=2019-06-01-preview", + "date": "Fri, 11 Jun 2021 18:41:01 GMT", + "location": "https://testaccount.dev.azuresynapse.net/operationResults/31a301d6-71fc-4e6d-b13f-db4d423d69f8?api-version=2019-06-01-preview", "retry-after": "10", "server": "Microsoft-HTTPAPI/2.0", "status": "202", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "94fc097f-e90a-4728-bcbd-b8fae69936ed" + "x-ms-request-id": "8b6b8fb3-7d0c-4acd-a49d-ea80877386a5" } }, { "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/operationResults/9732ad0f-2d87-49c4-b533-5a916627f20e", + "url": "https://testaccount.dev.azuresynapse.net/operationResults/31a301d6-71fc-4e6d-b13f-db4d423d69f8", "query": { "api-version": "2019-06-01-preview" }, @@ -105,37 +107,60 @@ "access-control-expose-headers": "Location, Retry-After", "content-length": "23", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:04 GMT", - "location": "https://testaccount.dev.azuresynapse.net/operationResults/9732ad0f-2d87-49c4-b533-5a916627f20e?api-version=2019-06-01-preview", + "date": "Fri, 11 Jun 2021 18:41:04 GMT", + "location": "https://testaccount.dev.azuresynapse.net/operationResults/31a301d6-71fc-4e6d-b13f-db4d423d69f8?api-version=2019-06-01-preview", "retry-after": "10", "server": "Microsoft-HTTPAPI/2.0", "status": "202", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "bf902ef9-eefa-4bc6-ab66-8500e54b538e" + "x-ms-request-id": "6f739593-bac1-41b2-915a-c807345ade9b" } }, { "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/operationResults/9732ad0f-2d87-49c4-b533-5a916627f20e", + "url": "https://testaccount.dev.azuresynapse.net/operationResults/31a301d6-71fc-4e6d-b13f-db4d423d69f8", + "query": { + "api-version": "2019-06-01-preview" + }, + "requestBody": null, + "status": 202, + "response": "{\"status\":\"InProgress\"}", + "responseHeaders": { + "access-control-allow-headers": "Location, Retry-After", + "access-control-expose-headers": "Location, Retry-After", + "content-length": "23", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 11 Jun 2021 18:41:05 GMT", + "location": "https://testaccount.dev.azuresynapse.net/operationResults/31a301d6-71fc-4e6d-b13f-db4d423d69f8?api-version=2019-06-01-preview", + "retry-after": "10", + "server": "Microsoft-HTTPAPI/2.0", + "status": "202", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-ms-request-id": "bd3956e9-e8bd-4681-a8f7-00b07ff6bbec" + } + }, + { + "method": "GET", + "url": "https://testaccount.dev.azuresynapse.net/operationResults/31a301d6-71fc-4e6d-b13f-db4d423d69f8", "query": { "api-version": "2019-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow\",\"name\":\"testdataflow\",\"type\":\"Microsoft.Synapse/workspaces/dataflows\",\"properties\":{\"type\":\"MappingDataFlow\"},\"etag\":\"bb067ce2-0000-0800-0000-606b8c240000\"}", + "response": "{\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow\",\"name\":\"testdataflow\",\"type\":\"Microsoft.Synapse/workspaces/dataflows\",\"properties\":{\"type\":\"MappingDataFlow\"},\"etag\":\"4f0029e7-0000-0800-0000-60c3ae420000\"}", "responseHeaders": { "cache-control": "no-cache", "content-length": "316", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:06 GMT", + "date": "Fri, 11 Jun 2021 18:41:07 GMT", "expires": "-1", "pragma": "no-cache", "server": "Microsoft-IIS/10.0 Microsoft-HTTPAPI/2.0", "status": "200", "strict-transport-security": "max-age=15724800; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "f0fdb02f-493d-4652-b83f-9ada14b96ddc", - "x-ms-request-id": "b8b46e8b-92ab-4371-82c6-be585788f1b5", + "x-ms-correlation-request-id": "5357541f-46df-4a25-bbc2-fa00b11ab737", + "x-ms-request-id": "a13b82b4-3332-423c-919b-dd184725aa6a", "x-powered-by": "ASP.NET" } } @@ -144,5 +169,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "e82c5fd471cc798c2bf3ace653188673" + "hash": "c446fd789bba8943154fc27cc55a965c" } \ No newline at end of file diff --git a/sdk/synapse/synapse-artifacts/recordings/browsers/dataflow/recording_should_delete_dataflow.json b/sdk/synapse/synapse-artifacts/recordings/browsers/dataflow/recording_should_delete_dataflow.json index 4fc0d06f4d4d..a4f70c8b086e 100644 --- a/sdk/synapse/synapse-artifacts/recordings/browsers/dataflow/recording_should_delete_dataflow.json +++ b/sdk/synapse/synapse-artifacts/recordings/browsers/dataflow/recording_should_delete_dataflow.json @@ -4,22 +4,24 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1322", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:34 GMT", + "date": "Fri, 11 Jun 2021 18:41:27 GMT", "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11562.10 - NCUS ProdSlices", - "x-ms-request-id": "d751fe13-4d70-45cf-b817-f5a599d46a00" + "x-ms-ests-server": "2.1.11829.4 - EUS ProdSlices", + "x-ms-request-id": "db76c444-d51d-41c2-a468-e5c687ec1700" } }, { @@ -30,23 +32,23 @@ }, "requestBody": null, "status": 202, - "response": "{\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow2\",\"recordId\":0,\"state\":\"Deleting\",\"created\":\"0001-01-01T00:00:00\",\"changed\":\"0001-01-01T00:00:00\",\"type\":\"DataFlow\",\"name\":\"testdataflow2\",\"operationId\":\"4493c698-e165-48a1-be3c-07bb09f47014\"}", + "response": "{\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow2\",\"recordId\":0,\"state\":\"Deleting\",\"created\":\"0001-01-01T00:00:00\",\"changed\":\"0001-01-01T00:00:00\",\"type\":\"DataFlow\",\"name\":\"testdataflow2\",\"operationId\":\"381ee057-07a7-40ed-adab-007bc434d0b4\"}", "responseHeaders": { "access-control-allow-headers": "Location", "access-control-expose-headers": "Location", "content-length": "351", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:35 GMT", - "location": "https://testaccount.dev.azuresynapse.net/operationResults/4493c698-e165-48a1-be3c-07bb09f47014?api-version=2019-06-01-preview", + "date": "Fri, 11 Jun 2021 18:41:27 GMT", + "location": "https://testaccount.dev.azuresynapse.net/operationResults/381ee057-07a7-40ed-adab-007bc434d0b4?api-version=2019-06-01-preview", "server": "Microsoft-HTTPAPI/2.0", "status": "202", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "e7ae3aee-b8c4-4660-acd3-610d7d457d8f" + "x-ms-request-id": "40326a88-0172-48a0-92d5-9d10ffa9e479" } }, { "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/operationResults/4493c698-e165-48a1-be3c-07bb09f47014", + "url": "https://testaccount.dev.azuresynapse.net/operationResults/381ee057-07a7-40ed-adab-007bc434d0b4", "query": { "api-version": "2019-06-01-preview" }, @@ -58,18 +60,18 @@ "access-control-expose-headers": "Location, Retry-After", "content-length": "23", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:35 GMT", - "location": "https://testaccount.dev.azuresynapse.net/operationResults/4493c698-e165-48a1-be3c-07bb09f47014?api-version=2019-06-01-preview", + "date": "Fri, 11 Jun 2021 18:41:27 GMT", + "location": "https://testaccount.dev.azuresynapse.net/operationResults/381ee057-07a7-40ed-adab-007bc434d0b4?api-version=2019-06-01-preview", "retry-after": "10", "server": "Microsoft-HTTPAPI/2.0", "status": "202", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "7f01593b-91b8-4bb5-8381-f7f31d3d70c7" + "x-ms-request-id": "d276fa5c-1ffd-4fe4-b26c-e84ea883285a" } }, { "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/operationResults/4493c698-e165-48a1-be3c-07bb09f47014", + "url": "https://testaccount.dev.azuresynapse.net/operationResults/381ee057-07a7-40ed-adab-007bc434d0b4", "query": { "api-version": "2019-06-01-preview" }, @@ -81,18 +83,41 @@ "access-control-expose-headers": "Location, Retry-After", "content-length": "23", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:36 GMT", - "location": "https://testaccount.dev.azuresynapse.net/operationResults/4493c698-e165-48a1-be3c-07bb09f47014?api-version=2019-06-01-preview", + "date": "Fri, 11 Jun 2021 18:41:29 GMT", + "location": "https://testaccount.dev.azuresynapse.net/operationResults/381ee057-07a7-40ed-adab-007bc434d0b4?api-version=2019-06-01-preview", "retry-after": "10", "server": "Microsoft-HTTPAPI/2.0", "status": "202", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "7fdd6133-8479-4eac-aa2c-27b29f1eaf74" + "x-ms-request-id": "c1453482-7ee0-41d8-b579-09cb71371d07" } }, { "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/operationResults/4493c698-e165-48a1-be3c-07bb09f47014", + "url": "https://testaccount.dev.azuresynapse.net/operationResults/381ee057-07a7-40ed-adab-007bc434d0b4", + "query": { + "api-version": "2019-06-01-preview" + }, + "requestBody": null, + "status": 202, + "response": "{\"status\":\"InProgress\"}", + "responseHeaders": { + "access-control-allow-headers": "Location, Retry-After", + "access-control-expose-headers": "Location, Retry-After", + "content-length": "23", + "content-type": "application/json; charset=utf-8", + "date": "Fri, 11 Jun 2021 18:41:31 GMT", + "location": "https://testaccount.dev.azuresynapse.net/operationResults/381ee057-07a7-40ed-adab-007bc434d0b4?api-version=2019-06-01-preview", + "retry-after": "10", + "server": "Microsoft-HTTPAPI/2.0", + "status": "202", + "strict-transport-security": "max-age=31536000; includeSubDomains", + "x-ms-request-id": "938b9670-735a-4e10-9f84-adb658b3fea1" + } + }, + { + "method": "GET", + "url": "https://testaccount.dev.azuresynapse.net/operationResults/381ee057-07a7-40ed-adab-007bc434d0b4", "query": { "api-version": "2019-06-01-preview" }, @@ -101,11 +126,11 @@ "response": "", "responseHeaders": { "content-length": "0", - "date": "Mon, 05 Apr 2021 22:16:39 GMT", + "date": "Fri, 11 Jun 2021 18:41:33 GMT", "server": "Microsoft-HTTPAPI/2.0", "status": "200", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "0c37f76c-0117-4b53-81e7-87bd84185f13" + "x-ms-request-id": "98861ded-613d-4cd3-b698-96263e8b0a7a" } } ], @@ -113,5 +138,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "7b4bb372d35391412ee5e8285d203962" + "hash": "7ab568f79fee2a97aa781d49d16db514" } \ No newline at end of file diff --git a/sdk/synapse/synapse-artifacts/recordings/browsers/dataflow/recording_should_get_dataflow.json b/sdk/synapse/synapse-artifacts/recordings/browsers/dataflow/recording_should_get_dataflow.json index e2f4cf8fc5df..5be250b6a1fd 100644 --- a/sdk/synapse/synapse-artifacts/recordings/browsers/dataflow/recording_should_get_dataflow.json +++ b/sdk/synapse/synapse-artifacts/recordings/browsers/dataflow/recording_should_get_dataflow.json @@ -4,22 +4,24 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1322", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:10 GMT", + "date": "Fri, 11 Jun 2021 18:41:12 GMT", "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11562.10 - EUS ProdSlices", - "x-ms-request-id": "7b3097c4-30b7-4190-85ae-fdcd38306c00" + "x-ms-ests-server": "2.1.11829.4 - WUS2 ProdSlices", + "x-ms-request-id": "d460f1b2-71cd-4271-a6c8-f4d2c9302a00" } }, { @@ -30,20 +32,20 @@ }, "requestBody": null, "status": 200, - "response": "{\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow\",\"name\":\"testdataflow\",\"type\":\"Microsoft.Synapse/workspaces/dataflows\",\"properties\":{\"type\":\"MappingDataFlow\"},\"etag\":\"bb067ce2-0000-0800-0000-606b8c240000\"}", + "response": "{\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow\",\"name\":\"testdataflow\",\"type\":\"Microsoft.Synapse/workspaces/dataflows\",\"properties\":{\"type\":\"MappingDataFlow\"},\"etag\":\"4f0029e7-0000-0800-0000-60c3ae420000\"}", "responseHeaders": { "cache-control": "no-cache", "content-length": "316", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:10 GMT", + "date": "Fri, 11 Jun 2021 18:41:12 GMT", "expires": "-1", "pragma": "no-cache", "server": "Microsoft-IIS/10.0 Microsoft-HTTPAPI/2.0", "status": "200", "strict-transport-security": "max-age=15724800; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "223c9a1d-7d3c-4191-964d-0671dd30e427", - "x-ms-request-id": "321a6c92-0013-40a5-9a85-8cf53e6965f3", + "x-ms-correlation-request-id": "8988611c-5493-449c-941c-aeacd6e7d47d", + "x-ms-request-id": "baf66171-9a0e-414e-8e48-9e158e38d942", "x-powered-by": "ASP.NET" } } @@ -52,5 +54,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "ae75ee88a3c419458ca442bc2cfc8f76" + "hash": "4d8c8c8d635ea267ab31dc8272a0f408" } \ No newline at end of file diff --git a/sdk/synapse/synapse-artifacts/recordings/browsers/dataflow/recording_should_list_dataflows.json b/sdk/synapse/synapse-artifacts/recordings/browsers/dataflow/recording_should_list_dataflows.json index f092d529789e..875bf01a909c 100644 --- a/sdk/synapse/synapse-artifacts/recordings/browsers/dataflow/recording_should_list_dataflows.json +++ b/sdk/synapse/synapse-artifacts/recordings/browsers/dataflow/recording_should_list_dataflows.json @@ -4,22 +4,24 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1322", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:10 GMT", + "date": "Fri, 11 Jun 2021 18:41:12 GMT", "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11562.10 - SCUS ProdSlices", - "x-ms-request-id": "1c106eb6-c49c-4606-bd61-8885e2666a00" + "x-ms-ests-server": "2.1.11829.4 - WUS2 ProdSlices", + "x-ms-request-id": "d460f1b2-71cd-4271-a6c8-f4d2c5302a00" } }, { @@ -30,15 +32,15 @@ }, "requestBody": null, "status": 200, - "response": "{\"value\":[{\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow\",\"name\":\"testdataflow\",\"type\":\"Microsoft.Synapse/workspaces/dataflows\",\"etag\":\"bb067ce2-0000-0800-0000-606b8c240000\",\"properties\":{\"type\":\"MappingDataFlow\"}}]}", + "response": "{\"value\":[{\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow\",\"name\":\"testdataflow\",\"type\":\"Microsoft.Synapse/workspaces/dataflows\",\"etag\":\"4f0029e7-0000-0800-0000-60c3ae420000\",\"properties\":{\"type\":\"MappingDataFlow\"}}]}", "responseHeaders": { "content-length": "328", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:10 GMT", + "date": "Fri, 11 Jun 2021 18:41:11 GMT", "server": "Microsoft-HTTPAPI/2.0", "status": "200", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "6ed26ba2-2b73-487e-933a-49cb53772c44" + "x-ms-request-id": "6decd8ca-2079-42d1-bf29-55d0ed599686" } } ], @@ -46,5 +48,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "90ec8ab1ad4af8fa149a0615d4355c93" + "hash": "1352d707f054182c3ed762040d9f9a76" } \ No newline at end of file diff --git a/sdk/synapse/synapse-artifacts/recordings/browsers/dataflow/recording_should_rename_dataflow.json b/sdk/synapse/synapse-artifacts/recordings/browsers/dataflow/recording_should_rename_dataflow.json index d8615ad05e49..a5ddcb4ede9a 100644 --- a/sdk/synapse/synapse-artifacts/recordings/browsers/dataflow/recording_should_rename_dataflow.json +++ b/sdk/synapse/synapse-artifacts/recordings/browsers/dataflow/recording_should_rename_dataflow.json @@ -4,22 +4,24 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1322", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:10 GMT", + "date": "Fri, 11 Jun 2021 18:41:12 GMT", "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11562.10 - EUS ProdSlices", - "x-ms-request-id": "817723d6-1568-4d45-99b2-5a8f125a6a00" + "x-ms-ests-server": "2.1.11829.4 - NCUS ProdSlices", + "x-ms-request-id": "a00f7e0e-1ec4-4f40-ade7-ce7c4e432000" } }, { @@ -30,24 +32,24 @@ }, "requestBody": "{\"newName\":\"testdataflow2\"}", "status": 202, - "response": "{\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow\",\"recordId\":1439121,\"state\":\"Renaming\",\"created\":\"2021-04-05T22:16:00.0166667Z\",\"changed\":\"2021-04-05T22:16:04.76Z\",\"type\":\"DataFlow\",\"name\":\"testdataflow\",\"operationId\":\"372db187-2845-47e9-b1db-d1bd9614a7df\",\"artifactId\":\"E1254504-E8DA-4D96-AF88-927331B1DB45\"}", + "response": "{\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow\",\"recordId\":1884920,\"state\":\"Renaming\",\"created\":\"2021-06-11T18:41:00.0466667Z\",\"changed\":\"2021-06-11T18:41:06.7866667Z\",\"type\":\"DataFlow\",\"name\":\"testdataflow\",\"operationId\":\"14dc3164-f3f5-45c2-9fe7-b27755d8f86c\",\"artifactId\":\"7CF65782-66E7-4CA9-8EDE-ABDB9769838B\"}", "responseHeaders": { "access-control-allow-headers": "Location, Retry-After", "access-control-expose-headers": "Location, Retry-After", - "content-length": "420", + "content-length": "425", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:10 GMT", - "location": "https://testaccount.dev.azuresynapse.net/operationResults/372db187-2845-47e9-b1db-d1bd9614a7df?api-version=2019-06-01-preview", + "date": "Fri, 11 Jun 2021 18:41:12 GMT", + "location": "https://testaccount.dev.azuresynapse.net/operationResults/14dc3164-f3f5-45c2-9fe7-b27755d8f86c?api-version=2019-06-01-preview", "retry-after": "10", "server": "Microsoft-HTTPAPI/2.0", "status": "202", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "cc7d54d3-6410-4362-9335-c88eab0c49e0" + "x-ms-request-id": "4760aaf9-ba81-4074-81df-5438d8a0b2a3" } }, { "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/operationResults/372db187-2845-47e9-b1db-d1bd9614a7df", + "url": "https://testaccount.dev.azuresynapse.net/operationResults/14dc3164-f3f5-45c2-9fe7-b27755d8f86c", "query": { "api-version": "2019-06-01-preview" }, @@ -59,18 +61,18 @@ "access-control-expose-headers": "Location, Retry-After", "content-length": "23", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:10 GMT", - "location": "https://testaccount.dev.azuresynapse.net/operationResults/372db187-2845-47e9-b1db-d1bd9614a7df?api-version=2019-06-01-preview", + "date": "Fri, 11 Jun 2021 18:41:12 GMT", + "location": "https://testaccount.dev.azuresynapse.net/operationResults/14dc3164-f3f5-45c2-9fe7-b27755d8f86c?api-version=2019-06-01-preview", "retry-after": "10", "server": "Microsoft-HTTPAPI/2.0", "status": "202", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "39a898d8-e80a-4721-84a3-065001f4b727" + "x-ms-request-id": "5bb0e31a-9154-4c52-8e7d-943cb46bcc40" } }, { "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/operationResults/372db187-2845-47e9-b1db-d1bd9614a7df", + "url": "https://testaccount.dev.azuresynapse.net/operationResults/14dc3164-f3f5-45c2-9fe7-b27755d8f86c", "query": { "api-version": "2019-06-01-preview" }, @@ -82,18 +84,18 @@ "access-control-expose-headers": "Location, Retry-After", "content-length": "23", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:12 GMT", - "location": "https://testaccount.dev.azuresynapse.net/operationResults/372db187-2845-47e9-b1db-d1bd9614a7df?api-version=2019-06-01-preview", + "date": "Fri, 11 Jun 2021 18:41:14 GMT", + "location": "https://testaccount.dev.azuresynapse.net/operationResults/14dc3164-f3f5-45c2-9fe7-b27755d8f86c?api-version=2019-06-01-preview", "retry-after": "10", "server": "Microsoft-HTTPAPI/2.0", "status": "202", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "33a59889-67c7-42af-8733-e8229178e657" + "x-ms-request-id": "adde0d25-8fe9-49e1-b2ab-a1c1d70d3af8" } }, { "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/operationResults/372db187-2845-47e9-b1db-d1bd9614a7df", + "url": "https://testaccount.dev.azuresynapse.net/operationResults/14dc3164-f3f5-45c2-9fe7-b27755d8f86c", "query": { "api-version": "2019-06-01-preview" }, @@ -105,18 +107,18 @@ "access-control-expose-headers": "Location, Retry-After", "content-length": "23", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:14 GMT", - "location": "https://testaccount.dev.azuresynapse.net/operationResults/372db187-2845-47e9-b1db-d1bd9614a7df?api-version=2019-06-01-preview", + "date": "Fri, 11 Jun 2021 18:41:16 GMT", + "location": "https://testaccount.dev.azuresynapse.net/operationResults/14dc3164-f3f5-45c2-9fe7-b27755d8f86c?api-version=2019-06-01-preview", "retry-after": "10", "server": "Microsoft-HTTPAPI/2.0", "status": "202", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "493d28e9-f047-4e3b-adc6-408e8409c9a4" + "x-ms-request-id": "361d2c50-e278-407c-814a-0e9fb6da2b5f" } }, { "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/operationResults/372db187-2845-47e9-b1db-d1bd9614a7df", + "url": "https://testaccount.dev.azuresynapse.net/operationResults/14dc3164-f3f5-45c2-9fe7-b27755d8f86c", "query": { "api-version": "2019-06-01-preview" }, @@ -128,18 +130,18 @@ "access-control-expose-headers": "Location, Retry-After", "content-length": "23", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:16 GMT", - "location": "https://testaccount.dev.azuresynapse.net/operationResults/372db187-2845-47e9-b1db-d1bd9614a7df?api-version=2019-06-01-preview", + "date": "Fri, 11 Jun 2021 18:41:19 GMT", + "location": "https://testaccount.dev.azuresynapse.net/operationResults/14dc3164-f3f5-45c2-9fe7-b27755d8f86c?api-version=2019-06-01-preview", "retry-after": "10", "server": "Microsoft-HTTPAPI/2.0", "status": "202", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "e593dc3a-0502-42ff-b96b-8209fc9ab368" + "x-ms-request-id": "a4342c65-670a-4a0c-8655-3d4f98c01582" } }, { "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/operationResults/372db187-2845-47e9-b1db-d1bd9614a7df", + "url": "https://testaccount.dev.azuresynapse.net/operationResults/14dc3164-f3f5-45c2-9fe7-b27755d8f86c", "query": { "api-version": "2019-06-01-preview" }, @@ -151,133 +153,18 @@ "access-control-expose-headers": "Location, Retry-After", "content-length": "23", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:18 GMT", - "location": "https://testaccount.dev.azuresynapse.net/operationResults/372db187-2845-47e9-b1db-d1bd9614a7df?api-version=2019-06-01-preview", + "date": "Fri, 11 Jun 2021 18:41:21 GMT", + "location": "https://testaccount.dev.azuresynapse.net/operationResults/14dc3164-f3f5-45c2-9fe7-b27755d8f86c?api-version=2019-06-01-preview", "retry-after": "10", "server": "Microsoft-HTTPAPI/2.0", "status": "202", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "767b7bc8-3192-4e99-b558-c39ef61a7777" + "x-ms-request-id": "123525fd-d1ad-43de-86e9-5b901c9662dc" } }, { "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/operationResults/372db187-2845-47e9-b1db-d1bd9614a7df", - "query": { - "api-version": "2019-06-01-preview" - }, - "requestBody": null, - "status": 202, - "response": "{\"status\":\"InProgress\"}", - "responseHeaders": { - "access-control-allow-headers": "Location, Retry-After", - "access-control-expose-headers": "Location, Retry-After", - "content-length": "23", - "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:20 GMT", - "location": "https://testaccount.dev.azuresynapse.net/operationResults/372db187-2845-47e9-b1db-d1bd9614a7df?api-version=2019-06-01-preview", - "retry-after": "10", - "server": "Microsoft-HTTPAPI/2.0", - "status": "202", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "b0919bec-2b3f-4830-84a2-3ccbd1f3ced9" - } - }, - { - "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/operationResults/372db187-2845-47e9-b1db-d1bd9614a7df", - "query": { - "api-version": "2019-06-01-preview" - }, - "requestBody": null, - "status": 202, - "response": "{\"status\":\"InProgress\"}", - "responseHeaders": { - "access-control-allow-headers": "Location, Retry-After", - "access-control-expose-headers": "Location, Retry-After", - "content-length": "23", - "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:22 GMT", - "location": "https://testaccount.dev.azuresynapse.net/operationResults/372db187-2845-47e9-b1db-d1bd9614a7df?api-version=2019-06-01-preview", - "retry-after": "10", - "server": "Microsoft-HTTPAPI/2.0", - "status": "202", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "f79d8e9b-93a3-4cde-a063-6397f9ac760d" - } - }, - { - "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/operationResults/372db187-2845-47e9-b1db-d1bd9614a7df", - "query": { - "api-version": "2019-06-01-preview" - }, - "requestBody": null, - "status": 202, - "response": "{\"status\":\"InProgress\"}", - "responseHeaders": { - "access-control-allow-headers": "Location, Retry-After", - "access-control-expose-headers": "Location, Retry-After", - "content-length": "23", - "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:24 GMT", - "location": "https://testaccount.dev.azuresynapse.net/operationResults/372db187-2845-47e9-b1db-d1bd9614a7df?api-version=2019-06-01-preview", - "retry-after": "10", - "server": "Microsoft-HTTPAPI/2.0", - "status": "202", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "b5076dee-9787-4a7d-8d0e-43189e8d2cd6" - } - }, - { - "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/operationResults/372db187-2845-47e9-b1db-d1bd9614a7df", - "query": { - "api-version": "2019-06-01-preview" - }, - "requestBody": null, - "status": 202, - "response": "{\"status\":\"InProgress\"}", - "responseHeaders": { - "access-control-allow-headers": "Location, Retry-After", - "access-control-expose-headers": "Location, Retry-After", - "content-length": "23", - "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:26 GMT", - "location": "https://testaccount.dev.azuresynapse.net/operationResults/372db187-2845-47e9-b1db-d1bd9614a7df?api-version=2019-06-01-preview", - "retry-after": "10", - "server": "Microsoft-HTTPAPI/2.0", - "status": "202", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "96f96fea-da29-404f-9b61-75fe484eee05" - } - }, - { - "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/operationResults/372db187-2845-47e9-b1db-d1bd9614a7df", - "query": { - "api-version": "2019-06-01-preview" - }, - "requestBody": null, - "status": 202, - "response": "{\"status\":\"InProgress\"}", - "responseHeaders": { - "access-control-allow-headers": "Location, Retry-After", - "access-control-expose-headers": "Location, Retry-After", - "content-length": "23", - "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:28 GMT", - "location": "https://testaccount.dev.azuresynapse.net/operationResults/372db187-2845-47e9-b1db-d1bd9614a7df?api-version=2019-06-01-preview", - "retry-after": "10", - "server": "Microsoft-HTTPAPI/2.0", - "status": "202", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "8b3447ae-11bc-4adc-8e57-4a2eefc60aed" - } - }, - { - "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/operationResults/372db187-2845-47e9-b1db-d1bd9614a7df", + "url": "https://testaccount.dev.azuresynapse.net/operationResults/14dc3164-f3f5-45c2-9fe7-b27755d8f86c", "query": { "api-version": "2019-06-01-preview" }, @@ -286,11 +173,11 @@ "response": "", "responseHeaders": { "content-length": "0", - "date": "Mon, 05 Apr 2021 22:16:31 GMT", + "date": "Fri, 11 Jun 2021 18:41:22 GMT", "server": "Microsoft-HTTPAPI/2.0", "status": "200", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "83104349-c61a-4a51-beca-9fadc0c308c9" + "x-ms-request-id": "43787e80-262e-4d8b-86f5-cf59884296d4" } } ], @@ -298,5 +185,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "9ada8a136727f20f7ffb334d7f10cad1" + "hash": "cd37812c106eb0a91952c0443239994a" } \ No newline at end of file diff --git a/sdk/synapse/synapse-artifacts/recordings/browsers/integrationruntimes/recording_should_get_integrationruntimes.json b/sdk/synapse/synapse-artifacts/recordings/browsers/integrationruntimes/recording_should_get_integrationruntimes.json index 32d5f4828ec6..d6ad519fc5ad 100644 --- a/sdk/synapse/synapse-artifacts/recordings/browsers/integrationruntimes/recording_should_get_integrationruntimes.json +++ b/sdk/synapse/synapse-artifacts/recordings/browsers/integrationruntimes/recording_should_get_integrationruntimes.json @@ -4,22 +4,24 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1322", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:43 GMT", + "date": "Fri, 11 Jun 2021 18:41:37 GMT", "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11562.10 - SCUS ProdSlices", - "x-ms-request-id": "7245599c-dde0-4068-b6a2-cc47c0b97900" + "x-ms-ests-server": "2.1.11829.4 - EUS ProdSlices", + "x-ms-request-id": "db76c444-d51d-41c2-a468-e5c69cee1700" } }, { @@ -35,15 +37,15 @@ "cache-control": "no-cache", "content-length": "453", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:43 GMT", + "date": "Fri, 11 Jun 2021 18:41:37 GMT", "expires": "-1", "pragma": "no-cache", "server": "Microsoft-IIS/10.0 Microsoft-HTTPAPI/2.0", "status": "200", "strict-transport-security": "max-age=15724800; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "ef687d66-9871-4c0b-a67a-16d09e58659b", - "x-ms-request-id": "54b27f78-5641-4a3d-ac24-e88eac1b4031", + "x-ms-correlation-request-id": "b59413fb-3805-432a-a581-457db36ea606", + "x-ms-request-id": "a54386be-f260-4c2d-8a49-bfc09d1596b1", "x-powered-by": "ASP.NET" } } @@ -52,5 +54,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "ca53856833fe39b942e7b539fc5015b4" + "hash": "7770ffcb0b7ecd65f37d4dac617662d9" } \ No newline at end of file diff --git a/sdk/synapse/synapse-artifacts/recordings/browsers/integrationruntimes/recording_should_list_integrationruntimes.json b/sdk/synapse/synapse-artifacts/recordings/browsers/integrationruntimes/recording_should_list_integrationruntimes.json index 2df15395f7aa..4c2fcb7fdb37 100644 --- a/sdk/synapse/synapse-artifacts/recordings/browsers/integrationruntimes/recording_should_list_integrationruntimes.json +++ b/sdk/synapse/synapse-artifacts/recordings/browsers/integrationruntimes/recording_should_list_integrationruntimes.json @@ -4,22 +4,24 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1322", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:43 GMT", + "date": "Fri, 11 Jun 2021 18:41:37 GMT", "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11562.10 - EUS ProdSlices", - "x-ms-request-id": "7b3097c4-30b7-4190-85ae-fdcde1346c00" + "x-ms-ests-server": "2.1.11829.4 - WUS2 ProdSlices", + "x-ms-request-id": "d460f1b2-71cd-4271-a6c8-f4d24b352a00" } }, { @@ -35,15 +37,15 @@ "cache-control": "no-cache", "content-length": "465", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:43 GMT", + "date": "Fri, 11 Jun 2021 18:41:37 GMT", "expires": "-1", "pragma": "no-cache", "server": "Microsoft-IIS/10.0 Microsoft-HTTPAPI/2.0", "status": "200", "strict-transport-security": "max-age=15724800; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-correlation-request-id": "ad890f46-7427-4412-a1c6-fa9d1fe759d7", - "x-ms-request-id": "51e1c352-1c7b-4359-8252-d005931a02d5", + "x-ms-correlation-request-id": "36756f6e-8914-4e28-bc8c-8702c278ac97", + "x-ms-request-id": "260b559d-9c4c-443f-ab72-9dc7a4bc2bcd", "x-powered-by": "ASP.NET" } } @@ -52,5 +54,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "850f616e1a3e72798091cee09b92372f" + "hash": "8037990fcacbab412bc49eba1e5bdef6" } \ No newline at end of file diff --git a/sdk/synapse/synapse-artifacts/recordings/browsers/library/recording_should_create_library.json b/sdk/synapse/synapse-artifacts/recordings/browsers/library/recording_should_create_library.json index 2b74f2b231b9..7ef8bbe44e58 100644 --- a/sdk/synapse/synapse-artifacts/recordings/browsers/library/recording_should_create_library.json +++ b/sdk/synapse/synapse-artifacts/recordings/browsers/library/recording_should_create_library.json @@ -4,22 +4,24 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1322", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:43 GMT", + "date": "Fri, 11 Jun 2021 18:41:37 GMT", "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11562.10 - SCUS ProdSlices", - "x-ms-request-id": "1c106eb6-c49c-4606-bd61-88851a6b6a00" + "x-ms-ests-server": "2.1.11829.4 - SCUS ProdSlices", + "x-ms-request-id": "12ad2611-1b51-41dd-bc86-34759a6b2500" } }, { @@ -30,24 +32,24 @@ }, "requestBody": null, "status": 202, - "response": "{\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/libraries/testLibraryName.jar\",\"recordId\":1439124,\"state\":\"Creating\",\"created\":\"2021-04-05T22:16:43.7433333Z\",\"changed\":\"2021-04-05T22:16:43.7433333Z\",\"type\":\"LibraryArtifact\",\"name\":\"testLibraryName.jar\",\"operationId\":\"bd86e054-3ad1-4db3-98e9-f5005f4d967a\",\"artifactId\":\"222B843C-6813-462B-A01A-D3AABE1428D5\"}", + "response": "{\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/libraries/testLibraryName.jar\",\"recordId\":1884927,\"state\":\"Creating\",\"created\":\"2021-06-11T18:41:38.32Z\",\"changed\":\"2021-06-11T18:41:38.32Z\",\"type\":\"LibraryArtifact\",\"name\":\"testLibraryName.jar\",\"operationId\":\"606a995d-b95a-410a-95c6-8a929c5e3c72\",\"artifactId\":\"99CA48EC-0EDE-4E3C-A03A-1C474BBD00AE\"}", "responseHeaders": { "access-control-allow-headers": "Location, Retry-After", "access-control-expose-headers": "Location, Retry-After", - "content-length": "446", + "content-length": "436", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:43 GMT", - "location": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/bd86e054-3ad1-4db3-98e9-f5005f4d967a?api-version=2019-06-01-preview", + "date": "Fri, 11 Jun 2021 18:41:37 GMT", + "location": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/606a995d-b95a-410a-95c6-8a929c5e3c72?api-version=2019-06-01-preview", "retry-after": "10", "server": "Microsoft-HTTPAPI/2.0", "status": "202", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "ac3f017a-8eff-45d5-93ad-85f3dac5db6d" + "x-ms-request-id": "64fb81fd-85b5-40f7-a3cb-c80343d9abd6" } }, { "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/bd86e054-3ad1-4db3-98e9-f5005f4d967a", + "url": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/606a995d-b95a-410a-95c6-8a929c5e3c72", "query": { "api-version": "2019-06-01-preview" }, @@ -59,18 +61,18 @@ "access-control-expose-headers": "Location, Retry-After", "content-length": "23", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:43 GMT", - "location": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/bd86e054-3ad1-4db3-98e9-f5005f4d967a?api-version=2019-06-01-preview", + "date": "Fri, 11 Jun 2021 18:41:37 GMT", + "location": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/606a995d-b95a-410a-95c6-8a929c5e3c72?api-version=2019-06-01-preview", "retry-after": "10", "server": "Microsoft-HTTPAPI/2.0", "status": "202", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "29e0a7af-ac1e-4ea7-9620-be5d626d187f" + "x-ms-request-id": "250a4812-d254-44b7-8cc5-f6c3f4e06d72" } }, { "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/bd86e054-3ad1-4db3-98e9-f5005f4d967a", + "url": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/606a995d-b95a-410a-95c6-8a929c5e3c72", "query": { "api-version": "2019-06-01-preview" }, @@ -82,55 +84,32 @@ "access-control-expose-headers": "Location, Retry-After", "content-length": "23", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:45 GMT", - "location": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/bd86e054-3ad1-4db3-98e9-f5005f4d967a?api-version=2019-06-01-preview", + "date": "Fri, 11 Jun 2021 18:41:40 GMT", + "location": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/606a995d-b95a-410a-95c6-8a929c5e3c72?api-version=2019-06-01-preview", "retry-after": "10", "server": "Microsoft-HTTPAPI/2.0", "status": "202", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "283e2218-8f42-4d40-a132-6e2323ccf569" + "x-ms-request-id": "a61326e2-ca04-43ea-8cc7-bc5f9cc41925" } }, { "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/bd86e054-3ad1-4db3-98e9-f5005f4d967a", - "query": { - "api-version": "2019-06-01-preview" - }, - "requestBody": null, - "status": 202, - "response": "{\"status\":\"InProgress\"}", - "responseHeaders": { - "access-control-allow-headers": "Location, Retry-After", - "access-control-expose-headers": "Location, Retry-After", - "content-length": "23", - "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:47 GMT", - "location": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/bd86e054-3ad1-4db3-98e9-f5005f4d967a?api-version=2019-06-01-preview", - "retry-after": "10", - "server": "Microsoft-HTTPAPI/2.0", - "status": "202", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "24987a83-ab8d-4bac-89ed-87c6d590b7e7" - } - }, - { - "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/bd86e054-3ad1-4db3-98e9-f5005f4d967a", + "url": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/606a995d-b95a-410a-95c6-8a929c5e3c72", "query": { "api-version": "2019-06-01-preview" }, "requestBody": null, "status": 200, - "response": "{\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/libraries/testLibraryName.jar\",\"name\":\"testLibraryName.jar\",\"type\":\"Microsoft.Synapse/workspaces/libraries\",\"properties\":{\"name\":\"testLibraryName.jar\",\"path\":\"xysynapsetest/libraries/testLibraryName.jar\",\"containerName\":\"prep\",\"uploadedTimestamp\":\"2021-04-05T22:16:43.7395879+00:00\",\"type\":\"jar\",\"provisioningStatus\":\"Incomplete\",\"creatorId\":\"30511c9d-ba1a-4c7b-b422-5b543da11b3f\"},\"etag\":\"bc063721-0000-0800-0000-606b8c4f0000\"}", + "response": "{\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/libraries/testLibraryName.jar\",\"name\":\"testLibraryName.jar\",\"type\":\"Microsoft.Synapse/workspaces/libraries\",\"properties\":{\"name\":\"testLibraryName.jar\",\"path\":\"xysynapsetest/libraries/testLibraryName.jar\",\"containerName\":\"prep\",\"uploadedTimestamp\":\"2021-06-11T18:41:38.3151754+00:00\",\"type\":\"jar\",\"provisioningStatus\":\"Incomplete\",\"creatorId\":\"30511c9d-ba1a-4c7b-b422-5b543da11b3f\"},\"etag\":\"4f007eea-0000-0800-0000-60c3ae650000\"}", "responseHeaders": { "content-length": "564", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:49 GMT", + "date": "Fri, 11 Jun 2021 18:41:42 GMT", "server": "Microsoft-HTTPAPI/2.0", "status": "200", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "a4528c25-476e-4b26-ae3e-217eee097b6d" + "x-ms-request-id": "ec2007af-452f-4869-9194-b3701d8f1d40" } } ], @@ -138,5 +117,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "3e8ee7985bf7a35bb0232eec37f4e886" + "hash": "d878684ca2ba8bb8db00360d4a70f8bb" } \ No newline at end of file diff --git a/sdk/synapse/synapse-artifacts/recordings/browsers/library/recording_should_delete_library.json b/sdk/synapse/synapse-artifacts/recordings/browsers/library/recording_should_delete_library.json index ba68d06e6d99..d011a32b8200 100644 --- a/sdk/synapse/synapse-artifacts/recordings/browsers/library/recording_should_delete_library.json +++ b/sdk/synapse/synapse-artifacts/recordings/browsers/library/recording_should_delete_library.json @@ -4,22 +4,24 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1322", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:54 GMT", + "date": "Fri, 11 Jun 2021 18:41:46 GMT", "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11562.10 - NCUS ProdSlices", - "x-ms-request-id": "d751fe13-4d70-45cf-b817-f5a5ccd66a00" + "x-ms-ests-server": "2.1.11829.4 - EUS ProdSlices", + "x-ms-request-id": "2ed42856-8dc7-48cb-a5f4-5f60e9bb1700" } }, { @@ -30,23 +32,23 @@ }, "requestBody": null, "status": 202, - "response": "{\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/libraries/testLibraryName.jar\",\"recordId\":0,\"state\":\"Deleting\",\"created\":\"0001-01-01T00:00:00\",\"changed\":\"0001-01-01T00:00:00\",\"type\":\"LibraryArtifact\",\"name\":\"testLibraryName.jar\",\"operationId\":\"b6303805-ecf9-4800-acb3-ddd6d99869b5\"}", + "response": "{\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/libraries/testLibraryName.jar\",\"recordId\":0,\"state\":\"Deleting\",\"created\":\"0001-01-01T00:00:00\",\"changed\":\"0001-01-01T00:00:00\",\"type\":\"LibraryArtifact\",\"name\":\"testLibraryName.jar\",\"operationId\":\"d4185926-bdff-43c4-884e-0f5018388a38\"}", "responseHeaders": { "access-control-allow-headers": "Location", "access-control-expose-headers": "Location", "content-length": "370", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:54 GMT", - "location": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/b6303805-ecf9-4800-acb3-ddd6d99869b5?api-version=2019-06-01-preview", + "date": "Fri, 11 Jun 2021 18:41:46 GMT", + "location": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/d4185926-bdff-43c4-884e-0f5018388a38?api-version=2019-06-01-preview", "server": "Microsoft-HTTPAPI/2.0", "status": "202", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "ed94e616-3435-4f3c-8dea-261f933657d7" + "x-ms-request-id": "39710da2-b5bc-46f6-8db7-07d51ab48008" } }, { "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/b6303805-ecf9-4800-acb3-ddd6d99869b5", + "url": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/d4185926-bdff-43c4-884e-0f5018388a38", "query": { "api-version": "2019-06-01-preview" }, @@ -58,18 +60,18 @@ "access-control-expose-headers": "Location, Retry-After", "content-length": "23", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:54 GMT", - "location": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/b6303805-ecf9-4800-acb3-ddd6d99869b5?api-version=2019-06-01-preview", + "date": "Fri, 11 Jun 2021 18:41:46 GMT", + "location": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/d4185926-bdff-43c4-884e-0f5018388a38?api-version=2019-06-01-preview", "retry-after": "10", "server": "Microsoft-HTTPAPI/2.0", "status": "202", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "daaab812-1d9f-43e4-b8f3-a483f816a1c3" + "x-ms-request-id": "5e16ed5e-5326-4953-88fa-3ae641cf28bb" } }, { "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/b6303805-ecf9-4800-acb3-ddd6d99869b5", + "url": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/d4185926-bdff-43c4-884e-0f5018388a38", "query": { "api-version": "2019-06-01-preview" }, @@ -81,41 +83,18 @@ "access-control-expose-headers": "Location, Retry-After", "content-length": "23", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:56 GMT", - "location": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/b6303805-ecf9-4800-acb3-ddd6d99869b5?api-version=2019-06-01-preview", + "date": "Fri, 11 Jun 2021 18:41:49 GMT", + "location": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/d4185926-bdff-43c4-884e-0f5018388a38?api-version=2019-06-01-preview", "retry-after": "10", "server": "Microsoft-HTTPAPI/2.0", "status": "202", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "60725c3a-bf90-40a7-8a21-57a1ae4aaeb5" + "x-ms-request-id": "c48c26b4-50ec-4e5d-b28a-ed3e0314000e" } }, { "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/b6303805-ecf9-4800-acb3-ddd6d99869b5", - "query": { - "api-version": "2019-06-01-preview" - }, - "requestBody": null, - "status": 202, - "response": "{\"status\":\"InProgress\"}", - "responseHeaders": { - "access-control-allow-headers": "Location, Retry-After", - "access-control-expose-headers": "Location, Retry-After", - "content-length": "23", - "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:58 GMT", - "location": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/b6303805-ecf9-4800-acb3-ddd6d99869b5?api-version=2019-06-01-preview", - "retry-after": "10", - "server": "Microsoft-HTTPAPI/2.0", - "status": "202", - "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "c0c132ab-630c-48a4-a496-0c52668f7dc6" - } - }, - { - "method": "GET", - "url": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/b6303805-ecf9-4800-acb3-ddd6d99869b5", + "url": "https://testaccount.dev.azuresynapse.net/libraryOperationResults/d4185926-bdff-43c4-884e-0f5018388a38", "query": { "api-version": "2019-06-01-preview" }, @@ -124,11 +103,11 @@ "response": "", "responseHeaders": { "content-length": "0", - "date": "Mon, 05 Apr 2021 22:17:00 GMT", + "date": "Fri, 11 Jun 2021 18:41:50 GMT", "server": "Microsoft-HTTPAPI/2.0", "status": "200", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "381961a9-11fb-4079-be4e-840593846ed7" + "x-ms-request-id": "6ee44f55-f0cb-41af-8451-7a8da31109fe" } } ], @@ -136,5 +115,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "107a424bb707e86b132e6e85a069cdc2" + "hash": "8305f99fa16e0395a8eda17e79570dd2" } \ No newline at end of file diff --git a/sdk/synapse/synapse-artifacts/recordings/browsers/library/recording_should_get_library.json b/sdk/synapse/synapse-artifacts/recordings/browsers/library/recording_should_get_library.json index b55ebd7f7583..8d37c4a75eb8 100644 --- a/sdk/synapse/synapse-artifacts/recordings/browsers/library/recording_should_get_library.json +++ b/sdk/synapse/synapse-artifacts/recordings/browsers/library/recording_should_get_library.json @@ -4,22 +4,24 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1322", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:54 GMT", + "date": "Fri, 11 Jun 2021 18:41:46 GMT", "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11562.10 - NCUS ProdSlices", - "x-ms-request-id": "8ebd0574-c18b-43e2-bdf0-09683e436400" + "x-ms-ests-server": "2.1.11829.4 - SCUS ProdSlices", + "x-ms-request-id": "1490438c-efac-497b-a346-63c6254e2600" } }, { @@ -30,15 +32,15 @@ }, "requestBody": null, "status": 200, - "response": "{\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/libraries/testLibraryName.jar\",\"name\":\"testLibraryName.jar\",\"type\":\"Microsoft.Synapse/workspaces/libraries\",\"properties\":{\"name\":\"testLibraryName.jar\",\"path\":\"xysynapsetest/libraries/testLibraryName.jar\",\"containerName\":\"prep\",\"uploadedTimestamp\":\"2021-04-05T22:16:43.7395879+00:00\",\"type\":\"jar\",\"provisioningStatus\":\"Incomplete\",\"creatorId\":\"30511c9d-ba1a-4c7b-b422-5b543da11b3f\"},\"etag\":\"bc063721-0000-0800-0000-606b8c4f0000\"}", + "response": "{\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/libraries/testLibraryName.jar\",\"name\":\"testLibraryName.jar\",\"type\":\"Microsoft.Synapse/workspaces/libraries\",\"properties\":{\"name\":\"testLibraryName.jar\",\"path\":\"xysynapsetest/libraries/testLibraryName.jar\",\"containerName\":\"prep\",\"uploadedTimestamp\":\"2021-06-11T18:41:38.3151754+00:00\",\"type\":\"jar\",\"provisioningStatus\":\"Incomplete\",\"creatorId\":\"30511c9d-ba1a-4c7b-b422-5b543da11b3f\"},\"etag\":\"4f007eea-0000-0800-0000-60c3ae650000\"}", "responseHeaders": { "content-length": "564", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:54 GMT", + "date": "Fri, 11 Jun 2021 18:41:46 GMT", "server": "Microsoft-HTTPAPI/2.0", "status": "200", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "397c699b-0004-4d55-a887-4b930f7f5a7a" + "x-ms-request-id": "6c0efa08-c8a0-4ec4-8244-8553658a23fd" } } ], @@ -46,5 +48,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "6e145c7219e1399d561c1f17054bdb7e" + "hash": "df6f8ed12a51828a757a2a9d3e75ab90" } \ No newline at end of file diff --git a/sdk/synapse/synapse-artifacts/recordings/browsers/library/recording_should_list_library.json b/sdk/synapse/synapse-artifacts/recordings/browsers/library/recording_should_list_library.json index 7b42d70bb8a4..cdc54ab26b31 100644 --- a/sdk/synapse/synapse-artifacts/recordings/browsers/library/recording_should_list_library.json +++ b/sdk/synapse/synapse-artifacts/recordings/browsers/library/recording_should_list_library.json @@ -4,22 +4,24 @@ "method": "POST", "url": "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", "query": {}, - "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default", + "requestBody": "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fsanitized%2F", "status": 200, "response": "{\"token_type\":\"Bearer\",\"expires_in\":86399,\"ext_expires_in\":86399,\"access_token\":\"access_token\"}", "responseHeaders": { "cache-control": "no-store, no-cache", "content-length": "1322", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:53 GMT", + "date": "Fri, 11 Jun 2021 18:41:46 GMT", "expires": "-1", + "nel": "{\"report_to\":\"network-errors\",\"max_age\":86400,\"success_fraction\":0.001,\"failure_fraction\":1.0}", "p3p": "CP=\"DSP CUR OTPi IND OTRi ONL FIN\"", "pragma": "no-cache", "referrer-policy": "strict-origin-when-cross-origin", + "report-to": "{\"group\":\"network-errors\",\"max_age\":86400,\"endpoints\":[{\"url\":\"https://identity.nel.measure.office.net/api/report?catId=GW+estsfd+wst\"}]}", "strict-transport-security": "max-age=31536000; includeSubDomains", "x-content-type-options": "nosniff", - "x-ms-ests-server": "2.1.11562.10 - EUS ProdSlices", - "x-ms-request-id": "90037ff6-ca38-45ae-85a0-41baaab67400" + "x-ms-ests-server": "2.1.11829.4 - SCUS ProdSlices", + "x-ms-request-id": "faa7c9a1-9d33-439e-90ca-b4b9795b2200" } }, { @@ -30,15 +32,15 @@ }, "requestBody": null, "status": 200, - "response": "{\"value\":[{\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/libraries/testLibraryName.jar\",\"name\":\"testLibraryName.jar\",\"type\":\"Microsoft.Synapse/workspaces/libraries\",\"etag\":\"bc063721-0000-0800-0000-606b8c4f0000\",\"properties\":{\"name\":\"testLibraryName.jar\",\"path\":\"xysynapsetest/libraries/testLibraryName.jar\",\"containerName\":\"prep\",\"uploadedTimestamp\":\"2021-04-05T22:16:43.7395879+00:00\",\"type\":\"jar\",\"provisioningStatus\":\"Incomplete\",\"creatorId\":\"30511c9d-ba1a-4c7b-b422-5b543da11b3f\"}}]}", + "response": "{\"value\":[{\"id\":\"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/libraries/testLibraryName.jar\",\"name\":\"testLibraryName.jar\",\"type\":\"Microsoft.Synapse/workspaces/libraries\",\"etag\":\"4f007eea-0000-0800-0000-60c3ae650000\",\"properties\":{\"name\":\"testLibraryName.jar\",\"path\":\"xysynapsetest/libraries/testLibraryName.jar\",\"containerName\":\"prep\",\"uploadedTimestamp\":\"2021-06-11T18:41:38.3151754+00:00\",\"type\":\"jar\",\"provisioningStatus\":\"Incomplete\",\"creatorId\":\"30511c9d-ba1a-4c7b-b422-5b543da11b3f\"}}]}", "responseHeaders": { "content-length": "576", "content-type": "application/json; charset=utf-8", - "date": "Mon, 05 Apr 2021 22:16:54 GMT", + "date": "Fri, 11 Jun 2021 18:41:46 GMT", "server": "Microsoft-HTTPAPI/2.0", "status": "200", "strict-transport-security": "max-age=31536000; includeSubDomains", - "x-ms-request-id": "71782bb4-c24b-4498-b32e-c9c0d4ad5b37" + "x-ms-request-id": "46564b23-2e5d-4c8e-b3d1-0ce0989b2031" } } ], @@ -46,5 +48,5 @@ "uniqueName": {}, "newDate": {} }, - "hash": "f96e65c6ccfc8c2cc7518dd97f4757d9" + "hash": "bee07bf9e77246e768f8dc9a376ceb27" } \ No newline at end of file diff --git a/sdk/synapse/synapse-artifacts/recordings/node/bigdatapools/recording_should_get_a_bigdatapool_by_name.js b/sdk/synapse/synapse-artifacts/recordings/node/bigdatapools/recording_should_get_a_bigdatapool_by_name.js index 5d2758323b7e..f0eb9c794e01 100644 --- a/sdk/synapse/synapse-artifacts/recordings/node/bigdatapools/recording_should_get_a_bigdatapool_by_name.js +++ b/sdk/synapse/synapse-artifacts/recordings/node/bigdatapools/recording_should_get_a_bigdatapool_by_name.js @@ -1,12 +1,84 @@ let nock = require('nock'); -module.exports.hash = "af4564dbbb65281d3928bfc9543ed8f9"; +module.exports.hash = "224e437908007396c645e45dd9a5f2bb"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '420cf881-d596-4f00-940d-cb7ed6467f00', + 'x-ms-ests-server', + '2.1.11787.14 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAQAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:39:53 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr-w6vJoiYBbzdB6xLy4OIGhkJs-W4djGNAqCuDJUwteDQLcfzZFe_zW1_beZFWwAb6WVZTdwJ14NxiC179DaH56i-hlWLv7Osfk400qHqJAP5AUPYlnmDjyhj8f4ssaOgP6unCD6GtJoJLkI9g134va6WQQASdscfalkoQ3EGOWogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:39:52 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '6f333939-cabf-4c50-acb0-3232c42e2500', + 'x-ms-ests-server', + '2.1.11829.4 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAQAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:39:53 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrNzbDGQPAX2wenVvUGmepdF6IQ4RXa80TSbxfmrpdcgArxrtPVFR9ocEwvBhtEnRU7dbaVf7HbwwQNAlD9vXtcuF3nqwDJJ65D0RZtlV10M3J_WYQyxFATpaX6BLkDzapUhQCs5HNamJF4jxQ1w6cEWpd0XKEy69Kh4bKjQqo0aMgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:39:52 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&client-request-id=8d69af6e-5077-4d24-b024-5360d906ac9c&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', @@ -21,24 +93,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'b92bec63-8e10-4e25-8e97-94b12f636f00', + '1391a666-56bd-4c26-8f37-26c07e0c2400', 'x-ms-ests-server', - '2.1.11562.10 - NCUS ProdSlices', + '2.1.11829.4 - SCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', 'Set-Cookie', - 'fpc=AvzULwO9SbVOqJjwdF4-3lHKOuyWAgAAAKt3_dcOAAAA; expires=Wed, 05-May-2021 21:27:09 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAQAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:39:53 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 05 Apr 2021 21:27:08 GMT', + 'Fri, 11 Jun 2021 18:39:52 GMT', 'Content-Length', - '1322' ]); + '1322' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) .get('/bigDataPools/testsparkpool') .query(true) - .reply(200, {"properties":{"creationDate":"2020-11-18T19:10:21.6Z","sparkVersion":"2.4","nodeCount":10,"nodeSize":"Small","nodeSizeFamily":"MemoryOptimized","autoScale":{"enabled":true,"minNodeCount":3,"maxNodeCount":10},"autoPause":{"enabled":true,"delayInMinutes":15},"isComputeIsolationEnabled":false,"sessionLevelPackagesEnabled":false,"cacheSize":0,"dynamicExecutorAllocation":{"enabled":false},"lastSucceededTimestamp":"2020-11-18T19:10:25.52Z","provisioningState":"Succeeded"},"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.ProjectArcadia/workspaces/xysynapsetest/sparkComputes/testsparkpool","name":"testsparkpool","type":"Microsoft.ProjectArcadia/workspaces/sparkComputes","location":"westus2","tags":{}}, [ 'Content-Length', + .reply(200, {"properties":{"creationDate":"2020-11-18T19:10:21.6Z","sparkVersion":"2.4","nodeCount":10,"nodeSize":"Small","nodeSizeFamily":"MemoryOptimized","autoScale":{"enabled":true,"minNodeCount":3,"maxNodeCount":10},"autoPause":{"enabled":true,"delayInMinutes":15},"isComputeIsolationEnabled":false,"sessionLevelPackagesEnabled":false,"cacheSize":0,"dynamicExecutorAllocation":{"enabled":false},"lastSucceededTimestamp":"2021-05-18T11:44:57.77Z","provisioningState":"Succeeded"},"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.ProjectArcadia/workspaces/xysynapsetest/sparkComputes/testsparkpool","name":"testsparkpool","type":"Microsoft.ProjectArcadia/workspaces/sparkComputes","location":"westus2","tags":{}}, [ + 'Content-Length', '756', 'Content-Type', 'application/json; charset=utf-8', @@ -47,8 +123,9 @@ nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains', 'x-ms-request-id', - '2df4e86b-71f4-4fd1-be11-b8736792d35d', + '0c95fcff-5eb0-4790-aa03-a9d859c45da3', 'Date', - 'Mon, 05 Apr 2021 21:27:08 GMT', + 'Fri, 11 Jun 2021 18:39:53 GMT', 'Connection', - 'close' ]); + 'close' +]); diff --git a/sdk/synapse/synapse-artifacts/recordings/node/bigdatapools/recording_should_list_bigdatapools.js b/sdk/synapse/synapse-artifacts/recordings/node/bigdatapools/recording_should_list_bigdatapools.js index 934b4a8b53f2..6f4dfc1ef248 100644 --- a/sdk/synapse/synapse-artifacts/recordings/node/bigdatapools/recording_should_list_bigdatapools.js +++ b/sdk/synapse/synapse-artifacts/recordings/node/bigdatapools/recording_should_list_bigdatapools.js @@ -1,17 +1,87 @@ let nock = require('nock'); -module.exports.hash = "55452eb4bf13a77d3b08cff7e23bd65e"; +module.exports.hash = "110e532f294590f2b4316b4de3a83d70"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '6c8bf0b8-d8bd-464f-a88c-b1d3cfba0400', + 'x-ms-ests-server', + '2.1.11787.15 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKk; expires=Sun, 11-Jul-2021 18:39:52 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrAm33pd2mT9Oid_VLDQrMvddbBbfHXjiJo5x1L6ulUgaVn6KxHmBk5PVLk7V3w7Aepns4X_-xJwBuj9-FbHuHDJWYH62ouxqCKJv219r1TYrE-3l3h6teTBL7MwSOR2itKpnM2qv5ndcHQeN2m_dPC02iK9BbOYbiuthpNaYvJ0ggAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:39:51 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'fd317594-00da-419e-8cdf-4e6855e81900', + 'x-ms-ests-server', + '2.1.11829.4 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKk; expires=Sun, 11-Jul-2021 18:39:52 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrWBnpthSqUu2zZCU6knisreshy-AVWOrc3Wpi4jTwTN9REjJXMKyjYLftslG4PqmiKtSf_EVO6LM1EKul8hcF4WDDuyjfVlUcq_hoeyqyYAsVvRdYPWYBK3gktcWutnoHAX2sF-JmsXxwjroApXQ_ipTbtn0yCJPsVAgHJbkF8ZogAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:39:51 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&client-request-id=54cf3884-1baa-4886-b922-0be4916be33f&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1322', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -23,22 +93,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '83970648-3778-4a17-ab9b-6110b90a5900', + 'a6d9cd41-6ba7-4e1a-bf7b-adbfce6a1a00', 'x-ms-ests-server', - '2.1.11562.10 - WUS2 ProdSlices', + '2.1.11829.4 - EUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', 'Set-Cookie', - 'fpc=AvzULwO9SbVOqJjwdF4-3lHKOuyWAQAAAKt3_dcOAAAA; expires=Wed, 05-May-2021 21:27:08 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAQAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:39:52 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 05 Apr 2021 21:27:07 GMT' ]); + 'Fri, 11 Jun 2021 18:39:51 GMT', + 'Content-Length', + '1322' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) .get('/bigDataPools') .query(true) - .reply(200, {"value":[{"properties":{"creationDate":"2020-11-19T21:41:05.3233333Z","sparkVersion":"2.4","nodeCount":4,"nodeSize":"Small","nodeSizeFamily":"MemoryOptimized","autoScale":{"enabled":false,"minNodeCount":3,"maxNodeCount":10},"autoPause":{"enabled":true,"delayInMinutes":15},"isComputeIsolationEnabled":false,"sessionLevelPackagesEnabled":false,"cacheSize":0,"dynamicExecutorAllocation":{"enabled":false},"lastSucceededTimestamp":"2020-11-19T21:41:13.2833333Z","provisioningState":"Succeeded"},"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.ProjectArcadia/workspaces/xysynapsetest/sparkComputes/HamonsSpark","name":"HamonsSpark","type":"Microsoft.ProjectArcadia/workspaces/sparkComputes","location":"westus2","tags":{}},{"properties":{"creationDate":"2021-01-11T06:04:11.4733333Z","sparkVersion":"2.4","nodeCount":0,"nodeSize":"Small","nodeSizeFamily":"MemoryOptimized","autoScale":{"enabled":true,"minNodeCount":3,"maxNodeCount":10},"autoPause":{"enabled":true,"delayInMinutes":15},"isComputeIsolationEnabled":false,"sessionLevelPackagesEnabled":false,"cacheSize":0,"dynamicExecutorAllocation":{"enabled":false},"lastSucceededTimestamp":"2021-01-11T06:04:18.1666667Z","provisioningState":"Succeeded"},"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.ProjectArcadia/workspaces/xysynapsetest/sparkComputes/jianghaospool","name":"jianghaospool","type":"Microsoft.ProjectArcadia/workspaces/sparkComputes","location":"westus2","tags":{}},{"properties":{"creationDate":"2020-11-18T19:10:21.6Z","sparkVersion":"2.4","nodeCount":10,"nodeSize":"Small","nodeSizeFamily":"MemoryOptimized","autoScale":{"enabled":true,"minNodeCount":3,"maxNodeCount":10},"autoPause":{"enabled":true,"delayInMinutes":15},"isComputeIsolationEnabled":false,"sessionLevelPackagesEnabled":false,"cacheSize":0,"dynamicExecutorAllocation":{"enabled":false},"lastSucceededTimestamp":"2020-11-18T19:10:25.52Z","provisioningState":"Succeeded"},"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.ProjectArcadia/workspaces/xysynapsetest/sparkComputes/testsparkpool","name":"testsparkpool","type":"Microsoft.ProjectArcadia/workspaces/sparkComputes","location":"westus2","tags":{}}]}, [ 'Content-Length', + .reply(200, {"value":[{"properties":{"creationDate":"2020-11-19T21:41:05.3233333Z","sparkVersion":"2.4","nodeCount":4,"nodeSize":"Small","nodeSizeFamily":"MemoryOptimized","autoScale":{"enabled":false,"minNodeCount":3,"maxNodeCount":10},"autoPause":{"enabled":true,"delayInMinutes":15},"isComputeIsolationEnabled":false,"sessionLevelPackagesEnabled":false,"cacheSize":0,"dynamicExecutorAllocation":{"enabled":false},"lastSucceededTimestamp":"2021-05-18T11:44:58.5966667Z","provisioningState":"Succeeded"},"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.ProjectArcadia/workspaces/xysynapsetest/sparkComputes/HamonsSpark","name":"HamonsSpark","type":"Microsoft.ProjectArcadia/workspaces/sparkComputes","location":"westus2","tags":{}},{"properties":{"creationDate":"2021-01-11T06:04:11.4733333Z","sparkVersion":"2.4","nodeCount":0,"nodeSize":"Small","nodeSizeFamily":"MemoryOptimized","autoScale":{"enabled":true,"minNodeCount":3,"maxNodeCount":10},"autoPause":{"enabled":true,"delayInMinutes":15},"isComputeIsolationEnabled":false,"sessionLevelPackagesEnabled":false,"cacheSize":0,"dynamicExecutorAllocation":{"enabled":false},"lastSucceededTimestamp":"2021-05-18T11:44:57.4066667Z","provisioningState":"Succeeded"},"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.ProjectArcadia/workspaces/xysynapsetest/sparkComputes/jianghaospool","name":"jianghaospool","type":"Microsoft.ProjectArcadia/workspaces/sparkComputes","location":"westus2","tags":{}},{"properties":{"creationDate":"2020-11-18T19:10:21.6Z","sparkVersion":"2.4","nodeCount":10,"nodeSize":"Small","nodeSizeFamily":"MemoryOptimized","autoScale":{"enabled":true,"minNodeCount":3,"maxNodeCount":10},"autoPause":{"enabled":true,"delayInMinutes":15},"isComputeIsolationEnabled":false,"sessionLevelPackagesEnabled":false,"cacheSize":0,"dynamicExecutorAllocation":{"enabled":false},"lastSucceededTimestamp":"2021-05-18T11:44:57.77Z","provisioningState":"Succeeded"},"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.ProjectArcadia/workspaces/xysynapsetest/sparkComputes/testsparkpool","name":"testsparkpool","type":"Microsoft.ProjectArcadia/workspaces/sparkComputes","location":"westus2","tags":{}}]}, [ + 'Content-Length', '2299', 'Content-Type', 'application/json; charset=utf-8', @@ -47,8 +123,9 @@ nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains', 'x-ms-request-id', - 'eb4c3b10-fa24-4d38-99d4-c5becff0588b', + '280c1eff-791d-465f-ac89-5d35c5100cee', 'Date', - 'Mon, 05 Apr 2021 21:27:08 GMT', + 'Fri, 11 Jun 2021 18:39:53 GMT', 'Connection', - 'close' ]); + 'close' +]); diff --git a/sdk/synapse/synapse-artifacts/recordings/node/dataflow/recording_should_create_dataflow.js b/sdk/synapse/synapse-artifacts/recordings/node/dataflow/recording_should_create_dataflow.js index c6c1c4bb7336..e9e723c0fc90 100644 --- a/sdk/synapse/synapse-artifacts/recordings/node/dataflow/recording_should_create_dataflow.js +++ b/sdk/synapse/synapse-artifacts/recordings/node/dataflow/recording_should_create_dataflow.js @@ -1,81 +1,127 @@ let nock = require('nock'); -module.exports.hash = "1a294459aa6a96fcc6951d7a0ee0cd43"; +module.exports.hash = "6ec0e5739c49c3582fb27f48933d9fe2"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '7016711f-e93b-4ce6-98c2-5c4d2eed6700', + 'x-ms-ests-server', + '2.1.11787.14 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAQAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:39:53 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr46ZO0Oh1p0zRVJm5IV_LuJGl1PL9UkIZl1Mrmhg3GI9x2dZZQoWmr_05wYQfifpVvxQjJT57pLcrmbklzpIVdD0alc6QAPzIWIkS-f0eqGgqPXjofa8LU2aHNPsEqx1k5nglV4ZGRBOk3KMqyBTF6U_x8aq2_qg0dMncM0I_MukgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:39:52 GMT', 'Content-Length', - '1322', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Length', + '1753', 'Content-Type', 'application/json; charset=utf-8', - 'Expires', - '-1', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains', 'X-Content-Type-Options', 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'c336d7a6-677b-4fdf-af1c-a0b193486500', + 'af8f1119-be9e-4d06-b6fd-737a57e12400', 'x-ms-ests-server', - '2.1.11562.10 - SCUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', 'Set-Cookie', - 'fpc=AvzULwO9SbVOqJjwdF4-3lHKOuyWAwAAAKt3_dcOAAAA; expires=Wed, 05-May-2021 21:27:09 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAQAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:39:53 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevryqv8VgtK-eq-Ll87dfD2-O2mvWLvlu6RW6Fw9zZFZY5K-7vmnE0Z9Un7wQc7uo2qH2-pWM7893i10DjN9A82-FQeupzVj7Gw46eVy6eyRvOTAh25C7EwWkZcYaJJAbAgRfMpKeMmCXm7tGmvRosjT4MjCfcNk2pRTkQ0wZ25CkUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 05 Apr 2021 21:27:08 GMT' ]); + 'Fri, 11 Jun 2021 18:39:53 GMT' +]); -nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) - .put('/dataflows/testdataflow', {"properties":{"type":"MappingDataFlow"}}) - .query(true) - .reply(202, {"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow","recordId":1439004,"state":"Creating","created":"2021-04-05T21:27:09.59Z","changed":"2021-04-05T21:27:09.59Z","type":"DataFlow","name":"testdataflow","operationId":"b565df5a-56b5-4f22-8ad1-ee6c11e1fa91","artifactId":"0525C732-319A-4843-8F0A-CD7F6892620B"}, [ 'Content-Length', - '415', +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&client-request-id=cab9344f-5bcb-428b-aa2d-3ef9cfee7052&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', + 'no-store, no-cache', + 'Pragma', + 'no-cache', 'Content-Type', 'application/json; charset=utf-8', - 'Location', - 'https://testaccount.dev.azuresynapse.net/operationResults/b565df5a-56b5-4f22-8ad1-ee6c11e1fa91?api-version=2019-06-01-preview', - 'Retry-After', - '10', - 'Server', - 'Microsoft-HTTPAPI/2.0', + 'Expires', + '-1', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains', - 'Access-Control-Allow-Headers', - 'Location', - 'Access-Control-Allow-Headers', - 'Retry-After', - 'Access-Control-Expose-Headers', - 'Location', - 'Access-Control-Expose-Headers', - 'Retry-After', + 'X-Content-Type-Options', + 'nosniff', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '2d110dd4-85cd-42e8-9eaf-8368407b3bdd', + '1391a666-56bd-4c26-8f37-26c0980c2400', + 'x-ms-ests-server', + '2.1.11829.4 - SCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAQAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:39:53 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 05 Apr 2021 21:27:09 GMT', - 'Connection', - 'close' ]); + 'Fri, 11 Jun 2021 18:39:53 GMT', + 'Content-Length', + '1322' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) - .get('/operationResults/b565df5a-56b5-4f22-8ad1-ee6c11e1fa91') + .put('/dataflows/testdataflow', {"properties":{"type":"MappingDataFlow"}}) .query(true) - .reply(202, {"status":"InProgress"}, [ 'Content-Length', - '23', + .reply(202, {"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow","recordId":1884904,"state":"Creating","created":"2021-06-11T18:39:53.86Z","changed":"2021-06-11T18:39:53.86Z","type":"DataFlow","name":"testdataflow","operationId":"5f0af254-8877-4f3f-9f2a-d18d314a396b","artifactId":"F6F6D00C-2932-4419-8996-F40EEDB97310"}, [ + 'Content-Length', + '415', 'Content-Type', 'application/json; charset=utf-8', 'Location', - 'https://testaccount.dev.azuresynapse.net/operationResults/b565df5a-56b5-4f22-8ad1-ee6c11e1fa91?api-version=2019-06-01-preview', + 'https://testaccount.dev.azuresynapse.net/operationResults/5f0af254-8877-4f3f-9f2a-d18d314a396b?api-version=2019-06-01-preview', 'Retry-After', - '10', + '0', 'Server', 'Microsoft-HTTPAPI/2.0', 'Strict-Transport-Security', @@ -89,23 +135,25 @@ nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) 'Access-Control-Expose-Headers', 'Retry-After', 'x-ms-request-id', - '13519335-5589-441c-8c2e-6ba914bf0df7', + '2bfc4527-1d16-4d21-b0a3-7d3637d47ecc', 'Date', - 'Mon, 05 Apr 2021 21:27:09 GMT', + 'Fri, 11 Jun 2021 18:39:53 GMT', 'Connection', - 'close' ]); + 'close' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) - .get('/operationResults/b565df5a-56b5-4f22-8ad1-ee6c11e1fa91') + .get('/operationResults/5f0af254-8877-4f3f-9f2a-d18d314a396b') .query(true) - .reply(202, {"status":"InProgress"}, [ 'Content-Length', + .reply(202, {"status":"InProgress"}, [ + 'Content-Length', '23', 'Content-Type', 'application/json; charset=utf-8', 'Location', - 'https://testaccount.dev.azuresynapse.net/operationResults/b565df5a-56b5-4f22-8ad1-ee6c11e1fa91?api-version=2019-06-01-preview', + 'https://testaccount.dev.azuresynapse.net/operationResults/5f0af254-8877-4f3f-9f2a-d18d314a396b?api-version=2019-06-01-preview', 'Retry-After', - '10', + '0', 'Server', 'Microsoft-HTTPAPI/2.0', 'Strict-Transport-Security', @@ -119,23 +167,25 @@ nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) 'Access-Control-Expose-Headers', 'Retry-After', 'x-ms-request-id', - '95b261f1-db23-4e15-b4f2-9594ab25ec6c', + 'cb7d9220-8c0a-4674-aa90-27f9b4534e67', 'Date', - 'Mon, 05 Apr 2021 21:27:11 GMT', + 'Fri, 11 Jun 2021 18:39:54 GMT', 'Connection', - 'close' ]); + 'close' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) - .get('/operationResults/b565df5a-56b5-4f22-8ad1-ee6c11e1fa91') + .get('/operationResults/5f0af254-8877-4f3f-9f2a-d18d314a396b') .query(true) - .reply(202, {"status":"InProgress"}, [ 'Content-Length', + .reply(202, {"status":"InProgress"}, [ + 'Content-Length', '23', 'Content-Type', 'application/json; charset=utf-8', 'Location', - 'https://testaccount.dev.azuresynapse.net/operationResults/b565df5a-56b5-4f22-8ad1-ee6c11e1fa91?api-version=2019-06-01-preview', + 'https://testaccount.dev.azuresynapse.net/operationResults/5f0af254-8877-4f3f-9f2a-d18d314a396b?api-version=2019-06-01-preview', 'Retry-After', - '10', + '0', 'Server', 'Microsoft-HTTPAPI/2.0', 'Strict-Transport-Security', @@ -149,16 +199,18 @@ nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) 'Access-Control-Expose-Headers', 'Retry-After', 'x-ms-request-id', - '6d0b2cd6-43bc-4a20-8ec2-7b03bf030b28', + '9d982433-e82d-4623-b97b-9bee4a180a6f', 'Date', - 'Mon, 05 Apr 2021 21:27:13 GMT', + 'Fri, 11 Jun 2021 18:39:56 GMT', 'Connection', - 'close' ]); + 'close' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) - .get('/operationResults/b565df5a-56b5-4f22-8ad1-ee6c11e1fa91') + .get('/operationResults/5f0af254-8877-4f3f-9f2a-d18d314a396b') .query(true) - .reply(200, {"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow","name":"testdataflow","type":"Microsoft.Synapse/workspaces/dataflows","properties":{"type":"MappingDataFlow"},"etag":"aa0690f6-0000-0800-0000-606b80b20000"}, [ 'Cache-Control', + .reply(200, {"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow","name":"testdataflow","type":"Microsoft.Synapse/workspaces/dataflows","properties":{"type":"MappingDataFlow"},"etag":"4f0092e0-0000-0800-0000-60c3adfc0000"}, [ + 'Cache-Control', 'no-cache', 'Pragma', 'no-cache', @@ -173,14 +225,15 @@ nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'x-ms-correlation-request-id', - '9689e57a-27fe-485d-8d48-00c81e9587f4', + '387ebe62-d686-4f62-9b51-ac663fceaa96', 'X-Content-Type-Options', 'nosniff', 'X-Powered-By', 'ASP.NET', 'x-ms-request-id', - '45e66c5a-454f-4b4f-ba9e-e4701d2d585b', + '3376a028-91b0-4692-a214-38ff89e91eb3', 'Date', - 'Mon, 05 Apr 2021 21:27:15 GMT', + 'Fri, 11 Jun 2021 18:39:58 GMT', 'Connection', - 'close' ]); + 'close' +]); diff --git a/sdk/synapse/synapse-artifacts/recordings/node/dataflow/recording_should_delete_dataflow.js b/sdk/synapse/synapse-artifacts/recordings/node/dataflow/recording_should_delete_dataflow.js index abd21d5a7845..e8acf2dcec71 100644 --- a/sdk/synapse/synapse-artifacts/recordings/node/dataflow/recording_should_delete_dataflow.js +++ b/sdk/synapse/synapse-artifacts/recordings/node/dataflow/recording_should_delete_dataflow.js @@ -1,17 +1,87 @@ let nock = require('nock'); -module.exports.hash = "490333286e74fcd776ada6c8bff08130"; +module.exports.hash = "a0b3199ce0b5940c129dc54de3271114"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '66f9c80e-1bf5-4e1b-8ed8-e219dca98700', + 'x-ms-ests-server', + '2.1.11787.14 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAwAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:24 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr4WFCUIlFOzz1dQMmttklSHpzJwcq5uf9PcvJInAv14Uvrf0R4RGnf90w5m0v7YFGt1qgZvgM9Txv89YKrs1OpYtSawSN7XoVomoVhWcqVCLw3i4eZ1yb-WuRXKaZufPHqQn--DfUcpFS27ya-ah05jfRhQkHQjQu_5tt_s9IR3MgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:40:23 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Length', + '1753', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'eae53b9c-a261-4400-90bc-1c42f78f2a00', + 'x-ms-ests-server', + '2.1.11829.4 - WUS2 ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAwAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:24 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr5unCj66bbGBRSJeM2wVRYqkhJks5CDgakNsUxHITG1zbnmVXVkC1sEf2tBvYZeR6pdZ7CECMZWRYZ-3DV_eKDAjcL7cE5bJCitX1Qg5NQfQHtoIr4CZW06tAZ2yHs1w-t38sWzPR-T5hC8dEfzjszJuFp6tQ0EJV-7Kh3kmC2U4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:40:23 GMT' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&client-request-id=603a605d-d4e0-4ac2-951d-82ec96e131e3&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1322', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -23,27 +93,33 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'a4433f94-db9a-4a15-9895-e4714d926700', + 'a6d9cd41-6ba7-4e1a-bf7b-adbf0b721a00', 'x-ms-ests-server', - '2.1.11562.10 - NCUS ProdSlices', + '2.1.11829.4 - EUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', 'Set-Cookie', - 'fpc=AvzULwO9SbVOqJjwdF4-3lHKOuyWBgAAAKt3_dcOAAAA; expires=Wed, 05-May-2021 21:27:35 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAwAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:24 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 05 Apr 2021 21:27:34 GMT' ]); + 'Fri, 11 Jun 2021 18:40:23 GMT', + 'Content-Length', + '1322' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) .delete('/dataflows/testdataflow2') .query(true) - .reply(202, {"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow2","recordId":0,"state":"Deleting","created":"0001-01-01T00:00:00","changed":"0001-01-01T00:00:00","type":"DataFlow","name":"testdataflow2","operationId":"058bdd6f-6c2e-4737-8ebd-b68e0e433c99"}, [ 'Content-Length', + .reply(202, {"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow2","recordId":0,"state":"Deleting","created":"0001-01-01T00:00:00","changed":"0001-01-01T00:00:00","type":"DataFlow","name":"testdataflow2","operationId":"c737135f-c70d-4d6f-b385-6a446e7deca6"}, [ + 'Content-Length', '351', 'Content-Type', 'application/json; charset=utf-8', 'Location', - 'https://testaccount.dev.azuresynapse.net/operationResults/058bdd6f-6c2e-4737-8ebd-b68e0e433c99?api-version=2019-06-01-preview', + 'https://testaccount.dev.azuresynapse.net/operationResults/c737135f-c70d-4d6f-b385-6a446e7deca6?api-version=2019-06-01-preview', 'Server', 'Microsoft-HTTPAPI/2.0', 'Strict-Transport-Security', @@ -53,23 +129,25 @@ nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) 'Access-Control-Expose-Headers', 'Location', 'x-ms-request-id', - '8ae95c00-0f0e-49cb-9be4-30c42227c7e6', + '333c6393-a27f-467f-97e0-dee81560438c', 'Date', - 'Mon, 05 Apr 2021 21:27:35 GMT', + 'Fri, 11 Jun 2021 18:40:24 GMT', 'Connection', - 'close' ]); + 'close' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) - .get('/operationResults/058bdd6f-6c2e-4737-8ebd-b68e0e433c99') + .get('/operationResults/c737135f-c70d-4d6f-b385-6a446e7deca6') .query(true) - .reply(202, {"status":"InProgress"}, [ 'Content-Length', + .reply(202, {"status":"InProgress"}, [ + 'Content-Length', '23', 'Content-Type', 'application/json; charset=utf-8', 'Location', - 'https://testaccount.dev.azuresynapse.net/operationResults/058bdd6f-6c2e-4737-8ebd-b68e0e433c99?api-version=2019-06-01-preview', + 'https://testaccount.dev.azuresynapse.net/operationResults/c737135f-c70d-4d6f-b385-6a446e7deca6?api-version=2019-06-01-preview', 'Retry-After', - '10', + '0', 'Server', 'Microsoft-HTTPAPI/2.0', 'Strict-Transport-Security', @@ -83,23 +161,25 @@ nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) 'Access-Control-Expose-Headers', 'Retry-After', 'x-ms-request-id', - 'adb92c04-4973-4865-8fa7-814f7398ebe8', + '1c334efd-ebdc-4753-87f8-ee017967f92d', 'Date', - 'Mon, 05 Apr 2021 21:27:34 GMT', + 'Fri, 11 Jun 2021 18:40:24 GMT', 'Connection', - 'close' ]); + 'close' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) - .get('/operationResults/058bdd6f-6c2e-4737-8ebd-b68e0e433c99') + .get('/operationResults/c737135f-c70d-4d6f-b385-6a446e7deca6') .query(true) - .reply(202, {"status":"InProgress"}, [ 'Content-Length', + .reply(202, {"status":"InProgress"}, [ + 'Content-Length', '23', 'Content-Type', 'application/json; charset=utf-8', 'Location', - 'https://testaccount.dev.azuresynapse.net/operationResults/058bdd6f-6c2e-4737-8ebd-b68e0e433c99?api-version=2019-06-01-preview', + 'https://testaccount.dev.azuresynapse.net/operationResults/c737135f-c70d-4d6f-b385-6a446e7deca6?api-version=2019-06-01-preview', 'Retry-After', - '10', + '0', 'Server', 'Microsoft-HTTPAPI/2.0', 'Strict-Transport-Security', @@ -113,24 +193,27 @@ nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) 'Access-Control-Expose-Headers', 'Retry-After', 'x-ms-request-id', - '42c9aa45-77d1-450d-9e6a-6bfa00abd71b', + '1d966b67-c20d-4982-b03e-e53b5513f513', 'Date', - 'Mon, 05 Apr 2021 21:27:37 GMT', + 'Fri, 11 Jun 2021 18:40:26 GMT', 'Connection', - 'close' ]); + 'close' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) - .get('/operationResults/058bdd6f-6c2e-4737-8ebd-b68e0e433c99') + .get('/operationResults/c737135f-c70d-4d6f-b385-6a446e7deca6') .query(true) - .reply(200, "", [ 'Content-Length', + .reply(200, "", [ + 'Content-Length', '0', 'Server', 'Microsoft-HTTPAPI/2.0', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains', 'x-ms-request-id', - '7b6eca15-ef52-4cbe-a0e0-95a136201b44', + '86a81e6a-b2e2-4d8e-9f10-884d839c7a38', 'Date', - 'Mon, 05 Apr 2021 21:27:39 GMT', + 'Fri, 11 Jun 2021 18:40:28 GMT', 'Connection', - 'close' ]); + 'close' +]); diff --git a/sdk/synapse/synapse-artifacts/recordings/node/dataflow/recording_should_get_dataflow.js b/sdk/synapse/synapse-artifacts/recordings/node/dataflow/recording_should_get_dataflow.js index 9d6689fec58f..759df0ac2279 100644 --- a/sdk/synapse/synapse-artifacts/recordings/node/dataflow/recording_should_get_dataflow.js +++ b/sdk/synapse/synapse-artifacts/recordings/node/dataflow/recording_should_get_dataflow.js @@ -1,17 +1,87 @@ let nock = require('nock'); -module.exports.hash = "a48efda58194d1a48887a8d4489176c5"; +module.exports.hash = "df4cedf2ed7f98cc82dbd9caede2d30d"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '28d088e3-a6c1-4857-b876-22add3886700', + 'x-ms-ests-server', + '2.1.11787.14 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAgAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:02 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr09sqdp79dIyfe6P4d5ftwY3QEKlUbjNyLbXY7oacQ46e0q6B0voGGD8xTVuSE2pbBTgxIYoAaIytZlB2G_BVQ2sjW3FPx_tvD1Xdt8CukJcl3_a3FCoTsN2nji1gTDo11EFP2lFTzsQDpKWEhYuBgsVL0i7OIVWNKqEeRQxPITAgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:40:02 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '9ef8c751-310d-489b-8072-ccc63cfd1f00', + 'x-ms-ests-server', + '2.1.11829.4 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAgAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:02 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrcC22unJDSN29td9bFgPAB_dNfbYPtR51yS-6QpGxseaXIN7a2iDG-F-pe3TuSECwHzmUF06nJO58ffOV8Aw4ojL7QR6gh1ygu3e13STMXyRhMRSRhNRgvitDs51aufU1VhFVLks2a4OC9EjKo9rKg1KTiwQD-THM_hEt5GRPt-MgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:40:02 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&client-request-id=9cc70b15-ed18-4e36-8455-1fb547bd015d&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1322', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -23,22 +93,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '02b55794-95a4-4d5a-b2dd-ee688d0d7700', + '84cd66cb-bf72-4fbf-8c17-4f9c18c62000', 'x-ms-ests-server', - '2.1.11562.10 - EUS ProdSlices', + '2.1.11829.4 - WUS2 ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', 'Set-Cookie', - 'fpc=AvzULwO9SbVOqJjwdF4-3lHKOuyWBQAAAKt3_dcOAAAA; expires=Wed, 05-May-2021 21:27:20 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAwAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:02 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 05 Apr 2021 21:27:19 GMT' ]); + 'Fri, 11 Jun 2021 18:40:02 GMT', + 'Content-Length', + '1322' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) .get('/dataflows/testdataflow') .query(true) - .reply(200, {"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow","name":"testdataflow","type":"Microsoft.Synapse/workspaces/dataflows","properties":{"type":"MappingDataFlow"},"etag":"aa0690f6-0000-0800-0000-606b80b20000"}, [ 'Cache-Control', + .reply(200, {"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow","name":"testdataflow","type":"Microsoft.Synapse/workspaces/dataflows","properties":{"type":"MappingDataFlow"},"etag":"4f0092e0-0000-0800-0000-60c3adfc0000"}, [ + 'Cache-Control', 'no-cache', 'Pragma', 'no-cache', @@ -53,14 +129,15 @@ nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'x-ms-correlation-request-id', - '8d4177fb-751f-4194-9bd1-b06faaa7e0eb', + 'a7887ded-5250-424f-97c2-58e829d7097e', 'X-Content-Type-Options', 'nosniff', 'X-Powered-By', 'ASP.NET', 'x-ms-request-id', - '807f306a-e111-4817-9f03-787f0cde9c13', + '4bb0663a-4db2-4117-a906-55b65e8869cc', 'Date', - 'Mon, 05 Apr 2021 21:27:20 GMT', + 'Fri, 11 Jun 2021 18:40:02 GMT', 'Connection', - 'close' ]); + 'close' +]); diff --git a/sdk/synapse/synapse-artifacts/recordings/node/dataflow/recording_should_list_dataflows.js b/sdk/synapse/synapse-artifacts/recordings/node/dataflow/recording_should_list_dataflows.js index 84a6d8860981..e5097e33e8db 100644 --- a/sdk/synapse/synapse-artifacts/recordings/node/dataflow/recording_should_list_dataflows.js +++ b/sdk/synapse/synapse-artifacts/recordings/node/dataflow/recording_should_list_dataflows.js @@ -1,17 +1,87 @@ let nock = require('nock'); -module.exports.hash = "df3f91c76ecc1e578504b234a98a3f8b"; +module.exports.hash = "84665e5daf09129200e2a2fc46c6ea37"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '64eac14a-b83b-4289-a4ba-ff27e54e0200', + 'x-ms-ests-server', + '2.1.11787.15 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAQAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:02 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrYzIkdilmtpApb-K6VRmYGxzYe7ieGzKZNlkLuCfesZmpQE8nvOuApbeJ2XAazBMGDrnfoYcMldWFbzDIdYoAbokTOBB1Mj5KHrCh4et_1aJpb2e1CPua7Yr18EldfUlrgf7P17D0QhCh9Tj86-ErkAcvZvnGdl6naqzi-OGZf1kgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:40:01 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '177543fd-42fb-40b9-95e3-1f612a141900', + 'x-ms-ests-server', + '2.1.11829.4 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAQAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:02 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrVk8GAvJ4yQ37xdtHW3iVOh-iklXMXt9hnZWCtQyyuyUotNNBSzUEiEm81zF5WfhNcx1eKSziHpIGcz4kU2ub-3IBOMzNc09znTZP5mVLPf9Qw4MAh7wrIwaDMy8oHk2w0gh8iBPDrFp5Zx62KxCi8SvdTz0YuwsXWqxjSkkfytYgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:40:01 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&client-request-id=b3847216-01fa-4d76-bad8-4c20f498ef4a&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1322', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -23,22 +93,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'd729a157-e25e-4b17-971b-e0830b006d00', + 'af8f1119-be9e-4d06-b6fd-737a17e32400', 'x-ms-ests-server', - '2.1.11562.10 - SCUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', 'Set-Cookie', - 'fpc=AvzULwO9SbVOqJjwdF4-3lHKOuyWBAAAAKt3_dcOAAAA; expires=Wed, 05-May-2021 21:27:20 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAgAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:02 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 05 Apr 2021 21:27:19 GMT' ]); + 'Fri, 11 Jun 2021 18:40:01 GMT', + 'Content-Length', + '1322' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) .get('/dataflows') .query(true) - .reply(200, {"value":[{"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow","name":"testdataflow","type":"Microsoft.Synapse/workspaces/dataflows","etag":"aa0690f6-0000-0800-0000-606b80b20000","properties":{"type":"MappingDataFlow"}}]}, [ 'Content-Length', + .reply(200, {"value":[{"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow","name":"testdataflow","type":"Microsoft.Synapse/workspaces/dataflows","etag":"4f0092e0-0000-0800-0000-60c3adfc0000","properties":{"type":"MappingDataFlow"}}]}, [ + 'Content-Length', '328', 'Content-Type', 'application/json; charset=utf-8', @@ -47,8 +123,9 @@ nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains', 'x-ms-request-id', - '9ab5fe4e-c7f3-454e-96b7-cacc5082fdac', + '8ae5561f-cc7b-471f-9b2c-02550cf83728', 'Date', - 'Mon, 05 Apr 2021 21:27:19 GMT', + 'Fri, 11 Jun 2021 18:40:02 GMT', 'Connection', - 'close' ]); + 'close' +]); diff --git a/sdk/synapse/synapse-artifacts/recordings/node/dataflow/recording_should_rename_dataflow.js b/sdk/synapse/synapse-artifacts/recordings/node/dataflow/recording_should_rename_dataflow.js index f73edd9b6f11..6bb4473dae6c 100644 --- a/sdk/synapse/synapse-artifacts/recordings/node/dataflow/recording_should_rename_dataflow.js +++ b/sdk/synapse/synapse-artifacts/recordings/node/dataflow/recording_should_rename_dataflow.js @@ -1,232 +1,542 @@ -let nock = require('nock'); +let nock = require("nock"); -module.exports.hash = "1f2f2307916638a93d675fb16195e53f"; +module.exports.hash = "2fd03e41c0e19c1533542a027f592e78"; -module.exports.testInfo = {"uniqueName":{},"newDate":{}} +module.exports.testInfo = { uniqueName: {}, newDate: {} }; -nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', - 'no-store, no-cache', - 'Pragma', - 'no-cache', - 'Content-Type', - 'application/json; charset=utf-8', - 'Expires', - '-1', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'X-Content-Type-Options', - 'nosniff', - 'P3P', - 'CP="DSP CUR OTPi IND OTRi ONL FIN"', - 'x-ms-request-id', - 'c336d7a6-677b-4fdf-af1c-a0b1044a6500', - 'x-ms-ests-server', - '2.1.11562.10 - SCUS ProdSlices', - 'Set-Cookie', - 'fpc=AvzULwO9SbVOqJjwdF4-3lHKOuyWBQAAAKt3_dcOAAAA; expires=Wed, 05-May-2021 21:27:20 GMT; path=/; secure; HttpOnly; SameSite=None', - 'Set-Cookie', - 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', - 'Set-Cookie', - 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', - 'Date', - 'Mon, 05 Apr 2021 21:27:19 GMT', - 'Content-Length', - '1322' ]); +nock("https://login.microsoftonline.com:443", { encodedQueryParams: true }) + .get("/common/discovery/instance") + .query(true) + .reply( + 200, + { + tenant_discovery_endpoint: + "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration", + "api-version": "1.1", + metadata: [ + { + preferred_network: "login.microsoftonline.com", + preferred_cache: "login.windows.net", + aliases: [ + "login.microsoftonline.com", + "login.windows.net", + "login.microsoft.com", + "sts.windows.net" + ] + }, + { + preferred_network: "login.partner.microsoftonline.cn", + preferred_cache: "login.partner.microsoftonline.cn", + aliases: ["login.partner.microsoftonline.cn", "login.chinacloudapi.cn"] + }, + { + preferred_network: "login.microsoftonline.de", + preferred_cache: "login.microsoftonline.de", + aliases: ["login.microsoftonline.de"] + }, + { + preferred_network: "login.microsoftonline.us", + preferred_cache: "login.microsoftonline.us", + aliases: ["login.microsoftonline.us", "login.usgovcloudapi.net"] + }, + { + preferred_network: "login-us.microsoftonline.com", + preferred_cache: "login-us.microsoftonline.com", + aliases: ["login-us.microsoftonline.com"] + } + ] + }, + [ + "Cache-Control", + "max-age=86400, private", + "Content-Type", + "application/json; charset=utf-8", + "Strict-Transport-Security", + "max-age=31536000; includeSubDomains", + "X-Content-Type-Options", + "nosniff", + "Access-Control-Allow-Origin", + "*", + "Access-Control-Allow-Methods", + "GET, OPTIONS", + "P3P", + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + "x-ms-request-id", + "1a7e119f-7f03-48c7-9167-43a739932300", + "x-ms-ests-server", + "2.1.11829.4 - EUS ProdSlices", + "Set-Cookie", + "fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAwAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:03 GMT; path=/; secure; HttpOnly; SameSite=None", + "Set-Cookie", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevroTZuBEtBPeOCmaRiRo5WEq-VxNEiiGfLb6UoQrjjswxq_0uNPAj_b3BN5hQxr4SIt403F9eWPO32iAqLWWmIm5YqQHSremgZ2eql27pXEXWHs0EjIkkrarThxQTkSKlkDvAi1zxNk6wpHDsbBZuWe6ZUr4hetT_L-fsSdy9OtPUgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", + "Set-Cookie", + "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", + "Set-Cookie", + "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly", + "Date", + "Fri, 11 Jun 2021 18:40:02 GMT", + "Content-Length", + "980" + ] + ); + +nock("https://login.microsoftonline.com:443", { encodedQueryParams: true }) + .get("/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration") + .reply( + 200, + { + token_endpoint: + "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + token_endpoint_auth_methods_supported: [ + "client_secret_post", + "private_key_jwt", + "client_secret_basic" + ], + jwks_uri: + "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys", + response_modes_supported: ["query", "fragment", "form_post"], + subject_types_supported: ["pairwise"], + id_token_signing_alg_values_supported: ["RS256"], + response_types_supported: ["code", "id_token", "code id_token", "id_token token"], + scopes_supported: ["openid", "profile", "email", "offline_access"], + issuer: "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0", + request_uri_parameter_supported: false, + userinfo_endpoint: "https://graph.microsoft.com/oidc/userinfo", + authorization_endpoint: + "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize", + device_authorization_endpoint: + "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode", + http_logout_supported: true, + frontchannel_logout_supported: true, + end_session_endpoint: + "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout", + claims_supported: [ + "sub", + "iss", + "cloud_instance_name", + "cloud_instance_host_name", + "cloud_graph_host_name", + "msgraph_host", + "aud", + "exp", + "iat", + "auth_time", + "acr", + "nonce", + "preferred_username", + "name", + "tid", + "ver", + "at_hash", + "c_hash", + "email" + ], + kerberos_endpoint: + "https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos", + tenant_region_scope: "WW", + cloud_instance_name: "microsoftonline.com", + cloud_graph_host_name: "graph.windows.net", + msgraph_host: "graph.microsoft.com", + rbac_url: "https://pas.windows.net" + }, + [ + "Cache-Control", + "max-age=86400, private", + "Content-Type", + "application/json; charset=utf-8", + "Strict-Transport-Security", + "max-age=31536000; includeSubDomains", + "X-Content-Type-Options", + "nosniff", + "Access-Control-Allow-Origin", + "*", + "Access-Control-Allow-Methods", + "GET, OPTIONS", + "P3P", + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + "x-ms-request-id", + "ee6d2b44-9510-4c18-b2d5-1af8c2411900", + "x-ms-ests-server", + "2.1.11829.4 - EUS ProdSlices", + "Set-Cookie", + "fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAwAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:03 GMT; path=/; secure; HttpOnly; SameSite=None", + "Set-Cookie", + "esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrQiRLCRLvQMzW9PdnExl9SnJKpINFpi04DtqggRNPBKsl1h3IXBDOZuicS7Z6BjkmkZgIJULDGSptUz01AIHGs7uGbDgHDhvk50taaXvvxvqsAq6cDNEQksxGpja-l42qx8iyN8w9bp_bxn_D9yiN-yXWy_-iQjyokwkptyZJZOQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None", + "Set-Cookie", + "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", + "Set-Cookie", + "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly", + "Date", + "Fri, 11 Jun 2021 18:40:02 GMT", + "Content-Length", + "1753" + ] + ); + +nock("https://login.microsoftonline.com:443", { encodedQueryParams: true }) + .post( + "/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token", + "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&client-request-id=a659b27d-5e21-401b-a487-c13af77bbe1f&client_secret=azure_client_secret" + ) + .reply( + 200, + { + token_type: "Bearer", + expires_in: 86399, + ext_expires_in: 86399, + access_token: "access_token" + }, + [ + "Cache-Control", + "no-store, no-cache", + "Pragma", + "no-cache", + "Content-Type", + "application/json; charset=utf-8", + "Expires", + "-1", + "Strict-Transport-Security", + "max-age=31536000; includeSubDomains", + "X-Content-Type-Options", + "nosniff", + "P3P", + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + "x-ms-request-id", + "af8f1119-be9e-4d06-b6fd-737a39e32400", + "x-ms-ests-server", + "2.1.11829.4 - NCUS ProdSlices", + "x-ms-clitelem", + "1,0,0,,", + "Set-Cookie", + "fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAwAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:03 GMT; path=/; secure; HttpOnly; SameSite=None", + "Set-Cookie", + "x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly", + "Set-Cookie", + "stsservicecookie=estsfd; path=/; secure; samesite=none; httponly", + "Date", + "Fri, 11 Jun 2021 18:40:02 GMT", + "Content-Length", + "1322" + ] + ); + +nock("https://testaccount.dev.azuresynapse.net", { encodedQueryParams: true }) + .post("/dataflows/testdataflow/rename", { newName: "testdataflow2" }) + .query(true) + .reply( + 202, + { + id: + "/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow", + recordId: 1884904, + state: "Renaming", + created: "2021-06-11T18:39:53.86Z", + changed: "2021-06-11T18:39:56.1533333Z", + type: "DataFlow", + name: "testdataflow", + operationId: "645d8c0c-a00e-4d40-aca7-4b814e087368", + artifactId: "F6F6D00C-2932-4419-8996-F40EEDB97310" + }, + [ + "Content-Length", + "420", + "Content-Type", + "application/json; charset=utf-8", + "Location", + "https://testaccount.dev.azuresynapse.net/operationResults/645d8c0c-a00e-4d40-aca7-4b814e087368?api-version=2019-06-01-preview", + "Retry-After", + "1", + "Server", + "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security", + "max-age=31536000; includeSubDomains", + "Access-Control-Allow-Headers", + "Location", + "Access-Control-Allow-Headers", + "Retry-After", + "Access-Control-Expose-Headers", + "Location", + "Access-Control-Expose-Headers", + "Retry-After", + "x-ms-request-id", + "69bc7e7f-faee-4d3e-80f3-1b50de3c1960", + "Date", + "Fri, 11 Jun 2021 18:40:03 GMT", + "Connection", + "close" + ] + ); + +nock("https://testaccount.dev.azuresynapse.net", { encodedQueryParams: true }) + .get("/operationResults/645d8c0c-a00e-4d40-aca7-4b814e087368") + .query(true) + .reply(202, { status: "InProgress" }, [ + "Content-Length", + "23", + "Content-Type", + "application/json; charset=utf-8", + "Location", + "https://testaccount.dev.azuresynapse.net/operationResults/645d8c0c-a00e-4d40-aca7-4b814e087368?api-version=2019-06-01-preview", + "Retry-After", + "1", + "Server", + "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security", + "max-age=31536000; includeSubDomains", + "Access-Control-Allow-Headers", + "Location", + "Access-Control-Allow-Headers", + "Retry-After", + "Access-Control-Expose-Headers", + "Location", + "Access-Control-Expose-Headers", + "Retry-After", + "x-ms-request-id", + "408ad0c6-60b9-4ce8-81a4-eadb1f20285a", + "Date", + "Fri, 11 Jun 2021 18:40:03 GMT", + "Connection", + "close" + ]); + +nock("https://testaccount.dev.azuresynapse.net", { encodedQueryParams: true }) + .get("/operationResults/645d8c0c-a00e-4d40-aca7-4b814e087368") + .query(true) + .reply(202, { status: "InProgress" }, [ + "Content-Length", + "23", + "Content-Type", + "application/json; charset=utf-8", + "Location", + "https://testaccount.dev.azuresynapse.net/operationResults/645d8c0c-a00e-4d40-aca7-4b814e087368?api-version=2019-06-01-preview", + "Retry-After", + "1", + "Server", + "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security", + "max-age=31536000; includeSubDomains", + "Access-Control-Allow-Headers", + "Location", + "Access-Control-Allow-Headers", + "Retry-After", + "Access-Control-Expose-Headers", + "Location", + "Access-Control-Expose-Headers", + "Retry-After", + "x-ms-request-id", + "8475f265-e039-4fcf-b329-2b6639d7a78a", + "Date", + "Fri, 11 Jun 2021 18:40:05 GMT", + "Connection", + "close" + ]); -nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) - .post('/dataflows/testdataflow/rename', {"newName":"testdataflow2"}) +nock("https://testaccount.dev.azuresynapse.net", { encodedQueryParams: true }) + .get("/operationResults/645d8c0c-a00e-4d40-aca7-4b814e087368") .query(true) - .reply(202, {"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/dataflows/testdataflow","recordId":1439004,"state":"Renaming","created":"2021-04-05T21:27:09.59Z","changed":"2021-04-05T21:27:14.5966667Z","type":"DataFlow","name":"testdataflow","operationId":"0f09b77e-2184-43de-9f6a-84b3fea735f5","artifactId":"0525C732-319A-4843-8F0A-CD7F6892620B"}, [ 'Content-Length', - '420', - 'Content-Type', - 'application/json; charset=utf-8', - 'Location', - 'https://testaccount.dev.azuresynapse.net/operationResults/0f09b77e-2184-43de-9f6a-84b3fea735f5?api-version=2019-06-01-preview', - 'Retry-After', - '10', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Access-Control-Allow-Headers', - 'Location', - 'Access-Control-Allow-Headers', - 'Retry-After', - 'Access-Control-Expose-Headers', - 'Location', - 'Access-Control-Expose-Headers', - 'Retry-After', - 'x-ms-request-id', - '0f5d4f7c-8f2d-4905-9f2a-52fc5874efd7', - 'Date', - 'Mon, 05 Apr 2021 21:27:20 GMT', - 'Connection', - 'close' ]); + .reply(202, { status: "InProgress" }, [ + "Content-Length", + "23", + "Content-Type", + "application/json; charset=utf-8", + "Location", + "https://testaccount.dev.azuresynapse.net/operationResults/645d8c0c-a00e-4d40-aca7-4b814e087368?api-version=2019-06-01-preview", + "Retry-After", + "1", + "Server", + "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security", + "max-age=31536000; includeSubDomains", + "Access-Control-Allow-Headers", + "Location", + "Access-Control-Allow-Headers", + "Retry-After", + "Access-Control-Expose-Headers", + "Location", + "Access-Control-Expose-Headers", + "Retry-After", + "x-ms-request-id", + "f561955e-984a-424d-9fc9-94222b73c51d", + "Date", + "Fri, 11 Jun 2021 18:40:07 GMT", + "Connection", + "close" + ]); -nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) - .get('/operationResults/0f09b77e-2184-43de-9f6a-84b3fea735f5') +nock("https://testaccount.dev.azuresynapse.net", { encodedQueryParams: true }) + .get("/operationResults/645d8c0c-a00e-4d40-aca7-4b814e087368") .query(true) - .reply(202, {"status":"InProgress"}, [ 'Content-Length', - '23', - 'Content-Type', - 'application/json; charset=utf-8', - 'Location', - 'https://testaccount.dev.azuresynapse.net/operationResults/0f09b77e-2184-43de-9f6a-84b3fea735f5?api-version=2019-06-01-preview', - 'Retry-After', - '10', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Access-Control-Allow-Headers', - 'Location', - 'Access-Control-Allow-Headers', - 'Retry-After', - 'Access-Control-Expose-Headers', - 'Location', - 'Access-Control-Expose-Headers', - 'Retry-After', - 'x-ms-request-id', - '218746f7-fdff-49f9-afed-3f094e6cd533', - 'Date', - 'Mon, 05 Apr 2021 21:27:20 GMT', - 'Connection', - 'close' ]); + .reply(202, { status: "InProgress" }, [ + "Content-Length", + "23", + "Content-Type", + "application/json; charset=utf-8", + "Location", + "https://testaccount.dev.azuresynapse.net/operationResults/645d8c0c-a00e-4d40-aca7-4b814e087368?api-version=2019-06-01-preview", + "Retry-After", + "1", + "Server", + "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security", + "max-age=31536000; includeSubDomains", + "Access-Control-Allow-Headers", + "Location", + "Access-Control-Allow-Headers", + "Retry-After", + "Access-Control-Expose-Headers", + "Location", + "Access-Control-Expose-Headers", + "Retry-After", + "x-ms-request-id", + "c9f2b9ff-d465-43d5-8ed8-3b710eb19992", + "Date", + "Fri, 11 Jun 2021 18:40:09 GMT", + "Connection", + "close" + ]); -nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) - .get('/operationResults/0f09b77e-2184-43de-9f6a-84b3fea735f5') +nock("https://testaccount.dev.azuresynapse.net", { encodedQueryParams: true }) + .get("/operationResults/645d8c0c-a00e-4d40-aca7-4b814e087368") .query(true) - .reply(202, {"status":"InProgress"}, [ 'Content-Length', - '23', - 'Content-Type', - 'application/json; charset=utf-8', - 'Location', - 'https://testaccount.dev.azuresynapse.net/operationResults/0f09b77e-2184-43de-9f6a-84b3fea735f5?api-version=2019-06-01-preview', - 'Retry-After', - '10', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Access-Control-Allow-Headers', - 'Location', - 'Access-Control-Allow-Headers', - 'Retry-After', - 'Access-Control-Expose-Headers', - 'Location', - 'Access-Control-Expose-Headers', - 'Retry-After', - 'x-ms-request-id', - '3d748a73-6b20-40b0-bdc1-e5d6fcc9b727', - 'Date', - 'Mon, 05 Apr 2021 21:27:22 GMT', - 'Connection', - 'close' ]); + .reply(202, { status: "InProgress" }, [ + "Content-Length", + "23", + "Content-Type", + "application/json; charset=utf-8", + "Location", + "https://testaccount.dev.azuresynapse.net/operationResults/645d8c0c-a00e-4d40-aca7-4b814e087368?api-version=2019-06-01-preview", + "Retry-After", + "1", + "Server", + "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security", + "max-age=31536000; includeSubDomains", + "Access-Control-Allow-Headers", + "Location", + "Access-Control-Allow-Headers", + "Retry-After", + "Access-Control-Expose-Headers", + "Location", + "Access-Control-Expose-Headers", + "Retry-After", + "x-ms-request-id", + "cc6e0850-f029-4086-a9bd-b216e40482b0", + "Date", + "Fri, 11 Jun 2021 18:40:11 GMT", + "Connection", + "close" + ]); -nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) - .get('/operationResults/0f09b77e-2184-43de-9f6a-84b3fea735f5') +nock("https://testaccount.dev.azuresynapse.net", { encodedQueryParams: true }) + .get("/operationResults/645d8c0c-a00e-4d40-aca7-4b814e087368") .query(true) - .reply(202, {"status":"InProgress"}, [ 'Content-Length', - '23', - 'Content-Type', - 'application/json; charset=utf-8', - 'Location', - 'https://testaccount.dev.azuresynapse.net/operationResults/0f09b77e-2184-43de-9f6a-84b3fea735f5?api-version=2019-06-01-preview', - 'Retry-After', - '10', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Access-Control-Allow-Headers', - 'Location', - 'Access-Control-Allow-Headers', - 'Retry-After', - 'Access-Control-Expose-Headers', - 'Location', - 'Access-Control-Expose-Headers', - 'Retry-After', - 'x-ms-request-id', - '83b10ad1-b64b-4bc2-9142-85aaed812ccc', - 'Date', - 'Mon, 05 Apr 2021 21:27:24 GMT', - 'Connection', - 'close' ]); + .reply(202, { status: "InProgress" }, [ + "Content-Length", + "23", + "Content-Type", + "application/json; charset=utf-8", + "Location", + "https://testaccount.dev.azuresynapse.net/operationResults/645d8c0c-a00e-4d40-aca7-4b814e087368?api-version=2019-06-01-preview", + "Retry-After", + "1", + "Server", + "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security", + "max-age=31536000; includeSubDomains", + "Access-Control-Allow-Headers", + "Location", + "Access-Control-Allow-Headers", + "Retry-After", + "Access-Control-Expose-Headers", + "Location", + "Access-Control-Expose-Headers", + "Retry-After", + "x-ms-request-id", + "48931870-9eff-4e67-be0e-2dff0d4c57d8", + "Date", + "Fri, 11 Jun 2021 18:40:14 GMT", + "Connection", + "close" + ]); -nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) - .get('/operationResults/0f09b77e-2184-43de-9f6a-84b3fea735f5') +nock("https://testaccount.dev.azuresynapse.net", { encodedQueryParams: true }) + .get("/operationResults/645d8c0c-a00e-4d40-aca7-4b814e087368") .query(true) - .reply(202, {"status":"InProgress"}, [ 'Content-Length', - '23', - 'Content-Type', - 'application/json; charset=utf-8', - 'Location', - 'https://testaccount.dev.azuresynapse.net/operationResults/0f09b77e-2184-43de-9f6a-84b3fea735f5?api-version=2019-06-01-preview', - 'Retry-After', - '10', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Access-Control-Allow-Headers', - 'Location', - 'Access-Control-Allow-Headers', - 'Retry-After', - 'Access-Control-Expose-Headers', - 'Location', - 'Access-Control-Expose-Headers', - 'Retry-After', - 'x-ms-request-id', - '1335cf98-f0ed-481a-b2ba-cef804871f75', - 'Date', - 'Mon, 05 Apr 2021 21:27:26 GMT', - 'Connection', - 'close' ]); + .reply(202, { status: "InProgress" }, [ + "Content-Length", + "23", + "Content-Type", + "application/json; charset=utf-8", + "Location", + "https://testaccount.dev.azuresynapse.net/operationResults/645d8c0c-a00e-4d40-aca7-4b814e087368?api-version=2019-06-01-preview", + "Retry-After", + "1", + "Server", + "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security", + "max-age=31536000; includeSubDomains", + "Access-Control-Allow-Headers", + "Location", + "Access-Control-Allow-Headers", + "Retry-After", + "Access-Control-Expose-Headers", + "Location", + "Access-Control-Expose-Headers", + "Retry-After", + "x-ms-request-id", + "b752f7db-7924-4cc5-9df6-79bde4d1dbf4", + "Date", + "Fri, 11 Jun 2021 18:40:15 GMT", + "Connection", + "close" + ]); -nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) - .get('/operationResults/0f09b77e-2184-43de-9f6a-84b3fea735f5') +nock("https://testaccount.dev.azuresynapse.net", { encodedQueryParams: true }) + .get("/operationResults/645d8c0c-a00e-4d40-aca7-4b814e087368") .query(true) - .reply(202, {"status":"InProgress"}, [ 'Content-Length', - '23', - 'Content-Type', - 'application/json; charset=utf-8', - 'Location', - 'https://testaccount.dev.azuresynapse.net/operationResults/0f09b77e-2184-43de-9f6a-84b3fea735f5?api-version=2019-06-01-preview', - 'Retry-After', - '10', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'Access-Control-Allow-Headers', - 'Location', - 'Access-Control-Allow-Headers', - 'Retry-After', - 'Access-Control-Expose-Headers', - 'Location', - 'Access-Control-Expose-Headers', - 'Retry-After', - 'x-ms-request-id', - '441f33ce-5f21-42e2-92fe-45dfd0c6bc3a', - 'Date', - 'Mon, 05 Apr 2021 21:27:28 GMT', - 'Connection', - 'close' ]); + .reply(202, { status: "InProgress" }, [ + "Content-Length", + "23", + "Content-Type", + "application/json; charset=utf-8", + "Location", + "https://testaccount.dev.azuresynapse.net/operationResults/645d8c0c-a00e-4d40-aca7-4b814e087368?api-version=2019-06-01-preview", + "Retry-After", + "1", + "Server", + "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security", + "max-age=31536000; includeSubDomains", + "Access-Control-Allow-Headers", + "Location", + "Access-Control-Allow-Headers", + "Retry-After", + "Access-Control-Expose-Headers", + "Location", + "Access-Control-Expose-Headers", + "Retry-After", + "x-ms-request-id", + "9fa4b136-bf73-438c-ac6b-a3aa9f38cd09", + "Date", + "Fri, 11 Jun 2021 18:40:18 GMT", + "Connection", + "close" + ]); -nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) - .get('/operationResults/0f09b77e-2184-43de-9f6a-84b3fea735f5') +nock("https://testaccount.dev.azuresynapse.net", { encodedQueryParams: true }) + .get("/operationResults/645d8c0c-a00e-4d40-aca7-4b814e087368") .query(true) - .reply(200, "", [ 'Content-Length', - '0', - 'Server', - 'Microsoft-HTTPAPI/2.0', - 'Strict-Transport-Security', - 'max-age=31536000; includeSubDomains', - 'x-ms-request-id', - '3e341d4d-86e2-4b8d-9f93-d41e64aa147a', - 'Date', - 'Mon, 05 Apr 2021 21:27:30 GMT', - 'Connection', - 'close' ]); + .reply(200, "", [ + "Content-Length", + "0", + "Server", + "Microsoft-HTTPAPI/2.0", + "Strict-Transport-Security", + "max-age=31536000; includeSubDomains", + "x-ms-request-id", + "bc84fdec-5b4b-40ca-88bc-ffdc459e4e9c", + "Date", + "Fri, 11 Jun 2021 18:40:20 GMT", + "Connection", + "close" + ]); diff --git a/sdk/synapse/synapse-artifacts/recordings/node/integrationruntimes/recording_should_get_integrationruntimes.js b/sdk/synapse/synapse-artifacts/recordings/node/integrationruntimes/recording_should_get_integrationruntimes.js index ff8ae6109880..b9ece14a7fa7 100644 --- a/sdk/synapse/synapse-artifacts/recordings/node/integrationruntimes/recording_should_get_integrationruntimes.js +++ b/sdk/synapse/synapse-artifacts/recordings/node/integrationruntimes/recording_should_get_integrationruntimes.js @@ -1,12 +1,84 @@ let nock = require('nock'); -module.exports.hash = "a76192f8cc28a6cfa0b708eda3e6595d"; +module.exports.hash = "d6b9c284b0379230034694c1a342ddb0"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '32511782-8a6a-47e4-bea5-b4a8d6853000', + 'x-ms-ests-server', + '2.1.11787.14 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAwAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:33 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrStbsuBGlgLHAqnU7YBO8eAiJxnbzBj8C5rCmwHEZWdKi3wdL9BfCpNOSva4XsR57un411MGwFJzC6T2RtFhncvEG9TGzALjjx_m1erG5x7tj4CH8w3vvFl4tWaiRul-GHMIvv1hNK73b0yUWdZd_SXPWpWNHLoVl9m11d-1JzwEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:40:32 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'af8f1119-be9e-4d06-b6fd-737a38e82400', + 'x-ms-ests-server', + '2.1.11829.4 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAwAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:33 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr8ADY45RACrGyFyB-Lc8IKg_QsVp3dGykhttoJE1bA-5Oo0cABHhac6rwc_MWvAVjaDH5gjMoXC-MyzkYJoJEzccqBeLNAddxgbE2YoT5lryFgbgRAISBnxDVpg3KfMVOuBgFQ5-kgQli2yHYfQ80XgqBVsLM-sLAjYI3wP2_PT4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:40:32 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&client-request-id=0d015b6a-45b5-4fd1-a697-cba58ddcf3ba&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', @@ -21,24 +93,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '97fd9ab5-5452-404d-a5e4-e30b8bcc7100', + '92ffa826-8bc6-48eb-9151-d35bbfb92800', 'x-ms-ests-server', - '2.1.11562.10 - EUS ProdSlices', + '2.1.11829.4 - WUS2 ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', 'Set-Cookie', - 'fpc=AvzULwO9SbVOqJjwdF4-3lHKOuyWBwAAAKt3_dcOAAAA; expires=Wed, 05-May-2021 21:27:43 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWBAAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:33 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 05 Apr 2021 21:27:42 GMT', + 'Fri, 11 Jun 2021 18:40:32 GMT', 'Content-Length', - '1322' ]); + '1322' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) .get('/integrationRuntimes/AutoResolveIntegrationRuntime') .query(true) - .reply(200, {"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/integrationruntimes/AutoResolveIntegrationRuntime","name":"AutoResolveIntegrationRuntime","type":"Microsoft.Synapse/workspaces/integrationruntimes","properties":{"type":"Managed","typeProperties":{"computeProperties":{"location":"AutoResolve"}},"provisioningState":null},"etag":"3801cded-0000-0800-0000-5fa34e1b0000"}, [ 'Cache-Control', + .reply(200, {"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/integrationruntimes/AutoResolveIntegrationRuntime","name":"AutoResolveIntegrationRuntime","type":"Microsoft.Synapse/workspaces/integrationruntimes","properties":{"type":"Managed","typeProperties":{"computeProperties":{"location":"AutoResolve"}},"provisioningState":null},"etag":"3801cded-0000-0800-0000-5fa34e1b0000"}, [ + 'Cache-Control', 'no-cache', 'Pragma', 'no-cache', @@ -53,14 +129,15 @@ nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'x-ms-correlation-request-id', - 'ae26350b-f89f-4269-80bc-f4b9b6ae3e0f', + 'd3a63641-3ff4-488a-8826-9febfd01af8d', 'X-Content-Type-Options', 'nosniff', 'X-Powered-By', 'ASP.NET', 'x-ms-request-id', - '10b6e6f4-8215-44f0-9845-a44077ebb55a', + 'bcfd01fd-b84a-48ad-8a98-879c2a2dc007', 'Date', - 'Mon, 05 Apr 2021 21:27:43 GMT', + 'Fri, 11 Jun 2021 18:40:32 GMT', 'Connection', - 'close' ]); + 'close' +]); diff --git a/sdk/synapse/synapse-artifacts/recordings/node/integrationruntimes/recording_should_list_integrationruntimes.js b/sdk/synapse/synapse-artifacts/recordings/node/integrationruntimes/recording_should_list_integrationruntimes.js index c99cab33e733..b826c931f1e7 100644 --- a/sdk/synapse/synapse-artifacts/recordings/node/integrationruntimes/recording_should_list_integrationruntimes.js +++ b/sdk/synapse/synapse-artifacts/recordings/node/integrationruntimes/recording_should_list_integrationruntimes.js @@ -1,12 +1,84 @@ let nock = require('nock'); -module.exports.hash = "9eafc336fd1af240271ad6f64ef0ef5d"; +module.exports.hash = "544cbc80c6bb59db31edfed9624262b1"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '06ad1cbd-dc47-4de0-bda2-1c3b5ae27d00', + 'x-ms-ests-server', + '2.1.11787.14 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAwAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:33 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevryHGk7qSxiINDATdGDrPDfxEbQpKisZxBbr0Wdvl9W01H2YO3Y58Ksy8LoxT72F-FhID1Pxb4nnJLEG0SZyRS_uLrWP-4A4s11qjTmLCsf9DeaP1s8X9AXmNrE2vz2Qj_GtMiQ8hEukwamnSMwqHQ-NyZ5ioLAYSyfbJn3w-w3OwgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:40:32 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'faa7c9a1-9d33-439e-90ca-b4b9e04f2200', + 'x-ms-ests-server', + '2.1.11829.4 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAwAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:33 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrNYkX7BogEqaKwVCYcFojulhgRUxqnwPWH5KQ6TvTZe39hPzuJ-3-VNzzjAHWCkRrnu2rRfdWS2tEYoWk9OUp2Q-HazLV1LXextEJ4N54hnHaBZjjiNxxK_SHYiLygMIto5pzahjob70sJJIL0yWvhXGFH6tTr3UhSv0fST5Uf50gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:40:32 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&client-request-id=4d9238f2-ecbc-4af6-be1f-aab4a99a6f8e&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', @@ -21,24 +93,28 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'c336d7a6-677b-4fdf-af1c-a0b1ea4c6500', + '84cd66cb-bf72-4fbf-8c17-4f9c85ca2000', 'x-ms-ests-server', - '2.1.11562.10 - SCUS ProdSlices', + '2.1.11829.4 - WUS2 ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', 'Set-Cookie', - 'fpc=AvzULwO9SbVOqJjwdF4-3lHKOuyWBgAAAKt3_dcOAAAA; expires=Wed, 05-May-2021 21:27:43 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWAwAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:33 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 05 Apr 2021 21:27:42 GMT', + 'Fri, 11 Jun 2021 18:40:32 GMT', 'Content-Length', - '1322' ]); + '1322' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) .get('/integrationRuntimes') .query(true) - .reply(200, {"value":[{"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/integrationruntimes/AutoResolveIntegrationRuntime","name":"AutoResolveIntegrationRuntime","type":"Microsoft.Synapse/workspaces/integrationruntimes","properties":{"type":"Managed","typeProperties":{"computeProperties":{"location":"AutoResolve"}},"provisioningState":null},"etag":"3801cded-0000-0800-0000-5fa34e1b0000"}]}, [ 'Cache-Control', + .reply(200, {"value":[{"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/integrationruntimes/AutoResolveIntegrationRuntime","name":"AutoResolveIntegrationRuntime","type":"Microsoft.Synapse/workspaces/integrationruntimes","properties":{"type":"Managed","typeProperties":{"computeProperties":{"location":"AutoResolve"}},"provisioningState":null},"etag":"3801cded-0000-0800-0000-5fa34e1b0000"}]}, [ + 'Cache-Control', 'no-cache', 'Pragma', 'no-cache', @@ -53,14 +129,15 @@ nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=15724800; includeSubDomains', 'x-ms-correlation-request-id', - '7c5ae788-f842-4b67-aaa1-c6b45c5895e3', + 'ebe94e20-b9ad-4d14-90d8-8f6b539db731', 'X-Content-Type-Options', 'nosniff', 'X-Powered-By', 'ASP.NET', 'x-ms-request-id', - '996ff99f-49ff-4808-a12e-6feb5f381d42', + '3aa3d039-6fdf-4a9a-b1d0-074ef9992fc1', 'Date', - 'Mon, 05 Apr 2021 21:27:43 GMT', + 'Fri, 11 Jun 2021 18:40:33 GMT', 'Connection', - 'close' ]); + 'close' +]); diff --git a/sdk/synapse/synapse-artifacts/recordings/node/library/recording_should_create_library.js b/sdk/synapse/synapse-artifacts/recordings/node/library/recording_should_create_library.js index 9d07b1c7b6cf..b7ff48c6994f 100644 --- a/sdk/synapse/synapse-artifacts/recordings/node/library/recording_should_create_library.js +++ b/sdk/synapse/synapse-artifacts/recordings/node/library/recording_should_create_library.js @@ -1,17 +1,87 @@ let nock = require('nock'); -module.exports.hash = "0755bcc327b2bd84e4d7fe604e27e115"; +module.exports.hash = "50060c8387cb22589eb450e42e7e0741"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '698aeff9-26f5-4ed4-9847-cad151da8300', + 'x-ms-ests-server', + '2.1.11787.14 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWBAAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:33 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrerzcGFrLORxGeqI1dndsJvOpxHMuNLx2ZR84bBVY6orEFByqLHUpHuFS1BBao8-CbBKnCtPWFkfjt3v2ls5JXZ4Ospy83-6_Y_IfUKKBLQlXrBKvHyS1ETcw4JtE_3rbe1S9cHpAUEtyndMiP1U0Mu1CQCFaAraDMxps2e5bLlkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:40:32 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '177543fd-42fb-40b9-95e3-1f6135191900', + 'x-ms-ests-server', + '2.1.11829.4 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWBAAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:33 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr3OsmyIFq8e8CAQaIvF5lzwmArnoYH13HagqlYDZ6um6lnMtKcAH1OlrTVP81qmW2IaGcIAjJQfWLHCpXkVJoJ-9-KVP6Nsq08MtykqHxRNYeIP1xe-reknooSXquoBbhFFqqxVjTvpWNGqRibAuqHYZOx37ngk7QRqdRIznVrVEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:40:33 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&client-request-id=0ccc30e3-5834-409a-b07e-b5248d107b21&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1322', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -23,29 +93,67 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '1e41d4e7-e4df-49b4-bf2d-31027fe15b00', + 'eae53b9c-a261-4400-90bc-1c429f912a00', 'x-ms-ests-server', - '2.1.11562.10 - WUS2 ProdSlices', + '2.1.11829.4 - WUS2 ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', 'Set-Cookie', - 'fpc=AvzULwO9SbVOqJjwdF4-3lHKOuyWCAAAAKt3_dcOAAAA; expires=Wed, 05-May-2021 21:27:43 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWBQAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:33 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 05 Apr 2021 21:27:42 GMT' ]); + 'Fri, 11 Jun 2021 18:40:33 GMT', + 'Content-Length', + '1322' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) .put('/libraries/testLibraryName.jar') .query(true) - .reply(202, {"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/libraries/testLibraryName.jar","recordId":1439010,"state":"Creating","created":"2021-04-05T21:27:43.8633333Z","changed":"2021-04-05T21:27:43.8633333Z","type":"LibraryArtifact","name":"testLibraryName.jar","operationId":"8dd1d988-5503-484a-823c-d7b10cf04630","artifactId":"D369760A-876F-48AC-9F0D-8DA91909491A"}, [ 'Content-Length', + .reply(202, {"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/libraries/testLibraryName.jar","recordId":1884913,"state":"Creating","created":"2021-06-11T18:40:34.0566667Z","changed":"2021-06-11T18:40:34.0566667Z","type":"LibraryArtifact","name":"testLibraryName.jar","operationId":"1daf9a13-2b8b-40bc-ae5a-e35ed8e8e323","artifactId":"179EDC61-5EFA-41BC-AEF4-634297BE8FE1"}, [ + 'Content-Length', '446', 'Content-Type', 'application/json; charset=utf-8', 'Location', - 'https://testaccount.dev.azuresynapse.net/libraryOperationResults/8dd1d988-5503-484a-823c-d7b10cf04630?api-version=2019-06-01-preview', + 'https://testaccount.dev.azuresynapse.net/libraryOperationResults/1daf9a13-2b8b-40bc-ae5a-e35ed8e8e323?api-version=2019-06-01-preview', + 'Retry-After', + '0', + 'Server', + 'Microsoft-HTTPAPI/2.0', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'Access-Control-Allow-Headers', + 'Location', + 'Access-Control-Allow-Headers', + 'Retry-After', + 'Access-Control-Expose-Headers', + 'Location', + 'Access-Control-Expose-Headers', + 'Retry-After', + 'x-ms-request-id', + '03e9f264-0f0e-45c2-820b-52bce4c7df81', + 'Date', + 'Fri, 11 Jun 2021 18:40:33 GMT', + 'Connection', + 'close' +]); + +nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) + .get('/libraryOperationResults/1daf9a13-2b8b-40bc-ae5a-e35ed8e8e323') + .query(true) + .reply(202, {"status":"InProgress"}, [ + 'Content-Length', + '23', + 'Content-Type', + 'application/json; charset=utf-8', + 'Location', + 'https://testaccount.dev.azuresynapse.net/libraryOperationResults/1daf9a13-2b8b-40bc-ae5a-e35ed8e8e323?api-version=2019-06-01-preview', 'Retry-After', - '10', + '0', 'Server', 'Microsoft-HTTPAPI/2.0', 'Strict-Transport-Security', @@ -59,23 +167,25 @@ nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) 'Access-Control-Expose-Headers', 'Retry-After', 'x-ms-request-id', - 'c5f73729-2d67-4495-ac08-8143e3585e23', + '4408780c-ac28-4f2a-8d15-6bc7af7092cc', 'Date', - 'Mon, 05 Apr 2021 21:27:43 GMT', + 'Fri, 11 Jun 2021 18:40:33 GMT', 'Connection', - 'close' ]); + 'close' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) - .get('/libraryOperationResults/8dd1d988-5503-484a-823c-d7b10cf04630') + .get('/libraryOperationResults/1daf9a13-2b8b-40bc-ae5a-e35ed8e8e323') .query(true) - .reply(202, {"status":"InProgress"}, [ 'Content-Length', + .reply(202, {"status":"InProgress"}, [ + 'Content-Length', '23', 'Content-Type', 'application/json; charset=utf-8', 'Location', - 'https://testaccount.dev.azuresynapse.net/libraryOperationResults/8dd1d988-5503-484a-823c-d7b10cf04630?api-version=2019-06-01-preview', + 'https://testaccount.dev.azuresynapse.net/libraryOperationResults/1daf9a13-2b8b-40bc-ae5a-e35ed8e8e323?api-version=2019-06-01-preview', 'Retry-After', - '10', + '0', 'Server', 'Microsoft-HTTPAPI/2.0', 'Strict-Transport-Security', @@ -89,17 +199,51 @@ nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) 'Access-Control-Expose-Headers', 'Retry-After', 'x-ms-request-id', - '456e7cc6-bba8-4aa0-b74a-9a5654b65fb6', + '21884b76-93d5-418e-b909-50918be0d5ac', 'Date', - 'Mon, 05 Apr 2021 21:27:43 GMT', + 'Fri, 11 Jun 2021 18:40:36 GMT', 'Connection', - 'close' ]); + 'close' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) - .get('/libraryOperationResults/8dd1d988-5503-484a-823c-d7b10cf04630') + .get('/libraryOperationResults/1daf9a13-2b8b-40bc-ae5a-e35ed8e8e323') .query(true) - .reply(200, {"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/libraries/testLibraryName.jar","name":"testLibraryName.jar","type":"Microsoft.Synapse/workspaces/libraries","properties":{"name":"testLibraryName.jar","path":"xysynapsetest/libraries/testLibraryName.jar","containerName":"prep","uploadedTimestamp":"2021-04-05T21:27:43.855845+00:00","type":"jar","provisioningStatus":"Incomplete","creatorId":"30511c9d-ba1a-4c7b-b422-5b543da11b3f"},"etag":"ab06012b-0000-0800-0000-606b80d10000"}, [ 'Content-Length', - '563', + .reply(202, {"status":"InProgress"}, [ + 'Content-Length', + '23', + 'Content-Type', + 'application/json; charset=utf-8', + 'Location', + 'https://testaccount.dev.azuresynapse.net/libraryOperationResults/1daf9a13-2b8b-40bc-ae5a-e35ed8e8e323?api-version=2019-06-01-preview', + 'Retry-After', + '0', + 'Server', + 'Microsoft-HTTPAPI/2.0', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'Access-Control-Allow-Headers', + 'Location', + 'Access-Control-Allow-Headers', + 'Retry-After', + 'Access-Control-Expose-Headers', + 'Location', + 'Access-Control-Expose-Headers', + 'Retry-After', + 'x-ms-request-id', + '28f2c14f-6783-4ffc-abf1-e10d04a9f935', + 'Date', + 'Fri, 11 Jun 2021 18:40:37 GMT', + 'Connection', + 'close' +]); + +nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) + .get('/libraryOperationResults/1daf9a13-2b8b-40bc-ae5a-e35ed8e8e323') + .query(true) + .reply(200, {"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/libraries/testLibraryName.jar","name":"testLibraryName.jar","type":"Microsoft.Synapse/workspaces/libraries","properties":{"name":"testLibraryName.jar","path":"xysynapsetest/libraries/testLibraryName.jar","containerName":"prep","uploadedTimestamp":"2021-06-11T18:40:34.0554995+00:00","type":"jar","provisioningStatus":"Incomplete","creatorId":"30511c9d-ba1a-4c7b-b422-5b543da11b3f"},"etag":"4f0081e4-0000-0800-0000-60c3ae270000"}, [ + 'Content-Length', + '564', 'Content-Type', 'application/json; charset=utf-8', 'Server', @@ -107,8 +251,9 @@ nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains', 'x-ms-request-id', - 'b4becad3-5690-4fce-aade-cece3b2ce633', + 'cfb7dbde-f8df-44f5-aae7-d69ff0afe748', 'Date', - 'Mon, 05 Apr 2021 21:27:46 GMT', + 'Fri, 11 Jun 2021 18:40:40 GMT', 'Connection', - 'close' ]); + 'close' +]); diff --git a/sdk/synapse/synapse-artifacts/recordings/node/library/recording_should_delete_library.js b/sdk/synapse/synapse-artifacts/recordings/node/library/recording_should_delete_library.js index 977b097052c5..c46cad82be8f 100644 --- a/sdk/synapse/synapse-artifacts/recordings/node/library/recording_should_delete_library.js +++ b/sdk/synapse/synapse-artifacts/recordings/node/library/recording_should_delete_library.js @@ -1,17 +1,87 @@ let nock = require('nock'); -module.exports.hash = "92351ab8778cd53ffb22406c58a1c210"; +module.exports.hash = "6f4a925ae21eaecd491fe0bbb5f05178"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '5e59b7ae-19f4-4d34-87de-477488627200', + 'x-ms-ests-server', + '2.1.11787.14 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWBQAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:45 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrzEgosIYdsy9ZHL2kjT2CRFqoLgKUI13U2qthSqN44kFBq7bISUq1a_h7wHgfC59MqMboSaxR4hvvbFXOv1Va_iMMX0YhUObJql3PfmB3V1SmI6dwlgrTPoKD61GH2heyE5GCKDTlA45Sr2e_BH6QOkvYOlOSMKkbOQvJtY_DhBsgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:40:44 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'ee6d2b44-9510-4c18-b2d5-1af8d04b1900', + 'x-ms-ests-server', + '2.1.11829.4 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWBQAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:45 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevreRGEU_39nIa88brTU-bVqZBs-C0sY-O09fhUa_XT7ReMkfJ1ctmtwPmDZDF1mT3qQJMwz-rapdICIl-9pKp_9Z_L49s7Cj_P6rFJyJM5_LpMsDVohc7Du-q5v797pE-1tOnV7KlglG5n-nbUyIuqQ-6I70cTu7jNwbEwmyGPtBQgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:40:44 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&client-request-id=cb2b2f99-178c-438d-9487-81277e210614&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1322', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -23,27 +93,33 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'f4eccdd0-28c7-46ad-829f-33011dcd6500', + 'f863ac92-c341-46e1-9805-0ecba2202300', 'x-ms-ests-server', - '2.1.11562.10 - EUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', 'Set-Cookie', - 'fpc=AvzULwO9SbVOqJjwdF4-3lHKOuyWCgAAAKt3_dcOAAAA; expires=Wed, 05-May-2021 21:27:50 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWBgAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:45 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 05 Apr 2021 21:27:49 GMT' ]); + 'Fri, 11 Jun 2021 18:40:44 GMT', + 'Content-Length', + '1322' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) .delete('/libraries/testLibraryName.jar') .query(true) - .reply(202, {"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/libraries/testLibraryName.jar","recordId":0,"state":"Deleting","created":"0001-01-01T00:00:00","changed":"0001-01-01T00:00:00","type":"LibraryArtifact","name":"testLibraryName.jar","operationId":"70976408-41ab-4baf-877c-435c95add06a"}, [ 'Content-Length', + .reply(202, {"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/libraries/testLibraryName.jar","recordId":0,"state":"Deleting","created":"0001-01-01T00:00:00","changed":"0001-01-01T00:00:00","type":"LibraryArtifact","name":"testLibraryName.jar","operationId":"9bd185ed-8f5d-4e11-949b-28334b279679"}, [ + 'Content-Length', '370', 'Content-Type', 'application/json; charset=utf-8', 'Location', - 'https://testaccount.dev.azuresynapse.net/libraryOperationResults/70976408-41ab-4baf-877c-435c95add06a?api-version=2019-06-01-preview', + 'https://testaccount.dev.azuresynapse.net/libraryOperationResults/9bd185ed-8f5d-4e11-949b-28334b279679?api-version=2019-06-01-preview', 'Server', 'Microsoft-HTTPAPI/2.0', 'Strict-Transport-Security', @@ -53,23 +129,25 @@ nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) 'Access-Control-Expose-Headers', 'Location', 'x-ms-request-id', - 'b84bb98a-d66a-4ca6-a126-e13519fe0ca7', + 'e5ffc25b-015a-46e1-b47a-ee3f15c04e13', 'Date', - 'Mon, 05 Apr 2021 21:27:49 GMT', + 'Fri, 11 Jun 2021 18:40:45 GMT', 'Connection', - 'close' ]); + 'close' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) - .get('/libraryOperationResults/70976408-41ab-4baf-877c-435c95add06a') + .get('/libraryOperationResults/9bd185ed-8f5d-4e11-949b-28334b279679') .query(true) - .reply(202, {"status":"InProgress"}, [ 'Content-Length', + .reply(202, {"status":"InProgress"}, [ + 'Content-Length', '23', 'Content-Type', 'application/json; charset=utf-8', 'Location', - 'https://testaccount.dev.azuresynapse.net/libraryOperationResults/70976408-41ab-4baf-877c-435c95add06a?api-version=2019-06-01-preview', + 'https://testaccount.dev.azuresynapse.net/libraryOperationResults/9bd185ed-8f5d-4e11-949b-28334b279679?api-version=2019-06-01-preview', 'Retry-After', - '10', + '0', 'Server', 'Microsoft-HTTPAPI/2.0', 'Strict-Transport-Security', @@ -83,23 +161,25 @@ nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) 'Access-Control-Expose-Headers', 'Retry-After', 'x-ms-request-id', - '58661621-db56-4f68-bfdb-4fc0ada0c96d', + 'ebc3a895-e226-4c6e-a089-4f9604641e87', 'Date', - 'Mon, 05 Apr 2021 21:27:50 GMT', + 'Fri, 11 Jun 2021 18:40:45 GMT', 'Connection', - 'close' ]); + 'close' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) - .get('/libraryOperationResults/70976408-41ab-4baf-877c-435c95add06a') + .get('/libraryOperationResults/9bd185ed-8f5d-4e11-949b-28334b279679') .query(true) - .reply(202, {"status":"InProgress"}, [ 'Content-Length', + .reply(202, {"status":"InProgress"}, [ + 'Content-Length', '23', 'Content-Type', 'application/json; charset=utf-8', 'Location', - 'https://testaccount.dev.azuresynapse.net/libraryOperationResults/70976408-41ab-4baf-877c-435c95add06a?api-version=2019-06-01-preview', + 'https://testaccount.dev.azuresynapse.net/libraryOperationResults/9bd185ed-8f5d-4e11-949b-28334b279679?api-version=2019-06-01-preview', 'Retry-After', - '10', + '0', 'Server', 'Microsoft-HTTPAPI/2.0', 'Strict-Transport-Security', @@ -113,24 +193,27 @@ nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) 'Access-Control-Expose-Headers', 'Retry-After', 'x-ms-request-id', - '3c3335e1-f480-49cd-90e6-e4dcde936769', + '8290d9a3-2ea5-4ae1-8e6c-e4c6e47e7c78', 'Date', - 'Mon, 05 Apr 2021 21:27:52 GMT', + 'Fri, 11 Jun 2021 18:40:48 GMT', 'Connection', - 'close' ]); + 'close' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) - .get('/libraryOperationResults/70976408-41ab-4baf-877c-435c95add06a') + .get('/libraryOperationResults/9bd185ed-8f5d-4e11-949b-28334b279679') .query(true) - .reply(200, "", [ 'Content-Length', + .reply(200, "", [ + 'Content-Length', '0', 'Server', 'Microsoft-HTTPAPI/2.0', 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains', 'x-ms-request-id', - '72a45ce5-f3ce-42ff-8769-112c348877fe', + 'e1c1f918-4d5e-4939-883e-21dc7a0e3744', 'Date', - 'Mon, 05 Apr 2021 21:27:54 GMT', + 'Fri, 11 Jun 2021 18:40:49 GMT', 'Connection', - 'close' ]); + 'close' +]); diff --git a/sdk/synapse/synapse-artifacts/recordings/node/library/recording_should_get_library.js b/sdk/synapse/synapse-artifacts/recordings/node/library/recording_should_get_library.js index 4d0021e18d0d..c15408aad592 100644 --- a/sdk/synapse/synapse-artifacts/recordings/node/library/recording_should_get_library.js +++ b/sdk/synapse/synapse-artifacts/recordings/node/library/recording_should_get_library.js @@ -1,17 +1,87 @@ let nock = require('nock'); -module.exports.hash = "d3a9c1b2e09a20beb97164081ea683a9"; +module.exports.hash = "e551ac8210697658f4d8bc89fcc4947c"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '8770385c-8cf7-41a3-b324-0bb71fc00400', + 'x-ms-ests-server', + '2.1.11787.15 - SCUS ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWBQAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:45 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrG1Myj6hj5RNy77S_lcqYjNQLFIZQFkeW6TD9BKsaQ4XgiNxF1LEedfZuWzu_b8W5OQbc4WphQWVZdIEzEHsR9xuYt-3Qia9hV1tmK_cpUNjilu44aQfS2VJRhp6f383Magh-smkdKM0Cy1M0cOXDjJyDxEpGpDeHi1tK52HHsK8gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:40:44 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '19067a38-52e5-496f-ae98-6a1985441a00', + 'x-ms-ests-server', + '2.1.11829.4 - EUS ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWBQAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:45 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrTs97l4V5O-xecAHCSuHNrtj_d3_tzm8VHYGGqd5E_zm-HHSrGJnypW2rfdjo9Xtv4O1D-m3bumcJlvS27jKNbpAJdddBgmsVAXRzaUZ9UWvVXvJ1EgDk3Rys2V8PVNnVAhhkRmqEbBlp0H7WcqZFKI0dXQPXtftvBBQ4bkTjxw4gAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:40:44 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&client-request-id=2c6281bb-4a79-42df-82ce-0ee937438ced&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1322', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -23,23 +93,29 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - 'a4433f94-db9a-4a15-9895-e4715e946700', + 'af8f1119-be9e-4d06-b6fd-737adfe92400', 'x-ms-ests-server', - '2.1.11562.10 - NCUS ProdSlices', + '2.1.11829.4 - NCUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', 'Set-Cookie', - 'fpc=AvzULwO9SbVOqJjwdF4-3lHKOuyWCQAAAKt3_dcOAAAA; expires=Wed, 05-May-2021 21:27:50 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWBQAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:45 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 05 Apr 2021 21:27:49 GMT' ]); + 'Fri, 11 Jun 2021 18:40:44 GMT', + 'Content-Length', + '1322' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) .get('/libraries/testLibraryName.jar') .query(true) - .reply(200, {"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/libraries/testLibraryName.jar","name":"testLibraryName.jar","type":"Microsoft.Synapse/workspaces/libraries","properties":{"name":"testLibraryName.jar","path":"xysynapsetest/libraries/testLibraryName.jar","containerName":"prep","uploadedTimestamp":"2021-04-05T21:27:43.855845+00:00","type":"jar","provisioningStatus":"Incomplete","creatorId":"30511c9d-ba1a-4c7b-b422-5b543da11b3f"},"etag":"ab06012b-0000-0800-0000-606b80d10000"}, [ 'Content-Length', - '563', + .reply(200, {"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/libraries/testLibraryName.jar","name":"testLibraryName.jar","type":"Microsoft.Synapse/workspaces/libraries","properties":{"name":"testLibraryName.jar","path":"xysynapsetest/libraries/testLibraryName.jar","containerName":"prep","uploadedTimestamp":"2021-06-11T18:40:34.0554995+00:00","type":"jar","provisioningStatus":"Incomplete","creatorId":"30511c9d-ba1a-4c7b-b422-5b543da11b3f"},"etag":"4f0081e4-0000-0800-0000-60c3ae270000"}, [ + 'Content-Length', + '564', 'Content-Type', 'application/json; charset=utf-8', 'Server', @@ -47,8 +123,9 @@ nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains', 'x-ms-request-id', - '3bd4139f-cf23-46f1-aa61-7efcbc539370', + 'b4cb499d-4514-45be-9d9a-1b08f02376d4', 'Date', - 'Mon, 05 Apr 2021 21:27:49 GMT', + 'Fri, 11 Jun 2021 18:40:45 GMT', 'Connection', - 'close' ]); + 'close' +]); diff --git a/sdk/synapse/synapse-artifacts/recordings/node/library/recording_should_list_library.js b/sdk/synapse/synapse-artifacts/recordings/node/library/recording_should_list_library.js index 1b1b50725d4c..b3990321736b 100644 --- a/sdk/synapse/synapse-artifacts/recordings/node/library/recording_should_list_library.js +++ b/sdk/synapse/synapse-artifacts/recordings/node/library/recording_should_list_library.js @@ -1,17 +1,87 @@ let nock = require('nock'); -module.exports.hash = "9eb5ae69a3017b1057ab7a7ab3cb4404"; +module.exports.hash = "34db88c876c8c0074bf9428325750309"; module.exports.testInfo = {"uniqueName":{},"newDate":{}} nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) - .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "response_type=token&grant_type=client_credentials&client_id=azure_client_id&client_secret=azure_client_secret&scope=https%3A%2F%2Fdev.azuresynapse.net%2F.default") - .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ 'Cache-Control', + .get('/common/discovery/instance') + .query(true) + .reply(200, {"tenant_discovery_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration","api-version":"1.1","metadata":[{"preferred_network":"login.microsoftonline.com","preferred_cache":"login.windows.net","aliases":["login.microsoftonline.com","login.windows.net","login.microsoft.com","sts.windows.net"]},{"preferred_network":"login.partner.microsoftonline.cn","preferred_cache":"login.partner.microsoftonline.cn","aliases":["login.partner.microsoftonline.cn","login.chinacloudapi.cn"]},{"preferred_network":"login.microsoftonline.de","preferred_cache":"login.microsoftonline.de","aliases":["login.microsoftonline.de"]},{"preferred_network":"login.microsoftonline.us","preferred_cache":"login.microsoftonline.us","aliases":["login.microsoftonline.us","login.usgovcloudapi.net"]},{"preferred_network":"login-us.microsoftonline.com","preferred_cache":"login-us.microsoftonline.com","aliases":["login-us.microsoftonline.com"]}]}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + '0edac5aa-8762-4387-8ebe-33e27cf49900', + 'x-ms-ests-server', + '2.1.11787.14 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWBQAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:44 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7Wevr5cAH5SvOxqwA2JCPvQaFPLy0X2LCNsSDBeooxQX2s_UgxgwrClYg9cOFawyiMHr_T0T82nqo6OicYdGowh_0OYQEgUAMQP2uKzTIbts9GTAZZIkiVlXhNZMOU0i1o5TWfX1fcZdLfUzXGVNqnq0Kxc6C8kGADhQFcThLIFIERFkgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:40:43 GMT', + 'Content-Length', + '980' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .get('/88888888-8888-8888-8888-888888888888/v2.0/.well-known/openid-configuration') + .reply(200, {"token_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token","token_endpoint_auth_methods_supported":["client_secret_post","private_key_jwt","client_secret_basic"],"jwks_uri":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/discovery/v2.0/keys","response_modes_supported":["query","fragment","form_post"],"subject_types_supported":["pairwise"],"id_token_signing_alg_values_supported":["RS256"],"response_types_supported":["code","id_token","code id_token","id_token token"],"scopes_supported":["openid","profile","email","offline_access"],"issuer":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/v2.0","request_uri_parameter_supported":false,"userinfo_endpoint":"https://graph.microsoft.com/oidc/userinfo","authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/authorize","device_authorization_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/devicecode","http_logout_supported":true,"frontchannel_logout_supported":true,"end_session_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/oauth2/v2.0/logout","claims_supported":["sub","iss","cloud_instance_name","cloud_instance_host_name","cloud_graph_host_name","msgraph_host","aud","exp","iat","auth_time","acr","nonce","preferred_username","name","tid","ver","at_hash","c_hash","email"],"kerberos_endpoint":"https://login.microsoftonline.com/88888888-8888-8888-8888-888888888888/kerberos","tenant_region_scope":"WW","cloud_instance_name":"microsoftonline.com","cloud_graph_host_name":"graph.windows.net","msgraph_host":"graph.microsoft.com","rbac_url":"https://pas.windows.net"}, [ + 'Cache-Control', + 'max-age=86400, private', + 'Content-Type', + 'application/json; charset=utf-8', + 'Strict-Transport-Security', + 'max-age=31536000; includeSubDomains', + 'X-Content-Type-Options', + 'nosniff', + 'Access-Control-Allow-Origin', + '*', + 'Access-Control-Allow-Methods', + 'GET, OPTIONS', + 'P3P', + 'CP="DSP CUR OTPi IND OTRi ONL FIN"', + 'x-ms-request-id', + 'af8f1119-be9e-4d06-b6fd-737acae92400', + 'x-ms-ests-server', + '2.1.11829.4 - NCUS ProdSlices', + 'Set-Cookie', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWBQAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:44 GMT; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'esctx=AQABAAAAAAD--DLA3VO7QrddgJg7WevrfKeVBjoNyBBYGhxBdTyPl_hNq317ytGkHm9uB8q0RIxUS5IK9vjrd5ser8NIIumaE-mI9yGPSZVoSOn2bk3qjzLW1PTCs4yAaXgxG3bwcnynVyJXOuubV86IHzjCwQukRJw5Sx0s45enkj0pd5xx_rWSUlWxL-qlRJAIrzDI0GEgAA; domain=.login.microsoftonline.com; path=/; secure; HttpOnly; SameSite=None', + 'Set-Cookie', + 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', + 'Set-Cookie', + 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', + 'Date', + 'Fri, 11 Jun 2021 18:40:44 GMT', + 'Content-Length', + '1753' +]); + +nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) + .post('/88888888-8888-8888-8888-888888888888/oauth2/v2.0/token', "client_id=azure_client_id&scope=https%3A%2F%2Fsanitized%2F&grant_type=client_credentials&client-request-id=45c332d3-635a-4df0-906e-5789884985a2&client_secret=azure_client_secret") + .reply(200, {"token_type":"Bearer","expires_in":86399,"ext_expires_in":86399,"access_token":"access_token"}, [ + 'Cache-Control', 'no-store, no-cache', 'Pragma', 'no-cache', - 'Content-Length', - '1322', 'Content-Type', 'application/json; charset=utf-8', 'Expires', @@ -23,23 +93,29 @@ nock('https://login.microsoftonline.com:443', {"encodedQueryParams":true}) 'P3P', 'CP="DSP CUR OTPi IND OTRi ONL FIN"', 'x-ms-request-id', - '54777b7c-38ce-4e91-bef8-d402d77f5700', + 'a6d9cd41-6ba7-4e1a-bf7b-adbf83761a00', 'x-ms-ests-server', - '2.1.11562.10 - WUS2 ProdSlices', + '2.1.11829.4 - EUS ProdSlices', + 'x-ms-clitelem', + '1,0,0,,', 'Set-Cookie', - 'fpc=AvzULwO9SbVOqJjwdF4-3lHKOuyWCQAAAKt3_dcOAAAA; expires=Wed, 05-May-2021 21:27:50 GMT; path=/; secure; HttpOnly; SameSite=None', + 'fpc=AqKv1ITPGqNOizUDgikpmKnKOuyWBQAAAPekVdgOAAAA; expires=Sun, 11-Jul-2021 18:40:44 GMT; path=/; secure; HttpOnly; SameSite=None', 'Set-Cookie', 'x-ms-gateway-slice=estsfd; path=/; secure; samesite=none; httponly', 'Set-Cookie', 'stsservicecookie=estsfd; path=/; secure; samesite=none; httponly', 'Date', - 'Mon, 05 Apr 2021 21:27:49 GMT' ]); + 'Fri, 11 Jun 2021 18:40:44 GMT', + 'Content-Length', + '1322' +]); nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) .get('/libraries') .query(true) - .reply(200, {"value":[{"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/libraries/testLibraryName.jar","name":"testLibraryName.jar","type":"Microsoft.Synapse/workspaces/libraries","etag":"ab06012b-0000-0800-0000-606b80d10000","properties":{"name":"testLibraryName.jar","path":"xysynapsetest/libraries/testLibraryName.jar","containerName":"prep","uploadedTimestamp":"2021-04-05T21:27:43.855845+00:00","type":"jar","provisioningStatus":"Incomplete","creatorId":"30511c9d-ba1a-4c7b-b422-5b543da11b3f"}}]}, [ 'Content-Length', - '575', + .reply(200, {"value":[{"id":"/subscriptions/faa080af-c1d8-40ad-9cce-e1a450ca5b57/resourceGroups/xiangyan/providers/Microsoft.Synapse/workspaces/xysynapsetest/libraries/testLibraryName.jar","name":"testLibraryName.jar","type":"Microsoft.Synapse/workspaces/libraries","etag":"4f0081e4-0000-0800-0000-60c3ae270000","properties":{"name":"testLibraryName.jar","path":"xysynapsetest/libraries/testLibraryName.jar","containerName":"prep","uploadedTimestamp":"2021-06-11T18:40:34.0554995+00:00","type":"jar","provisioningStatus":"Incomplete","creatorId":"30511c9d-ba1a-4c7b-b422-5b543da11b3f"}}]}, [ + 'Content-Length', + '576', 'Content-Type', 'application/json; charset=utf-8', 'Server', @@ -47,8 +123,9 @@ nock('https://testaccount.dev.azuresynapse.net', {"encodedQueryParams":true}) 'Strict-Transport-Security', 'max-age=31536000; includeSubDomains', 'x-ms-request-id', - 'ae02e55d-d9d6-4173-9691-810ed7d8a7bd', + 'f3ab33d4-6085-48c7-b73e-69445a2dfe97', 'Date', - 'Mon, 05 Apr 2021 21:27:50 GMT', + 'Fri, 11 Jun 2021 18:40:45 GMT', 'Connection', - 'close' ]); + 'close' +]);