diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/E2eTestBase.cs b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/E2eTestBase.cs index f03f689f8b301..09d58a83867ea 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/E2eTestBase.cs +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/E2eTestBase.cs @@ -15,7 +15,6 @@ namespace Azure.DigitalTwins.Core.Tests /// This class will initialize all the settings and create and instance of the Digital twins client. /// [Parallelizable(ParallelScope.Self)] - [Category("Live")] // This category indicates the tests hit a "live" service: https://github.com/Azure/azure-sdk-for-net/blob/master/CONTRIBUTING.md#to-test-1 public abstract class E2eTestBase : RecordedTestBase { protected static readonly int MaxTries = 10; diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ComponentTests/Component_Lifecycle.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ComponentTests/Component_Lifecycle.json index 446e07cbed9f3..3251d7002ba8c 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ComponentTests/Component_Lifecycle.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ComponentTests/Component_Lifecycle.json @@ -1,12 +1,12 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Awifi%3B116048137?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Awifi%3B116048137?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "6a04cf4edbf3d89c8aa2c9a4af0c55a3", @@ -17,7 +17,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:58 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -28,12 +28,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Awifiroom%3B11001?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Awifiroom%3B11001?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "47bf6645e4e84c2fd430a7c0d86cfd5b", @@ -44,7 +44,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:58 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -55,12 +55,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomWithWifiTwin1919300301?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomWithWifiTwin1919300301?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "29e32fc8dc7542bc2b33f5f75e898212", @@ -71,7 +71,7 @@ "ResponseHeaders": { "Content-Length": "279", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -82,123 +82,55 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models?api-version=2020-05-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "1237", + "Content-Length": "1139", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "8e185f086547d4eb1e1eabf418b136cb", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "[{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:wifiroom;11001\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022displayName\u0022: \u0022RoomWithWifi\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022Temperature\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022Humidity\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022IsOccupied\u0022,\r\n", - " \u0022schema\u0022: \u0022boolean\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022EmployeeId\u0022,\r\n", - " \u0022schema\u0022: \u0022string\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Component\u0022,\r\n", - " \u0022name\u0022: \u0022wifiAccessPoint\u0022,\r\n", - " \u0022schema\u0022: \u0022dtmi:example:wifi;116048137\u0022\r\n", - " }\r\n", - " ],\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022\r\n", - "},{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:wifi;116048137\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022,\r\n", - " \u0022displayName\u0022: \u0022Wifi\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022RouterName\u0022,\r\n", - " \u0022schema\u0022: \u0022string\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022Network\u0022,\r\n", - " \u0022schema\u0022: \u0022string\u0022\r\n", - " }\r\n", - " ]\r\n", - "}]" - ], + "RequestBody": "[{ \u0022@id\u0022: \u0022dtmi:example:wifiroom;11001\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022displayName\u0022: \u0022RoomWithWifi\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022Temperature\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022Humidity\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022IsOccupied\u0022, \u0022schema\u0022: \u0022boolean\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022EmployeeId\u0022, \u0022schema\u0022: \u0022string\u0022 }, { \u0022@type\u0022: \u0022Component\u0022, \u0022name\u0022: \u0022wifiAccessPoint\u0022, \u0022schema\u0022: \u0022dtmi:example:wifi;116048137\u0022 } ], \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022},{ \u0022@id\u0022: \u0022dtmi:example:wifi;116048137\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022, \u0022displayName\u0022: \u0022Wifi\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022RouterName\u0022, \u0022schema\u0022: \u0022string\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022Network\u0022, \u0022schema\u0022: \u0022string\u0022 } ]}]", "StatusCode": 201, "ResponseHeaders": { "Content-Length": "317", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, - "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:wifiroom;11001\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022RoomWithWifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:00.1324844\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:wifi;116048137\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022Wifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:00.1326473\u002B00:00\u0022}]" + "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:wifiroom;11001\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022RoomWithWifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:04.6672726\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:wifi;116048137\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022Wifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:04.6674433\u002B00:00\u0022}]" }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomWithWifiTwin1919300301?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomWithWifiTwin1919300301?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "348", + "Content-Length": "318", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "2643e1488bbf8ad00204bdb03a5476a6", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "{\r\n", - " \u0022$metadata\u0022: {\r\n", - " \u0022$model\u0022: \u0022dtmi:example:wifiroom;11001\u0022\r\n", - " },\r\n", - " \u0022Temperature\u0022: 80,\r\n", - " \u0022Humidity\u0022: 25,\r\n", - " \u0022IsOccupied\u0022: true,\r\n", - " \u0022EmployeeId\u0022: \u0022Employee1\u0022,\r\n", - " \u0022wifiAccessPoint\u0022: {\r\n", - " \u0022$metadata\u0022: {\r\n", - " \u0022$model\u0022: \u0022dtmi:example:wifi;116048137\u0022\r\n", - " },\r\n", - " \u0022RouterName\u0022: \u0022Cisco1\u0022,\r\n", - " \u0022Network\u0022: \u0022Room1\u0022\r\n", - " }\r\n", - "}" - ], + "RequestBody": "{ \u0022$metadata\u0022: { \u0022$model\u0022: \u0022dtmi:example:wifiroom;11001\u0022 }, \u0022Temperature\u0022: 80, \u0022Humidity\u0022: 25, \u0022IsOccupied\u0022: true, \u0022EmployeeId\u0022: \u0022Employee1\u0022, \u0022wifiAccessPoint\u0022: { \u0022$metadata\u0022: { \u0022$model\u0022: \u0022dtmi:example:wifi;116048137\u0022 }, \u0022RouterName\u0022: \u0022Cisco1\u0022, \u0022Network\u0022: \u0022Room1\u0022 }}", "StatusCode": 200, "ResponseHeaders": { "Content-Length": "1003", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:00 GMT", - "ETag": "W/\u00222a3d36aa-d6a5-407d-bc59-7aaa8042ee6a\u0022", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", + "ETag": "W/\u00225bdf9325-3ab4-4de4-a0c4-da3ba90cfe70\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "$dtId": "roomWithWifiTwin1919300301", - "$etag": "2a3d36aa-d6a5-407d-bc59-7aaa8042ee6a", + "$etag": "5bdf9325-3ab4-4de4-a0c4-da3ba90cfe70", "Temperature": 80, "Humidity": 25, "IsOccupied": true, @@ -258,12 +190,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomWithWifiTwin1919300301/components/wifiAccessPoint?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomWithWifiTwin1919300301/components/wifiAccessPoint?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "0cd0ad25cde56286440e0b5630c82a79", @@ -274,8 +206,8 @@ "ResponseHeaders": { "Content-Length": "322", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:00 GMT", - "ETag": "W/\u00222a3d36aa-d6a5-407d-bc59-7aaa8042ee6a\u0022", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", + "ETag": "W/\u00225bdf9325-3ab4-4de4-a0c4-da3ba90cfe70\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -301,14 +233,14 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomWithWifiTwin1919300301/components/wifiAccessPoint?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomWithWifiTwin1919300301/components/wifiAccessPoint?api-version=2020-05-31-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Authorization": "Sanitized", "Content-Length": "58", "Content-Type": "application/json-patch\u002Bjson; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "7cae29fc5c457c528f8d8b43a73a9ac9", @@ -318,19 +250,19 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:00 GMT", - "ETag": "W/\u0022d17d6c8c-132e-492a-a7e8-0726934728a3\u0022", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", + "ETag": "W/\u002262197c2a-ecb5-48fe-a42f-02dc3045811d\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomWithWifiTwin1919300301?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomWithWifiTwin1919300301?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "6acf04a829e17be65be1e1b17f7a5a3a", @@ -340,18 +272,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:00 GMT", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Awifiroom%3B11001?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Awifiroom%3B11001?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "10b344d9faa6c8615b537d574142bb09", @@ -361,18 +293,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:00 GMT", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Awifi%3B116048137?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Awifi%3B116048137?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "2cae4273c0f8d398433221647ba1fd14", @@ -382,14 +314,14 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:01 GMT", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "975366982" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ComponentTests/Component_LifecycleAsync.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ComponentTests/Component_LifecycleAsync.json index cdd627613dcbb..16d765325f67c 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ComponentTests/Component_LifecycleAsync.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ComponentTests/Component_LifecycleAsync.json @@ -1,12 +1,12 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Awifi%3B118382803?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Awifi%3B118382803?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "e27076bfefb5fe8dec7da3880213b707", @@ -17,7 +17,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:58 GMT", + "Date": "Tue, 02 Jun 2020 19:05:02 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -28,12 +28,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Awifiroom%3B19137?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Awifiroom%3B19137?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "1270d29123047704a389ecc8bf053a2f", @@ -44,7 +44,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -55,12 +55,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomWithWifiTwin1728255304?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomWithWifiTwin1728255304?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "b747af127265d357c1d6db0bb0164c7e", @@ -71,7 +71,7 @@ "ResponseHeaders": { "Content-Length": "279", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -82,123 +82,55 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models?api-version=2020-05-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "1237", + "Content-Length": "1139", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "e9a7e26aba7b6c536a1266a1352d7768", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "[{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:wifiroom;19137\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022displayName\u0022: \u0022RoomWithWifi\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022Temperature\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022Humidity\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022IsOccupied\u0022,\r\n", - " \u0022schema\u0022: \u0022boolean\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022EmployeeId\u0022,\r\n", - " \u0022schema\u0022: \u0022string\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Component\u0022,\r\n", - " \u0022name\u0022: \u0022wifiAccessPoint\u0022,\r\n", - " \u0022schema\u0022: \u0022dtmi:example:wifi;118382803\u0022\r\n", - " }\r\n", - " ],\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022\r\n", - "},{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:wifi;118382803\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022,\r\n", - " \u0022displayName\u0022: \u0022Wifi\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022RouterName\u0022,\r\n", - " \u0022schema\u0022: \u0022string\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022Network\u0022,\r\n", - " \u0022schema\u0022: \u0022string\u0022\r\n", - " }\r\n", - " ]\r\n", - "}]" - ], + "RequestBody": "[{ \u0022@id\u0022: \u0022dtmi:example:wifiroom;19137\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022displayName\u0022: \u0022RoomWithWifi\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022Temperature\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022Humidity\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022IsOccupied\u0022, \u0022schema\u0022: \u0022boolean\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022EmployeeId\u0022, \u0022schema\u0022: \u0022string\u0022 }, { \u0022@type\u0022: \u0022Component\u0022, \u0022name\u0022: \u0022wifiAccessPoint\u0022, \u0022schema\u0022: \u0022dtmi:example:wifi;118382803\u0022 } ], \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022},{ \u0022@id\u0022: \u0022dtmi:example:wifi;118382803\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022, \u0022displayName\u0022: \u0022Wifi\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022RouterName\u0022, \u0022schema\u0022: \u0022string\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022Network\u0022, \u0022schema\u0022: \u0022string\u0022 } ]}]", "StatusCode": 201, "ResponseHeaders": { - "Content-Length": "317", + "Content-Length": "315", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:00 GMT", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", "Strict-Transport-Security": "max-age=2592000" }, - "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:wifiroom;19137\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022RoomWithWifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:00.0336167\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:wifi;118382803\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022Wifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:00.0337603\u002B00:00\u0022}]" + "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:wifiroom;19137\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022RoomWithWifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:04.70208\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:wifi;118382803\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022Wifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:04.7022409\u002B00:00\u0022}]" }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomWithWifiTwin1728255304?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomWithWifiTwin1728255304?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "348", + "Content-Length": "318", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "0701b95845bf602b193f434c296cf272", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "{\r\n", - " \u0022$metadata\u0022: {\r\n", - " \u0022$model\u0022: \u0022dtmi:example:wifiroom;19137\u0022\r\n", - " },\r\n", - " \u0022Temperature\u0022: 80,\r\n", - " \u0022Humidity\u0022: 25,\r\n", - " \u0022IsOccupied\u0022: true,\r\n", - " \u0022EmployeeId\u0022: \u0022Employee1\u0022,\r\n", - " \u0022wifiAccessPoint\u0022: {\r\n", - " \u0022$metadata\u0022: {\r\n", - " \u0022$model\u0022: \u0022dtmi:example:wifi;118382803\u0022\r\n", - " },\r\n", - " \u0022RouterName\u0022: \u0022Cisco1\u0022,\r\n", - " \u0022Network\u0022: \u0022Room1\u0022\r\n", - " }\r\n", - "}" - ], + "RequestBody": "{ \u0022$metadata\u0022: { \u0022$model\u0022: \u0022dtmi:example:wifiroom;19137\u0022 }, \u0022Temperature\u0022: 80, \u0022Humidity\u0022: 25, \u0022IsOccupied\u0022: true, \u0022EmployeeId\u0022: \u0022Employee1\u0022, \u0022wifiAccessPoint\u0022: { \u0022$metadata\u0022: { \u0022$model\u0022: \u0022dtmi:example:wifi;118382803\u0022 }, \u0022RouterName\u0022: \u0022Cisco1\u0022, \u0022Network\u0022: \u0022Room1\u0022 }}", "StatusCode": 200, "ResponseHeaders": { "Content-Length": "1003", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:00 GMT", - "ETag": "W/\u00223343d230-ab3d-49f6-a941-04e04d7de990\u0022", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", + "ETag": "W/\u00225d77af30-ab94-4f6d-bd9d-6e6d4b7bcc5b\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "$dtId": "roomWithWifiTwin1728255304", - "$etag": "3343d230-ab3d-49f6-a941-04e04d7de990", + "$etag": "5d77af30-ab94-4f6d-bd9d-6e6d4b7bcc5b", "Temperature": 80, "Humidity": 25, "IsOccupied": true, @@ -258,12 +190,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomWithWifiTwin1728255304/components/wifiAccessPoint?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomWithWifiTwin1728255304/components/wifiAccessPoint?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "2354499f459258cc5cdb4d520cb59d94", @@ -274,8 +206,8 @@ "ResponseHeaders": { "Content-Length": "322", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:00 GMT", - "ETag": "W/\u00223343d230-ab3d-49f6-a941-04e04d7de990\u0022", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", + "ETag": "W/\u00225d77af30-ab94-4f6d-bd9d-6e6d4b7bcc5b\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -301,14 +233,14 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomWithWifiTwin1728255304/components/wifiAccessPoint?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomWithWifiTwin1728255304/components/wifiAccessPoint?api-version=2020-05-31-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Authorization": "Sanitized", "Content-Length": "58", "Content-Type": "application/json-patch\u002Bjson; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "f6b2725e451525bfb647d03c770642fe", @@ -318,19 +250,19 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:00 GMT", - "ETag": "W/\u00225d3eb7f4-ea2c-41ba-8f10-e5681fb83c69\u0022", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", + "ETag": "W/\u0022edb3ee70-833f-4a1a-b989-d7853700b9de\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomWithWifiTwin1728255304?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomWithWifiTwin1728255304?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "ec02f32054d813d5eda9abe3f8d85463", @@ -340,18 +272,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:00 GMT", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Awifiroom%3B19137?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Awifiroom%3B19137?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "b7edaea1fbb95a5c8a2f6c4b7490e056", @@ -361,18 +293,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:00 GMT", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Awifi%3B118382803?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Awifi%3B118382803?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "18324f99b1b30abb9c9f096c99dc2cde", @@ -382,14 +314,14 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:01 GMT", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "1042416616" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinRelationshipTests/Relationships_Lifecycle.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinRelationshipTests/Relationships_Lifecycle.json index 38effef3d7a63..fff5d2aaee942 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinRelationshipTests/Relationships_Lifecycle.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinRelationshipTests/Relationships_Lifecycle.json @@ -1,12 +1,12 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Afloor%3B11806305?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Afloor%3B11806305?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "a07786dbb4e986bba48f725e7ff71cb8", @@ -17,7 +17,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:58 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -28,12 +28,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Aroom%3B117517802?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Aroom%3B117517802?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "eff5ca509a4a3912f3ee0672eb75abd3", @@ -44,7 +44,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:58 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -55,12 +55,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/dtmi%3Aexample%3Ahvac%3B165750186?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/dtmi%3Aexample%3Ahvac%3B165750186?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "a76ec5d354201125aa775a4ae59cc463", @@ -71,7 +71,7 @@ "ResponseHeaders": { "Content-Length": "280", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -82,12 +82,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1623788387?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1623788387?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "ad905314ec906764f5c5b513b819c78a", @@ -98,7 +98,7 @@ "ResponseHeaders": { "Content-Length": "272", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -109,12 +109,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin117216468?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin117216468?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "24495624752fded09f22b8ef0e52420e", @@ -125,7 +125,7 @@ "ResponseHeaders": { "Content-Length": "270", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -136,12 +136,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/hvacTwin1855785351?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/hvacTwin1855785351?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "fd435861d84240092b8e6ffdf15d92bf", @@ -152,7 +152,7 @@ "ResponseHeaders": { "Content-Length": "271", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -163,155 +163,55 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models?api-version=2020-05-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "2492", + "Content-Length": "2310", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "196d7811e43fbfddcff1c9ac77e67373", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "[{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:floor;11806305\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022,\r\n", - " \u0022displayName\u0022: \u0022Floor\u0022,\r\n", - " \u0022description\u0022: \u0022A building story.\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022contains\u0022,\r\n", - " \u0022target\u0022: \u0022dtmi:example:room;117517802\u0022,\r\n", - " \u0022properties\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022isAccessRestricted\u0022,\r\n", - " \u0022schema\u0022: \u0022boolean\u0022\r\n", - " }\r\n", - " ]\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022cooledBy\u0022,\r\n", - " \u0022target\u0022: \u0022dtmi:example:hvac;165750186\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022AverageTemperature\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " }\r\n", - " ]\r\n", - "},{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:room;117517802\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022displayName\u0022: \u0022Room\u0022,\r\n", - " \u0022description\u0022: \u0022An enclosure inside a building.\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022containedIn\u0022,\r\n", - " \u0022target\u0022: \u0022dtmi:example:floor;11806305\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022Temperature\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022Humidity\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022IsOccupied\u0022,\r\n", - " \u0022schema\u0022: \u0022boolean\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022EmployeeId\u0022,\r\n", - " \u0022schema\u0022: \u0022string\u0022\r\n", - " }\r\n", - " ],\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022\r\n", - "},{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:hvac;165750186\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022displayName\u0022: \u0022HVAC\u0022,\r\n", - " \u0022description\u0022: \u0022A heating, ventilation, and air conditioning unit.\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022Efficiency\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022TargetTemperature\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022TargetHumidity\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022cools\u0022,\r\n", - " \u0022target\u0022: \u0022dtmi:example:floor;11806305\u0022\r\n", - " }\r\n", - " ],\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022\r\n", - "}]" - ], + "RequestBody": "[{ \u0022@id\u0022: \u0022dtmi:example:floor;11806305\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022, \u0022displayName\u0022: \u0022Floor\u0022, \u0022description\u0022: \u0022A building story.\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022contains\u0022, \u0022target\u0022: \u0022dtmi:example:room;117517802\u0022, \u0022properties\u0022: [ { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022isAccessRestricted\u0022, \u0022schema\u0022: \u0022boolean\u0022 } ] }, { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022cooledBy\u0022, \u0022target\u0022: \u0022dtmi:example:hvac;165750186\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022AverageTemperature\u0022, \u0022schema\u0022: \u0022double\u0022 } ]},{ \u0022@id\u0022: \u0022dtmi:example:room;117517802\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022displayName\u0022: \u0022Room\u0022, \u0022description\u0022: \u0022An enclosure inside a building.\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022containedIn\u0022, \u0022target\u0022: \u0022dtmi:example:floor;11806305\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022Temperature\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022Humidity\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022IsOccupied\u0022, \u0022schema\u0022: \u0022boolean\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022EmployeeId\u0022, \u0022schema\u0022: \u0022string\u0022 } ], \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022},{ \u0022@id\u0022: \u0022dtmi:example:hvac;165750186\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022displayName\u0022: \u0022HVAC\u0022, \u0022description\u0022: \u0022A heating, ventilation, and air conditioning unit.\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022Efficiency\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022TargetTemperature\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022TargetHumidity\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022cools\u0022, \u0022target\u0022: \u0022dtmi:example:floor;11806305\u0022 } ], \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022}]", "StatusCode": 201, "ResponseHeaders": { "Content-Length": "583", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:00 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, - "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:floor;11806305\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A building story.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Floor\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:00.6169748\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:room;117517802\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022An enclosure inside a building.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Room\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:00.6171277\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:hvac;165750186\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A heating, ventilation, and air conditioning unit.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022HVAC\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:00.6172607\u002B00:00\u0022}]" + "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:floor;11806305\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A building story.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Floor\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:04.8508086\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:room;117517802\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022An enclosure inside a building.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Room\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:04.8509874\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:hvac;165750186\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A heating, ventilation, and air conditioning unit.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022HVAC\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:04.8511266\u002B00:00\u0022}]" }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1623788387?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1623788387?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "101", + "Content-Length": "91", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "6fb83005d6467de140e404e761e1adc5", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "{\r\n", - " \u0022$metadata\u0022: {\r\n", - " \u0022$model\u0022: \u0022dtmi:example:floor;11806305\u0022\r\n", - " },\r\n", - " \u0022AverageTemperature\u0022: 75\r\n", - "}" - ], + "RequestBody": "{ \u0022$metadata\u0022: { \u0022$model\u0022: \u0022dtmi:example:floor;11806305\u0022 }, \u0022AverageTemperature\u0022: 75}", "StatusCode": 200, "ResponseHeaders": { "Content-Length": "273", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:01 GMT", - "ETag": "W/\u002280d157b0-a677-47aa-95ab-33aeabd8fdd8\u0022", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", + "ETag": "W/\u0022c73e9e5b-88e4-47ec-8f55-a084e22e24c9\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "$dtId": "floorTwin1623788387", - "$etag": "80d157b0-a677-47aa-95ab-33aeabd8fdd8", + "$etag": "c73e9e5b-88e4-47ec-8f55-a084e22e24c9", "AverageTemperature": 75, "$metadata": { "$model": "dtmi:example:floor;11806305", @@ -326,41 +226,31 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin117216468?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin117216468?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "166", + "Content-Length": "150", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "d9fd2f25f4d57c487a842e510f5dc845", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "{\r\n", - " \u0022$metadata\u0022: {\r\n", - " \u0022$model\u0022: \u0022dtmi:example:room;117517802\u0022\r\n", - " },\r\n", - " \u0022Temperature\u0022: 80,\r\n", - " \u0022Humidity\u0022: 25,\r\n", - " \u0022IsOccupied\u0022: true,\r\n", - " \u0022EmployeeId\u0022: \u0022Employee1\u0022\r\n", - "}" - ], + "RequestBody": "{ \u0022$metadata\u0022: { \u0022$model\u0022: \u0022dtmi:example:room;117517802\u0022 }, \u0022Temperature\u0022: 80, \u0022Humidity\u0022: 25, \u0022IsOccupied\u0022: true, \u0022EmployeeId\u0022: \u0022Employee1\u0022}", "StatusCode": 200, "ResponseHeaders": { "Content-Length": "653", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:01 GMT", - "ETag": "W/\u00223ba42e39-3be6-47fb-8bca-c7e38e8379b0\u0022", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", + "ETag": "W/\u0022e7024269-dc84-4e4f-b2fb-de72f58d3454\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "$dtId": "roomTwin117216468", - "$etag": "3ba42e39-3be6-47fb-8bca-c7e38e8379b0", + "$etag": "e7024269-dc84-4e4f-b2fb-de72f58d3454", "Temperature": 80, "Humidity": 25, "IsOccupied": true, @@ -399,39 +289,31 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/hvacTwin1855785351?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/hvacTwin1855785351?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "125", + "Content-Length": "113", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "c0f7fc1b23a43a7896efd95be0f65eed", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "{\r\n", - " \u0022$metadata\u0022: {\r\n", - " \u0022$model\u0022: \u0022dtmi:example:hvac;165750186\u0022\r\n", - " },\r\n", - " \u0022TargetTemperature\u0022: 80,\r\n", - " \u0022TargetHumidity\u0022: 25\r\n", - "}" - ], + "RequestBody": "{ \u0022$metadata\u0022: { \u0022$model\u0022: \u0022dtmi:example:hvac;165750186\u0022 }, \u0022TargetTemperature\u0022: 80, \u0022TargetHumidity\u0022: 25}", "StatusCode": 200, "ResponseHeaders": { "Content-Length": "404", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:02 GMT", - "ETag": "W/\u0022720f3142-2b67-4af5-bbd7-302b54e3c466\u0022", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", + "ETag": "W/\u0022f4e0cf00-3250-4a40-beec-0dd433fb83b8\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "$dtId": "hvacTwin1855785351", - "$etag": "720f3142-2b67-4af5-bbd7-302b54e3c466", + "$etag": "f4e0cf00-3250-4a40-beec-0dd433fb83b8", "TargetTemperature": 80, "TargetHumidity": 25, "$metadata": { @@ -454,37 +336,31 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1623788387/relationships/FloorToRoomRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1623788387/relationships/FloorToRoomRelationship?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "116", + "Content-Length": "108", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "4786044399e9109ee83cf4c2a8906ee3", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "{\r\n", - " \u0022$targetId\u0022: \u0022roomTwin117216468\u0022,\r\n", - " \u0022$relationshipName\u0022: \u0022contains\u0022,\r\n", - " \u0022isAccessRestricted\u0022: true\r\n", - "}" - ], + "RequestBody": "{ \u0022$targetId\u0022: \u0022roomTwin117216468\u0022, \u0022$relationshipName\u0022: \u0022contains\u0022, \u0022isAccessRestricted\u0022: true}", "StatusCode": 200, "ResponseHeaders": { "Content-Length": "215", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:02 GMT", - "ETag": "W/\u0022744c1ca5-87a4-4abd-a2ba-4486102182c1\u0022", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", + "ETag": "W/\u0022ded03614-38fb-4e57-be3e-26ac39366c7e\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "$relationshipId": "FloorToRoomRelationship", - "$etag": "744c1ca5-87a4-4abd-a2ba-4486102182c1", + "$etag": "ded03614-38fb-4e57-be3e-26ac39366c7e", "$sourceId": "floorTwin1623788387", "$relationshipName": "contains", "$targetId": "roomTwin117216468", @@ -492,122 +368,107 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1623788387/relationships/FloorToHvacRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1623788387/relationships/FloorToHvacRelationship?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "83", + "Content-Length": "77", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "64cbbf1bede90220b7c243e51bed9c84", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "{\r\n", - " \u0022$targetId\u0022: \u0022hvacTwin1855785351\u0022,\r\n", - " \u0022$relationshipName\u0022: \u0022cooledBy\u0022\r\n", - "}" - ], + "RequestBody": "{ \u0022$targetId\u0022: \u0022hvacTwin1855785351\u0022, \u0022$relationshipName\u0022: \u0022cooledBy\u0022}", "StatusCode": 200, "ResponseHeaders": { "Content-Length": "190", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:02 GMT", - "ETag": "W/\u0022ec6f45bb-42cd-4414-a408-cb20a8fb9a2f\u0022", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", + "ETag": "W/\u00221783a8fe-e358-4d20-b2da-03a0ebca95a2\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "$relationshipId": "FloorToHvacRelationship", - "$etag": "ec6f45bb-42cd-4414-a408-cb20a8fb9a2f", + "$etag": "1783a8fe-e358-4d20-b2da-03a0ebca95a2", "$sourceId": "floorTwin1623788387", "$relationshipName": "cooledBy", "$targetId": "hvacTwin1855785351" } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/hvacTwin1855785351/relationships/HvacToFloorRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/hvacTwin1855785351/relationships/HvacToFloorRelationship?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "81", + "Content-Length": "75", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "0a0e402580d7825b5ee6d8682fb59105", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "{\r\n", - " \u0022$targetId\u0022: \u0022floorTwin1623788387\u0022,\r\n", - " \u0022$relationshipName\u0022: \u0022cools\u0022\r\n", - "}" - ], + "RequestBody": "{ \u0022$targetId\u0022: \u0022floorTwin1623788387\u0022, \u0022$relationshipName\u0022: \u0022cools\u0022}", "StatusCode": 200, "ResponseHeaders": { "Content-Length": "187", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:02 GMT", - "ETag": "W/\u00221973da68-7244-4fb4-bcc4-fb92a64fa93d\u0022", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", + "ETag": "W/\u00227827a335-4703-4506-8d0d-628bfdae290f\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "$relationshipId": "HvacToFloorRelationship", - "$etag": "1973da68-7244-4fb4-bcc4-fb92a64fa93d", + "$etag": "7827a335-4703-4506-8d0d-628bfdae290f", "$sourceId": "hvacTwin1855785351", "$relationshipName": "cools", "$targetId": "floorTwin1623788387" } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin117216468/relationships/RoomToFloorRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin117216468/relationships/RoomToFloorRelationship?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "87", + "Content-Length": "81", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "213ff580f92a5604e383902655b8f5fb", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "{\r\n", - " \u0022$targetId\u0022: \u0022floorTwin1623788387\u0022,\r\n", - " \u0022$relationshipName\u0022: \u0022containedIn\u0022\r\n", - "}" - ], + "RequestBody": "{ \u0022$targetId\u0022: \u0022floorTwin1623788387\u0022, \u0022$relationshipName\u0022: \u0022containedIn\u0022}", "StatusCode": 200, "ResponseHeaders": { "Content-Length": "192", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", - "ETag": "W/\u00224899386a-2f5a-44b8-a68b-4880e0bdf949\u0022", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", + "ETag": "W/\u0022af3d3872-6e0e-4d3b-acbe-bbfab1dd2fb8\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "$relationshipId": "RoomToFloorRelationship", - "$etag": "4899386a-2f5a-44b8-a68b-4880e0bdf949", + "$etag": "af3d3872-6e0e-4d3b-acbe-bbfab1dd2fb8", "$sourceId": "roomTwin117216468", "$relationshipName": "containedIn", "$targetId": "floorTwin1623788387" } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1623788387/relationships/FloorToRoomRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1623788387/relationships/FloorToRoomRelationship?api-version=2020-05-31-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Authorization": "Sanitized", "Content-Length": "60", "Content-Type": "application/json-patch\u002Bjson; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "689c709f64829b0c6349060214b8d301", @@ -617,19 +478,19 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:03 GMT", - "ETag": "W/\u00224ffd7fce-7650-4829-83e4-91abacc3e4e2\u0022", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", + "ETag": "W/\u0022edc126ec-0551-4f5e-9b51-f252e18b35f1\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1623788387/relationships/FloorToRoomRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1623788387/relationships/FloorToRoomRelationship?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "25653d307bad2b593cb72653f0342ca5", @@ -640,13 +501,13 @@ "ResponseHeaders": { "Content-Length": "216", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", - "ETag": "W/\u00224ffd7fce-7650-4829-83e4-91abacc3e4e2\u0022", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", + "ETag": "W/\u0022edc126ec-0551-4f5e-9b51-f252e18b35f1\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "$relationshipId": "FloorToRoomRelationship", - "$etag": "4ffd7fce-7650-4829-83e4-91abacc3e4e2", + "$etag": "edc126ec-0551-4f5e-9b51-f252e18b35f1", "$sourceId": "floorTwin1623788387", "$relationshipName": "contains", "$targetId": "roomTwin117216468", @@ -654,12 +515,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1623788387/incomingrelationships?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1623788387/incomingrelationships?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "bec8dcf129191b82e9a4bde1f301412b", @@ -670,7 +531,7 @@ "ResponseHeaders": { "Content-Length": "493", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -692,12 +553,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1623788387/relationships?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1623788387/relationships?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "18f68fb0d053244d17702cca3db9aa2e", @@ -708,7 +569,7 @@ "ResponseHeaders": { "Content-Length": "435", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -716,14 +577,14 @@ "value": [ { "$relationshipId": "FloorToHvacRelationship", - "$etag": "ec6f45bb-42cd-4414-a408-cb20a8fb9a2f", + "$etag": "1783a8fe-e358-4d20-b2da-03a0ebca95a2", "$sourceId": "floorTwin1623788387", "$relationshipName": "cooledBy", "$targetId": "hvacTwin1855785351" }, { "$relationshipId": "FloorToRoomRelationship", - "$etag": "4ffd7fce-7650-4829-83e4-91abacc3e4e2", + "$etag": "edc126ec-0551-4f5e-9b51-f252e18b35f1", "$sourceId": "floorTwin1623788387", "$relationshipName": "contains", "$targetId": "roomTwin117216468", @@ -733,12 +594,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin117216468/relationships?relationshipName=containedIn\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin117216468/relationships?relationshipName=containedIn\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "3711611c14ef07e8ba493b08bd77383a", @@ -749,7 +610,7 @@ "ResponseHeaders": { "Content-Length": "220", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -757,7 +618,7 @@ "value": [ { "$relationshipId": "RoomToFloorRelationship", - "$etag": "4899386a-2f5a-44b8-a68b-4880e0bdf949", + "$etag": "af3d3872-6e0e-4d3b-acbe-bbfab1dd2fb8", "$sourceId": "roomTwin117216468", "$relationshipName": "containedIn", "$targetId": "floorTwin1623788387" @@ -766,12 +627,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1623788387/relationships/FloorToRoomRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1623788387/relationships/FloorToRoomRelationship?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "61a2fb76143e20528ea3a7a8fdb8de30", @@ -781,18 +642,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin117216468/relationships/RoomToFloorRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin117216468/relationships/RoomToFloorRelationship?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "92c48ff909ef9c3ba6ef5d099445679f", @@ -802,18 +663,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1623788387/relationships/FloorToHvacRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1623788387/relationships/FloorToHvacRelationship?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "4154f138491608f00ef1a84b6c400a02", @@ -823,18 +684,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/hvacTwin1855785351/relationships/HvacToFloorRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/hvacTwin1855785351/relationships/HvacToFloorRelationship?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "2e0f0b6ba6b26c4bc006ba4fb6488b49", @@ -844,18 +705,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1623788387/relationships/FloorToRoomRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1623788387/relationships/FloorToRoomRelationship?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "0b70083c9c63b0199ebc83fe60ef2f66", @@ -866,7 +727,7 @@ "ResponseHeaders": { "Content-Length": "310", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -877,12 +738,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin117216468/relationships/RoomToFloorRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin117216468/relationships/RoomToFloorRelationship?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "899e5ae4383691eca5e781108fa051c5", @@ -893,7 +754,7 @@ "ResponseHeaders": { "Content-Length": "308", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -904,12 +765,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1623788387/relationships/FloorToHvacRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1623788387/relationships/FloorToHvacRelationship?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "640f5f65fecfce9ff15e8ff6234d0bd0", @@ -920,7 +781,7 @@ "ResponseHeaders": { "Content-Length": "310", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -931,12 +792,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/hvacTwin1855785351/relationships/HvacToFloorRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/hvacTwin1855785351/relationships/HvacToFloorRelationship?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "5c6a53d601aa03131bde657c1b0920fe", @@ -947,7 +808,7 @@ "ResponseHeaders": { "Content-Length": "309", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -958,12 +819,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1623788387?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1623788387?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "0198bd6acbe0e696bbd098d7a9f66e58", @@ -973,18 +834,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin117216468?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin117216468?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "3b39b0dbf436631b4b0b49f09823b2e7", @@ -994,18 +855,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/hvacTwin1855785351?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/hvacTwin1855785351?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "658c913e0ab50bf0bc84a1da693c5a24", @@ -1015,18 +876,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Ahvac%3B165750186?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Ahvac%3B165750186?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "6ba00d70e4cf75c8a234b6d482a54d97", @@ -1036,18 +897,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:05 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Afloor%3B11806305?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Afloor%3B11806305?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "1898b01d086ad1a2bf2e7fb15341fa0f", @@ -1057,18 +918,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:05 GMT", + "Date": "Tue, 02 Jun 2020 19:05:07 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Aroom%3B117517802?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Aroom%3B117517802?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "8b8024b147825918c916c380541c8916", @@ -1078,14 +939,14 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:05 GMT", + "Date": "Tue, 02 Jun 2020 19:05:07 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "214608102" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinRelationshipTests/Relationships_LifecycleAsync.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinRelationshipTests/Relationships_LifecycleAsync.json index 29efc55d58847..884a43162eda0 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinRelationshipTests/Relationships_LifecycleAsync.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinRelationshipTests/Relationships_LifecycleAsync.json @@ -1,12 +1,12 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Afloor%3B11482285?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Afloor%3B11482285?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "a9d570772c2c6e5ecbf24132555affea", @@ -17,7 +17,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:58 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -28,12 +28,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Aroom%3B147749854?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Aroom%3B147749854?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "b184c41cdbf5633d053f3170418f7210", @@ -44,7 +44,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -55,12 +55,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/dtmi%3Aexample%3Ahvac%3B193418897?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/dtmi%3Aexample%3Ahvac%3B193418897?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "62b8dd9a4ddcf4c29cf56e881a807c76", @@ -71,7 +71,7 @@ "ResponseHeaders": { "Content-Length": "280", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -82,12 +82,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1499886993?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1499886993?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "1a79b0ef9481469726ec2dfd8963cf21", @@ -98,7 +98,7 @@ "ResponseHeaders": { "Content-Length": "272", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -109,12 +109,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin561001639?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin561001639?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "513121bf773fbdc258e6cedaebbfb4fa", @@ -125,7 +125,7 @@ "ResponseHeaders": { "Content-Length": "270", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:58 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -136,12 +136,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/hvacTwin637620656?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/hvacTwin637620656?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "9396c1a048181c21b66094f713929f66", @@ -152,7 +152,7 @@ "ResponseHeaders": { "Content-Length": "270", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -163,155 +163,55 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models?api-version=2020-05-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "2492", + "Content-Length": "2310", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "445bc073af40b7395d29aec86b3b2d79", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "[{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:floor;11482285\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022,\r\n", - " \u0022displayName\u0022: \u0022Floor\u0022,\r\n", - " \u0022description\u0022: \u0022A building story.\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022contains\u0022,\r\n", - " \u0022target\u0022: \u0022dtmi:example:room;147749854\u0022,\r\n", - " \u0022properties\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022isAccessRestricted\u0022,\r\n", - " \u0022schema\u0022: \u0022boolean\u0022\r\n", - " }\r\n", - " ]\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022cooledBy\u0022,\r\n", - " \u0022target\u0022: \u0022dtmi:example:hvac;193418897\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022AverageTemperature\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " }\r\n", - " ]\r\n", - "},{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:room;147749854\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022displayName\u0022: \u0022Room\u0022,\r\n", - " \u0022description\u0022: \u0022An enclosure inside a building.\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022containedIn\u0022,\r\n", - " \u0022target\u0022: \u0022dtmi:example:floor;11482285\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022Temperature\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022Humidity\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022IsOccupied\u0022,\r\n", - " \u0022schema\u0022: \u0022boolean\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022EmployeeId\u0022,\r\n", - " \u0022schema\u0022: \u0022string\u0022\r\n", - " }\r\n", - " ],\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022\r\n", - "},{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:hvac;193418897\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022displayName\u0022: \u0022HVAC\u0022,\r\n", - " \u0022description\u0022: \u0022A heating, ventilation, and air conditioning unit.\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022Efficiency\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022TargetTemperature\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022TargetHumidity\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022cools\u0022,\r\n", - " \u0022target\u0022: \u0022dtmi:example:floor;11482285\u0022\r\n", - " }\r\n", - " ],\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022\r\n", - "}]" - ], + "RequestBody": "[{ \u0022@id\u0022: \u0022dtmi:example:floor;11482285\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022, \u0022displayName\u0022: \u0022Floor\u0022, \u0022description\u0022: \u0022A building story.\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022contains\u0022, \u0022target\u0022: \u0022dtmi:example:room;147749854\u0022, \u0022properties\u0022: [ { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022isAccessRestricted\u0022, \u0022schema\u0022: \u0022boolean\u0022 } ] }, { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022cooledBy\u0022, \u0022target\u0022: \u0022dtmi:example:hvac;193418897\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022AverageTemperature\u0022, \u0022schema\u0022: \u0022double\u0022 } ]},{ \u0022@id\u0022: \u0022dtmi:example:room;147749854\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022displayName\u0022: \u0022Room\u0022, \u0022description\u0022: \u0022An enclosure inside a building.\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022containedIn\u0022, \u0022target\u0022: \u0022dtmi:example:floor;11482285\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022Temperature\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022Humidity\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022IsOccupied\u0022, \u0022schema\u0022: \u0022boolean\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022EmployeeId\u0022, \u0022schema\u0022: \u0022string\u0022 } ], \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022},{ \u0022@id\u0022: \u0022dtmi:example:hvac;193418897\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022displayName\u0022: \u0022HVAC\u0022, \u0022description\u0022: \u0022A heating, ventilation, and air conditioning unit.\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022Efficiency\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022TargetTemperature\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022TargetHumidity\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022cools\u0022, \u0022target\u0022: \u0022dtmi:example:floor;11482285\u0022 } ], \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022}]", "StatusCode": 201, "ResponseHeaders": { - "Content-Length": "581", + "Content-Length": "583", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", "Strict-Transport-Security": "max-age=2592000" }, - "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:floor;11482285\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A building story.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Floor\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:00.2095615\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:room;147749854\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022An enclosure inside a building.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Room\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:00.2097091\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:hvac;193418897\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A heating, ventilation, and air conditioning unit.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022HVAC\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:00.20983\u002B00:00\u0022}]" + "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:floor;11482285\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A building story.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Floor\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:04.8079383\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:room;147749854\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022An enclosure inside a building.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Room\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:04.8080608\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:hvac;193418897\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A heating, ventilation, and air conditioning unit.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022HVAC\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:04.8081746\u002B00:00\u0022}]" }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1499886993?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1499886993?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "101", + "Content-Length": "91", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "0dc2d902138ad8a7103589162dc54553", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "{\r\n", - " \u0022$metadata\u0022: {\r\n", - " \u0022$model\u0022: \u0022dtmi:example:floor;11482285\u0022\r\n", - " },\r\n", - " \u0022AverageTemperature\u0022: 75\r\n", - "}" - ], + "RequestBody": "{ \u0022$metadata\u0022: { \u0022$model\u0022: \u0022dtmi:example:floor;11482285\u0022 }, \u0022AverageTemperature\u0022: 75}", "StatusCode": 200, "ResponseHeaders": { "Content-Length": "273", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:00 GMT", - "ETag": "W/\u00223a71b335-cd4d-418d-9f96-3bca6ec660e6\u0022", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", + "ETag": "W/\u0022fafa8226-8f2f-4303-9c39-daf8590e3f88\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "$dtId": "floorTwin1499886993", - "$etag": "3a71b335-cd4d-418d-9f96-3bca6ec660e6", + "$etag": "fafa8226-8f2f-4303-9c39-daf8590e3f88", "AverageTemperature": 75, "$metadata": { "$model": "dtmi:example:floor;11482285", @@ -326,41 +226,31 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin561001639?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin561001639?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "166", + "Content-Length": "150", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "ff78742fb659f17087df35ee9a58b07b", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "{\r\n", - " \u0022$metadata\u0022: {\r\n", - " \u0022$model\u0022: \u0022dtmi:example:room;147749854\u0022\r\n", - " },\r\n", - " \u0022Temperature\u0022: 80,\r\n", - " \u0022Humidity\u0022: 25,\r\n", - " \u0022IsOccupied\u0022: true,\r\n", - " \u0022EmployeeId\u0022: \u0022Employee1\u0022\r\n", - "}" - ], + "RequestBody": "{ \u0022$metadata\u0022: { \u0022$model\u0022: \u0022dtmi:example:room;147749854\u0022 }, \u0022Temperature\u0022: 80, \u0022Humidity\u0022: 25, \u0022IsOccupied\u0022: true, \u0022EmployeeId\u0022: \u0022Employee1\u0022}", "StatusCode": 200, "ResponseHeaders": { "Content-Length": "653", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:01 GMT", - "ETag": "W/\u002242146cc2-2194-443d-8d46-8a2164f8277a\u0022", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", + "ETag": "W/\u00229b2a448b-eaf4-4af8-b435-c7f448d3d069\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "$dtId": "roomTwin561001639", - "$etag": "42146cc2-2194-443d-8d46-8a2164f8277a", + "$etag": "9b2a448b-eaf4-4af8-b435-c7f448d3d069", "Temperature": 80, "Humidity": 25, "IsOccupied": true, @@ -399,39 +289,31 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/hvacTwin637620656?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/hvacTwin637620656?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "125", + "Content-Length": "113", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "39f41a3392cf5fdb1882340a25238998", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "{\r\n", - " \u0022$metadata\u0022: {\r\n", - " \u0022$model\u0022: \u0022dtmi:example:hvac;193418897\u0022\r\n", - " },\r\n", - " \u0022TargetTemperature\u0022: 80,\r\n", - " \u0022TargetHumidity\u0022: 25\r\n", - "}" - ], + "RequestBody": "{ \u0022$metadata\u0022: { \u0022$model\u0022: \u0022dtmi:example:hvac;193418897\u0022 }, \u0022TargetTemperature\u0022: 80, \u0022TargetHumidity\u0022: 25}", "StatusCode": 200, "ResponseHeaders": { "Content-Length": "403", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:01 GMT", - "ETag": "W/\u00221b260301-bdea-44fd-aa35-7d3319ac2825\u0022", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", + "ETag": "W/\u00222bf711aa-f169-43a6-86ee-6fb80f9e22bb\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "$dtId": "hvacTwin637620656", - "$etag": "1b260301-bdea-44fd-aa35-7d3319ac2825", + "$etag": "2bf711aa-f169-43a6-86ee-6fb80f9e22bb", "TargetTemperature": 80, "TargetHumidity": 25, "$metadata": { @@ -454,37 +336,31 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1499886993/relationships/FloorToRoomRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1499886993/relationships/FloorToRoomRelationship?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "116", + "Content-Length": "108", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "f7995ae42ec24c2069d185abdeb83eb8", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "{\r\n", - " \u0022$targetId\u0022: \u0022roomTwin561001639\u0022,\r\n", - " \u0022$relationshipName\u0022: \u0022contains\u0022,\r\n", - " \u0022isAccessRestricted\u0022: true\r\n", - "}" - ], + "RequestBody": "{ \u0022$targetId\u0022: \u0022roomTwin561001639\u0022, \u0022$relationshipName\u0022: \u0022contains\u0022, \u0022isAccessRestricted\u0022: true}", "StatusCode": 200, "ResponseHeaders": { "Content-Length": "215", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:02 GMT", - "ETag": "W/\u00223210d196-780b-46d4-946e-f870fa30b9f5\u0022", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", + "ETag": "W/\u0022a18654be-51e9-498a-8919-f156266c2d24\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "$relationshipId": "FloorToRoomRelationship", - "$etag": "3210d196-780b-46d4-946e-f870fa30b9f5", + "$etag": "a18654be-51e9-498a-8919-f156266c2d24", "$sourceId": "floorTwin1499886993", "$relationshipName": "contains", "$targetId": "roomTwin561001639", @@ -492,122 +368,107 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1499886993/relationships/FloorToHvacRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1499886993/relationships/FloorToHvacRelationship?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "82", + "Content-Length": "76", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "12e30e840bd19c839819e6d68265cb64", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "{\r\n", - " \u0022$targetId\u0022: \u0022hvacTwin637620656\u0022,\r\n", - " \u0022$relationshipName\u0022: \u0022cooledBy\u0022\r\n", - "}" - ], + "RequestBody": "{ \u0022$targetId\u0022: \u0022hvacTwin637620656\u0022, \u0022$relationshipName\u0022: \u0022cooledBy\u0022}", "StatusCode": 200, "ResponseHeaders": { "Content-Length": "189", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:02 GMT", - "ETag": "W/\u0022165d5cad-01f0-4a26-9da1-1a2dd84efece\u0022", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", + "ETag": "W/\u002278d01484-4611-499a-babc-4af4fda7c9d3\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "$relationshipId": "FloorToHvacRelationship", - "$etag": "165d5cad-01f0-4a26-9da1-1a2dd84efece", + "$etag": "78d01484-4611-499a-babc-4af4fda7c9d3", "$sourceId": "floorTwin1499886993", "$relationshipName": "cooledBy", "$targetId": "hvacTwin637620656" } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/hvacTwin637620656/relationships/HvacToFloorRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/hvacTwin637620656/relationships/HvacToFloorRelationship?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "81", + "Content-Length": "75", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "3f0a9d55b9be05b8faa7d0fe0c2f8060", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "{\r\n", - " \u0022$targetId\u0022: \u0022floorTwin1499886993\u0022,\r\n", - " \u0022$relationshipName\u0022: \u0022cools\u0022\r\n", - "}" - ], + "RequestBody": "{ \u0022$targetId\u0022: \u0022floorTwin1499886993\u0022, \u0022$relationshipName\u0022: \u0022cools\u0022}", "StatusCode": 200, "ResponseHeaders": { "Content-Length": "186", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:02 GMT", - "ETag": "W/\u0022220fa867-fa1f-4a80-91ce-e4226b527d82\u0022", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", + "ETag": "W/\u0022b157866a-e103-4930-901f-884256f5b615\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "$relationshipId": "HvacToFloorRelationship", - "$etag": "220fa867-fa1f-4a80-91ce-e4226b527d82", + "$etag": "b157866a-e103-4930-901f-884256f5b615", "$sourceId": "hvacTwin637620656", "$relationshipName": "cools", "$targetId": "floorTwin1499886993" } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin561001639/relationships/RoomToFloorRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin561001639/relationships/RoomToFloorRelationship?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "87", + "Content-Length": "81", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "16867b43763fd8c6d6fc5ea94749ca04", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "{\r\n", - " \u0022$targetId\u0022: \u0022floorTwin1499886993\u0022,\r\n", - " \u0022$relationshipName\u0022: \u0022containedIn\u0022\r\n", - "}" - ], + "RequestBody": "{ \u0022$targetId\u0022: \u0022floorTwin1499886993\u0022, \u0022$relationshipName\u0022: \u0022containedIn\u0022}", "StatusCode": 200, "ResponseHeaders": { "Content-Length": "192", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", - "ETag": "W/\u00220631d09e-5618-48a8-9818-16becc442aa1\u0022", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", + "ETag": "W/\u002220dd7c78-08f6-47a2-ae4e-b2c637486f8a\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "$relationshipId": "RoomToFloorRelationship", - "$etag": "0631d09e-5618-48a8-9818-16becc442aa1", + "$etag": "20dd7c78-08f6-47a2-ae4e-b2c637486f8a", "$sourceId": "roomTwin561001639", "$relationshipName": "containedIn", "$targetId": "floorTwin1499886993" } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1499886993/relationships/FloorToRoomRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1499886993/relationships/FloorToRoomRelationship?api-version=2020-05-31-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Authorization": "Sanitized", "Content-Length": "60", "Content-Type": "application/json-patch\u002Bjson; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "40562106feadcbf956dd182a3b859068", @@ -617,19 +478,19 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:03 GMT", - "ETag": "W/\u002278008e4d-b15d-48f4-a528-c020ed354195\u0022", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", + "ETag": "W/\u00220314ec4d-3468-47e9-be08-386261130176\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1499886993/relationships/FloorToRoomRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1499886993/relationships/FloorToRoomRelationship?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "06938598b5dede24d73269c15a0ebdb1", @@ -640,13 +501,13 @@ "ResponseHeaders": { "Content-Length": "216", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", - "ETag": "W/\u002278008e4d-b15d-48f4-a528-c020ed354195\u0022", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", + "ETag": "W/\u00220314ec4d-3468-47e9-be08-386261130176\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "$relationshipId": "FloorToRoomRelationship", - "$etag": "78008e4d-b15d-48f4-a528-c020ed354195", + "$etag": "0314ec4d-3468-47e9-be08-386261130176", "$sourceId": "floorTwin1499886993", "$relationshipName": "contains", "$targetId": "roomTwin561001639", @@ -654,12 +515,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1499886993/incomingrelationships?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1499886993/incomingrelationships?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "eaf7cbdc3fd945b282babf625e9b9c51", @@ -670,7 +531,7 @@ "ResponseHeaders": { "Content-Length": "491", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -692,12 +553,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1499886993/relationships?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1499886993/relationships?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "c111f56cc4b65025fc77697b95387047", @@ -708,7 +569,7 @@ "ResponseHeaders": { "Content-Length": "434", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -716,14 +577,14 @@ "value": [ { "$relationshipId": "FloorToHvacRelationship", - "$etag": "165d5cad-01f0-4a26-9da1-1a2dd84efece", + "$etag": "78d01484-4611-499a-babc-4af4fda7c9d3", "$sourceId": "floorTwin1499886993", "$relationshipName": "cooledBy", "$targetId": "hvacTwin637620656" }, { "$relationshipId": "FloorToRoomRelationship", - "$etag": "78008e4d-b15d-48f4-a528-c020ed354195", + "$etag": "0314ec4d-3468-47e9-be08-386261130176", "$sourceId": "floorTwin1499886993", "$relationshipName": "contains", "$targetId": "roomTwin561001639", @@ -733,12 +594,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin561001639/relationships?relationshipName=containedIn\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin561001639/relationships?relationshipName=containedIn\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "6f4e6720a58d588fd24d8424f5c2803b", @@ -749,7 +610,7 @@ "ResponseHeaders": { "Content-Length": "220", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -757,7 +618,7 @@ "value": [ { "$relationshipId": "RoomToFloorRelationship", - "$etag": "0631d09e-5618-48a8-9818-16becc442aa1", + "$etag": "20dd7c78-08f6-47a2-ae4e-b2c637486f8a", "$sourceId": "roomTwin561001639", "$relationshipName": "containedIn", "$targetId": "floorTwin1499886993" @@ -766,12 +627,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1499886993/relationships/FloorToRoomRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1499886993/relationships/FloorToRoomRelationship?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "65551795fbfd17faa6a7ee62d637af49", @@ -781,18 +642,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin561001639/relationships/RoomToFloorRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin561001639/relationships/RoomToFloorRelationship?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "f741784a2d4dc6c366b8ef6840015b39", @@ -802,18 +663,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1499886993/relationships/FloorToHvacRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1499886993/relationships/FloorToHvacRelationship?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "7de62ef60be224496c36c9e6b72c829b", @@ -823,18 +684,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/hvacTwin637620656/relationships/HvacToFloorRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/hvacTwin637620656/relationships/HvacToFloorRelationship?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "7cda3a9d898067ed548ffe450c92d7a5", @@ -844,18 +705,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1499886993/relationships/FloorToRoomRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1499886993/relationships/FloorToRoomRelationship?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "a86bb44b32513e672e1d8a1764dc0e3a", @@ -866,7 +727,7 @@ "ResponseHeaders": { "Content-Length": "310", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -877,12 +738,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin561001639/relationships/RoomToFloorRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin561001639/relationships/RoomToFloorRelationship?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "06ca5336de276db8407e28530c0417d9", @@ -893,7 +754,7 @@ "ResponseHeaders": { "Content-Length": "308", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -904,12 +765,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1499886993/relationships/FloorToHvacRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1499886993/relationships/FloorToHvacRelationship?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "029b235ed9c06b49d39b4e63fed60378", @@ -920,7 +781,7 @@ "ResponseHeaders": { "Content-Length": "310", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -931,12 +792,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/hvacTwin637620656/relationships/HvacToFloorRelationship?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/hvacTwin637620656/relationships/HvacToFloorRelationship?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "b80ec480d1c76c7efbfe68d30914322a", @@ -947,7 +808,7 @@ "ResponseHeaders": { "Content-Length": "308", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -958,12 +819,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/floorTwin1499886993?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/floorTwin1499886993?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "40b8b0050c405c79095f338c90556e69", @@ -973,60 +834,60 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin561001639?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/hvacTwin637620656?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], - "x-ms-client-request-id": "47d2b07a5ef58d12a52f06c1717661bf", + "x-ms-client-request-id": "4d5e2368c31d74374ab2af689ef2dba6", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/hvacTwin637620656?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin561001639?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], - "x-ms-client-request-id": "4d5e2368c31d74374ab2af689ef2dba6", + "x-ms-client-request-id": "47d2b07a5ef58d12a52f06c1717661bf", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Aroom%3B147749854?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Aroom%3B147749854?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "73326053081d7e7deeb8aef227256e92", @@ -1036,18 +897,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:07 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Ahvac%3B193418897?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Ahvac%3B193418897?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "5958fe8fea41a6349e2b9b1105b8ea93", @@ -1057,18 +918,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:07 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Afloor%3B11482285?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Afloor%3B11482285?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "6c2374fd21f6b74b785efd42afa9efb3", @@ -1078,14 +939,14 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "683343334" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_IncorrectCredentials_ThrowsUnauthorizedException.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_IncorrectCredentials_ThrowsUnauthorizedException.json index d7c70b90deebd..dd9bd986474c0 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_IncorrectCredentials_ThrowsUnauthorizedException.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_IncorrectCredentials_ThrowsUnauthorizedException.json @@ -1,12 +1,12 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/someNonExistantTwin?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/someNonExistantTwin?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "e4372e3f473b4caa28d4cf53148eff97", @@ -17,13 +17,13 @@ "ResponseHeaders": { "Content-Length": "48", "Content-Type": "application/json", - "Date": "Fri, 29 May 2020 22:26:56 GMT" + "Date": "Tue, 02 Jun 2020 19:05:02 GMT" }, "ResponseBody": "{ \u0022statusCode\u0022: 401, \u0022message\u0022: \u0022Unauthorized\u0022 }" } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "1966632250" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_IncorrectCredentials_ThrowsUnauthorizedExceptionAsync.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_IncorrectCredentials_ThrowsUnauthorizedExceptionAsync.json index 9b759b7c1e94f..1246b061001e0 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_IncorrectCredentials_ThrowsUnauthorizedExceptionAsync.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_IncorrectCredentials_ThrowsUnauthorizedExceptionAsync.json @@ -1,12 +1,12 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/someNonExistantTwin?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/someNonExistantTwin?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "a7b06336ce18468364aa2a2b9c7de619", @@ -17,13 +17,13 @@ "ResponseHeaders": { "Content-Length": "48", "Content-Type": "application/json", - "Date": "Fri, 29 May 2020 22:26:57 GMT" + "Date": "Tue, 02 Jun 2020 19:05:02 GMT" }, "ResponseBody": "{ \u0022statusCode\u0022: 401, \u0022message\u0022: \u0022Unauthorized\u0022 }" } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "1650273333" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_Lifecycle.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_Lifecycle.json index 2bc24f656ebc7..2e84f24b6dab9 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_Lifecycle.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_Lifecycle.json @@ -1,12 +1,12 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin1292386624?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin1292386624?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "cc833d55fdc242f202819c53e328694a", @@ -17,7 +17,7 @@ "ResponseHeaders": { "Content-Length": "271", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:58 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -28,12 +28,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Afloor%3B11991704?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Afloor%3B11991704?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "77d2c6eff1fe123f19b9f5b3df8788da", @@ -44,7 +44,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:58 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -55,12 +55,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Aroom%3B115359225?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Aroom%3B115359225?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "6f6dcaaf8a593513285ccb4d45da3cd5", @@ -71,7 +71,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -82,100 +82,55 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models?api-version=2020-05-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "870", + "Content-Length": "804", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "19d1e09c56c9444bbaa943fd8f22fa14", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "[{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:room;115359225\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022displayName\u0022: \u0022Room\u0022,\r\n", - " \u0022description\u0022: \u0022An enclosure inside a building.\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022containedIn\u0022,\r\n", - " \u0022target\u0022: \u0022dtmi:example:floor;11991704\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022Temperature\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022Humidity\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022IsOccupied\u0022,\r\n", - " \u0022schema\u0022: \u0022boolean\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022EmployeeId\u0022,\r\n", - " \u0022schema\u0022: \u0022string\u0022\r\n", - " }\r\n", - " ],\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022\r\n", - "}]" - ], + "RequestBody": "[{ \u0022@id\u0022: \u0022dtmi:example:room;115359225\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022displayName\u0022: \u0022Room\u0022, \u0022description\u0022: \u0022An enclosure inside a building.\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022containedIn\u0022, \u0022target\u0022: \u0022dtmi:example:floor;11991704\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022Temperature\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022Humidity\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022IsOccupied\u0022, \u0022schema\u0022: \u0022boolean\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022EmployeeId\u0022, \u0022schema\u0022: \u0022string\u0022 } ], \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022}]", "StatusCode": 201, "ResponseHeaders": { "Content-Length": "193", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", "Strict-Transport-Security": "max-age=2592000" }, - "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:room;115359225\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022An enclosure inside a building.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Room\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:00.2985446\u002B00:00\u0022}]" + "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:room;115359225\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022An enclosure inside a building.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Room\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:05.1963235\u002B00:00\u0022}]" }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin1292386624?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin1292386624?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "166", + "Content-Length": "150", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "9e787c78f7dd3b96bf41d59574c5d4de", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "{\r\n", - " \u0022$metadata\u0022: {\r\n", - " \u0022$model\u0022: \u0022dtmi:example:room;115359225\u0022\r\n", - " },\r\n", - " \u0022Temperature\u0022: 80,\r\n", - " \u0022Humidity\u0022: 25,\r\n", - " \u0022IsOccupied\u0022: true,\r\n", - " \u0022EmployeeId\u0022: \u0022Employee1\u0022\r\n", - "}" - ], + "RequestBody": "{ \u0022$metadata\u0022: { \u0022$model\u0022: \u0022dtmi:example:room;115359225\u0022 }, \u0022Temperature\u0022: 80, \u0022Humidity\u0022: 25, \u0022IsOccupied\u0022: true, \u0022EmployeeId\u0022: \u0022Employee1\u0022}", "StatusCode": 200, "ResponseHeaders": { "Content-Length": "654", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:00 GMT", - "ETag": "W/\u0022a2e78aa3-3592-4893-b226-f519fa6ad025\u0022", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", + "ETag": "W/\u002203a962f4-261d-47c5-9111-9171bc2549b5\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "$dtId": "roomTwin1292386624", - "$etag": "a2e78aa3-3592-4893-b226-f519fa6ad025", + "$etag": "03a962f4-261d-47c5-9111-9171bc2549b5", "Temperature": 80, "Humidity": 25, "IsOccupied": true, @@ -214,12 +169,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin1292386624?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin1292386624?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "a743deb8c1b7589e7e29b5b04716a505", @@ -230,13 +185,13 @@ "ResponseHeaders": { "Content-Length": "654", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:00 GMT", - "ETag": "W/\u0022a2e78aa3-3592-4893-b226-f519fa6ad025\u0022", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", + "ETag": "W/\u002203a962f4-261d-47c5-9111-9171bc2549b5\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "$dtId": "roomTwin1292386624", - "$etag": "a2e78aa3-3592-4893-b226-f519fa6ad025", + "$etag": "03a962f4-261d-47c5-9111-9171bc2549b5", "Temperature": 80, "Humidity": 25, "IsOccupied": true, @@ -275,14 +230,14 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin1292386624?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin1292386624?api-version=2020-05-31-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Authorization": "Sanitized", "Content-Length": "131", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "c9d4b6619e62a5f74a95598780b6cff5", @@ -292,19 +247,19 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:00 GMT", - "ETag": "W/\u00224aa468b0-06e2-4954-94b3-c1714be1d70b\u0022", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", + "ETag": "W/\u00225c5b23a8-9f1a-42f1-a330-517a00141c83\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin1292386624?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin1292386624?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "b14464d552dfb75ddd201fb441e6f4a9", @@ -314,18 +269,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:00 GMT", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin1292386624?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin1292386624?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "bd33d09b0bf0197ce69d5d216816d7c8", @@ -336,7 +291,7 @@ "ResponseHeaders": { "Content-Length": "271", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:00 GMT", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -347,12 +302,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Aroom%3B115359225?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Aroom%3B115359225?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "e2dac059f4d10f25591deb417f426364", @@ -362,14 +317,14 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:01 GMT", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "972541820" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_LifecycleAsync.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_LifecycleAsync.json index 35e1c679dd74d..4d7ea1952a8ce 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_LifecycleAsync.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_LifecycleAsync.json @@ -1,12 +1,12 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin516462851?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin516462851?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "f5024f49bbc56e357098d6637c6de54e", @@ -17,7 +17,7 @@ "ResponseHeaders": { "Content-Length": "270", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:58 GMT", + "Date": "Tue, 02 Jun 2020 19:05:02 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -28,12 +28,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Afloor%3B15382106?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Afloor%3B15382106?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "35a5ebe86527dd37f6d3e6de0d0c414a", @@ -44,7 +44,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:58 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -55,12 +55,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Aroom%3B115537104?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Aroom%3B115537104?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "df9b835336eadaae55a8dd2ecb0b0d19", @@ -71,7 +71,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -82,100 +82,55 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models?api-version=2020-05-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "870", + "Content-Length": "804", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "7071111d22cdcaea17cfe74f90628c95", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "[{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:room;115537104\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022displayName\u0022: \u0022Room\u0022,\r\n", - " \u0022description\u0022: \u0022An enclosure inside a building.\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022containedIn\u0022,\r\n", - " \u0022target\u0022: \u0022dtmi:example:floor;15382106\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022Temperature\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022Humidity\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022IsOccupied\u0022,\r\n", - " \u0022schema\u0022: \u0022boolean\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022EmployeeId\u0022,\r\n", - " \u0022schema\u0022: \u0022string\u0022\r\n", - " }\r\n", - " ],\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022\r\n", - "}]" - ], + "RequestBody": "[{ \u0022@id\u0022: \u0022dtmi:example:room;115537104\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022displayName\u0022: \u0022Room\u0022, \u0022description\u0022: \u0022An enclosure inside a building.\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022containedIn\u0022, \u0022target\u0022: \u0022dtmi:example:floor;15382106\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022Temperature\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022Humidity\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022IsOccupied\u0022, \u0022schema\u0022: \u0022boolean\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022EmployeeId\u0022, \u0022schema\u0022: \u0022string\u0022 } ], \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022}]", "StatusCode": 201, "ResponseHeaders": { "Content-Length": "193", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", "Strict-Transport-Security": "max-age=2592000" }, - "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:room;115537104\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022An enclosure inside a building.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Room\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:26:59.9587367\u002B00:00\u0022}]" + "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:room;115537104\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022An enclosure inside a building.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Room\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:04.8850892\u002B00:00\u0022}]" }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin516462851?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin516462851?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "166", + "Content-Length": "150", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "621a10188cb2b5fef75ad1bc59af2ac8", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "{\r\n", - " \u0022$metadata\u0022: {\r\n", - " \u0022$model\u0022: \u0022dtmi:example:room;115537104\u0022\r\n", - " },\r\n", - " \u0022Temperature\u0022: 80,\r\n", - " \u0022Humidity\u0022: 25,\r\n", - " \u0022IsOccupied\u0022: true,\r\n", - " \u0022EmployeeId\u0022: \u0022Employee1\u0022\r\n", - "}" - ], + "RequestBody": "{ \u0022$metadata\u0022: { \u0022$model\u0022: \u0022dtmi:example:room;115537104\u0022 }, \u0022Temperature\u0022: 80, \u0022Humidity\u0022: 25, \u0022IsOccupied\u0022: true, \u0022EmployeeId\u0022: \u0022Employee1\u0022}", "StatusCode": 200, "ResponseHeaders": { "Content-Length": "653", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:00 GMT", - "ETag": "W/\u0022249a1232-0005-41c6-bf37-b295e3ff46cd\u0022", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", + "ETag": "W/\u002268fbab1e-1d28-47ab-b5d1-15c595e8b3d3\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "$dtId": "roomTwin516462851", - "$etag": "249a1232-0005-41c6-bf37-b295e3ff46cd", + "$etag": "68fbab1e-1d28-47ab-b5d1-15c595e8b3d3", "Temperature": 80, "Humidity": 25, "IsOccupied": true, @@ -214,12 +169,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin516462851?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin516462851?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "faefc4d9dad0319e99d1c81b4e5f4af2", @@ -230,13 +185,13 @@ "ResponseHeaders": { "Content-Length": "653", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:00 GMT", - "ETag": "W/\u0022249a1232-0005-41c6-bf37-b295e3ff46cd\u0022", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", + "ETag": "W/\u002268fbab1e-1d28-47ab-b5d1-15c595e8b3d3\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "$dtId": "roomTwin516462851", - "$etag": "249a1232-0005-41c6-bf37-b295e3ff46cd", + "$etag": "68fbab1e-1d28-47ab-b5d1-15c595e8b3d3", "Temperature": 80, "Humidity": 25, "IsOccupied": true, @@ -275,14 +230,14 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin516462851?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin516462851?api-version=2020-05-31-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Authorization": "Sanitized", "Content-Length": "131", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "bb15481babf0906713bb7973502e7168", @@ -292,19 +247,19 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:01 GMT", - "ETag": "W/\u002201eef92f-537a-4090-95df-3de6e4542be4\u0022", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", + "ETag": "W/\u002285a59810-e4bb-4e6b-90da-0e83480b2f5e\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin516462851?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin516462851?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "cb761fa491723ec471e8c8e1c4e36697", @@ -314,18 +269,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:01 GMT", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin516462851?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin516462851?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "11a0de106f992dd75d5fe714612be06b", @@ -336,7 +291,7 @@ "ResponseHeaders": { "Content-Length": "270", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:01 GMT", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -347,12 +302,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Aroom%3B115537104?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Aroom%3B115537104?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "2f765f5f7ee88a8083d74a08e285cc30", @@ -362,14 +317,14 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:01 GMT", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "934257658" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_TwinNotExist_ThrowsNotFoundException.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_TwinNotExist_ThrowsNotFoundException.json index f394de3f0e923..a78fe9bca4dc6 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_TwinNotExist_ThrowsNotFoundException.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_TwinNotExist_ThrowsNotFoundException.json @@ -1,12 +1,12 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/someNonExistantTwin?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/someNonExistantTwin?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "3c9f99ca5ab7bbcd1d7859b690c85db7", @@ -17,7 +17,7 @@ "ResponseHeaders": { "Content-Length": "272", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:01 GMT", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -29,7 +29,7 @@ } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "1567953324" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_TwinNotExist_ThrowsNotFoundExceptionAsync.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_TwinNotExist_ThrowsNotFoundExceptionAsync.json index 37dd650c9e745..0364f4adf7cc4 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_TwinNotExist_ThrowsNotFoundExceptionAsync.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/DigitalTwinTests/DigitalTwins_TwinNotExist_ThrowsNotFoundExceptionAsync.json @@ -1,12 +1,12 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/someNonExistantTwin?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/someNonExistantTwin?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "fad80ca47d17c1fc7b50b1bdd349b138", @@ -17,7 +17,7 @@ "ResponseHeaders": { "Content-Length": "272", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:01 GMT", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -29,7 +29,7 @@ } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "221072636" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_EventRouteNotExist_ThrowsNotFoundException.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_EventRouteNotExist_ThrowsNotFoundException.json index a68192028b97b..97f94ae089369 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_EventRouteNotExist_ThrowsNotFoundException.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_EventRouteNotExist_ThrowsNotFoundException.json @@ -1,12 +1,12 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/eventroutes/someNonExistantEventRoute?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/eventroutes/someNonExistantEventRoute?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "03feab0861073c6fff6f7166ccba0ea0", @@ -17,7 +17,7 @@ "ResponseHeaders": { "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:58 GMT", + "Date": "Tue, 02 Jun 2020 19:05:02 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -29,7 +29,7 @@ } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "52822797" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_EventRouteNotExist_ThrowsNotFoundExceptionAsync.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_EventRouteNotExist_ThrowsNotFoundExceptionAsync.json index 1a4da98a7ffb2..b2a0a4abe3aa2 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_EventRouteNotExist_ThrowsNotFoundExceptionAsync.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_EventRouteNotExist_ThrowsNotFoundExceptionAsync.json @@ -1,12 +1,12 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/eventroutes/someNonExistantEventRoute?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/eventroutes/someNonExistantEventRoute?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "2bb1ad49af3bf3452b2bab08d20cb0cf", @@ -17,7 +17,7 @@ "ResponseHeaders": { "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:58 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -29,7 +29,7 @@ } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "358412986" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_Lifecycle.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_Lifecycle.json index fab4cdf4ca8eb..124bad8f88680 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_Lifecycle.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_Lifecycle.json @@ -1,14 +1,14 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/eventroutes/someEventRouteId-797503071?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/eventroutes/someEventRouteId-797503071?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", "Content-Length": "165", "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "16abfcbe11b5f66e17c9bbad777fcf8b", @@ -21,18 +21,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:26:58 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/eventroutes/someEventRouteId-797503071?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/eventroutes/someEventRouteId-797503071?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "4f6af9db0d558bcc747be7b654f7ca15", @@ -43,18 +43,18 @@ "ResponseHeaders": { "Content-Length": "179", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:58 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": "{\u0022id\u0022:\u0022someEventRouteId-797503071\u0022,\u0022endpointName\u0022:\u0022someEventHubEndpoint\u0022,\u0022filter\u0022:\u0022$eventType = \u0027DigitalTwinTelemetryMessages\u0027 or $eventType = \u0027DigitalTwinLifecycleNotification\u0027\u0022}" }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/eventroutes?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/eventroutes?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "99cdb3651444fc00a97aab5dfd54577b", @@ -65,18 +65,18 @@ "ResponseHeaders": { "Content-Length": "388", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, - "ResponseBody": "{\u0022value\u0022:[{\u0022id\u0022:\u0022someEventRouteId-2078359908\u0022,\u0022endpointName\u0022:\u0022someEventHubEndpoint\u0022,\u0022filter\u0022:\u0022$eventType = \u0027DigitalTwinTelemetryMessages\u0027 or $eventType = \u0027DigitalTwinLifecycleNotification\u0027\u0022},{\u0022id\u0022:\u0022someEventRouteId-797503071\u0022,\u0022endpointName\u0022:\u0022someEventHubEndpoint\u0022,\u0022filter\u0022:\u0022$eventType = \u0027DigitalTwinTelemetryMessages\u0027 or $eventType = \u0027DigitalTwinLifecycleNotification\u0027\u0022}],\u0022nextLink\u0022:null}" + "ResponseBody": "{\u0022value\u0022:[{\u0022id\u0022:\u0022someEventRouteId-797503071\u0022,\u0022endpointName\u0022:\u0022someEventHubEndpoint\u0022,\u0022filter\u0022:\u0022$eventType = \u0027DigitalTwinTelemetryMessages\u0027 or $eventType = \u0027DigitalTwinLifecycleNotification\u0027\u0022},{\u0022id\u0022:\u0022someEventRouteId-2078359908\u0022,\u0022endpointName\u0022:\u0022someEventHubEndpoint\u0022,\u0022filter\u0022:\u0022$eventType = \u0027DigitalTwinTelemetryMessages\u0027 or $eventType = \u0027DigitalTwinLifecycleNotification\u0027\u0022}],\u0022nextLink\u0022:null}" }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/eventroutes/someEventRouteId-797503071?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/eventroutes/someEventRouteId-797503071?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "96268a9f8244b0092f20a1392ab8a11f", @@ -86,18 +86,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/eventroutes/someEventRouteId-797503071?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/eventroutes/someEventRouteId-797503071?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "c448a6fe36b1c747f96da5db626f8d20", @@ -108,7 +108,7 @@ "ResponseHeaders": { "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -120,7 +120,7 @@ } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "1558673174" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_LifecycleAsync.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_LifecycleAsync.json index 704cccf749d60..0bfaa1003aa0e 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_LifecycleAsync.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_LifecycleAsync.json @@ -1,14 +1,14 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/eventroutes/someEventRouteId-2078359908?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/eventroutes/someEventRouteId-2078359908?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", "Content-Length": "165", "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "f6ae5985dcc767c36d7da5d5bb3b8f24", @@ -21,18 +21,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/eventroutes/someEventRouteId-2078359908?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/eventroutes/someEventRouteId-2078359908?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "67dc5fcd49815502e6d29aa01226a45c", @@ -43,18 +43,18 @@ "ResponseHeaders": { "Content-Length": "180", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": "{\u0022id\u0022:\u0022someEventRouteId-2078359908\u0022,\u0022endpointName\u0022:\u0022someEventHubEndpoint\u0022,\u0022filter\u0022:\u0022$eventType = \u0027DigitalTwinTelemetryMessages\u0027 or $eventType = \u0027DigitalTwinLifecycleNotification\u0027\u0022}" }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/eventroutes?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/eventroutes?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "ca6a29db55187c288ee32ecc4047cbf1", @@ -65,18 +65,18 @@ "ResponseHeaders": { "Content-Length": "388", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, - "ResponseBody": "{\u0022value\u0022:[{\u0022id\u0022:\u0022someEventRouteId-2078359908\u0022,\u0022endpointName\u0022:\u0022someEventHubEndpoint\u0022,\u0022filter\u0022:\u0022$eventType = \u0027DigitalTwinTelemetryMessages\u0027 or $eventType = \u0027DigitalTwinLifecycleNotification\u0027\u0022},{\u0022id\u0022:\u0022someEventRouteId-797503071\u0022,\u0022endpointName\u0022:\u0022someEventHubEndpoint\u0022,\u0022filter\u0022:\u0022$eventType = \u0027DigitalTwinTelemetryMessages\u0027 or $eventType = \u0027DigitalTwinLifecycleNotification\u0027\u0022}],\u0022nextLink\u0022:null}" + "ResponseBody": "{\u0022value\u0022:[{\u0022id\u0022:\u0022someEventRouteId-797503071\u0022,\u0022endpointName\u0022:\u0022someEventHubEndpoint\u0022,\u0022filter\u0022:\u0022$eventType = \u0027DigitalTwinTelemetryMessages\u0027 or $eventType = \u0027DigitalTwinLifecycleNotification\u0027\u0022},{\u0022id\u0022:\u0022someEventRouteId-2078359908\u0022,\u0022endpointName\u0022:\u0022someEventHubEndpoint\u0022,\u0022filter\u0022:\u0022$eventType = \u0027DigitalTwinTelemetryMessages\u0027 or $eventType = \u0027DigitalTwinLifecycleNotification\u0027\u0022}],\u0022nextLink\u0022:null}" }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/eventroutes/someEventRouteId-2078359908?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/eventroutes/someEventRouteId-2078359908?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "681ac71482a73be3565810f441235546", @@ -86,18 +86,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/eventroutes/someEventRouteId-2078359908?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/eventroutes/someEventRouteId-2078359908?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "92fa48d9c4d1780c3760d89d1b36149e", @@ -108,7 +108,7 @@ "ResponseHeaders": { "Content-Length": "222", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -120,7 +120,7 @@ } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "654054905" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_MalformedEventRouteFilter_ThrowsBadRequestException.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_MalformedEventRouteFilter_ThrowsBadRequestException.json index 6831a71cb29bc..3e7c630c47232 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_MalformedEventRouteFilter_ThrowsBadRequestException.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_MalformedEventRouteFilter_ThrowsBadRequestException.json @@ -1,14 +1,14 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/eventroutes/someEventRouteId-700335504?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/eventroutes/someEventRouteId-700335504?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", "Content-Length": "84", "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "b15051a55a24abe28928345ba9759220", @@ -22,14 +22,14 @@ "ResponseHeaders": { "Content-Length": "248", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:26:59 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": "{\u0022error\u0022:{\u0022code\u0022:\u0022EventRouteFilterInvalid\u0022,\u0022message\u0022:\u0022The provided filter is invalid. Parsing error, Line=1, Position=6, Message=Unexpected input \u0027is\u0027. See event route documentation for supported values and structure (http://aka.ms/ADTv2Routes).\u0022}}" } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "763916860" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_MalformedEventRouteFilter_ThrowsBadRequestExceptionAsync.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_MalformedEventRouteFilter_ThrowsBadRequestExceptionAsync.json index 84fd8db29bac1..955297437021e 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_MalformedEventRouteFilter_ThrowsBadRequestExceptionAsync.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/EventRouteTests/EventRoutes_MalformedEventRouteFilter_ThrowsBadRequestExceptionAsync.json @@ -1,14 +1,14 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/eventroutes/someEventRouteId-1181382281?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/eventroutes/someEventRouteId-1181382281?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", "Content-Length": "84", "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "2cf662d2a2836cccc5d62af5555f1c9a", @@ -22,14 +22,14 @@ "ResponseHeaders": { "Content-Length": "248", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:00 GMT", + "Date": "Tue, 02 Jun 2020 19:05:03 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": "{\u0022error\u0022:{\u0022code\u0022:\u0022EventRouteFilterInvalid\u0022,\u0022message\u0022:\u0022The provided filter is invalid. Parsing error, Line=1, Position=6, Message=Unexpected input \u0027is\u0027. See event route documentation for supported values and structure (http://aka.ms/ADTv2Routes).\u0022}}" } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "347938930" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/ModelData_DisplayNameAndDescription_Deserializes.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/ModelData_DisplayNameAndDescription_Deserializes.json index d79dd724b38e3..03f6b296a4fee 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/ModelData_DisplayNameAndDescription_Deserializes.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/ModelData_DisplayNameAndDescription_Deserializes.json @@ -1,112 +1,66 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3AWard%3B121159740?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3AWard%3B121159740?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "6afbb5a6dd38e3ced7b27b7ce22995a6", "x-ms-return-client-request-id": "true" }, "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Content-Length": "613", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:00 GMT", - "Strict-Transport-Security": "max-age=2592000" - }, - "ResponseBody": "{\u0022id\u0022:\u0022dtmi:example:Ward;121159740\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T20:42:42.8709519\u002B00:00\u0022,\u0022model\u0022:{\u0022@id\u0022:\u0022dtmi:example:Ward;121159740\u0022,\u0022@type\u0022:\u0022Interface\u0022,\u0022displayName\u0022:\u0022Ward\u0022,\u0022description\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022,\u0022contents\u0022:[{\u0022@type\u0022:\u0022Property\u0022,\u0022name\u0022:\u0022VisitorCount\u0022,\u0022schema\u0022:\u0022double\u0022},{\u0022@type\u0022:\u0022Property\u0022,\u0022name\u0022:\u0022HandWashPercentage\u0022,\u0022schema\u0022:\u0022double\u0022},{\u0022@type\u0022:\u0022Relationship\u0022,\u0022name\u0022:\u0022managedRooms\u0022}],\u0022@context\u0022:[\u0022dtmi:dtdl:context;2\u0022]}}" - }, - { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3AWard%3B120708472?includeModelDefinition=true\u0026api-version=2020-05-31-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Authorization": "Sanitized", - "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", - "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" - ], - "x-ms-client-request-id": "6ca626f90e2eb40042884b1a05a8839a", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, "StatusCode": 404, "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:01 GMT", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "error": { "code": "ModelNotFound", - "message": "There is no Model(s) available that matches the provided id(s) dtmi:example:Ward;120708472. Check that the Model ID provided is valid by doing a Model_List API call." + "message": "There is no Model(s) available that matches the provided id(s) dtmi:example:Ward;121159740. Check that the Model ID provided is valid by doing a Model_List API call." } } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models?api-version=2020-05-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "611", + "Content-Length": "567", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], - "x-ms-client-request-id": "4d1baca31740cb0a30ead3d258103c27", + "x-ms-client-request-id": "a626f9fc2e6c000eb442884b1a05a883", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "[{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:Ward;120708472\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022displayName\u0022: \u0022Ward\u0022,\r\n", - " \u0022description\u0022: \u0022A separate partition in a building, made of rooms and hallways.\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022VisitorCount\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022HandWashPercentage\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022managedRooms\u0022\r\n", - " }\r\n", - " ],\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022\r\n", - "}]" - ], + "RequestBody": "[{ \u0022@id\u0022: \u0022dtmi:example:Ward;121159740\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022displayName\u0022: \u0022Ward\u0022, \u0022description\u0022: \u0022A separate partition in a building, made of rooms and hallways.\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022VisitorCount\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022HandWashPercentage\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022managedRooms\u0022 } ], \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022}]", "StatusCode": 201, "ResponseHeaders": { "Content-Length": "225", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:02 GMT", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", "Strict-Transport-Security": "max-age=2592000" }, - "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:Ward;120708472\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:02.0693692\u002B00:00\u0022}]" + "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:Ward;121159740\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:05.8234553\u002B00:00\u0022}]" }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3AWard%3B120708472?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3AWard%3B121159740?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], - "x-ms-client-request-id": "61f82e2718eda777fab6f65483c9d20a", + "x-ms-client-request-id": "1baca39a404d0a17cb30ead3d258103c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -114,14 +68,14 @@ "ResponseHeaders": { "Content-Length": "613", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:02 GMT", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", "Strict-Transport-Security": "max-age=2592000" }, - "ResponseBody": "{\u0022id\u0022:\u0022dtmi:example:Ward;120708472\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:02.0693692\u002B00:00\u0022,\u0022model\u0022:{\u0022@id\u0022:\u0022dtmi:example:Ward;120708472\u0022,\u0022@type\u0022:\u0022Interface\u0022,\u0022displayName\u0022:\u0022Ward\u0022,\u0022description\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022,\u0022contents\u0022:[{\u0022@type\u0022:\u0022Property\u0022,\u0022name\u0022:\u0022VisitorCount\u0022,\u0022schema\u0022:\u0022double\u0022},{\u0022@type\u0022:\u0022Property\u0022,\u0022name\u0022:\u0022HandWashPercentage\u0022,\u0022schema\u0022:\u0022double\u0022},{\u0022@type\u0022:\u0022Relationship\u0022,\u0022name\u0022:\u0022managedRooms\u0022}],\u0022@context\u0022:[\u0022dtmi:dtdl:context;2\u0022]}}" + "ResponseBody": "{\u0022id\u0022:\u0022dtmi:example:Ward;121159740\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:05.8234553\u002B00:00\u0022,\u0022model\u0022:{\u0022@id\u0022:\u0022dtmi:example:Ward;121159740\u0022,\u0022@type\u0022:\u0022Interface\u0022,\u0022displayName\u0022:\u0022Ward\u0022,\u0022description\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022,\u0022contents\u0022:[{\u0022@type\u0022:\u0022Property\u0022,\u0022name\u0022:\u0022VisitorCount\u0022,\u0022schema\u0022:\u0022double\u0022},{\u0022@type\u0022:\u0022Property\u0022,\u0022name\u0022:\u0022HandWashPercentage\u0022,\u0022schema\u0022:\u0022double\u0022},{\u0022@type\u0022:\u0022Relationship\u0022,\u0022name\u0022:\u0022managedRooms\u0022}],\u0022@context\u0022:[\u0022dtmi:dtdl:context;2\u0022]}}" } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "2057834569" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/ModelData_DisplayNameAndDescription_DeserializesAsync.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/ModelData_DisplayNameAndDescription_DeserializesAsync.json index fdd6c939704b9..1a05303009a90 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/ModelData_DisplayNameAndDescription_DeserializesAsync.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/ModelData_DisplayNameAndDescription_DeserializesAsync.json @@ -1,112 +1,66 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3AWard%3B121200167?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3AWard%3B121200167?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "ba8204258dd5c07823fc1a1051132fa1", "x-ms-return-client-request-id": "true" }, "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Content-Length": "613", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:00 GMT", - "Strict-Transport-Security": "max-age=2592000" - }, - "ResponseBody": "{\u0022id\u0022:\u0022dtmi:example:Ward;121200167\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T20:42:42.8841701\u002B00:00\u0022,\u0022model\u0022:{\u0022@id\u0022:\u0022dtmi:example:Ward;121200167\u0022,\u0022@type\u0022:\u0022Interface\u0022,\u0022displayName\u0022:\u0022Ward\u0022,\u0022description\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022,\u0022contents\u0022:[{\u0022@type\u0022:\u0022Property\u0022,\u0022name\u0022:\u0022VisitorCount\u0022,\u0022schema\u0022:\u0022double\u0022},{\u0022@type\u0022:\u0022Property\u0022,\u0022name\u0022:\u0022HandWashPercentage\u0022,\u0022schema\u0022:\u0022double\u0022},{\u0022@type\u0022:\u0022Relationship\u0022,\u0022name\u0022:\u0022managedRooms\u0022}],\u0022@context\u0022:[\u0022dtmi:dtdl:context;2\u0022]}}" - }, - { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3AWard%3B161147759?includeModelDefinition=true\u0026api-version=2020-05-31-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Authorization": "Sanitized", - "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", - "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" - ], - "x-ms-client-request-id": "2fb5de70c1acefc6e467524bf3a1fc3b", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, "StatusCode": 404, "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:00 GMT", + "Date": "Tue, 02 Jun 2020 19:05:04 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "error": { "code": "ModelNotFound", - "message": "There is no Model(s) available that matches the provided id(s) dtmi:example:Ward;161147759. Check that the Model ID provided is valid by doing a Model_List API call." + "message": "There is no Model(s) available that matches the provided id(s) dtmi:example:Ward;121200167. Check that the Model ID provided is valid by doing a Model_List API call." } } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models?api-version=2020-05-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "611", + "Content-Length": "567", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], - "x-ms-client-request-id": "a0cf3f7ef3378512ddc044baf877e472", + "x-ms-client-request-id": "b5de705aac2fc6c1efe467524bf3a1fc", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "[{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:Ward;161147759\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022displayName\u0022: \u0022Ward\u0022,\r\n", - " \u0022description\u0022: \u0022A separate partition in a building, made of rooms and hallways.\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022VisitorCount\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022HandWashPercentage\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022managedRooms\u0022\r\n", - " }\r\n", - " ],\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022\r\n", - "}]" - ], + "RequestBody": "[{ \u0022@id\u0022: \u0022dtmi:example:Ward;121200167\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022displayName\u0022: \u0022Ward\u0022, \u0022description\u0022: \u0022A separate partition in a building, made of rooms and hallways.\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022VisitorCount\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022HandWashPercentage\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022managedRooms\u0022 } ], \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022}]", "StatusCode": 201, "ResponseHeaders": { "Content-Length": "225", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:01 GMT", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", "Strict-Transport-Security": "max-age=2592000" }, - "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:Ward;161147759\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:02.1360011\u002B00:00\u0022}]" + "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:Ward;121200167\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:05.8516329\u002B00:00\u0022}]" }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3AWard%3B161147759?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3AWard%3B121200167?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], - "x-ms-client-request-id": "6c0a6e7a33cc4279bccaf1252675305a", + "x-ms-client-request-id": "cf3f7e3b37a012f385ddc044baf877e4", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -114,14 +68,14 @@ "ResponseHeaders": { "Content-Length": "613", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:01 GMT", + "Date": "Tue, 02 Jun 2020 19:05:05 GMT", "Strict-Transport-Security": "max-age=2592000" }, - "ResponseBody": "{\u0022id\u0022:\u0022dtmi:example:Ward;161147759\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:02.1360011\u002B00:00\u0022,\u0022model\u0022:{\u0022@id\u0022:\u0022dtmi:example:Ward;161147759\u0022,\u0022@type\u0022:\u0022Interface\u0022,\u0022displayName\u0022:\u0022Ward\u0022,\u0022description\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022,\u0022contents\u0022:[{\u0022@type\u0022:\u0022Property\u0022,\u0022name\u0022:\u0022VisitorCount\u0022,\u0022schema\u0022:\u0022double\u0022},{\u0022@type\u0022:\u0022Property\u0022,\u0022name\u0022:\u0022HandWashPercentage\u0022,\u0022schema\u0022:\u0022double\u0022},{\u0022@type\u0022:\u0022Relationship\u0022,\u0022name\u0022:\u0022managedRooms\u0022}],\u0022@context\u0022:[\u0022dtmi:dtdl:context;2\u0022]}}" + "ResponseBody": "{\u0022id\u0022:\u0022dtmi:example:Ward;121200167\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:05.8516329\u002B00:00\u0022,\u0022model\u0022:{\u0022@id\u0022:\u0022dtmi:example:Ward;121200167\u0022,\u0022@type\u0022:\u0022Interface\u0022,\u0022displayName\u0022:\u0022Ward\u0022,\u0022description\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022,\u0022contents\u0022:[{\u0022@type\u0022:\u0022Property\u0022,\u0022name\u0022:\u0022VisitorCount\u0022,\u0022schema\u0022:\u0022double\u0022},{\u0022@type\u0022:\u0022Property\u0022,\u0022name\u0022:\u0022HandWashPercentage\u0022,\u0022schema\u0022:\u0022double\u0022},{\u0022@type\u0022:\u0022Relationship\u0022,\u0022name\u0022:\u0022managedRooms\u0022}],\u0022@context\u0022:[\u0022dtmi:dtdl:context;2\u0022]}}" } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "409053188" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_Lifecycle.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_Lifecycle.json index 71e2c055aa42c..ac8b775e0e411 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_Lifecycle.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_Lifecycle.json @@ -1,12 +1,12 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3ABuilding%3B14778?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3ABuilding%3B14778?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "348e34f8b93ab3cf849b6800e73aa7ef", @@ -17,7 +17,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:02 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -28,12 +28,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3AFloor%3B19666646?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3AFloor%3B19666646?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "d249aa6bb1efef21c69f20c14bf66e66", @@ -44,7 +44,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -55,12 +55,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3AHvac%3B126640227?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3AHvac%3B126640227?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "a4186fe892bf0df0c92821df66bce4a4", @@ -71,7 +71,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -82,12 +82,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3AWard%3B165729996?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3AWard%3B165729996?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "5721e0418208456d741aaff239a5fa99", @@ -98,7 +98,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:07 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -109,111 +109,36 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models?api-version=2020-05-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "2029", + "Content-Length": "1883", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "d7375106ab495817c52689ff0f5fe23b", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "[{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:Building;14778\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022displayName\u0022: \u0022Building\u0022,\r\n", - " \u0022description\u0022: \u0022A free-standing structure.\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022has\u0022,\r\n", - " \u0022target\u0022: \u0022dtmi:example:Floor;19666646\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022isEquippedWith\u0022,\r\n", - " \u0022target\u0022: \u0022dtmi:example:Hvac;126640227\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022AverageTemperature\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " }\r\n", - " ],\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022\r\n", - "},{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:Hvac;126640227\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022displayName\u0022: \u0022HVAC\u0022,\r\n", - " \u0022description\u0022: \u0022A heating, ventilation, and air conditioning unit.\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022Efficiency\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022TargetTemperature\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022TargetHumidity\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022cools\u0022,\r\n", - " \u0022target\u0022: \u0022dtmi:example:Floor;19666646\u0022\r\n", - " }\r\n", - " ],\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022\r\n", - "},{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:Ward;165729996\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022displayName\u0022: \u0022Ward\u0022,\r\n", - " \u0022description\u0022: \u0022A separate partition in a building, made of rooms and hallways.\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022VisitorCount\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022HandWashPercentage\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022managedRooms\u0022\r\n", - " }\r\n", - " ],\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022\r\n", - "}]" - ], + "RequestBody": "[{ \u0022@id\u0022: \u0022dtmi:example:Building;14778\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022displayName\u0022: \u0022Building\u0022, \u0022description\u0022: \u0022A free-standing structure.\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022has\u0022, \u0022target\u0022: \u0022dtmi:example:Floor;19666646\u0022 }, { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022isEquippedWith\u0022, \u0022target\u0022: \u0022dtmi:example:Hvac;126640227\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022AverageTemperature\u0022, \u0022schema\u0022: \u0022double\u0022 } ], \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022},{ \u0022@id\u0022: \u0022dtmi:example:Hvac;126640227\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022displayName\u0022: \u0022HVAC\u0022, \u0022description\u0022: \u0022A heating, ventilation, and air conditioning unit.\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022Efficiency\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022TargetTemperature\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022TargetHumidity\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022cools\u0022, \u0022target\u0022: \u0022dtmi:example:Floor;19666646\u0022 } ], \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022},{ \u0022@id\u0022: \u0022dtmi:example:Ward;165729996\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022displayName\u0022: \u0022Ward\u0022, \u0022description\u0022: \u0022A separate partition in a building, made of rooms and hallways.\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022VisitorCount\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022HandWashPercentage\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022managedRooms\u0022 } ], \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022}]", "StatusCode": 201, "ResponseHeaders": { - "Content-Length": "627", + "Content-Length": "626", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:07 GMT", "Strict-Transport-Security": "max-age=2592000" }, - "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:Building;14778\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A free-standing structure.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Building\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:05.2830182\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Hvac;126640227\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A heating, ventilation, and air conditioning unit.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022HVAC\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:05.2831418\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;165729996\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:05.2832482\u002B00:00\u0022}]" + "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:Building;14778\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A free-standing structure.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Building\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:08.5211897\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Hvac;126640227\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A heating, ventilation, and air conditioning unit.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022HVAC\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:08.5212961\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;165729996\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:08.521381\u002B00:00\u0022}]" }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3ABuilding%3B14778?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3ABuilding%3B14778?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "8db5521d8945ece0aa5f4b78411b9082", @@ -224,18 +149,18 @@ "ResponseHeaders": { "Content-Length": "604", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:08 GMT", "Strict-Transport-Security": "max-age=2592000" }, - "ResponseBody": "{\u0022id\u0022:\u0022dtmi:example:Building;14778\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A free-standing structure.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Building\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:05.2830182\u002B00:00\u0022,\u0022model\u0022:{\u0022@id\u0022:\u0022dtmi:example:Building;14778\u0022,\u0022@type\u0022:\u0022Interface\u0022,\u0022displayName\u0022:\u0022Building\u0022,\u0022description\u0022:\u0022A free-standing structure.\u0022,\u0022contents\u0022:[{\u0022@type\u0022:\u0022Relationship\u0022,\u0022name\u0022:\u0022has\u0022,\u0022target\u0022:\u0022dtmi:example:Floor;19666646\u0022},{\u0022@type\u0022:\u0022Relationship\u0022,\u0022name\u0022:\u0022isEquippedWith\u0022,\u0022target\u0022:\u0022dtmi:example:Hvac;126640227\u0022},{\u0022@type\u0022:\u0022Property\u0022,\u0022name\u0022:\u0022AverageTemperature\u0022,\u0022schema\u0022:\u0022double\u0022}],\u0022@context\u0022:[\u0022dtmi:dtdl:context;2\u0022]}}" + "ResponseBody": "{\u0022id\u0022:\u0022dtmi:example:Building;14778\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A free-standing structure.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Building\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:08.5211897\u002B00:00\u0022,\u0022model\u0022:{\u0022@id\u0022:\u0022dtmi:example:Building;14778\u0022,\u0022@type\u0022:\u0022Interface\u0022,\u0022displayName\u0022:\u0022Building\u0022,\u0022description\u0022:\u0022A free-standing structure.\u0022,\u0022contents\u0022:[{\u0022@type\u0022:\u0022Relationship\u0022,\u0022name\u0022:\u0022has\u0022,\u0022target\u0022:\u0022dtmi:example:Floor;19666646\u0022},{\u0022@type\u0022:\u0022Relationship\u0022,\u0022name\u0022:\u0022isEquippedWith\u0022,\u0022target\u0022:\u0022dtmi:example:Hvac;126640227\u0022},{\u0022@type\u0022:\u0022Property\u0022,\u0022name\u0022:\u0022AverageTemperature\u0022,\u0022schema\u0022:\u0022double\u0022}],\u0022@context\u0022:[\u0022dtmi:dtdl:context;2\u0022]}}" }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models?includeModelDefinition=false\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models?includeModelDefinition=false\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "6b5f4527ccac95aec8c892e2f96d3514", @@ -244,22 +169,22 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "Content-Length": "8050", + "Content-Length": "2620", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:05 GMT", + "Date": "Tue, 02 Jun 2020 19:05:08 GMT", "Strict-Transport-Security": "max-age=2592000" }, - "ResponseBody": "{\u0022value\u0022:[{\u0022id\u0022:\u0022dtmi:example:wifiroom;11795\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022RoomWithWifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:45:40.1087098\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:wifi;110813340\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022Wifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:45:40.1093734\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:wifiroom;11085\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022RoomWithWifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:45:40.9136432\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:wifi;178807757\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022Wifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:45:40.9143412\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;121903001\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:45:41.5423248\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;137784739\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:45:43.281271\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;112421922\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:45:49.7910161\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;112021088\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:45:51.2775521\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:wifiroom;13376\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022RoomWithWifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:46:57.5203947\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:wifi;114348555\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022Wifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:46:57.5205526\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;113890337\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:50:14.8981623\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;145345511\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:50:15.0620158\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;119207084\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:50:22.5786159\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;162914014\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:50:23.4129911\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;112491866\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:58:13.5051157\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;118110353\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:58:14.1322013\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;115195109\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:58:21.5787297\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;114115543\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:58:21.8679372\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;171587792\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-28T23:13:40.3886166\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;114829098\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-28T23:13:40.7004224\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;145940630\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-28T23:13:48.1709632\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;145169011\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-28T23:13:49.3835092\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;113333312\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T19:55:02.0215043\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;111094352\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T19:55:03.4611138\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;118409140\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T19:55:09.6180506\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;111083308\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T19:55:11.9059544\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;121159740\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T20:42:42.8709519\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;121200167\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T20:42:42.8841701\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;112162783\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T20:42:49.9204159\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;147373991\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T20:42:50.4758422\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;120708472\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:02.0693692\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;161147759\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:02.1360011\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Building;19930\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A free-standing structure.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Building\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:05.0754051\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Hvac;156543431\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A heating, ventilation, and air conditioning unit.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022HVAC\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:05.0755043\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;129811965\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:05.0755882\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Building;14778\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A free-standing structure.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Building\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:05.2830182\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Hvac;126640227\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A heating, ventilation, and air conditioning unit.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022HVAC\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:05.2831418\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;165729996\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:05.2832482\u002B00:00\u0022}],\u0022nextLink\u0022:null}" + "ResponseBody": "{\u0022value\u0022:[{\u0022id\u0022:\u0022dtmi:example:Ward;198120452\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:04:43.9657682\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;117820941\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:04:44.267811\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;154443507\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:04:51.2569854\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;111034261\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:04:51.6965029\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;121159740\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:05.8234553\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;121200167\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:05.8516329\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Building;14778\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A free-standing structure.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Building\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:08.5211897\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Hvac;126640227\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A heating, ventilation, and air conditioning unit.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022HVAC\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:08.5212961\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;165729996\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:08.521381\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Building;19930\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A free-standing structure.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Building\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:08.7105444\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Hvac;156543431\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A heating, ventilation, and air conditioning unit.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022HVAC\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:08.7106604\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;129811965\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:08.710757\u002B00:00\u0022}],\u0022nextLink\u0022:null}" }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3ABuilding%3B14778?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3ABuilding%3B14778?api-version=2020-05-31-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Authorization": "Sanitized", "Content-Length": "63", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "e6d574376cef7d54704b2cea609f17a9", @@ -269,18 +194,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:05 GMT", + "Date": "Tue, 02 Jun 2020 19:05:08 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3ABuilding%3B14778?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3ABuilding%3B14778?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "c9d806957700508ea41fc57cf6fef33d", @@ -290,18 +215,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:06 GMT", + "Date": "Tue, 02 Jun 2020 19:05:10 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3AHvac%3B126640227?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3AHvac%3B126640227?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "cc403729a946ba93f1e2fa61a0c43529", @@ -311,18 +236,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:06 GMT", + "Date": "Tue, 02 Jun 2020 19:05:10 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3AWard%3B165729996?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3AWard%3B165729996?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "f24ce8b16c94c014e68442d0a7d88672", @@ -332,14 +257,14 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:06 GMT", + "Date": "Tue, 02 Jun 2020 19:05:10 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "1727249490" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_LifecycleAsync.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_LifecycleAsync.json index 2a0ad47aafdac..b6a4383507cf4 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_LifecycleAsync.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_LifecycleAsync.json @@ -1,12 +1,12 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3ABuilding%3B19930?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3ABuilding%3B19930?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "43b7ad321e2ddbd89e9633b5aef791b4", @@ -17,7 +17,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -28,12 +28,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3AFloor%3B11095524?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3AFloor%3B11095524?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "3b29802fe31b958bf1eca834ba6bd2ff", @@ -44,7 +44,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:02 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -55,12 +55,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3AHvac%3B156543431?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3AHvac%3B156543431?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "597e85768e57884e117d783e14e8b03d", @@ -71,7 +71,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -82,12 +82,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3AWard%3B129811965?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3AWard%3B129811965?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "6583a9c7ca16ae2b3c322fa6e32b61b5", @@ -98,7 +98,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:07 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -109,111 +109,36 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models?api-version=2020-05-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "2029", + "Content-Length": "1883", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "350b80e3d8a6dbf2b309651257dc04f8", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "[{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:Building;19930\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022displayName\u0022: \u0022Building\u0022,\r\n", - " \u0022description\u0022: \u0022A free-standing structure.\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022has\u0022,\r\n", - " \u0022target\u0022: \u0022dtmi:example:Floor;11095524\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022isEquippedWith\u0022,\r\n", - " \u0022target\u0022: \u0022dtmi:example:Hvac;156543431\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022AverageTemperature\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " }\r\n", - " ],\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022\r\n", - "},{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:Hvac;156543431\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022displayName\u0022: \u0022HVAC\u0022,\r\n", - " \u0022description\u0022: \u0022A heating, ventilation, and air conditioning unit.\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022Efficiency\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022TargetTemperature\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022TargetHumidity\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022cools\u0022,\r\n", - " \u0022target\u0022: \u0022dtmi:example:Floor;11095524\u0022\r\n", - " }\r\n", - " ],\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022\r\n", - "},{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:Ward;129811965\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022displayName\u0022: \u0022Ward\u0022,\r\n", - " \u0022description\u0022: \u0022A separate partition in a building, made of rooms and hallways.\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022VisitorCount\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022HandWashPercentage\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022managedRooms\u0022\r\n", - " }\r\n", - " ],\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022\r\n", - "}]" - ], + "RequestBody": "[{ \u0022@id\u0022: \u0022dtmi:example:Building;19930\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022displayName\u0022: \u0022Building\u0022, \u0022description\u0022: \u0022A free-standing structure.\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022has\u0022, \u0022target\u0022: \u0022dtmi:example:Floor;11095524\u0022 }, { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022isEquippedWith\u0022, \u0022target\u0022: \u0022dtmi:example:Hvac;156543431\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022AverageTemperature\u0022, \u0022schema\u0022: \u0022double\u0022 } ], \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022},{ \u0022@id\u0022: \u0022dtmi:example:Hvac;156543431\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022displayName\u0022: \u0022HVAC\u0022, \u0022description\u0022: \u0022A heating, ventilation, and air conditioning unit.\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022Efficiency\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022TargetTemperature\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022TargetHumidity\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022cools\u0022, \u0022target\u0022: \u0022dtmi:example:Floor;11095524\u0022 } ], \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022},{ \u0022@id\u0022: \u0022dtmi:example:Ward;129811965\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022displayName\u0022: \u0022Ward\u0022, \u0022description\u0022: \u0022A separate partition in a building, made of rooms and hallways.\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022VisitorCount\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022HandWashPercentage\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022managedRooms\u0022 } ], \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022}]", "StatusCode": 201, "ResponseHeaders": { - "Content-Length": "627", + "Content-Length": "626", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:07 GMT", "Strict-Transport-Security": "max-age=2592000" }, - "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:Building;19930\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A free-standing structure.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Building\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:05.0754051\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Hvac;156543431\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A heating, ventilation, and air conditioning unit.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022HVAC\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:05.0755043\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;129811965\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:05.0755882\u002B00:00\u0022}]" + "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:Building;19930\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A free-standing structure.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Building\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:08.7105444\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Hvac;156543431\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A heating, ventilation, and air conditioning unit.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022HVAC\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:08.7106604\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;129811965\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:08.710757\u002B00:00\u0022}]" }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3ABuilding%3B19930?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3ABuilding%3B19930?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "28a4d4f7657cbb5f53ab1a5b1fe12d52", @@ -224,18 +149,18 @@ "ResponseHeaders": { "Content-Length": "604", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:09 GMT", "Strict-Transport-Security": "max-age=2592000" }, - "ResponseBody": "{\u0022id\u0022:\u0022dtmi:example:Building;19930\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A free-standing structure.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Building\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:05.0754051\u002B00:00\u0022,\u0022model\u0022:{\u0022@id\u0022:\u0022dtmi:example:Building;19930\u0022,\u0022@type\u0022:\u0022Interface\u0022,\u0022displayName\u0022:\u0022Building\u0022,\u0022description\u0022:\u0022A free-standing structure.\u0022,\u0022contents\u0022:[{\u0022@type\u0022:\u0022Relationship\u0022,\u0022name\u0022:\u0022has\u0022,\u0022target\u0022:\u0022dtmi:example:Floor;11095524\u0022},{\u0022@type\u0022:\u0022Relationship\u0022,\u0022name\u0022:\u0022isEquippedWith\u0022,\u0022target\u0022:\u0022dtmi:example:Hvac;156543431\u0022},{\u0022@type\u0022:\u0022Property\u0022,\u0022name\u0022:\u0022AverageTemperature\u0022,\u0022schema\u0022:\u0022double\u0022}],\u0022@context\u0022:[\u0022dtmi:dtdl:context;2\u0022]}}" + "ResponseBody": "{\u0022id\u0022:\u0022dtmi:example:Building;19930\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A free-standing structure.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Building\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:08.7105444\u002B00:00\u0022,\u0022model\u0022:{\u0022@id\u0022:\u0022dtmi:example:Building;19930\u0022,\u0022@type\u0022:\u0022Interface\u0022,\u0022displayName\u0022:\u0022Building\u0022,\u0022description\u0022:\u0022A free-standing structure.\u0022,\u0022contents\u0022:[{\u0022@type\u0022:\u0022Relationship\u0022,\u0022name\u0022:\u0022has\u0022,\u0022target\u0022:\u0022dtmi:example:Floor;11095524\u0022},{\u0022@type\u0022:\u0022Relationship\u0022,\u0022name\u0022:\u0022isEquippedWith\u0022,\u0022target\u0022:\u0022dtmi:example:Hvac;156543431\u0022},{\u0022@type\u0022:\u0022Property\u0022,\u0022name\u0022:\u0022AverageTemperature\u0022,\u0022schema\u0022:\u0022double\u0022}],\u0022@context\u0022:[\u0022dtmi:dtdl:context;2\u0022]}}" }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models?includeModelDefinition=false\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models?includeModelDefinition=false\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "6731891707a4ee3fb7a8b10c6518575f", @@ -244,22 +169,22 @@ "RequestBody": null, "StatusCode": 200, "ResponseHeaders": { - "Content-Length": "8242", + "Content-Length": "2620", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:05 GMT", + "Date": "Tue, 02 Jun 2020 19:05:09 GMT", "Strict-Transport-Security": "max-age=2592000" }, - "ResponseBody": "{\u0022value\u0022:[{\u0022id\u0022:\u0022dtmi:example:wifiroom;11795\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022RoomWithWifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:45:40.1087098\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:wifi;110813340\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022Wifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:45:40.1093734\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:wifiroom;11085\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022RoomWithWifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:45:40.9136432\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:wifi;178807757\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022Wifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:45:40.9143412\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;121903001\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:45:41.5423248\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;137784739\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:45:43.281271\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;112421922\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:45:49.7910161\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;112021088\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:45:51.2775521\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:wifiroom;13376\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022RoomWithWifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:46:57.5203947\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:wifi;114348555\u0022,\u0022description\u0022:{},\u0022displayName\u0022:{\u0022en\u0022:\u0022Wifi\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:46:57.5205526\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;113890337\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:50:14.8981623\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;145345511\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:50:15.0620158\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;119207084\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:50:22.5786159\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;162914014\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:50:23.4129911\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;112491866\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:58:13.5051157\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;118110353\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:58:14.1322013\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;115195109\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:58:21.5787297\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;114115543\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-26T17:58:21.8679372\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;171587792\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-28T23:13:40.3886166\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;114829098\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-28T23:13:40.7004224\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;145940630\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-28T23:13:48.1709632\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;145169011\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-28T23:13:49.3835092\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;113333312\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T19:55:02.0215043\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;111094352\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T19:55:03.4611138\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;118409140\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T19:55:09.6180506\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;111083308\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T19:55:11.9059544\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;121159740\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T20:42:42.8709519\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;121200167\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T20:42:42.8841701\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;112162783\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T20:42:49.9204159\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;147373991\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T20:42:50.4758422\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:room;117517802\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022An enclosure inside a building.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Room\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:00.6171277\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;120708472\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:02.0693692\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;161147759\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:02.1360011\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Building;19930\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A free-standing structure.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Building\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:05.0754051\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Hvac;156543431\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A heating, ventilation, and air conditioning unit.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022HVAC\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:05.0755043\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;129811965\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:05.0755882\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Building;14778\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A free-standing structure.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Building\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:05.2830182\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Hvac;126640227\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A heating, ventilation, and air conditioning unit.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022HVAC\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:05.2831418\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;165729996\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:05.2832482\u002B00:00\u0022}],\u0022nextLink\u0022:null}" + "ResponseBody": "{\u0022value\u0022:[{\u0022id\u0022:\u0022dtmi:example:Ward;198120452\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:04:43.9657682\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;117820941\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:04:44.267811\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;154443507\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:04:51.2569854\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;111034261\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:04:51.6965029\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;121159740\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:05.8234553\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;121200167\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:05.8516329\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Building;14778\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A free-standing structure.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Building\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:08.5211897\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Hvac;126640227\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A heating, ventilation, and air conditioning unit.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022HVAC\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:08.5212961\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;165729996\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:08.521381\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Building;19930\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A free-standing structure.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Building\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:08.7105444\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Hvac;156543431\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A heating, ventilation, and air conditioning unit.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022HVAC\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:08.7106604\u002B00:00\u0022},{\u0022id\u0022:\u0022dtmi:example:Ward;129811965\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:08.710757\u002B00:00\u0022}],\u0022nextLink\u0022:null}" }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3ABuilding%3B19930?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3ABuilding%3B19930?api-version=2020-05-31-preview", "RequestMethod": "PATCH", "RequestHeaders": { "Authorization": "Sanitized", "Content-Length": "63", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "0faf362e39867d382050e2fbbd96bbd2", @@ -269,18 +194,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:05 GMT", + "Date": "Tue, 02 Jun 2020 19:05:09 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3ABuilding%3B19930?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3ABuilding%3B19930?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "cefb12dc9cabef5395b571d3b352553a", @@ -290,18 +215,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:05 GMT", + "Date": "Tue, 02 Jun 2020 19:05:10 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3AHvac%3B156543431?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3AHvac%3B156543431?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "e82dbb531e31decc50b3465325433120", @@ -311,18 +236,18 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:06 GMT", + "Date": "Tue, 02 Jun 2020 19:05:10 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3AWard%3B129811965?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3AWard%3B129811965?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "5330dfec881d91b4e3c07ad1c765cace", @@ -332,14 +257,14 @@ "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:06 GMT", + "Date": "Tue, 02 Jun 2020 19:05:10 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "1133739533" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_MalformedModelId_ThrowsBadRequestException.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_MalformedModelId_ThrowsBadRequestException.json index d59350e5bdad6..c61ae2e160af9 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_MalformedModelId_ThrowsBadRequestException.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_MalformedModelId_ThrowsBadRequestException.json @@ -1,12 +1,12 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/thisIsNotAValidModelId?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/thisIsNotAValidModelId?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "0f1ea531e8c6d29f4ea206d8c2575903", @@ -17,7 +17,7 @@ "ResponseHeaders": { "Content-Length": "198", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:07 GMT", + "Date": "Tue, 02 Jun 2020 19:05:11 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -29,7 +29,7 @@ } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "524958857" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_MalformedModelId_ThrowsBadRequestExceptionAsync.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_MalformedModelId_ThrowsBadRequestExceptionAsync.json index 7cd9f4d4e5a5d..753e130948fcd 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_MalformedModelId_ThrowsBadRequestExceptionAsync.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_MalformedModelId_ThrowsBadRequestExceptionAsync.json @@ -1,12 +1,12 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/thisIsNotAValidModelId?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/thisIsNotAValidModelId?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "0d102fb48bc8977a0714d47b05f81616", @@ -17,7 +17,7 @@ "ResponseHeaders": { "Content-Length": "198", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:07 GMT", + "Date": "Tue, 02 Jun 2020 19:05:11 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -29,7 +29,7 @@ } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "118439256" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_ModelAlreadyExists_ThrowsConflictException.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_ModelAlreadyExists_ThrowsConflictException.json index 8a510edcde919..b77bdbb88bbb9 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_ModelAlreadyExists_ThrowsConflictException.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_ModelAlreadyExists_ThrowsConflictException.json @@ -1,158 +1,88 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3AWard%3B112162783?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3AWard%3B112162783?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "013758b985a0f528c08437593b00da18", "x-ms-return-client-request-id": "true" }, "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Content-Length": "613", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:08 GMT", - "Strict-Transport-Security": "max-age=2592000" - }, - "ResponseBody": "{\u0022id\u0022:\u0022dtmi:example:Ward;112162783\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T20:42:49.9204159\u002B00:00\u0022,\u0022model\u0022:{\u0022@id\u0022:\u0022dtmi:example:Ward;112162783\u0022,\u0022@type\u0022:\u0022Interface\u0022,\u0022displayName\u0022:\u0022Ward\u0022,\u0022description\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022,\u0022contents\u0022:[{\u0022@type\u0022:\u0022Property\u0022,\u0022name\u0022:\u0022VisitorCount\u0022,\u0022schema\u0022:\u0022double\u0022},{\u0022@type\u0022:\u0022Property\u0022,\u0022name\u0022:\u0022HandWashPercentage\u0022,\u0022schema\u0022:\u0022double\u0022},{\u0022@type\u0022:\u0022Relationship\u0022,\u0022name\u0022:\u0022managedRooms\u0022}],\u0022@context\u0022:[\u0022dtmi:dtdl:context;2\u0022]}}" - }, - { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3AWard%3B110887268?includeModelDefinition=true\u0026api-version=2020-05-31-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Authorization": "Sanitized", - "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", - "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" - ], - "x-ms-client-request-id": "867d44f4bb029be91403cb4c4c69cfe8", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, "StatusCode": 404, "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:08 GMT", + "Date": "Tue, 02 Jun 2020 19:05:11 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "error": { "code": "ModelNotFound", - "message": "There is no Model(s) available that matches the provided id(s) dtmi:example:Ward;110887268. Check that the Model ID provided is valid by doing a Model_List API call." + "message": "There is no Model(s) available that matches the provided id(s) dtmi:example:Ward;112162783. Check that the Model ID provided is valid by doing a Model_List API call." } } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models?api-version=2020-05-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "611", + "Content-Length": "567", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], - "x-ms-client-request-id": "dbc9a8a901e30166b4165371ab7567f0", + "x-ms-client-request-id": "7d44f4480286e9bb9b1403cb4c4c69cf", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "[{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:Ward;110887268\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022displayName\u0022: \u0022Ward\u0022,\r\n", - " \u0022description\u0022: \u0022A separate partition in a building, made of rooms and hallways.\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022VisitorCount\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022HandWashPercentage\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022managedRooms\u0022\r\n", - " }\r\n", - " ],\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022\r\n", - "}]" - ], + "RequestBody": "[{ \u0022@id\u0022: \u0022dtmi:example:Ward;112162783\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022displayName\u0022: \u0022Ward\u0022, \u0022description\u0022: \u0022A separate partition in a building, made of rooms and hallways.\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022VisitorCount\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022HandWashPercentage\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022managedRooms\u0022 } ], \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022}]", "StatusCode": 201, "ResponseHeaders": { - "Content-Length": "225", + "Content-Length": "224", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:09 GMT", + "Date": "Tue, 02 Jun 2020 19:05:12 GMT", "Strict-Transport-Security": "max-age=2592000" }, - "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:Ward;110887268\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:10.1484497\u002B00:00\u0022}]" + "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:Ward;112162783\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:12.710722\u002B00:00\u0022}]" }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models?api-version=2020-05-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "611", + "Content-Length": "567", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], - "x-ms-client-request-id": "1f817344f20d9db64e658b825ca8731b", + "x-ms-client-request-id": "c9a8a9e8e3db660101b4165371ab7567", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "[{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:Ward;110887268\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022displayName\u0022: \u0022Ward\u0022,\r\n", - " \u0022description\u0022: \u0022A separate partition in a building, made of rooms and hallways.\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022VisitorCount\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022HandWashPercentage\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022managedRooms\u0022\r\n", - " }\r\n", - " ],\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022\r\n", - "}]" - ], + "RequestBody": "[{ \u0022@id\u0022: \u0022dtmi:example:Ward;112162783\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022displayName\u0022: \u0022Ward\u0022, \u0022description\u0022: \u0022A separate partition in a building, made of rooms and hallways.\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022VisitorCount\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022HandWashPercentage\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022managedRooms\u0022 } ], \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022}]", "StatusCode": 409, "ResponseHeaders": { "Content-Length": "231", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:10 GMT", + "Date": "Tue, 02 Jun 2020 19:05:12 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "error": { "code": "ModelAlreadyExists", - "message": "Could not add model dtmi:example:Ward;110887268 as it already exists. Use Model_List API to view models that already exist. See the Swagger example.(http://aka.ms/ModelListSwSmpl)" + "message": "Could not add model dtmi:example:Ward;112162783 as it already exists. Use Model_List API to view models that already exist. See the Swagger example.(http://aka.ms/ModelListSwSmpl)" } } } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "212362391" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_ModelAlreadyExists_ThrowsConflictExceptionAsync.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_ModelAlreadyExists_ThrowsConflictExceptionAsync.json index c905beb1fb141..b7631a208b25a 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_ModelAlreadyExists_ThrowsConflictExceptionAsync.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_ModelAlreadyExists_ThrowsConflictExceptionAsync.json @@ -1,158 +1,88 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3AWard%3B147373991?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3AWard%3B147373991?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "cd298ef5613848cac63ddf611bc13868", "x-ms-return-client-request-id": "true" }, "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Content-Length": "613", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:08 GMT", - "Strict-Transport-Security": "max-age=2592000" - }, - "ResponseBody": "{\u0022id\u0022:\u0022dtmi:example:Ward;147373991\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T20:42:50.4758422\u002B00:00\u0022,\u0022model\u0022:{\u0022@id\u0022:\u0022dtmi:example:Ward;147373991\u0022,\u0022@type\u0022:\u0022Interface\u0022,\u0022displayName\u0022:\u0022Ward\u0022,\u0022description\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022,\u0022contents\u0022:[{\u0022@type\u0022:\u0022Property\u0022,\u0022name\u0022:\u0022VisitorCount\u0022,\u0022schema\u0022:\u0022double\u0022},{\u0022@type\u0022:\u0022Property\u0022,\u0022name\u0022:\u0022HandWashPercentage\u0022,\u0022schema\u0022:\u0022double\u0022},{\u0022@type\u0022:\u0022Relationship\u0022,\u0022name\u0022:\u0022managedRooms\u0022}],\u0022@context\u0022:[\u0022dtmi:dtdl:context;2\u0022]}}" - }, - { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3AWard%3B118301577?includeModelDefinition=true\u0026api-version=2020-05-31-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Authorization": "Sanitized", - "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", - "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" - ], - "x-ms-client-request-id": "a7045e4e50be504cd81fca7722e0146f", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, "StatusCode": 404, "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:08 GMT", + "Date": "Tue, 02 Jun 2020 19:05:11 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "error": { "code": "ModelNotFound", - "message": "There is no Model(s) available that matches the provided id(s) dtmi:example:Ward;118301577. Check that the Model ID provided is valid by doing a Model_List API call." + "message": "There is no Model(s) available that matches the provided id(s) dtmi:example:Ward;147373991. Check that the Model ID provided is valid by doing a Model_List API call." } } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models?api-version=2020-05-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "611", + "Content-Length": "567", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], - "x-ms-client-request-id": "3adca63eb104e347f6ca8841269c3a41", + "x-ms-client-request-id": "045e4ecfbea74c5050d81fca7722e014", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "[{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:Ward;118301577\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022displayName\u0022: \u0022Ward\u0022,\r\n", - " \u0022description\u0022: \u0022A separate partition in a building, made of rooms and hallways.\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022VisitorCount\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022HandWashPercentage\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022managedRooms\u0022\r\n", - " }\r\n", - " ],\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022\r\n", - "}]" - ], + "RequestBody": "[{ \u0022@id\u0022: \u0022dtmi:example:Ward;147373991\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022displayName\u0022: \u0022Ward\u0022, \u0022description\u0022: \u0022A separate partition in a building, made of rooms and hallways.\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022VisitorCount\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022HandWashPercentage\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022managedRooms\u0022 } ], \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022}]", "StatusCode": 201, "ResponseHeaders": { - "Content-Length": "225", + "Content-Length": "224", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:09 GMT", + "Date": "Tue, 02 Jun 2020 19:05:12 GMT", "Strict-Transport-Security": "max-age=2592000" }, - "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:Ward;118301577\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:10.0920213\u002B00:00\u0022}]" + "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:Ward;147373991\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022A separate partition in a building, made of rooms and hallways.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Ward\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:13.015655\u002B00:00\u0022}]" }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models?api-version=2020-05-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "611", + "Content-Length": "567", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], - "x-ms-client-request-id": "4ada88c9e65c3e37dd7d6042ffd0a45c", + "x-ms-client-request-id": "dca63e6f043a47b1e3f6ca8841269c3a", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "[{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:Ward;118301577\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022displayName\u0022: \u0022Ward\u0022,\r\n", - " \u0022description\u0022: \u0022A separate partition in a building, made of rooms and hallways.\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022VisitorCount\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022HandWashPercentage\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022managedRooms\u0022\r\n", - " }\r\n", - " ],\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022\r\n", - "}]" - ], + "RequestBody": "[{ \u0022@id\u0022: \u0022dtmi:example:Ward;147373991\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022displayName\u0022: \u0022Ward\u0022, \u0022description\u0022: \u0022A separate partition in a building, made of rooms and hallways.\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022VisitorCount\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022HandWashPercentage\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022managedRooms\u0022 } ], \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022}]", "StatusCode": 409, "ResponseHeaders": { "Content-Length": "231", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:10 GMT", + "Date": "Tue, 02 Jun 2020 19:05:12 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "error": { "code": "ModelAlreadyExists", - "message": "Could not add model dtmi:example:Ward;118301577 as it already exists. Use Model_List API to view models that already exist. See the Swagger example.(http://aka.ms/ModelListSwSmpl)" + "message": "Could not add model dtmi:example:Ward;147373991 as it already exists. Use Model_List API to view models that already exist. See the Swagger example.(http://aka.ms/ModelListSwSmpl)" } } } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "1792214466" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_ModelNotExists_ThrowsNotFoundException.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_ModelNotExists_ThrowsNotFoundException.json index e3a1c9e73e6dd..c392544b30b66 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_ModelNotExists_ThrowsNotFoundException.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_ModelNotExists_ThrowsNotFoundException.json @@ -1,12 +1,12 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/urn%3Adoesnotexist%3Afakemodel%3A1000?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/urn%3Adoesnotexist%3Afakemodel%3A1000?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "7adcd40f308eb811200e69d9c8f1cd65", @@ -17,7 +17,7 @@ "ResponseHeaders": { "Content-Length": "216", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:10 GMT", + "Date": "Tue, 02 Jun 2020 19:05:13 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -29,7 +29,7 @@ } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "1220736552" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_ModelNotExists_ThrowsNotFoundExceptionAsync.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_ModelNotExists_ThrowsNotFoundExceptionAsync.json index 78a5cfcb1bc38..c385b0c770374 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_ModelNotExists_ThrowsNotFoundExceptionAsync.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/ModelsTests/Models_ModelNotExists_ThrowsNotFoundExceptionAsync.json @@ -1,12 +1,12 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/urn%3Adoesnotexist%3Afakemodel%3A1000?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/urn%3Adoesnotexist%3Afakemodel%3A1000?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "52a2c92543e5cbf3eff333e8988579e0", @@ -17,7 +17,7 @@ "ResponseHeaders": { "Content-Length": "216", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:10 GMT", + "Date": "Tue, 02 Jun 2020 19:05:13 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -29,7 +29,7 @@ } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "1370607071" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/QueryTests/Query_ValidQuery_Success.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/QueryTests/Query_ValidQuery_Success.json index 10121bc6ffe2e..85ac522d76e3c 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/QueryTests/Query_ValidQuery_Success.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/QueryTests/Query_ValidQuery_Success.json @@ -1,12 +1,12 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Afloor%3B14036604?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Afloor%3B14036604?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "548551592ad0eace100bb6a559053072", @@ -17,7 +17,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:02 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -28,12 +28,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Aroom%3B177323580?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Aroom%3B177323580?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "7700d087c66c71e0fa47354c2bbc9ba4", @@ -44,7 +44,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:02 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -55,188 +55,82 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models?api-version=2020-05-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "870", + "Content-Length": "804", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "530f4b325a0c208f46b0209ce2459219", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "[{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:room;177323580\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022displayName\u0022: \u0022Room\u0022,\r\n", - " \u0022description\u0022: \u0022An enclosure inside a building.\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022containedIn\u0022,\r\n", - " \u0022target\u0022: \u0022dtmi:example:floor;14036604\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022Temperature\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022Humidity\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022IsOccupied\u0022,\r\n", - " \u0022schema\u0022: \u0022boolean\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022EmployeeId\u0022,\r\n", - " \u0022schema\u0022: \u0022string\u0022\r\n", - " }\r\n", - " ],\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022\r\n", - "}]" - ], + "RequestBody": "[{ \u0022@id\u0022: \u0022dtmi:example:room;177323580\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022displayName\u0022: \u0022Room\u0022, \u0022description\u0022: \u0022An enclosure inside a building.\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022containedIn\u0022, \u0022target\u0022: \u0022dtmi:example:floor;14036604\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022Temperature\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022Humidity\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022IsOccupied\u0022, \u0022schema\u0022: \u0022boolean\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022EmployeeId\u0022, \u0022schema\u0022: \u0022string\u0022 } ], \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022}]", "StatusCode": 201, "ResponseHeaders": { "Content-Length": "193", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:07 GMT", "Strict-Transport-Security": "max-age=2592000" }, - "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:room;177323580\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022An enclosure inside a building.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Room\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:03.7696215\u002B00:00\u0022}]" + "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:room;177323580\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022An enclosure inside a building.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Room\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:07.7706281\u002B00:00\u0022}]" }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin54248529?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin54248529?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "ad11bcb1ed55a58be2d5e3989ee44e1a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Content-Length": "652", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", - "ETag": "W/\u0022d4a1a993-90c7-492f-982a-4556b87c623c\u0022", - "Strict-Transport-Security": "max-age=2592000" - }, - "ResponseBody": { - "$dtId": "roomTwin54248529", - "$etag": "d4a1a993-90c7-492f-982a-4556b87c623c", - "Temperature": 80, - "Humidity": 25, - "IsOccupied": true, - "EmployeeId": "Employee1", - "$metadata": { - "$model": "dtmi:example:room;177323580", - "Temperature": { - "desiredValue": 80, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "Humidity": { - "desiredValue": 25, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "IsOccupied": { - "desiredValue": true, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "EmployeeId": { - "desiredValue": "Employee1", - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - } - } - } - }, - { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin1259202816?api-version=2020-05-31-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Authorization": "Sanitized", - "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", - "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" - ], - "x-ms-client-request-id": "1f20ba262c4ce04031bba5448eb5b41c", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, "StatusCode": 404, "ResponseHeaders": { - "Content-Length": "271", + "Content-Length": "269", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:07 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "error": { "code": "DigitalTwinNotFound", - "message": "There is no digital twin instance that exists with the ID roomTwin1259202816. Please verify that the twin id is valid and ensure that the twin is not deleted. See section on querying the twins http://aka.ms/adtv2query." + "message": "There is no digital twin instance that exists with the ID roomTwin54248529. Please verify that the twin id is valid and ensure that the twin is not deleted. See section on querying the twins http://aka.ms/adtv2query." } } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin1259202816?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin54248529?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "166", + "Content-Length": "150", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], - "x-ms-client-request-id": "89ff7afbddf7845eae2985ac88a7cbd1", + "x-ms-client-request-id": "20ba26004c1f402ce031bba5448eb5b4", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "{\r\n", - " \u0022$metadata\u0022: {\r\n", - " \u0022$model\u0022: \u0022dtmi:example:room;177323580\u0022\r\n", - " },\r\n", - " \u0022Temperature\u0022: 80,\r\n", - " \u0022Humidity\u0022: 25,\r\n", - " \u0022IsOccupied\u0022: true,\r\n", - " \u0022EmployeeId\u0022: \u0022Employee1\u0022\r\n", - "}" - ], + "RequestBody": "{ \u0022$metadata\u0022: { \u0022$model\u0022: \u0022dtmi:example:room;177323580\u0022 }, \u0022Temperature\u0022: 80, \u0022Humidity\u0022: 25, \u0022IsOccupied\u0022: true, \u0022EmployeeId\u0022: \u0022Employee1\u0022}", "StatusCode": 200, "ResponseHeaders": { - "Content-Length": "654", + "Content-Length": "652", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", - "ETag": "W/\u002263caa31c-de26-46f8-b835-f8799f9d01ee\u0022", + "Date": "Tue, 02 Jun 2020 19:05:07 GMT", + "ETag": "W/\u002240fc1d5e-a62b-4cf2-bfbf-10274428673b\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { - "$dtId": "roomTwin1259202816", - "$etag": "63caa31c-de26-46f8-b835-f8799f9d01ee", + "$dtId": "roomTwin54248529", + "$etag": "40fc1d5e-a62b-4cf2-bfbf-10274428673b", "Temperature": 80, "Humidity": 25, "IsOccupied": true, @@ -275,17 +169,17 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/query?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/query?api-version=2020-05-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Authorization": "Sanitized", "Content-Length": "62", "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], - "x-ms-client-request-id": "d81fe28131f89064d1cd2331e5605420", + "x-ms-client-request-id": "ff7afb1cf7895edd84ae2985ac88a7cb", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -293,343 +187,41 @@ }, "StatusCode": 200, "ResponseHeaders": { - "Content-Length": "5120", + "Content-Length": "37", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", - "query-charge": "7.82", + "Date": "Tue, 02 Jun 2020 19:05:07 GMT", + "query-charge": "5.85", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { - "items": [ - { - "$dtId": "roomTwin1779752527", - "$etag": "93e9b083-aa42-4df6-aef0-f98bcf212755", - "Temperature": 80, - "Humidity": 25, - "IsOccupied": true, - "EmployeeId": "Employee1", - "$metadata": { - "$model": "dtmi:example:room;118886946", - "Temperature": { - "desiredValue": 80, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "Humidity": { - "desiredValue": 25, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "IsOccupied": { - "desiredValue": true, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "EmployeeId": { - "desiredValue": "Employee1", - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "$kind": "DigitalTwin" - } - }, - { - "$dtId": "roomTwin1802870174", - "$etag": "2a3fb65d-7007-425b-b3b7-2106e12f41a8", - "Temperature": 80, - "Humidity": 25, - "IsOccupied": true, - "EmployeeId": "Employee1", - "$metadata": { - "$model": "dtmi:example:room;113987929", - "Temperature": { - "desiredValue": 80, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "Humidity": { - "desiredValue": 25, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "IsOccupied": { - "desiredValue": true, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "EmployeeId": { - "desiredValue": "Employee1", - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "$kind": "DigitalTwin" - } - }, - { - "$dtId": "roomTwin883117343", - "$etag": "c7fe9908-9881-44ba-927e-ed056b5da128", - "Temperature": 80, - "Humidity": 25, - "IsOccupied": true, - "EmployeeId": "Employee1", - "$metadata": { - "$model": "dtmi:example:room;113987929", - "Temperature": { - "desiredValue": 80, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "Humidity": { - "desiredValue": 25, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "IsOccupied": { - "desiredValue": true, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "EmployeeId": { - "desiredValue": "Employee1", - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "$kind": "DigitalTwin" - } - }, - { - "$dtId": "roomTwin54248529", - "$etag": "d4a1a993-90c7-492f-982a-4556b87c623c", - "Temperature": 80, - "Humidity": 25, - "IsOccupied": true, - "EmployeeId": "Employee1", - "$metadata": { - "$model": "dtmi:example:room;177323580", - "Temperature": { - "desiredValue": 80, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "Humidity": { - "desiredValue": 25, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "IsOccupied": { - "desiredValue": true, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "EmployeeId": { - "desiredValue": "Employee1", - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "$kind": "DigitalTwin" - } - }, - { - "$dtId": "roomWithWifiTwin1826980554", - "$etag": "f202ce41-9bb4-41bf-8bd1-12979ee77652", - "Temperature": 80, - "Humidity": 25, - "IsOccupied": true, - "EmployeeId": "Employee1", - "wifiAccessPoint": { - "RouterName": "Cisco1", - "Network": "Room1", - "$metadata": { - "$model": "dtmi:example:wifi;114348555", - "RouterName": { - "desiredValue": "Cisco1", - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "Network": { - "desiredValue": "Room1", - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - } - } - }, - "$metadata": { - "$model": "dtmi:example:wifiroom;13376", - "Temperature": { - "desiredValue": 80, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "Humidity": { - "desiredValue": 25, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "IsOccupied": { - "desiredValue": true, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "EmployeeId": { - "desiredValue": "Employee1", - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "$kind": "DigitalTwin" - } - }, - { - "$dtId": "roomTwin1824991499", - "$etag": "8e40b63c-94a2-4ed4-930f-575d639cda16", - "Temperature": 80, - "Humidity": 25, - "IsOccupied": true, - "EmployeeId": "Employee1", - "$metadata": { - "$model": "dtmi:example:room;112463466", - "Temperature": { - "desiredValue": 80, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "Humidity": { - "desiredValue": 25, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "IsOccupied": { - "desiredValue": true, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "EmployeeId": { - "desiredValue": "Employee1", - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "$kind": "DigitalTwin" - } - }, - { - "$dtId": "roomTwin882431752", - "$etag": "667d5711-fc7a-47f3-a7c0-8d516cad415d", - "Temperature": 80, - "Humidity": 25, - "IsOccupied": true, - "EmployeeId": "Employee1", - "$metadata": { - "$model": "dtmi:example:room;112463466", - "Temperature": { - "desiredValue": 80, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "Humidity": { - "desiredValue": 25, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "IsOccupied": { - "desiredValue": true, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "EmployeeId": { - "desiredValue": "Employee1", - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "$kind": "DigitalTwin" - } - } - ], + "items": [], "continuationToken": null } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Aroom%3B177323580?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Aroom%3B177323580?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], - "x-ms-client-request-id": "6aa37b2e904e48085b9c7122a7945789", + "x-ms-client-request-id": "1fe281d1f8d8643190d1cd2331e56054", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:04 GMT", + "Date": "Tue, 02 Jun 2020 19:05:09 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "277400192" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/QueryTests/Query_ValidQuery_SuccessAsync.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/QueryTests/Query_ValidQuery_SuccessAsync.json index 823830a1186b7..d57b82c7ad5fe 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/QueryTests/Query_ValidQuery_SuccessAsync.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/SessionRecords/QueryTests/Query_ValidQuery_SuccessAsync.json @@ -1,12 +1,12 @@ { "Entries": [ { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Afloor%3B11744460?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Afloor%3B11744460?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "6fea64f07b3b6592a63d64bd08409d31", @@ -17,7 +17,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:01 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -28,12 +28,12 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Aroom%3B117001227?includeModelDefinition=true\u0026api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Aroom%3B117001227?includeModelDefinition=true\u0026api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "0e3719e7cc9dd3ad11d3554955beade7", @@ -44,7 +44,7 @@ "ResponseHeaders": { "Content-Length": "212", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:02 GMT", + "Date": "Tue, 02 Jun 2020 19:05:06 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { @@ -55,188 +55,82 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models?api-version=2020-05-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "870", + "Content-Length": "804", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "81a42b5a12eed9803563a83c68c1a815", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "[{\r\n", - " \u0022@id\u0022: \u0022dtmi:example:room;117001227\u0022,\r\n", - " \u0022@type\u0022: \u0022Interface\u0022,\r\n", - " \u0022displayName\u0022: \u0022Room\u0022,\r\n", - " \u0022description\u0022: \u0022An enclosure inside a building.\u0022,\r\n", - " \u0022contents\u0022: [\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Relationship\u0022,\r\n", - " \u0022name\u0022: \u0022containedIn\u0022,\r\n", - " \u0022target\u0022: \u0022dtmi:example:floor;11744460\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022Temperature\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022Humidity\u0022,\r\n", - " \u0022schema\u0022: \u0022double\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022IsOccupied\u0022,\r\n", - " \u0022schema\u0022: \u0022boolean\u0022\r\n", - " },\r\n", - " {\r\n", - " \u0022@type\u0022: \u0022Property\u0022,\r\n", - " \u0022name\u0022: \u0022EmployeeId\u0022,\r\n", - " \u0022schema\u0022: \u0022string\u0022\r\n", - " }\r\n", - " ],\r\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022\r\n", - "}]" - ], + "RequestBody": "[{ \u0022@id\u0022: \u0022dtmi:example:room;117001227\u0022, \u0022@type\u0022: \u0022Interface\u0022, \u0022displayName\u0022: \u0022Room\u0022, \u0022description\u0022: \u0022An enclosure inside a building.\u0022, \u0022contents\u0022: [ { \u0022@type\u0022: \u0022Relationship\u0022, \u0022name\u0022: \u0022containedIn\u0022, \u0022target\u0022: \u0022dtmi:example:floor;11744460\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022Temperature\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022Humidity\u0022, \u0022schema\u0022: \u0022double\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022IsOccupied\u0022, \u0022schema\u0022: \u0022boolean\u0022 }, { \u0022@type\u0022: \u0022Property\u0022, \u0022name\u0022: \u0022EmployeeId\u0022, \u0022schema\u0022: \u0022string\u0022 } ], \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022}]", "StatusCode": 201, "ResponseHeaders": { "Content-Length": "192", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:07 GMT", "Strict-Transport-Security": "max-age=2592000" }, - "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:room;117001227\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022An enclosure inside a building.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Room\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-05-29T22:27:03.773264\u002B00:00\u0022}]" + "ResponseBody": "[{\u0022id\u0022:\u0022dtmi:example:room;117001227\u0022,\u0022description\u0022:{\u0022en\u0022:\u0022An enclosure inside a building.\u0022},\u0022displayName\u0022:{\u0022en\u0022:\u0022Room\u0022},\u0022decommissioned\u0022:false,\u0022uploadTime\u0022:\u00222020-06-02T19:05:07.930784\u002B00:00\u0022}]" }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin2138110373?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin2138110373?api-version=2020-05-31-preview", "RequestMethod": "GET", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], "x-ms-client-request-id": "a2172f6052523d989b29a83c1b517fb6", "x-ms-return-client-request-id": "true" }, "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Content-Length": "654", - "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", - "ETag": "W/\u0022a1d173c5-8ba1-4040-8ea4-047ee87742a5\u0022", - "Strict-Transport-Security": "max-age=2592000" - }, - "ResponseBody": { - "$dtId": "roomTwin2138110373", - "$etag": "a1d173c5-8ba1-4040-8ea4-047ee87742a5", - "Temperature": 80, - "Humidity": 25, - "IsOccupied": true, - "EmployeeId": "Employee1", - "$metadata": { - "$model": "dtmi:example:room;117001227", - "Temperature": { - "desiredValue": 80, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "Humidity": { - "desiredValue": 25, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "IsOccupied": { - "desiredValue": true, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "EmployeeId": { - "desiredValue": "Employee1", - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - } - } - } - }, - { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin129896917?api-version=2020-05-31-preview", - "RequestMethod": "GET", - "RequestHeaders": { - "Authorization": "Sanitized", - "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", - "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" - ], - "x-ms-client-request-id": "b0f914add58a5e99d83a24706a502a40", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, "StatusCode": 404, "ResponseHeaders": { - "Content-Length": "270", + "Content-Length": "271", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:03 GMT", + "Date": "Tue, 02 Jun 2020 19:05:07 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { "error": { "code": "DigitalTwinNotFound", - "message": "There is no digital twin instance that exists with the ID roomTwin129896917. Please verify that the twin id is valid and ensure that the twin is not deleted. See section on querying the twins http://aka.ms/adtv2query." + "message": "There is no digital twin instance that exists with the ID roomTwin2138110373. Please verify that the twin id is valid and ensure that the twin is not deleted. See section on querying the twins http://aka.ms/adtv2query." } } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/digitaltwins/roomTwin129896917?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/digitaltwins/roomTwin2138110373?api-version=2020-05-31-preview", "RequestMethod": "PUT", "RequestHeaders": { "Authorization": "Sanitized", - "Content-Length": "166", + "Content-Length": "150", "Content-Type": "application/json; charset=utf-8", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], - "x-ms-client-request-id": "968ef5a307450bd94352e8d79c1a1228", + "x-ms-client-request-id": "f914add58ab099d55ed83a24706a502a", "x-ms-return-client-request-id": "true" }, - "RequestBody": [ - "{\r\n", - " \u0022$metadata\u0022: {\r\n", - " \u0022$model\u0022: \u0022dtmi:example:room;117001227\u0022\r\n", - " },\r\n", - " \u0022Temperature\u0022: 80,\r\n", - " \u0022Humidity\u0022: 25,\r\n", - " \u0022IsOccupied\u0022: true,\r\n", - " \u0022EmployeeId\u0022: \u0022Employee1\u0022\r\n", - "}" - ], + "RequestBody": "{ \u0022$metadata\u0022: { \u0022$model\u0022: \u0022dtmi:example:room;117001227\u0022 }, \u0022Temperature\u0022: 80, \u0022Humidity\u0022: 25, \u0022IsOccupied\u0022: true, \u0022EmployeeId\u0022: \u0022Employee1\u0022}", "StatusCode": 200, "ResponseHeaders": { - "Content-Length": "653", + "Content-Length": "654", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:04 GMT", - "ETag": "W/\u0022ad649823-0814-404c-b4b5-f419b5079f15\u0022", + "Date": "Tue, 02 Jun 2020 19:05:07 GMT", + "ETag": "W/\u0022928d1d81-2922-4078-bb3d-04d5dec49e18\u0022", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { - "$dtId": "roomTwin129896917", - "$etag": "ad649823-0814-404c-b4b5-f419b5079f15", + "$dtId": "roomTwin2138110373", + "$etag": "928d1d81-2922-4078-bb3d-04d5dec49e18", "Temperature": 80, "Humidity": 25, "IsOccupied": true, @@ -275,17 +169,17 @@ } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/query?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/query?api-version=2020-05-31-preview", "RequestMethod": "POST", "RequestHeaders": { "Authorization": "Sanitized", "Content-Length": "62", "Content-Type": "application/json", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], - "x-ms-client-request-id": "93139385f51c5ad57e447a1874cd30d9", + "x-ms-client-request-id": "8ef5a3404596d9070b4352e8d79c1a12", "x-ms-return-client-request-id": "true" }, "RequestBody": { @@ -293,343 +187,41 @@ }, "StatusCode": 200, "ResponseHeaders": { - "Content-Length": "5120", + "Content-Length": "37", "Content-Type": "application/json; charset=utf-8", - "Date": "Fri, 29 May 2020 22:27:04 GMT", - "query-charge": "7.82", + "Date": "Tue, 02 Jun 2020 19:05:07 GMT", + "query-charge": "5.85", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": { - "items": [ - { - "$dtId": "roomTwin1779752527", - "$etag": "93e9b083-aa42-4df6-aef0-f98bcf212755", - "Temperature": 80, - "Humidity": 25, - "IsOccupied": true, - "EmployeeId": "Employee1", - "$metadata": { - "$model": "dtmi:example:room;118886946", - "Temperature": { - "desiredValue": 80, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "Humidity": { - "desiredValue": 25, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "IsOccupied": { - "desiredValue": true, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "EmployeeId": { - "desiredValue": "Employee1", - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "$kind": "DigitalTwin" - } - }, - { - "$dtId": "roomTwin1802870174", - "$etag": "2a3fb65d-7007-425b-b3b7-2106e12f41a8", - "Temperature": 80, - "Humidity": 25, - "IsOccupied": true, - "EmployeeId": "Employee1", - "$metadata": { - "$model": "dtmi:example:room;113987929", - "Temperature": { - "desiredValue": 80, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "Humidity": { - "desiredValue": 25, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "IsOccupied": { - "desiredValue": true, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "EmployeeId": { - "desiredValue": "Employee1", - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "$kind": "DigitalTwin" - } - }, - { - "$dtId": "roomTwin883117343", - "$etag": "c7fe9908-9881-44ba-927e-ed056b5da128", - "Temperature": 80, - "Humidity": 25, - "IsOccupied": true, - "EmployeeId": "Employee1", - "$metadata": { - "$model": "dtmi:example:room;113987929", - "Temperature": { - "desiredValue": 80, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "Humidity": { - "desiredValue": 25, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "IsOccupied": { - "desiredValue": true, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "EmployeeId": { - "desiredValue": "Employee1", - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "$kind": "DigitalTwin" - } - }, - { - "$dtId": "roomTwin54248529", - "$etag": "d4a1a993-90c7-492f-982a-4556b87c623c", - "Temperature": 80, - "Humidity": 25, - "IsOccupied": true, - "EmployeeId": "Employee1", - "$metadata": { - "$model": "dtmi:example:room;177323580", - "Temperature": { - "desiredValue": 80, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "Humidity": { - "desiredValue": 25, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "IsOccupied": { - "desiredValue": true, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "EmployeeId": { - "desiredValue": "Employee1", - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "$kind": "DigitalTwin" - } - }, - { - "$dtId": "roomWithWifiTwin1826980554", - "$etag": "f202ce41-9bb4-41bf-8bd1-12979ee77652", - "Temperature": 80, - "Humidity": 25, - "IsOccupied": true, - "EmployeeId": "Employee1", - "wifiAccessPoint": { - "RouterName": "Cisco1", - "Network": "Room1", - "$metadata": { - "$model": "dtmi:example:wifi;114348555", - "RouterName": { - "desiredValue": "Cisco1", - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "Network": { - "desiredValue": "Room1", - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - } - } - }, - "$metadata": { - "$model": "dtmi:example:wifiroom;13376", - "Temperature": { - "desiredValue": 80, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "Humidity": { - "desiredValue": 25, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "IsOccupied": { - "desiredValue": true, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "EmployeeId": { - "desiredValue": "Employee1", - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "$kind": "DigitalTwin" - } - }, - { - "$dtId": "roomTwin1824991499", - "$etag": "8e40b63c-94a2-4ed4-930f-575d639cda16", - "Temperature": 80, - "Humidity": 25, - "IsOccupied": true, - "EmployeeId": "Employee1", - "$metadata": { - "$model": "dtmi:example:room;112463466", - "Temperature": { - "desiredValue": 80, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "Humidity": { - "desiredValue": 25, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "IsOccupied": { - "desiredValue": true, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "EmployeeId": { - "desiredValue": "Employee1", - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "$kind": "DigitalTwin" - } - }, - { - "$dtId": "roomTwin882431752", - "$etag": "667d5711-fc7a-47f3-a7c0-8d516cad415d", - "Temperature": 80, - "Humidity": 25, - "IsOccupied": true, - "EmployeeId": "Employee1", - "$metadata": { - "$model": "dtmi:example:room;112463466", - "Temperature": { - "desiredValue": 80, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "Humidity": { - "desiredValue": 25, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "IsOccupied": { - "desiredValue": true, - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "EmployeeId": { - "desiredValue": "Employee1", - "desiredVersion": 1, - "ackVersion": 1, - "ackCode": 200, - "ackDescription": "Auto-Sync" - }, - "$kind": "DigitalTwin" - } - } - ], + "items": [], "continuationToken": null } }, { - "RequestUri": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net/models/dtmi%3Aexample%3Aroom%3B117001227?api-version=2020-05-31-preview", + "RequestUri": "https://vinageshnew.api.wus2.digitaltwins.azure.net/models/dtmi%3Aexample%3Aroom%3B117001227?api-version=2020-05-31-preview", "RequestMethod": "DELETE", "RequestHeaders": { "Authorization": "Sanitized", "User-Agent": [ - "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200529.1", + "azsdk-net-DigitalTwins.Core/1.0.0-dev.20200602.1", "(.NET Core 4.6.28801.04; Microsoft Windows 10.0.18363 )" ], - "x-ms-client-request-id": "5b77fc7e20f0a6903bed6c37ecc1c1be", + "x-ms-client-request-id": "139385281c93d5f55a7e447a1874cd30", "x-ms-return-client-request-id": "true" }, "RequestBody": null, "StatusCode": 204, "ResponseHeaders": { "Content-Length": "0", - "Date": "Fri, 29 May 2020 22:27:05 GMT", + "Date": "Tue, 02 Jun 2020 19:05:09 GMT", "Strict-Transport-Security": "max-age=2592000" }, "ResponseBody": [] } ], "Variables": { - "DIGITALTWINS_URL": "https://vinadttests.api.scus.pp.azuredigitaltwins-ppe.net", + "DIGITALTWINS_URL": "https://vinageshnew.api.wus2.digitaltwins.azure.net", "RandomSeed": "1812632980" } } \ No newline at end of file diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/TestAssetsHelper.cs b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/TestAssetsHelper.cs index 6005e1ad11062..ecb6cb2d4315a 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/TestAssetsHelper.cs +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/TestAssetsHelper.cs @@ -1,45 +1,53 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. +using System; using Azure.DigitalTwins.Core.Serialization; namespace Azure.DigitalTwins.Core.Tests { public static class TestAssetsHelper { + // Remove all new line characters as they are differnt in differnt Operaing Systems. + // This will ensure that the recorded files always match the request in playback mode of tests. + private static string RemoveNewLines(string payload) + { + return payload.Replace(Environment.NewLine, ""); + } + public static string GetFloorModelPayload(string floorModelId, string roomModelId, string hvacModelId) { - return TestAssets.FloorModelPayload + return RemoveNewLines(TestAssets.FloorModelPayload .Replace("FLOOR_MODEL_ID", floorModelId) .Replace("ROOM_MODEL_ID", roomModelId) - .Replace("HVAC_MODEL_ID", hvacModelId); + .Replace("HVAC_MODEL_ID", hvacModelId)); } public static string GetRoomModelPayload(string roomModelId, string floorModelId) { - return TestAssets.RoomModelPayload + return RemoveNewLines(TestAssets.RoomModelPayload .Replace("ROOM_MODEL_ID", roomModelId) - .Replace("FLOOR_MODEL_ID", floorModelId); + .Replace("FLOOR_MODEL_ID", floorModelId)); } public static string GetHvacModelPayload(string hvacModelId, string floorModelId) { - return TestAssets.HvacModelPayload + return RemoveNewLines(TestAssets.HvacModelPayload .Replace("HVAC_MODEL_ID", hvacModelId) - .Replace("FLOOR_MODEL_ID", floorModelId); + .Replace("FLOOR_MODEL_ID", floorModelId)); } public static string GetBuildingModelPayload(string buildingModelId, string hvacModelId, string floorModelId) { - return TestAssets.BuildingModelPayload + return RemoveNewLines(TestAssets.BuildingModelPayload .Replace("BUILDING_MODEL_ID", buildingModelId) .Replace("HVAC_MODEL_ID", hvacModelId) - .Replace("FLOOR_MODEL_ID", floorModelId); + .Replace("FLOOR_MODEL_ID", floorModelId)); } public static string GetWardModelPayload(string wardModelId) { - return TestAssets.WardModelPayload.Replace("WARD_MODEL_ID", wardModelId); + return RemoveNewLines(TestAssets.WardModelPayload.Replace("WARD_MODEL_ID", wardModelId)); } public static string GetRoomTwinUpdatePayload() @@ -48,73 +56,73 @@ public static string GetRoomTwinUpdatePayload() uou.AppendAddOp("/Humidity", 30); uou.AppendReplaceOp("/Temperature", 70); uou.AppendRemoveOp("/EmployeeId"); - return uou.Serialize(); + return RemoveNewLines(uou.Serialize()); } public static string GetWifiComponentUpdatePayload() { var uou = new UpdateOperationsUtility(); uou.AppendReplaceOp("/Network", "New Network"); - return uou.Serialize(); + return RemoveNewLines(uou.Serialize()); } public static string GetFloorTwinPayload(string floorModelId) { - return TestAssets.FloorTwinPayload.Replace("FLOOR_MODEL_ID", floorModelId); + return RemoveNewLines(TestAssets.FloorTwinPayload.Replace("FLOOR_MODEL_ID", floorModelId)); } public static string GetRoomTwinPayload(string roomModelId) { - return TestAssets.RoomTwinPayload.Replace("ROOM_MODEL_ID", roomModelId); + return RemoveNewLines(TestAssets.RoomTwinPayload.Replace("ROOM_MODEL_ID", roomModelId)); } public static string GetRelationshipPayload(string targetTwinId, string relationshipName) { - return TestAssets.RelationshipPayload + return RemoveNewLines(TestAssets.RelationshipPayload .Replace("TARGET_TWIN_ID", targetTwinId) - .Replace("RELATIONSHIP_NAME", relationshipName); + .Replace("RELATIONSHIP_NAME", relationshipName)); } public static string GetRelationshipWithPropertyPayload(string targetTwinId, string relationshipName, string propertyName, bool propertyValue) { - return TestAssets.RelationshipWithPropertyPayload + return RemoveNewLines(TestAssets.RelationshipWithPropertyPayload .Replace("TARGET_TWIN_ID", targetTwinId) .Replace("RELATIONSHIP_NAME", relationshipName) .Replace("PROPERTY_NAME", propertyName) - .Replace("\"PROPERTY_VALUE\"", propertyValue.ToString().ToLower()); + .Replace("\"PROPERTY_VALUE\"", propertyValue.ToString().ToLower())); } public static string GetRelationshipUpdatePayload(string propertyName, bool propertyValue) { var uou = new UpdateOperationsUtility(); uou.AppendReplaceOp(propertyName, propertyValue); - return uou.Serialize(); + return RemoveNewLines(uou.Serialize()); } public static string GetWifiModelPayload(string wifiModelId) { - return TestAssets.WifiModelPayload.Replace("WIFI_MODEL_ID", wifiModelId); + return RemoveNewLines(TestAssets.WifiModelPayload.Replace("WIFI_MODEL_ID", wifiModelId)); } public static string GetRoomWithWifiModelPayload(string roomWithWifiModelId, string wifiModelId, string wifiComponentName) { - return TestAssets.RoomWithWifiModelPayload + return RemoveNewLines(TestAssets.RoomWithWifiModelPayload .Replace("ROOM_WITH_WIFI_MODEL_ID", roomWithWifiModelId) .Replace("WIFI_MODEL_ID", wifiModelId) - .Replace("WIFI_COMPONENT_NAME", wifiComponentName); + .Replace("WIFI_COMPONENT_NAME", wifiComponentName)); } public static string GetRoomWithWifiTwinPayload(string roomWithWifiModelId, string wifiModelId, string wifiComponentName) { - return TestAssets.RoomWithWifiTwinPayload + return RemoveNewLines(TestAssets.RoomWithWifiTwinPayload .Replace("ROOM_WITH_WIFI_MODEL_ID", roomWithWifiModelId) .Replace("WIFI_MODEL_ID", wifiModelId) - .Replace("WIFI_COMPONENT_NAME", wifiComponentName); + .Replace("WIFI_COMPONENT_NAME", wifiComponentName)); } public static string GetHvacTwinPayload(string hvacModelId) { - return TestAssets.HvacTwinPayload.Replace("HVAC_MODEL_ID", hvacModelId); + return RemoveNewLines(TestAssets.HvacTwinPayload.Replace("HVAC_MODEL_ID", hvacModelId)); } } } diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/TestSettings.cs b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/TestSettings.cs index 4572c7033f88e..97142514b6b49 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/TestSettings.cs +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/TestSettings.cs @@ -24,6 +24,7 @@ public class TestSettings private static readonly string s_applicationClientIdEnv = $"{AdtEnvironmentVariablesPrefix}_CLIENT_ID"; private static readonly string s_applicationClientSecretEnv = $"{AdtEnvironmentVariablesPrefix}_CLIENT_SECRET"; private static readonly string s_digitalTwinHostnameEnv = $"{AdtEnvironmentVariablesPrefix}_URL"; + private static readonly string s_digitalTwinTestMode = $"AZURE_IOT_TEST_MODE"; public static TestSettings Instance { get; private set; } @@ -143,6 +144,17 @@ private static void OverrideFromEnvVariables() { Environment.SetEnvironmentVariable(s_digitalTwinHostnameEnv, Instance.DigitalTwinsInstanceHostName); } + + string testMode = Environment.GetEnvironmentVariable(s_digitalTwinTestMode); + if (!string.IsNullOrWhiteSpace(testMode)) + { + // Enum.Parse(value) cannot be used in net461 so using the type casting syntax. + Instance.TestMode = (RecordedTestMode)Enum.Parse(typeof(RecordedTestMode), testMode); + } + else + { + Environment.SetEnvironmentVariable(s_digitalTwinTestMode, Instance.TestMode.ToString()); + } } } } diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/config/common.config.json b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/config/common.config.json index 8d4f9f922eb12..6ff1c6dd1b2b5 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/config/common.config.json +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/config/common.config.json @@ -1,5 +1,5 @@ { "MicrosoftTenantId": "72f988bf-86f1-41af-91ab-2d7cd011db47", "DigitalTwinsInstanceHostName": "https://common.api.scus.pp.azuredigitaltwins-ppe.net", - "TestMode": "Live" + "TestMode": "Playback" } diff --git a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/prerequisites/setup.ps1 b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/prerequisites/setup.ps1 index bfcc4b982c45e..163849cf69b38 100644 --- a/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/prerequisites/setup.ps1 +++ b/sdk/digitaltwins/Azure.DigitalTwins.Core/tests/prerequisites/setup.ps1 @@ -182,12 +182,13 @@ else $user = $env:UserName $fileName = "$user.config.json" Write-Host("Writing user config file - $fileName`n") +$appSecretJsonEscaped = ConvertTo-Json $appSecret $config = @" { "DigitalTwinsInstanceHostName": "https://$($dtHostName)", "ApplicationId": "$appId", - "ClientSecret": "$appSecret", - "TestMode": "Live" + "ClientSecret": $appSecretJsonEscaped, + "TestMode": "Live" } "@ $config | Out-File "$PSScriptRoot\..\config\$fileName"