From d8074dee03af73d78358795ec33dfab994552498 Mon Sep 17 00:00:00 2001 From: Paymaun Heidari Date: Thu, 18 Feb 2021 19:16:15 -0800 Subject: [PATCH 1/2] Remove ResolverException in favor of RequestFailedException. Adds more docstrings. --- .../src/DtmiConventions.cs | 4 + .../src/Fetchers/FetchResult.cs | 5 + .../src/Fetchers/IModelFetcher.cs | 4 + .../src/Fetchers/LocalModelFetcher.cs | 8 +- .../src/Fetchers/RemoteModelFetcher.cs | 12 +- .../src/ModelMetadata.cs | 3 + .../src/ModelsRepoClient.cs | 8 +- .../src/RepositoryHandler.cs | 27 ++-- .../src/ResolverException.cs | 46 ------- .../tests/ResolveIntegrationTests.cs | 10 +- ...Exception(%com%example%Thermostat;1%).json | 2 +- ...tion(%com%example%Thermostat;1%)Async.json | 2 +- ...ion(%dtmi%com%example%%Thermostat;1%).json | 2 +- ...dtmi%com%example%%Thermostat;1%)Async.json | 2 +- ...tion(%dtmi%com%example%Thermostat%1%).json | 2 +- ...%dtmi%com%example%Thermostat%1%)Async.json | 2 +- .../ResolveMultipleModelsNoDeps(Local).json | 2 +- ...solveMultipleModelsNoDeps(Local)Async.json | 2 +- .../ResolveMultipleModelsNoDeps(Remote).json | 38 ++++-- ...olveMultipleModelsNoDeps(Remote)Async.json | 38 ++++-- ...tmi%com%example%thermojax;999%,Local).json | 6 - ...mi%com%example%thermojax;999%,Remote).json | 32 ----- ...xistentDtmiFileThrowsException(Local).json | 2 +- ...ntDtmiFileThrowsException(Local)Async.json | 2 +- ...istentDtmiFileThrowsException(Remote).json | 22 +-- ...tDtmiFileThrowsException(Remote)Async.json | 22 +-- ...dtmi%com%example%Thermostat;1%,Local).json | 6 - ...tmi%com%example%Thermostat;1%,Remote).json | 127 ------------------ .../ResolveSingleModelNoDeps(Local).json | 2 +- .../ResolveSingleModelNoDeps(Local)Async.json | 2 +- .../ResolveSingleModelNoDeps(Remote).json | 20 ++- ...ResolveSingleModelNoDeps(Remote)Async.json | 20 ++- ...olveSingleModelTryFromExpanded(Local).json | 2 +- ...ingleModelTryFromExpanded(Local)Async.json | 2 +- ...lveSingleModelTryFromExpanded(Remote).json | 20 ++- ...ngleModelTryFromExpanded(Remote)Async.json | 20 ++- .../ResolveSingleModelWithDeps(Local).json | 2 +- ...esolveSingleModelWithDeps(Local)Async.json | 2 +- .../ResolveSingleModelWithDeps(Remote).json | 56 +++++--- ...solveSingleModelWithDeps(Remote)Async.json | 56 +++++--- ...dtmi%com%example%Thermostat;1%,Local).json | 6 - ...tmi%com%example%Thermostat;1%,Remote).json | 127 ------------------ ...epsDisableDependencyResolution(Local).json | 2 +- ...sableDependencyResolution(Local)Async.json | 2 +- ...psDisableDependencyResolution(Remote).json | 20 ++- ...ableDependencyResolution(Remote)Async.json | 20 ++- ...endsInline(%dtmi%com%example%base;1%).json | 6 - ...dtmi%com%example%thermostat;1%,Local).json | 6 - ...tmi%com%example%thermostat;1%,Remote).json | 127 ------------------ ...WithWrongCasingThrowsException(Local).json | 2 +- ...rongCasingThrowsException(Local)Async.json | 2 +- ...ithWrongCasingThrowsException(Remote).json | 20 ++- ...ongCasingThrowsException(Remote)Async.json | 20 ++- 53 files changed, 326 insertions(+), 676 deletions(-) delete mode 100644 sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ResolverException.cs delete mode 100644 sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(%dtmi%com%example%thermojax;999%,Local).json delete mode 100644 sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(%dtmi%com%example%thermojax;999%,Remote).json delete mode 100644 sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(%dtmi%com%example%Thermostat;1%,Local).json delete mode 100644 sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(%dtmi%com%example%Thermostat;1%,Remote).json delete mode 100644 sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(%dtmi%com%example%Thermostat;1%,Local).json delete mode 100644 sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(%dtmi%com%example%Thermostat;1%,Remote).json delete mode 100644 sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsFromExtendsInline(%dtmi%com%example%base;1%).json delete mode 100644 sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(%dtmi%com%example%thermostat;1%,Local).json delete mode 100644 sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(%dtmi%com%example%thermostat;1%,Remote).json diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/DtmiConventions.cs b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/DtmiConventions.cs index 2d009edfa4529..a81f3d20119e3 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/DtmiConventions.cs +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/DtmiConventions.cs @@ -7,6 +7,10 @@ namespace Azure.Iot.ModelsRepository { + /// + /// DtmiConventions implements the core aspects of the IoT model repo conventions + /// which includes calculating a generic path from a DTMI. + /// internal static class DtmiConventions { private static readonly Regex s_validDtmiRegex = new Regex(@"^dtmi:[A-Za-z](?:[A-Za-z0-9_]*[A-Za-z0-9])?(?::[A-Za-z](?:[A-Za-z0-9_]*[A-Za-z0-9])?)*;[1-9][0-9]{0,8}$"); diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/FetchResult.cs b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/FetchResult.cs index 02810bdd872cc..4dd78c5865791 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/FetchResult.cs +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/FetchResult.cs @@ -3,6 +3,11 @@ namespace Azure.Iot.ModelsRepository.Fetchers { + /// + /// The FetchResult class has the purpose of containing key elements of + /// an IModelFetcher Fetch() operation including model definition, path and whether + /// it was from an expanded (pre-calculated) fetch. + /// internal class FetchResult { public string Definition { get; set; } diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/IModelFetcher.cs b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/IModelFetcher.cs index 696ad7417d6fa..0c86d875d33f7 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/IModelFetcher.cs +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/IModelFetcher.cs @@ -7,6 +7,10 @@ namespace Azure.Iot.ModelsRepository.Fetchers { + /// + /// The IModelFetcher is an abstraction that supports fetching + /// model content via a particular protocol or mechanism of interaction. + /// internal interface IModelFetcher { Task FetchAsync(string dtmi, Uri repositoryUri, CancellationToken cancellationToken = default); diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/LocalModelFetcher.cs b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/LocalModelFetcher.cs index 8a9d4d671f84d..6fd7400015836 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/LocalModelFetcher.cs +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/LocalModelFetcher.cs @@ -12,6 +12,10 @@ namespace Azure.Iot.ModelsRepository.Fetchers { + /// + /// The LocalModelFetcher is an implementation of IModelFetcher + /// for supporting local filesystem based model content fetching. + /// internal class LocalModelFetcher : IModelFetcher { private readonly bool _tryExpanded; @@ -65,7 +69,9 @@ public FetchResult Fetch(string dtmi, Uri repositoryUri, CancellationToken cance fnfError = string.Format(CultureInfo.CurrentCulture, ServiceStrings.ErrorFetchingModelContent, tryContentPath); } - throw new FileNotFoundException(fnfError); + throw new RequestFailedException( + $"{string.Format(CultureInfo.CurrentCulture, ServiceStrings.GenericResolverError, dtmi)} {fnfError}", + new FileNotFoundException(fnfError)); } catch (Exception ex) { diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/RemoteModelFetcher.cs b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/RemoteModelFetcher.cs index 4b2cee6fddb00..dca2d8ec58fd2 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/RemoteModelFetcher.cs +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/RemoteModelFetcher.cs @@ -13,6 +13,10 @@ namespace Azure.Iot.ModelsRepository.Fetchers { + /// + /// The RemoteModelFetcher is an implementation of IModelFetcher + /// for supporting http[s] based model content fetching. + /// internal class RemoteModelFetcher : IModelFetcher { private readonly HttpPipeline _pipeline; @@ -54,7 +58,9 @@ public FetchResult Fetch(string dtmi, Uri repositoryUri, CancellationToken cance } catch (Exception) { - remoteFetchError = string.Format(CultureInfo.CurrentCulture, StandardStrings.ErrorFetchingModelContent, tryContentPath); + remoteFetchError = + $"{string.Format(CultureInfo.CurrentCulture, ServiceStrings.GenericResolverError, dtmi)} " + + string.Format(CultureInfo.CurrentCulture, StandardStrings.ErrorFetchingModelContent, tryContentPath); } } @@ -95,7 +101,9 @@ public async Task FetchAsync(string dtmi, Uri repositoryUri, Cancel } catch (Exception) { - remoteFetchError = string.Format(CultureInfo.CurrentCulture, StandardStrings.ErrorFetchingModelContent, tryContentPath); + remoteFetchError = + $"{string.Format(CultureInfo.CurrentCulture, ServiceStrings.GenericResolverError, dtmi)} " + + string.Format(CultureInfo.CurrentCulture, StandardStrings.ErrorFetchingModelContent, tryContentPath); } } diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelMetadata.cs b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelMetadata.cs index bf0cc568bf0f5..07db0124827ac 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelMetadata.cs +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelMetadata.cs @@ -6,6 +6,9 @@ namespace Azure.Iot.ModelsRepository { + /// + /// ModelMetadata is designated to store KPI's from model parsing. + /// internal class ModelMetadata { public ModelMetadata(string id, IList extends, IList componentSchemas) diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelsRepoClient.cs b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelsRepoClient.cs index ddda417a06da7..159130446f816 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelsRepoClient.cs +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelsRepoClient.cs @@ -93,7 +93,7 @@ public ModelsRepoClient(Uri repositoryUri, ModelsRepoClientOptions options) /// An IDictionary containing the model definition(s) where the key is the dtmi /// and the value is the raw model definition string. /// - /// Thrown when a resolution failure occurs. + /// Thrown when a resolution failure occurs. /// A well-formed DTDL model Id. For example 'dtmi:com:example:Thermostat;1'. /// The cancellationToken. [SuppressMessage( @@ -122,7 +122,7 @@ public virtual async Task> ResolveAsync(string dtmi, /// An IDictionary containing the model definition(s) where the key is the dtmi /// and the value is the raw model definition string. /// - /// Thrown when a resolution failure occurs. + /// Thrown when a resolution failure occurs. /// A well-formed DTDL model Id. For example 'dtmi:com:example:Thermostat;1'. /// The cancellationToken. [SuppressMessage( @@ -152,7 +152,7 @@ public virtual IDictionary Resolve(string dtmi, CancellationToke /// An IDictionary containing the model definition(s) where the key is the dtmi /// and the value is the raw model definition string. /// - /// Thrown when a resolution failure occurs. + /// Thrown when a resolution failure occurs. /// A collection of well-formed DTDL model Ids. /// The cancellationToken. [SuppressMessage("Usage", "AZC0015:Unexpected client method return type.", Justification = "")] @@ -179,7 +179,7 @@ public virtual async Task> ResolveAsync(IEnumerable< /// An IDictionary containing the model definition(s) where the key is the dtmi /// and the value is the raw model definition string. /// - /// Thrown when a resolution failure occurs. + /// Thrown when a resolution failure occurs. /// A collection of well-formed DTDL model Ids. /// The cancellationToken. [SuppressMessage("Usage", "AZC0015:Unexpected client method return type.", Justification = "")] diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/RepositoryHandler.cs b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/RepositoryHandler.cs index 19614317a9e29..2cf3ea12e13eb 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/RepositoryHandler.cs +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/RepositoryHandler.cs @@ -114,8 +114,11 @@ private async Task> ProcessAsync(IEnumerable if (!parsedDtmi.Equals(targetDtmi, StringComparison.Ordinal)) { ModelsRepoEventSource.Instance.IncorrectDtmiCasing(targetDtmi, parsedDtmi); - string formatErrorMsg = string.Format(CultureInfo.CurrentCulture, ServiceStrings.IncorrectDtmiCasing, targetDtmi, parsedDtmi); - throw new ResolverException(targetDtmi, formatErrorMsg, new FormatException(formatErrorMsg)); + string formatErrorMsg = + $"{string.Format(CultureInfo.CurrentCulture, ServiceStrings.GenericResolverError, targetDtmi)} " + + string.Format(CultureInfo.CurrentCulture, ServiceStrings.IncorrectDtmiCasing, targetDtmi, parsedDtmi); + + throw new RequestFailedException(formatErrorMsg, new FormatException(formatErrorMsg)); } processedModels.Add(targetDtmi, result.Definition); @@ -126,26 +129,12 @@ private async Task> ProcessAsync(IEnumerable private async Task FetchAsync(string dtmi, CancellationToken cancellationToken) { - try - { - return await _modelFetcher.FetchAsync(dtmi, _repositoryUri, cancellationToken).ConfigureAwait(false); - } - catch (Exception ex) - { - throw new ResolverException(dtmi, ex.Message, ex); - } + return await _modelFetcher.FetchAsync(dtmi, _repositoryUri, cancellationToken).ConfigureAwait(false); } private FetchResult Fetch(string dtmi, CancellationToken cancellationToken) { - try - { - return _modelFetcher.Fetch(dtmi, _repositoryUri, cancellationToken); - } - catch (Exception ex) - { - throw new ResolverException(dtmi, ex.Message, ex); - } + return _modelFetcher.Fetch(dtmi, _repositoryUri, cancellationToken); } private static Queue PrepareWork(IEnumerable dtmis) @@ -157,7 +146,7 @@ private static Queue PrepareWork(IEnumerable dtmis) { ModelsRepoEventSource.Instance.InvalidDtmiInput(dtmi); string invalidArgMsg = string.Format(CultureInfo.CurrentCulture, ServiceStrings.InvalidDtmiFormat, dtmi); - throw new ResolverException(dtmi, invalidArgMsg, new ArgumentException(invalidArgMsg)); + throw new RequestFailedException(invalidArgMsg, new ArgumentException(invalidArgMsg)); } toProcessModels.Enqueue(dtmi); diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ResolverException.cs b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ResolverException.cs deleted file mode 100644 index 854175e401323..0000000000000 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ResolverException.cs +++ /dev/null @@ -1,46 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -using System; -using System.Globalization; - -namespace Azure.Iot.ModelsRepository -{ - /// - /// TODO: Paymaun: Exception comments. - /// - public class ResolverException : Exception - { - /// - /// TODO: Paymaun: Exception comments. - /// - /// - public ResolverException(string dtmi) - : base(string.Format(CultureInfo.CurrentCulture, ServiceStrings.GenericResolverError, dtmi)) { } - - /// - /// TODO: Paymaun: Exception comments. - /// - /// - /// - public ResolverException(string dtmi, string message) - : base($"{string.Format(CultureInfo.CurrentCulture, ServiceStrings.GenericResolverError, dtmi)} {message}") { } - - /// - /// TODO: Paymaun: Exception comments. - /// - /// - /// - public ResolverException(string dtmi, Exception innerException) - : base(string.Format(CultureInfo.CurrentCulture, ServiceStrings.GenericResolverError, dtmi), innerException) { } - - /// - /// TODO: Paymaun: Exception comments. - /// - /// - /// - /// - public ResolverException(string dtmi, string message, Exception innerException) - : base($"{string.Format(CultureInfo.CurrentCulture, ServiceStrings.GenericResolverError, dtmi)} {message}", innerException) { } - } -} diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/ResolveIntegrationTests.cs b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/ResolveIntegrationTests.cs index e70d9ec01c5ac..8170e4fa4a8cd 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/ResolveIntegrationTests.cs +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/ResolveIntegrationTests.cs @@ -27,7 +27,7 @@ public void ResolveWithWrongCasingThrowsException(ModelsRepoTestBase.ClientType " " + string.Format(ServiceStrings.IncorrectDtmiCasing, "dtmi:com:example:thermostat;1", "dtmi:com:example:Thermostat;1"); - ResolverException re = Assert.ThrowsAsync(async () => await client.ResolveAsync(dtmi)); + RequestFailedException re = Assert.ThrowsAsync(async () => await client.ResolveAsync(dtmi)); Assert.AreEqual(re.Message, expectedExMsg); } @@ -37,8 +37,8 @@ public void ResolveWithWrongCasingThrowsException(ModelsRepoTestBase.ClientType public void ResolveInvalidDtmiFormatThrowsException(string dtmi) { ModelsRepoClient client = GetClient(ModelsRepoTestBase.ClientType.Local); - string expectedExMsg = $"{string.Format(ServiceStrings.GenericResolverError, dtmi)} {string.Format(ServiceStrings.InvalidDtmiFormat, dtmi)}"; - ResolverException re = Assert.ThrowsAsync(async () => await client.ResolveAsync(dtmi)); + string expectedExMsg = string.Format(ServiceStrings.InvalidDtmiFormat, dtmi); + RequestFailedException re = Assert.ThrowsAsync(async () => await client.ResolveAsync(dtmi)); Assert.AreEqual(re.Message, expectedExMsg); } @@ -49,7 +49,7 @@ public void ResolveNoneExistentDtmiFileThrowsException(ModelsRepoTestBase.Client const string dtmi = "dtmi:com:example:thermojax;999"; ModelsRepoClient client = GetClient(clientType); - ResolverException re = Assert.ThrowsAsync(async () => await client.ResolveAsync(dtmi)); + RequestFailedException re = Assert.ThrowsAsync(async () => await client.ResolveAsync(dtmi)); Assert.True(re.Message.StartsWith($"Unable to resolve \"{dtmi}\"")); } @@ -59,7 +59,7 @@ public void ResolveInvalidDtmiDepsThrowsException() const string invalidDep = "dtmi:azure:fakeDeviceManagement:FakeDeviceInformation;2"; ModelsRepoClient client = GetClient(ModelsRepoTestBase.ClientType.Local); - ResolverException resolverException = Assert.ThrowsAsync(async () => await client.ResolveAsync(dtmi)); + RequestFailedException resolverException = Assert.ThrowsAsync(async () => await client.ResolveAsync(dtmi)); Assert.True(resolverException.Message.StartsWith($"Unable to resolve \"{invalidDep}\"")); } diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%com%example%Thermostat;1%).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%com%example%Thermostat;1%).json index e0db8f5126915..dd4b9f474d346 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%com%example%Thermostat;1%).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%com%example%Thermostat;1%).json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "1650497515" + "RandomSeed": "500828730" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%com%example%Thermostat;1%)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%com%example%Thermostat;1%)Async.json index 84a0db30d8c77..18189abcfcc2f 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%com%example%Thermostat;1%)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%com%example%Thermostat;1%)Async.json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "1839650407" + "RandomSeed": "950415430" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%%Thermostat;1%).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%%Thermostat;1%).json index 5359e1c5b0216..f12af6efaec5d 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%%Thermostat;1%).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%%Thermostat;1%).json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "2001869406" + "RandomSeed": "1877784449" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%%Thermostat;1%)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%%Thermostat;1%)Async.json index 84a0db30d8c77..f0a83f73b0825 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%%Thermostat;1%)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%%Thermostat;1%)Async.json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "1839650407" + "RandomSeed": "1301787321" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%Thermostat%1%).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%Thermostat%1%).json index db1452133b782..b96870c78826f 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%Thermostat%1%).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%Thermostat%1%).json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "460813550" + "RandomSeed": "388432055" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%Thermostat%1%)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%Thermostat%1%)Async.json index 15fba10d250a4..572d780f3b462 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%Thermostat%1%)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%Thermostat%1%)Async.json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "43538651" + "RandomSeed": "531259393" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Local).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Local).json index 2a541ff8ffced..5dcda9aec9235 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Local).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Local).json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "454929595" + "RandomSeed": "1271356658" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Local)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Local)Async.json index 3ded7bf2e4bd4..6ab4776227a42 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Local)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Local)Async.json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "1749919302" + "RandomSeed": "343987639" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Remote).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Remote).json index 110a88b2ff48f..420376b66a41d 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Remote).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Remote).json @@ -4,9 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-379ffdea3e50e748a6068f68f80583d7-d7e868f981c0bd43-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "1359c81cccacbce693405f80b1fc459a", + "traceparent": "00-9b7fd95b60409e45adc4191a973e89a8-6e1b9b8756425c41-00", + "User-Agent": [ + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "b1077c5212fd057ece4fcb7a5881029b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,14 +19,17 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "94", + "Age": "98598", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:00 GMT", + "Date": "Fri, 19 Feb 2021 03:33:44 GMT", "ETag": "\u00220x8D8A13DEABC53BA\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", - "Server": "ECAcc (sed/E15D)", + "Server": [ + "ECAcc", + "(sed/E15D)" + ], "X-Cache": "HIT", "x-ms-error-code": "ConditionNotMet", "x-ms-request-id": "7c45bf94-401e-006f-228a-05fc4e000000", @@ -125,9 +131,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/azure/devicemanagement/deviceinformation-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-379ffdea3e50e748a6068f68f80583d7-9c14d78d51c88b4f-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "f311ab3cf64e12a2bca1717df9e3f260", + "traceparent": "00-9b7fd95b60409e45adc4191a973e89a8-347362c1b4ddac4e-00", + "User-Agent": [ + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "43efdd9cbff2d4711d655274cc476292", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -137,14 +146,17 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "94", + "Age": "98598", "Content-Length": "2212", "Content-MD5": "oCzHP9acH\u002B/\u002BFQOv2V56NA==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:00 GMT", + "Date": "Fri, 19 Feb 2021 03:33:44 GMT", "ETag": "\u00220x8D8A13DEBC614F0\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:59 GMT", - "Server": "ECAcc (sed/E110)", + "Server": [ + "ECAcc", + "(sed/E110)" + ], "X-Cache": "HIT", "x-ms-error-code": "ConditionNotMet", "x-ms-request-id": "3933dec4-901e-0002-018a-056177000000", @@ -219,6 +231,6 @@ } ], "Variables": { - "RandomSeed": "986482307" + "RandomSeed": "919984767" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Remote)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Remote)Async.json index e737548561471..c57fb01d78253 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Remote)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Remote)Async.json @@ -4,9 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-49b851d467cd5449a57efe61ca32b0de-c1aa2231816a824d-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "e16735f9c9696ef67a02d6821e6d6ca2", + "traceparent": "00-4065d3ab6fcca244b84fb27e09938e20-c07e9b8c7dc8274a-00", + "User-Agent": [ + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "c7e9434eddacd08d76743d151b457794", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,14 +19,17 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "95", + "Age": "98599", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 03:33:45 GMT", "ETag": "\u00220x8D8A13DEABC53BA\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", - "Server": "ECAcc (sed/E15D)", + "Server": [ + "ECAcc", + "(sed/E15D)" + ], "X-Cache": "HIT", "x-ms-error-code": "ConditionNotMet", "x-ms-request-id": "7c45bf94-401e-006f-228a-05fc4e000000", @@ -125,9 +131,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/azure/devicemanagement/deviceinformation-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-49b851d467cd5449a57efe61ca32b0de-381055c4b149204c-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "844c92e8c32f039fc8995cef50b32dc9", + "traceparent": "00-4065d3ab6fcca244b84fb27e09938e20-385519af19835346-00", + "User-Agent": [ + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "6ece0506540a7abec5c1a1f7398e0933", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -137,14 +146,17 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "95", + "Age": "98599", "Content-Length": "2212", "Content-MD5": "oCzHP9acH\u002B/\u002BFQOv2V56NA==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 03:33:45 GMT", "ETag": "\u00220x8D8A13DEBC614F0\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:59 GMT", - "Server": "ECAcc (sed/E110)", + "Server": [ + "ECAcc", + "(sed/E110)" + ], "X-Cache": "HIT", "x-ms-error-code": "ConditionNotMet", "x-ms-request-id": "3933dec4-901e-0002-018a-056177000000", @@ -219,6 +231,6 @@ } ], "Variables": { - "RandomSeed": "1749919302" + "RandomSeed": "2140099395" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(%dtmi%com%example%thermojax;999%,Local).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(%dtmi%com%example%thermojax;999%,Local).json deleted file mode 100644 index 9cf49911bf77f..0000000000000 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(%dtmi%com%example%thermojax;999%,Local).json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "Entries": [], - "Variables": { - "RandomSeed": "79179109" - } -} \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(%dtmi%com%example%thermojax;999%,Remote).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(%dtmi%com%example%thermojax;999%,Remote).json deleted file mode 100644 index 377f8aa1eda02..0000000000000 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(%dtmi%com%example%thermojax;999%,Remote).json +++ /dev/null @@ -1,32 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermojax-999.json", - "RequestMethod": "GET", - "RequestHeaders": { - "traceparent": "00-11865ea0f7c8604b949858daf134c47f-4f48f8f2fe9de94e-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "8cbd2571225b454be3f00bb02dee603f", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 404, - "ResponseHeaders": { - "Access-Control-Allow-Headers": "*", - "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", - "Access-Control-Expose-Headers": "*", - "Content-Length": "321", - "Content-Type": "text/html", - "Date": "Wed, 17 Feb 2021 23:18:59 GMT", - "Server": "Windows-Azure-Web/1.0 Microsoft-HTTPAPI/2.0", - "x-ms-error-code": "WebContentNotFound", - "x-ms-request-id": "03ce92ff-d01e-0082-5883-053622000000", - "x-ms-version": "2018-03-28" - }, - "ResponseBody": "\u003C!DOCTYPE html\u003E\u003Chtml\u003E\u003Chead\u003E\u003Ctitle\u003EWebContentNotFound\u003C/title\u003E\u003C/head\u003E\u003Cbody\u003E\u003Ch1\u003EThe requested content does not exist.\u003C/h1\u003E\u003Cp\u003E\u003Cul\u003E\u003Cli\u003EHttpStatusCode: 404\u003C/li\u003E\u003Cli\u003EErrorCode: WebContentNotFound\u003C/li\u003E\u003Cli\u003ERequestId : 03ce92ff-d01e-0082-5883-053622000000\u003C/li\u003E\u003Cli\u003ETimeStamp : 2021-02-17T23:18:59.9651897Z\u003C/li\u003E\u003C/ul\u003E\u003C/p\u003E\u003C/body\u003E\u003C/html\u003E" - } - ], - "Variables": { - "RandomSeed": "1875290865" - } -} \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Local).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Local).json index ccec783c27329..68c26917fdce6 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Local).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Local).json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "657057375" + "RandomSeed": "957506363" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Local)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Local)Async.json index e08d2ac20b29f..eb7a526aa554f 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Local)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Local)Async.json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "275422934" + "RandomSeed": "1414183996" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Remote).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Remote).json index 72afe2ae99628..1aa35b8ae9eea 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Remote).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Remote).json @@ -4,9 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermojax-999.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-9189ea5b4fd27c4593e01af3ae47c700-8e4b515407286845-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "bb05fb64fd48b5423e1eaef99e061960", + "traceparent": "00-bf0b9a2125974242a95ec0988753a6bb-296c2f6144b82042-00", + "User-Agent": [ + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "d7aa1ec5070e74ab3f605f3acb330bb0", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -17,16 +20,19 @@ "Access-Control-Expose-Headers": "*", "Content-Length": "321", "Content-Type": "text/html", - "Date": "Thu, 18 Feb 2021 00:12:00 GMT", - "Server": "Windows-Azure-Web/1.0 Microsoft-HTTPAPI/2.0", + "Date": "Fri, 19 Feb 2021 03:33:44 GMT", + "Server": [ + "Windows-Azure-Web/1.0", + "Microsoft-HTTPAPI/2.0" + ], "x-ms-error-code": "WebContentNotFound", - "x-ms-request-id": "13c21e0b-301e-0018-268a-05df40000000", + "x-ms-request-id": "646a593e-101e-0026-0770-065c4c000000", "x-ms-version": "2018-03-28" }, - "ResponseBody": "\u003C!DOCTYPE html\u003E\u003Chtml\u003E\u003Chead\u003E\u003Ctitle\u003EWebContentNotFound\u003C/title\u003E\u003C/head\u003E\u003Cbody\u003E\u003Ch1\u003EThe requested content does not exist.\u003C/h1\u003E\u003Cp\u003E\u003Cul\u003E\u003Cli\u003EHttpStatusCode: 404\u003C/li\u003E\u003Cli\u003EErrorCode: WebContentNotFound\u003C/li\u003E\u003Cli\u003ERequestId : 13c21e0b-301e-0018-268a-05df40000000\u003C/li\u003E\u003Cli\u003ETimeStamp : 2021-02-18T00:12:00.9523368Z\u003C/li\u003E\u003C/ul\u003E\u003C/p\u003E\u003C/body\u003E\u003C/html\u003E" + "ResponseBody": "\u003C!DOCTYPE html\u003E\u003Chtml\u003E\u003Chead\u003E\u003Ctitle\u003EWebContentNotFound\u003C/title\u003E\u003C/head\u003E\u003Cbody\u003E\u003Ch1\u003EThe requested content does not exist.\u003C/h1\u003E\u003Cp\u003E\u003Cul\u003E\u003Cli\u003EHttpStatusCode: 404\u003C/li\u003E\u003Cli\u003EErrorCode: WebContentNotFound\u003C/li\u003E\u003Cli\u003ERequestId : 646a593e-101e-0026-0770-065c4c000000\u003C/li\u003E\u003Cli\u003ETimeStamp : 2021-02-19T03:33:44.8331959Z\u003C/li\u003E\u003C/ul\u003E\u003C/p\u003E\u003C/body\u003E\u003C/html\u003E" } ], "Variables": { - "RandomSeed": "1427585303" + "RandomSeed": "1728034291" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Remote)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Remote)Async.json index b854caa7faeeb..4d4e94544cc9a 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Remote)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Remote)Async.json @@ -4,9 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermojax-999.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-be2dbd98e325044f95c4e3fb170e07b6-9f7ebe6a0bde2a4f-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "57bb973535762831f8e42e5ca3146641", + "traceparent": "00-dcc4c32b5b295147a75bd34a66cdb71b-3cea004021b8ed40-00", + "User-Agent": [ + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "1f7879e4d8008daa00cf5ad32f8759a0", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -17,16 +20,19 @@ "Access-Control-Expose-Headers": "*", "Content-Length": "321", "Content-Type": "text/html", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", - "Server": "Windows-Azure-Web/1.0 Microsoft-HTTPAPI/2.0", + "Date": "Fri, 19 Feb 2021 03:33:44 GMT", + "Server": [ + "Windows-Azure-Web/1.0", + "Microsoft-HTTPAPI/2.0" + ], "x-ms-error-code": "WebContentNotFound", - "x-ms-request-id": "fdfbccb8-c01e-005b-758a-057157000000", + "x-ms-request-id": "d54fb80b-401e-006f-6570-06fc4e000000", "x-ms-version": "2018-03-28" }, - "ResponseBody": "\u003C!DOCTYPE html\u003E\u003Chtml\u003E\u003Chead\u003E\u003Ctitle\u003EWebContentNotFound\u003C/title\u003E\u003C/head\u003E\u003Cbody\u003E\u003Ch1\u003EThe requested content does not exist.\u003C/h1\u003E\u003Cp\u003E\u003Cul\u003E\u003Cli\u003EHttpStatusCode: 404\u003C/li\u003E\u003Cli\u003EErrorCode: WebContentNotFound\u003C/li\u003E\u003Cli\u003ERequestId : fdfbccb8-c01e-005b-758a-057157000000\u003C/li\u003E\u003Cli\u003ETimeStamp : 2021-02-18T00:12:01.2893383Z\u003C/li\u003E\u003C/ul\u003E\u003C/p\u003E\u003C/body\u003E\u003C/html\u003E" + "ResponseBody": "\u003C!DOCTYPE html\u003E\u003Chtml\u003E\u003Chead\u003E\u003Ctitle\u003EWebContentNotFound\u003C/title\u003E\u003C/head\u003E\u003Cbody\u003E\u003Ch1\u003EThe requested content does not exist.\u003C/h1\u003E\u003Cp\u003E\u003Cul\u003E\u003Cli\u003EHttpStatusCode: 404\u003C/li\u003E\u003Cli\u003EErrorCode: WebContentNotFound\u003C/li\u003E\u003Cli\u003ERequestId : d54fb80b-401e-006f-6570-06fc4e000000\u003C/li\u003E\u003Cli\u003ETimeStamp : 2021-02-19T03:33:45.0549070Z\u003C/li\u003E\u003C/ul\u003E\u003C/p\u003E\u003C/body\u003E\u003C/html\u003E" } ], "Variables": { - "RandomSeed": "275422934" + "RandomSeed": "37228277" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(%dtmi%com%example%Thermostat;1%,Local).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(%dtmi%com%example%Thermostat;1%,Local).json deleted file mode 100644 index 666ab1dcf99d0..0000000000000 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(%dtmi%com%example%Thermostat;1%,Local).json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "Entries": [], - "Variables": { - "RandomSeed": "2107175148" - } -} \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(%dtmi%com%example%Thermostat;1%,Remote).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(%dtmi%com%example%Thermostat;1%,Remote).json deleted file mode 100644 index 18bd0837c6d6a..0000000000000 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(%dtmi%com%example%Thermostat;1%,Remote).json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", - "RequestMethod": "GET", - "RequestHeaders": { - "traceparent": "00-c7efc63b858b1049a05630948e067371-89c0c5efb51e2c47-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "5a6553655dcb062ab6f41412c48b8718", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Accept-Ranges": "bytes", - "Access-Control-Allow-Headers": "*", - "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", - "Access-Control-Expose-Headers": "*", - "Age": "783", - "Content-Length": "2469", - "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", - "Content-Type": "application/json", - "Date": "Wed, 17 Feb 2021 23:03:36 GMT", - "ETag": "\u00220x8D8A13DEABC53BA\u0022", - "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", - "Server": "ECAcc (sed/E12C)", - "X-Cache": "HIT", - "x-ms-request-id": "cc41f149-a01e-0025-257f-05214a000000", - "x-ms-version": "2018-03-28" - }, - "ResponseBody": [ - "{\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022,\n", - " \u0022@id\u0022: \u0022dtmi:com:example:Thermostat;1\u0022,\n", - " \u0022@type\u0022: \u0022Interface\u0022,\n", - " \u0022displayName\u0022: \u0022Thermostat\u0022,\n", - " \u0022description\u0022: \u0022Reports current temperature and provides desired temperature control.\u0022,\n", - " \u0022contents\u0022: [\n", - " {\n", - " \u0022@type\u0022: [\n", - " \u0022Telemetry\u0022,\n", - " \u0022Temperature\u0022\n", - " ],\n", - " \u0022name\u0022: \u0022temperature\u0022,\n", - " \u0022displayName\u0022: \u0022Temperature\u0022,\n", - " \u0022description\u0022: \u0022Temperature in degrees Celsius.\u0022,\n", - " \u0022schema\u0022: \u0022double\u0022,\n", - " \u0022unit\u0022: \u0022degreeCelsius\u0022\n", - " },\n", - " {\n", - " \u0022@type\u0022: [\n", - " \u0022Property\u0022,\n", - " \u0022Temperature\u0022\n", - " ],\n", - " \u0022name\u0022: \u0022targetTemperature\u0022,\n", - " \u0022schema\u0022: \u0022double\u0022,\n", - " \u0022displayName\u0022: \u0022Target Temperature\u0022,\n", - " \u0022description\u0022: \u0022Allows to remotely specify the desired target temperature.\u0022,\n", - " \u0022unit\u0022: \u0022degreeCelsius\u0022,\n", - " \u0022writable\u0022: true\n", - " },\n", - " {\n", - " \u0022@type\u0022: [\n", - " \u0022Property\u0022,\n", - " \u0022Temperature\u0022\n", - " ],\n", - " \u0022name\u0022: \u0022maxTempSinceLastReboot\u0022,\n", - " \u0022schema\u0022: \u0022double\u0022,\n", - " \u0022unit\u0022: \u0022degreeCelsius\u0022,\n", - " \u0022displayName\u0022: \u0022Max temperature since last reboot.\u0022,\n", - " \u0022description\u0022: \u0022Returns the max temperature since last device reboot.\u0022\n", - " },\n", - " {\n", - " \u0022@type\u0022: \u0022Command\u0022,\n", - " \u0022name\u0022: \u0022getMaxMinReport\u0022,\n", - " \u0022displayName\u0022: \u0022Get Max-Min report.\u0022,\n", - " \u0022description\u0022: \u0022This command returns the max, min and average temperature from the specified time to the current time.\u0022,\n", - " \u0022request\u0022: {\n", - " \u0022name\u0022: \u0022since\u0022,\n", - " \u0022displayName\u0022: \u0022Since\u0022,\n", - " \u0022description\u0022: \u0022Period to return the max-min report.\u0022,\n", - " \u0022schema\u0022: \u0022dateTime\u0022\n", - " },\n", - " \u0022response\u0022: {\n", - " \u0022name\u0022: \u0022tempReport\u0022,\n", - " \u0022displayName\u0022: \u0022Temperature Report\u0022,\n", - " \u0022schema\u0022: {\n", - " \u0022@type\u0022: \u0022Object\u0022,\n", - " \u0022fields\u0022: [\n", - " {\n", - " \u0022name\u0022: \u0022maxTemp\u0022,\n", - " \u0022displayName\u0022: \u0022Max temperature\u0022,\n", - " \u0022schema\u0022: \u0022double\u0022\n", - " },\n", - " {\n", - " \u0022name\u0022: \u0022minTemp\u0022,\n", - " \u0022displayName\u0022: \u0022Min temperature\u0022,\n", - " \u0022schema\u0022: \u0022double\u0022\n", - " },\n", - " {\n", - " \u0022name\u0022: \u0022avgTemp\u0022,\n", - " \u0022displayName\u0022: \u0022Average Temperature\u0022,\n", - " \u0022schema\u0022: \u0022double\u0022\n", - " },\n", - " {\n", - " \u0022name\u0022: \u0022startTime\u0022,\n", - " \u0022displayName\u0022: \u0022Start Time\u0022,\n", - " \u0022schema\u0022: \u0022dateTime\u0022\n", - " },\n", - " {\n", - " \u0022name\u0022: \u0022endTime\u0022,\n", - " \u0022displayName\u0022: \u0022End Time\u0022,\n", - " \u0022schema\u0022: \u0022dateTime\u0022\n", - " }\n", - " ]\n", - " }\n", - " }\n", - " }\n", - " ]\n", - "}" - ] - } - ], - "Variables": { - "RandomSeed": "2107175148" - } -} \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Local).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Local).json index 8e88d3520dc35..b4d747145a227 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Local).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Local).json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "240578639" + "RandomSeed": "418862718" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Local)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Local)Async.json index b6f6ad8a84a48..c8f05041fb923 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Local)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Local)Async.json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "1535568346" + "RandomSeed": "105012423" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Remote).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Remote).json index c1927dd6cca07..37276b6a4d7e6 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Remote).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Remote).json @@ -4,9 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-06448acf7697e04aa825136cf0da18a8-eae8b6023aee9b40-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "7e3da3dbe01885ad16f02678919a3baf", + "traceparent": "00-f77229788618df41b96c9d4dff72e9c3-2c498f2d18d5b148-00", + "User-Agent": [ + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "82c8dd12a0d21abb4607d96f287a0bc0", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,14 +19,17 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "94", + "Age": "98598", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:00 GMT", + "Date": "Fri, 19 Feb 2021 03:33:44 GMT", "ETag": "\u00220x8D8A13DEABC53BA\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", - "Server": "ECAcc (sed/E15D)", + "Server": [ + "ECAcc", + "(sed/E15D)" + ], "X-Cache": "HIT", "x-ms-error-code": "ConditionNotMet", "x-ms-request-id": "7c45bf94-401e-006f-228a-05fc4e000000", @@ -123,6 +129,6 @@ } ], "Variables": { - "RandomSeed": "772131351" + "RandomSeed": "1189390646" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Remote)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Remote)Async.json index c8a74562e5cd8..8e28c0dd593a4 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Remote)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Remote)Async.json @@ -4,9 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-b8adf26c140fb44babd6d91e1d3b1056-9c9225a4f60e5447-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "70d57f5f8381528bc9232ca651618980", + "traceparent": "00-1b08876704839440bb07ed326c7c7749-ab57b84f2a245c43-00", + "User-Agent": [ + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "a606c98aca1917ec3a0645dc3b7731e8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,14 +19,17 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "95", + "Age": "98599", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 03:33:45 GMT", "ETag": "\u00220x8D8A13DEABC53BA\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", - "Server": "ECAcc (sed/E15D)", + "Server": [ + "ECAcc", + "(sed/E15D)" + ], "X-Cache": "HIT", "x-ms-error-code": "ConditionNotMet", "x-ms-request-id": "7c45bf94-401e-006f-228a-05fc4e000000", @@ -123,6 +129,6 @@ } ], "Variables": { - "RandomSeed": "158612627" + "RandomSeed": "875540351" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Local).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Local).json index 35b9eb31093cf..3fba87606917c 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Local).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Local).json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "1207456423" + "RandomSeed": "838018755" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Local)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Local)Async.json index 25511ca1f5222..f6684bfddc52a 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Local)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Local)Async.json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "774118520" + "RandomSeed": "1294696388" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Remote).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Remote).json index 169a927dc52df..a9d6ee88aab8c 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Remote).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Remote).json @@ -4,9 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/temperaturecontroller-1.expanded.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-19a0c380c81e4649bf2b9d5b531b7147-88c4a03e956a024f-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "95ac01e011175866bba709411596790b", + "traceparent": "00-22e33bf6617a0d469f19e23cced42e2f-52e65639be6b1349-00", + "User-Agent": [ + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "a3f996bf78b3c48d964f4048ff1b509c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,14 +19,17 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "15463", + "Age": "113966", "Content-Length": "6751", "Content-MD5": "BnZpV2\u002B7Z2t0sxAxOhmBdw==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 03:33:44 GMT", "ETag": "\u00220x8D8A13DEAC10FCC\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", - "Server": "ECAcc (sed/E181)", + "Server": [ + "ECAcc", + "(sed/E181)" + ], "X-Cache": "HIT", "x-ms-error-code": "ConditionNotMet", "x-ms-request-id": "cf7eff99-301e-0018-2a66-05df40000000", @@ -249,6 +255,6 @@ } ], "Variables": { - "RandomSeed": "362053416" + "RandomSeed": "838018755" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Remote)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Remote)Async.json index 8cd7272bfb35a..a79ae0ebd1788 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Remote)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Remote)Async.json @@ -4,9 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/temperaturecontroller-1.expanded.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-0aff4c28f4da4645a031fd16289d0ed0-fb9641fbb950e142-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "85eb2669e8b5b348f3bbe71c65a8e4ef", + "traceparent": "00-0fe30c7ac755314a84974003494a1512-b8ef7326201d6e42-00", + "User-Agent": [ + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "0d636084e751f85b2300c90d7ec6c554", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,14 +19,17 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "15463", + "Age": "113967", "Content-Length": "6751", "Content-MD5": "BnZpV2\u002B7Z2t0sxAxOhmBdw==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 03:33:45 GMT", "ETag": "\u00220x8D8A13DEAC10FCC\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", - "Server": "ECAcc (sed/E181)", + "Server": [ + "ECAcc", + "(sed/E181)" + ], "X-Cache": "HIT", "x-ms-error-code": "ConditionNotMet", "x-ms-request-id": "cf7eff99-301e-0018-2a66-05df40000000", @@ -249,6 +255,6 @@ } ], "Variables": { - "RandomSeed": "774118520" + "RandomSeed": "2065224316" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Local).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Local).json index 3237457f4a474..bf33caadfc068 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Local).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Local).json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "677761543" + "RandomSeed": "231590964" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Local)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Local)Async.json index dd31b8cf8f79a..d2fccda58fc6a 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Local)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Local)Async.json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "1366323459" + "RandomSeed": "688268597" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Remote).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Remote).json index de87022f019b4..3952a9c958263 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Remote).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Remote).json @@ -4,9 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/temperaturecontroller-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-bc2800903bd360499451b6566e5c517b-ebb2056af779aa45-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "8ada9e0277c2ecac952515e409cedf7a", + "traceparent": "00-c808e3ed8148624ebdb217cf88ed193b-f602e3ee020b2f4b-00", + "User-Agent": [ + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "0a562db993eba4fd7f3ec479356ae408", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,14 +19,17 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "95", + "Age": "98598", "Content-Length": "1762", "Content-MD5": "w8OrFrbCwZwtVo6WaKDWxQ==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 03:33:44 GMT", "ETag": "\u00220x8D8A13DEABA3051\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", - "Server": "ECAcc (sed/E17F)", + "Server": [ + "ECAcc", + "(sed/E17F)" + ], "X-Cache": "HIT", "x-ms-error-code": "ConditionNotMet", "x-ms-request-id": "8ae2e233-d01e-0092-748a-058600000000", @@ -96,9 +102,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-bc2800903bd360499451b6566e5c517b-83070169f0ff584a-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "7b0dc2556de499ee87f9b1d7c4003254", + "traceparent": "00-c808e3ed8148624ebdb217cf88ed193b-acef0eefef11bd46-00", + "User-Agent": [ + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "e6fcaeb539b7edd560a27e09669d2a57", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -108,14 +117,17 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "95", + "Age": "98598", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 03:33:44 GMT", "ETag": "\u00220x8D8A13DEABC53BA\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", - "Server": "ECAcc (sed/E15D)", + "Server": [ + "ECAcc", + "(sed/E15D)" + ], "X-Cache": "HIT", "x-ms-error-code": "ConditionNotMet", "x-ms-request-id": "7c45bf94-401e-006f-228a-05fc4e000000", @@ -217,9 +229,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/azure/devicemanagement/deviceinformation-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-bc2800903bd360499451b6566e5c517b-6619fa4c31f3f444-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "a579e02f48161643121343fe6b1c7679", + "traceparent": "00-c808e3ed8148624ebdb217cf88ed193b-ae4bb3f6dba28e4e-00", + "User-Agent": [ + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "fb16089ec3463845a7d53bc1605ec631", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -229,14 +244,17 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "95", + "Age": "98598", "Content-Length": "2212", "Content-MD5": "oCzHP9acH\u002B/\u002BFQOv2V56NA==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 03:33:44 GMT", "ETag": "\u00220x8D8A13DEBC614F0\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:59 GMT", - "Server": "ECAcc (sed/E110)", + "Server": [ + "ECAcc", + "(sed/E110)" + ], "X-Cache": "HIT", "x-ms-error-code": "ConditionNotMet", "x-ms-request-id": "3933dec4-901e-0002-018a-056177000000", @@ -311,6 +329,6 @@ } ], "Variables": { - "RandomSeed": "1979842183" + "RandomSeed": "2027702720" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Remote)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Remote)Async.json index 11d1d6c0b2192..435c5fac380c1 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Remote)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Remote)Async.json @@ -4,9 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/temperaturecontroller-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-63bf2e1f52be8d49823720f88aa6912d-6be12dfd8ce3be4d-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "9ca33232f20c635c99a081eb9f367226", + "traceparent": "00-30741c9903253f4dab2c8ffc590bc38b-aafa0f9dde44c340-00", + "User-Agent": [ + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "512488d864ddbdfc40adbf1298bd31f8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,14 +19,17 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "95", + "Age": "98599", "Content-Length": "1762", "Content-MD5": "w8OrFrbCwZwtVo6WaKDWxQ==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 03:33:45 GMT", "ETag": "\u00220x8D8A13DEABA3051\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", - "Server": "ECAcc (sed/E17F)", + "Server": [ + "ECAcc", + "(sed/E17F)" + ], "X-Cache": "HIT", "x-ms-error-code": "ConditionNotMet", "x-ms-request-id": "8ae2e233-d01e-0092-748a-058600000000", @@ -96,9 +102,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-63bf2e1f52be8d49823720f88aa6912d-6519073425f59e44-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "e5afa67d5ac06c8269a37b9630161acc", + "traceparent": "00-30741c9903253f4dab2c8ffc590bc38b-364df82b2dc1c741-00", + "User-Agent": [ + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "9ea0f08702eeaa25fc06f51b7c12968e", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -108,14 +117,17 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "95", + "Age": "98599", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 03:33:45 GMT", "ETag": "\u00220x8D8A13DEABC53BA\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", - "Server": "ECAcc (sed/E15D)", + "Server": [ + "ECAcc", + "(sed/E15D)" + ], "X-Cache": "HIT", "x-ms-error-code": "ConditionNotMet", "x-ms-request-id": "7c45bf94-401e-006f-228a-05fc4e000000", @@ -217,9 +229,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/azure/devicemanagement/deviceinformation-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-63bf2e1f52be8d49823720f88aa6912d-91dd090f0679aa4c-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "d949bd084afa4035408a3709a5887c77", + "traceparent": "00-30741c9903253f4dab2c8ffc590bc38b-255eae0d4b87694c-00", + "User-Agent": [ + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "2c6107ade5c1de2c61366212ff86f281", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -229,14 +244,17 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "95", + "Age": "98599", "Content-Length": "2212", "Content-MD5": "oCzHP9acH\u002B/\u002BFQOv2V56NA==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 03:33:45 GMT", "ETag": "\u00220x8D8A13DEBC614F0\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:59 GMT", - "Server": "ECAcc (sed/E110)", + "Server": [ + "ECAcc", + "(sed/E110)" + ], "X-Cache": "HIT", "x-ms-error-code": "ConditionNotMet", "x-ms-request-id": "3933dec4-901e-0002-018a-056177000000", @@ -311,6 +329,6 @@ } ], "Variables": { - "RandomSeed": "1014951568" + "RandomSeed": "336896706" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(%dtmi%com%example%Thermostat;1%,Local).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(%dtmi%com%example%Thermostat;1%,Local).json deleted file mode 100644 index 3ea3dcd8aec00..0000000000000 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(%dtmi%com%example%Thermostat;1%,Local).json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "Entries": [], - "Variables": { - "RandomSeed": "962103712" - } -} \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(%dtmi%com%example%Thermostat;1%,Remote).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(%dtmi%com%example%Thermostat;1%,Remote).json deleted file mode 100644 index 9adb4e137c0cf..0000000000000 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(%dtmi%com%example%Thermostat;1%,Remote).json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", - "RequestMethod": "GET", - "RequestHeaders": { - "traceparent": "00-411100cf886856488eb23effe7594d03-c76ce555c548864d-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "6cdaaaad11c88caaa68c137859201b94", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Accept-Ranges": "bytes", - "Access-Control-Allow-Headers": "*", - "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", - "Access-Control-Expose-Headers": "*", - "Age": "783", - "Content-Length": "2469", - "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", - "Content-Type": "application/json", - "Date": "Wed, 17 Feb 2021 23:03:36 GMT", - "ETag": "\u00220x8D8A13DEABC53BA\u0022", - "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", - "Server": "ECAcc (sed/E12C)", - "X-Cache": "HIT", - "x-ms-request-id": "cc41f149-a01e-0025-257f-05214a000000", - "x-ms-version": "2018-03-28" - }, - "ResponseBody": [ - "{\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022,\n", - " \u0022@id\u0022: \u0022dtmi:com:example:Thermostat;1\u0022,\n", - " \u0022@type\u0022: \u0022Interface\u0022,\n", - " \u0022displayName\u0022: \u0022Thermostat\u0022,\n", - " \u0022description\u0022: \u0022Reports current temperature and provides desired temperature control.\u0022,\n", - " \u0022contents\u0022: [\n", - " {\n", - " \u0022@type\u0022: [\n", - " \u0022Telemetry\u0022,\n", - " \u0022Temperature\u0022\n", - " ],\n", - " \u0022name\u0022: \u0022temperature\u0022,\n", - " \u0022displayName\u0022: \u0022Temperature\u0022,\n", - " \u0022description\u0022: \u0022Temperature in degrees Celsius.\u0022,\n", - " \u0022schema\u0022: \u0022double\u0022,\n", - " \u0022unit\u0022: \u0022degreeCelsius\u0022\n", - " },\n", - " {\n", - " \u0022@type\u0022: [\n", - " \u0022Property\u0022,\n", - " \u0022Temperature\u0022\n", - " ],\n", - " \u0022name\u0022: \u0022targetTemperature\u0022,\n", - " \u0022schema\u0022: \u0022double\u0022,\n", - " \u0022displayName\u0022: \u0022Target Temperature\u0022,\n", - " \u0022description\u0022: \u0022Allows to remotely specify the desired target temperature.\u0022,\n", - " \u0022unit\u0022: \u0022degreeCelsius\u0022,\n", - " \u0022writable\u0022: true\n", - " },\n", - " {\n", - " \u0022@type\u0022: [\n", - " \u0022Property\u0022,\n", - " \u0022Temperature\u0022\n", - " ],\n", - " \u0022name\u0022: \u0022maxTempSinceLastReboot\u0022,\n", - " \u0022schema\u0022: \u0022double\u0022,\n", - " \u0022unit\u0022: \u0022degreeCelsius\u0022,\n", - " \u0022displayName\u0022: \u0022Max temperature since last reboot.\u0022,\n", - " \u0022description\u0022: \u0022Returns the max temperature since last device reboot.\u0022\n", - " },\n", - " {\n", - " \u0022@type\u0022: \u0022Command\u0022,\n", - " \u0022name\u0022: \u0022getMaxMinReport\u0022,\n", - " \u0022displayName\u0022: \u0022Get Max-Min report.\u0022,\n", - " \u0022description\u0022: \u0022This command returns the max, min and average temperature from the specified time to the current time.\u0022,\n", - " \u0022request\u0022: {\n", - " \u0022name\u0022: \u0022since\u0022,\n", - " \u0022displayName\u0022: \u0022Since\u0022,\n", - " \u0022description\u0022: \u0022Period to return the max-min report.\u0022,\n", - " \u0022schema\u0022: \u0022dateTime\u0022\n", - " },\n", - " \u0022response\u0022: {\n", - " \u0022name\u0022: \u0022tempReport\u0022,\n", - " \u0022displayName\u0022: \u0022Temperature Report\u0022,\n", - " \u0022schema\u0022: {\n", - " \u0022@type\u0022: \u0022Object\u0022,\n", - " \u0022fields\u0022: [\n", - " {\n", - " \u0022name\u0022: \u0022maxTemp\u0022,\n", - " \u0022displayName\u0022: \u0022Max temperature\u0022,\n", - " \u0022schema\u0022: \u0022double\u0022\n", - " },\n", - " {\n", - " \u0022name\u0022: \u0022minTemp\u0022,\n", - " \u0022displayName\u0022: \u0022Min temperature\u0022,\n", - " \u0022schema\u0022: \u0022double\u0022\n", - " },\n", - " {\n", - " \u0022name\u0022: \u0022avgTemp\u0022,\n", - " \u0022displayName\u0022: \u0022Average Temperature\u0022,\n", - " \u0022schema\u0022: \u0022double\u0022\n", - " },\n", - " {\n", - " \u0022name\u0022: \u0022startTime\u0022,\n", - " \u0022displayName\u0022: \u0022Start Time\u0022,\n", - " \u0022schema\u0022: \u0022dateTime\u0022\n", - " },\n", - " {\n", - " \u0022name\u0022: \u0022endTime\u0022,\n", - " \u0022displayName\u0022: \u0022End Time\u0022,\n", - " \u0022schema\u0022: \u0022dateTime\u0022\n", - " }\n", - " ]\n", - " }\n", - " }\n", - " }\n", - " ]\n", - "}" - ] - } - ], - "Variables": { - "RandomSeed": "610731821" - } -} \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Local).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Local).json index 35448696a7e12..8b4cc16069709 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Local).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Local).json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "230329874" + "RandomSeed": "1840430966" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Local)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Local)Async.json index c39613aeb4740..5cb7e11361d6f 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Local)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Local)Async.json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "1345619291" + "RandomSeed": "568780989" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Remote).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Remote).json index e82c42ba606d3..be7eb026353d4 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Remote).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Remote).json @@ -4,9 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-8b6e13a6fa7fe342a5ca1cf38193f7c4-5ac6b95698174a4d-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "11a9dc7941b151ef60ea37b2752bae17", + "traceparent": "00-f782eb72cdeeb141abd957c7a5092622-a422cd7d6c1f8948-00", + "User-Agent": [ + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "9437345a52cfa03b3698d8d5b30f9e3c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,14 +19,17 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "95", + "Age": "98598", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 03:33:44 GMT", "ETag": "\u00220x8D8A13DEABC53BA\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", - "Server": "ECAcc (sed/E15D)", + "Server": [ + "ECAcc", + "(sed/E15D)" + ], "X-Cache": "HIT", "x-ms-error-code": "ConditionNotMet", "x-ms-request-id": "7c45bf94-401e-006f-228a-05fc4e000000", @@ -123,6 +129,6 @@ } ], "Variables": { - "RandomSeed": "2026441630" + "RandomSeed": "1840430966" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Remote)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Remote)Async.json index 9706e4831caa8..cfeedca3a7949 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Remote)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Remote)Async.json @@ -4,9 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-bd7f33fd1a4045449c0b2a33aa4f0f42-7c7ef09984530544-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "ce34ce7d3be01d23556189a01742ab3d", + "traceparent": "00-a2efed58f88fe84c921496451bdf2ee0-e8579285490cf945-00", + "User-Agent": [ + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "6399df1f17da437c3146be782e52c574", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,14 +19,17 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "95", + "Age": "98599", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 03:33:45 GMT", "ETag": "\u00220x8D8A13DEABC53BA\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", - "Server": "ECAcc (sed/E15D)", + "Server": [ + "ECAcc", + "(sed/E15D)" + ], "X-Cache": "HIT", "x-ms-error-code": "ConditionNotMet", "x-ms-request-id": "7c45bf94-401e-006f-228a-05fc4e000000", @@ -123,6 +129,6 @@ } ], "Variables": { - "RandomSeed": "994247400" + "RandomSeed": "987937026" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsFromExtendsInline(%dtmi%com%example%base;1%).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsFromExtendsInline(%dtmi%com%example%base;1%).json deleted file mode 100644 index 1116e5c2e7f24..0000000000000 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsFromExtendsInline(%dtmi%com%example%base;1%).json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "Entries": [], - "Variables": { - "RandomSeed": "1381259749" - } -} \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(%dtmi%com%example%thermostat;1%,Local).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(%dtmi%com%example%thermostat;1%,Local).json deleted file mode 100644 index 051c2c83237a9..0000000000000 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(%dtmi%com%example%thermostat;1%,Local).json +++ /dev/null @@ -1,6 +0,0 @@ -{ - "Entries": [], - "Variables": { - "RandomSeed": "423460067" - } -} \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(%dtmi%com%example%thermostat;1%,Remote).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(%dtmi%com%example%thermostat;1%,Remote).json deleted file mode 100644 index 9cea76a520b1f..0000000000000 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(%dtmi%com%example%thermostat;1%,Remote).json +++ /dev/null @@ -1,127 +0,0 @@ -{ - "Entries": [ - { - "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", - "RequestMethod": "GET", - "RequestHeaders": { - "traceparent": "00-2dd7d8eeae47974893a7056b58c4338e-24bb8806df9b5d4e-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "17f869faa88c31baad298dadaa661ba4", - "x-ms-return-client-request-id": "true" - }, - "RequestBody": null, - "StatusCode": 200, - "ResponseHeaders": { - "Accept-Ranges": "bytes", - "Access-Control-Allow-Headers": "*", - "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", - "Access-Control-Expose-Headers": "*", - "Age": "1707", - "Content-Length": "2469", - "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", - "Content-Type": "application/json", - "Date": "Wed, 17 Feb 2021 23:19:00 GMT", - "ETag": "\u00220x8D8A13DEABC53BA\u0022", - "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", - "Server": "ECAcc (sed/E12C)", - "X-Cache": "HIT", - "x-ms-request-id": "cc41f149-a01e-0025-257f-05214a000000", - "x-ms-version": "2018-03-28" - }, - "ResponseBody": [ - "{\n", - " \u0022@context\u0022: \u0022dtmi:dtdl:context;2\u0022,\n", - " \u0022@id\u0022: \u0022dtmi:com:example:Thermostat;1\u0022,\n", - " \u0022@type\u0022: \u0022Interface\u0022,\n", - " \u0022displayName\u0022: \u0022Thermostat\u0022,\n", - " \u0022description\u0022: \u0022Reports current temperature and provides desired temperature control.\u0022,\n", - " \u0022contents\u0022: [\n", - " {\n", - " \u0022@type\u0022: [\n", - " \u0022Telemetry\u0022,\n", - " \u0022Temperature\u0022\n", - " ],\n", - " \u0022name\u0022: \u0022temperature\u0022,\n", - " \u0022displayName\u0022: \u0022Temperature\u0022,\n", - " \u0022description\u0022: \u0022Temperature in degrees Celsius.\u0022,\n", - " \u0022schema\u0022: \u0022double\u0022,\n", - " \u0022unit\u0022: \u0022degreeCelsius\u0022\n", - " },\n", - " {\n", - " \u0022@type\u0022: [\n", - " \u0022Property\u0022,\n", - " \u0022Temperature\u0022\n", - " ],\n", - " \u0022name\u0022: \u0022targetTemperature\u0022,\n", - " \u0022schema\u0022: \u0022double\u0022,\n", - " \u0022displayName\u0022: \u0022Target Temperature\u0022,\n", - " \u0022description\u0022: \u0022Allows to remotely specify the desired target temperature.\u0022,\n", - " \u0022unit\u0022: \u0022degreeCelsius\u0022,\n", - " \u0022writable\u0022: true\n", - " },\n", - " {\n", - " \u0022@type\u0022: [\n", - " \u0022Property\u0022,\n", - " \u0022Temperature\u0022\n", - " ],\n", - " \u0022name\u0022: \u0022maxTempSinceLastReboot\u0022,\n", - " \u0022schema\u0022: \u0022double\u0022,\n", - " \u0022unit\u0022: \u0022degreeCelsius\u0022,\n", - " \u0022displayName\u0022: \u0022Max temperature since last reboot.\u0022,\n", - " \u0022description\u0022: \u0022Returns the max temperature since last device reboot.\u0022\n", - " },\n", - " {\n", - " \u0022@type\u0022: \u0022Command\u0022,\n", - " \u0022name\u0022: \u0022getMaxMinReport\u0022,\n", - " \u0022displayName\u0022: \u0022Get Max-Min report.\u0022,\n", - " \u0022description\u0022: \u0022This command returns the max, min and average temperature from the specified time to the current time.\u0022,\n", - " \u0022request\u0022: {\n", - " \u0022name\u0022: \u0022since\u0022,\n", - " \u0022displayName\u0022: \u0022Since\u0022,\n", - " \u0022description\u0022: \u0022Period to return the max-min report.\u0022,\n", - " \u0022schema\u0022: \u0022dateTime\u0022\n", - " },\n", - " \u0022response\u0022: {\n", - " \u0022name\u0022: \u0022tempReport\u0022,\n", - " \u0022displayName\u0022: \u0022Temperature Report\u0022,\n", - " \u0022schema\u0022: {\n", - " \u0022@type\u0022: \u0022Object\u0022,\n", - " \u0022fields\u0022: [\n", - " {\n", - " \u0022name\u0022: \u0022maxTemp\u0022,\n", - " \u0022displayName\u0022: \u0022Max temperature\u0022,\n", - " \u0022schema\u0022: \u0022double\u0022\n", - " },\n", - " {\n", - " \u0022name\u0022: \u0022minTemp\u0022,\n", - " \u0022displayName\u0022: \u0022Min temperature\u0022,\n", - " \u0022schema\u0022: \u0022double\u0022\n", - " },\n", - " {\n", - " \u0022name\u0022: \u0022avgTemp\u0022,\n", - " \u0022displayName\u0022: \u0022Average Temperature\u0022,\n", - " \u0022schema\u0022: \u0022double\u0022\n", - " },\n", - " {\n", - " \u0022name\u0022: \u0022startTime\u0022,\n", - " \u0022displayName\u0022: \u0022Start Time\u0022,\n", - " \u0022schema\u0022: \u0022dateTime\u0022\n", - " },\n", - " {\n", - " \u0022name\u0022: \u0022endTime\u0022,\n", - " \u0022displayName\u0022: \u0022End Time\u0022,\n", - " \u0022schema\u0022: \u0022dateTime\u0022\n", - " }\n", - " ]\n", - " }\n", - " }\n", - " }\n", - " ]\n", - "}" - ] - } - ], - "Variables": { - "RandomSeed": "72088176" - } -} \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Local).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Local).json index a73157e8dbadd..0cf7912c8806e 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Local).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Local).json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "230810405" + "RandomSeed": "112103356" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Local)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Local)Async.json index ad51959160ecc..7e3c449faacea 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Local)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Local)Async.json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "1764775328" + "RandomSeed": "1758464954" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Remote).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Remote).json index c77598e7c20b3..ec2541f4f1612 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Remote).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Remote).json @@ -4,9 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-d120f8f0c54d8748ab110999de6aca7f-afb48756063c1149-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "ff2661a03d226b136e95119e9dd18435", + "traceparent": "00-ccbd3c446be45b4aaa83baa48b8ff78a-9f3d528256657348-00", + "User-Agent": [ + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "fb94cc54700781ab209c5d06025d32a8", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,14 +19,17 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "95", + "Age": "98598", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 03:33:44 GMT", "ETag": "\u00220x8D8A13DEABC53BA\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", - "Server": "ECAcc (sed/E15D)", + "Server": [ + "ECAcc", + "(sed/E15D)" + ], "X-Cache": "HIT", "x-ms-error-code": "ConditionNotMet", "x-ms-request-id": "7c45bf94-401e-006f-228a-05fc4e000000", @@ -123,6 +129,6 @@ } ], "Variables": { - "RandomSeed": "230810405" + "RandomSeed": "882631284" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Remote)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Remote)Async.json index 34da955f4b1b6..aa2b9bf50da2d 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Remote)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Remote)Async.json @@ -4,9 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-eb3b9d10fe3d7d418d003cc706739542-3ba434b6d2495740-00", - "User-Agent": "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210217.1 (.NET Framework 4.8.4300.0; Microsoft Windows 10.0.18363 )", - "x-ms-client-request-id": "144eadca803754c1ef19a7f889effacd", + "traceparent": "00-459e72c755582541a7e3534a15d1f679-0ea6de09dbfcfc4c-00", + "User-Agent": [ + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" + ], + "x-ms-client-request-id": "a76007739266081c4de6b37d3a4a3118", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -16,14 +19,17 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "95", + "Age": "98599", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 03:33:45 GMT", "ETag": "\u00220x8D8A13DEABC53BA\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", - "Server": "ECAcc (sed/E15D)", + "Server": [ + "ECAcc", + "(sed/E15D)" + ], "X-Cache": "HIT", "x-ms-error-code": "ConditionNotMet", "x-ms-request-id": "7c45bf94-401e-006f-228a-05fc4e000000", @@ -123,6 +129,6 @@ } ], "Variables": { - "RandomSeed": "387819609" + "RandomSeed": "1407093063" } } \ No newline at end of file From 212df213d0fb2b74afeb4e82f8837fb18da89776 Mon Sep 17 00:00:00 2001 From: Paymaun Heidari Date: Fri, 19 Feb 2021 11:27:12 -0800 Subject: [PATCH 2/2] Resolve PR feedback. --- .../src/DtmiConventions.cs | 4 +- .../src/Fetchers/FetchResult.cs | 2 +- .../src/Fetchers/LocalModelFetcher.cs | 2 +- .../src/Fetchers/RemoteModelFetcher.cs | 2 +- .../src/ModelMetadata.cs | 2 +- .../src/ModelQuery.cs | 4 +- .../src/ModelRepositoryConstants.cs | 4 +- .../src/ModelsRepoClient.cs | 46 +++++++++---------- .../src/RepositoryHandler.cs | 10 ++-- .../tests/ModelQueryTests.cs | 2 +- .../tests/ResolveIntegrationTests.cs | 2 +- ...Exception(%com%example%Thermostat;1%).json | 2 +- ...tion(%com%example%Thermostat;1%)Async.json | 2 +- ...ion(%dtmi%com%example%%Thermostat;1%).json | 2 +- ...dtmi%com%example%%Thermostat;1%)Async.json | 2 +- ...tion(%dtmi%com%example%Thermostat%1%).json | 2 +- ...%dtmi%com%example%Thermostat%1%)Async.json | 2 +- .../ResolveMultipleModelsNoDeps(Local).json | 2 +- ...solveMultipleModelsNoDeps(Local)Async.json | 2 +- .../ResolveMultipleModelsNoDeps(Remote).json | 22 ++++----- ...olveMultipleModelsNoDeps(Remote)Async.json | 22 ++++----- ...xistentDtmiFileThrowsException(Local).json | 2 +- ...ntDtmiFileThrowsException(Local)Async.json | 2 +- ...istentDtmiFileThrowsException(Remote).json | 14 +++--- ...tDtmiFileThrowsException(Remote)Async.json | 14 +++--- .../ResolveSingleModelNoDeps(Local).json | 2 +- .../ResolveSingleModelNoDeps(Local)Async.json | 2 +- .../ResolveSingleModelNoDeps(Remote).json | 12 ++--- ...ResolveSingleModelNoDeps(Remote)Async.json | 12 ++--- ...olveSingleModelTryFromExpanded(Local).json | 2 +- ...ingleModelTryFromExpanded(Local)Async.json | 2 +- ...lveSingleModelTryFromExpanded(Remote).json | 12 ++--- ...ngleModelTryFromExpanded(Remote)Async.json | 12 ++--- .../ResolveSingleModelWithDeps(Local).json | 2 +- ...esolveSingleModelWithDeps(Local)Async.json | 2 +- .../ResolveSingleModelWithDeps(Remote).json | 32 ++++++------- ...solveSingleModelWithDeps(Remote)Async.json | 32 ++++++------- ...epsDisableDependencyResolution(Local).json | 2 +- ...sableDependencyResolution(Local)Async.json | 2 +- ...psDisableDependencyResolution(Remote).json | 12 ++--- ...ableDependencyResolution(Remote)Async.json | 12 ++--- ...WithWrongCasingThrowsException(Local).json | 2 +- ...rongCasingThrowsException(Local)Async.json | 2 +- ...ithWrongCasingThrowsException(Remote).json | 12 ++--- ...ongCasingThrowsException(Remote)Async.json | 12 ++--- 45 files changed, 178 insertions(+), 174 deletions(-) diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/DtmiConventions.cs b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/DtmiConventions.cs index a81f3d20119e3..c7c422a7a5b92 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/DtmiConventions.cs +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/DtmiConventions.cs @@ -8,8 +8,8 @@ namespace Azure.Iot.ModelsRepository { /// - /// DtmiConventions implements the core aspects of the IoT model repo conventions - /// which includes calculating a generic path from a DTMI. + /// DtmiConventions implements the core aspects of the IoT model repo conventions + /// which includes DTMI validation and calculating a URI path from a DTMI. /// internal static class DtmiConventions { diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/FetchResult.cs b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/FetchResult.cs index 4dd78c5865791..7daa21b96453a 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/FetchResult.cs +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/FetchResult.cs @@ -4,7 +4,7 @@ namespace Azure.Iot.ModelsRepository.Fetchers { /// - /// The FetchResult class has the purpose of containing key elements of + /// The FetchResult class has the purpose of containing key elements of /// an IModelFetcher Fetch() operation including model definition, path and whether /// it was from an expanded (pre-calculated) fetch. /// diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/LocalModelFetcher.cs b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/LocalModelFetcher.cs index 6fd7400015836..1125d201e31db 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/LocalModelFetcher.cs +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/LocalModelFetcher.cs @@ -13,7 +13,7 @@ namespace Azure.Iot.ModelsRepository.Fetchers { /// - /// The LocalModelFetcher is an implementation of IModelFetcher + /// The LocalModelFetcher is an implementation of IModelFetcher /// for supporting local filesystem based model content fetching. /// internal class LocalModelFetcher : IModelFetcher diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/RemoteModelFetcher.cs b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/RemoteModelFetcher.cs index dca2d8ec58fd2..9018561dcb185 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/RemoteModelFetcher.cs +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/Fetchers/RemoteModelFetcher.cs @@ -14,7 +14,7 @@ namespace Azure.Iot.ModelsRepository.Fetchers { /// - /// The RemoteModelFetcher is an implementation of IModelFetcher + /// The RemoteModelFetcher is an implementation of IModelFetcher /// for supporting http[s] based model content fetching. /// internal class RemoteModelFetcher : IModelFetcher diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelMetadata.cs b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelMetadata.cs index 07db0124827ac..08ad5a9f55e84 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelMetadata.cs +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelMetadata.cs @@ -7,7 +7,7 @@ namespace Azure.Iot.ModelsRepository { /// - /// ModelMetadata is designated to store KPI's from model parsing. + /// ModelMetadata is designated to store KPIs from model parsing. /// internal class ModelMetadata { diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelQuery.cs b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelQuery.cs index bdee3ccc468de..c6ab26c582f7f 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelQuery.cs +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelQuery.cs @@ -8,8 +8,8 @@ namespace Azure.Iot.ModelsRepository { /// - /// The ModelQuery class is responsible for parsing DTDL v2 models to produce key metadata. - /// In the current form ModelQuery is focused on determining model dependencies recursively + /// The ModelQuery class is responsible for parsing DTDL v2 models to produce key metadata. + /// In the current form ModelQuery is focused on determining model dependencies recursively /// via extends and component schemas. /// internal class ModelQuery diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelRepositoryConstants.cs b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelRepositoryConstants.cs index 7fde07f1655af..931b179ecdb8d 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelRepositoryConstants.cs +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelRepositoryConstants.cs @@ -15,8 +15,8 @@ internal static class ModelRepositoryConstants public const string ExpandedJsonFileExtension = ".expanded.json"; /// - /// The ModelRepositoryConstants.ModelProperties class contains DTDL v2 property names and property values - /// used by the ModelQuery class to parse DTDL model key indicators. + /// The ModelRepositoryConstants.ModelProperties class contains DTDL v2 property names and property values + /// used by the ModelQuery class to parse DTDL model key indicators. /// internal static class ModelProperties { diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelsRepoClient.cs b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelsRepoClient.cs index 159130446f816..717211e54eec7 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelsRepoClient.cs +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/ModelsRepoClient.cs @@ -12,8 +12,8 @@ namespace Azure.Iot.ModelsRepository { /// - /// The ModelsRepoClient class supports DTDL model resolution providing functionality to - /// resolve models by retrieving model definitions and their dependencies. + /// The ModelsRepoClient class supports operations against DTDL model repositories following the + /// conventions of the Azure IoT Plug and Play Models repository. /// public class ModelsRepoClient { @@ -21,60 +21,60 @@ public class ModelsRepoClient private readonly ClientDiagnostics _clientDiagnostics; /// - /// Initializes the ModelsRepoClient with default client options while pointing to - /// the Azure IoT Plug and Play Model repository https://devicemodels.azure.com for resolution. + /// Initializes the ModelsRepoClient with default client options while pointing to + /// the Azure IoT Plug and Play Models repository https://devicemodels.azure.com for resolution. /// public ModelsRepoClient() : this(new Uri(DefaultModelsRepository), new ModelsRepoClientOptions()) { } /// - /// Initializes the ModelsRepoClient with default client options while pointing to + /// Initializes the ModelsRepoClient with default client options while pointing to /// a custom for resolution. /// /// - /// The model repository Uri value. This can be a remote endpoint or local directory. + /// The model repository Uri value. This can be a remote endpoint or local directory. /// public ModelsRepoClient(Uri repositoryUri) : this(repositoryUri, new ModelsRepoClientOptions()) { } /// - /// Initializes the ModelsRepoClient with custom client while pointing to + /// Initializes the ModelsRepoClient with custom client while pointing to /// the Azure IoT Plug and Play Model repository https://devicemodels.azure.com for resolution. /// /// - /// ModelsRepoClientOptions to configure resolution and client behavior. + /// ModelsRepoClientOptions to configure resolution and client behavior. /// public ModelsRepoClient(ModelsRepoClientOptions options) : this(new Uri(DefaultModelsRepository), options) { } /// - /// Initializes the ModelsRepoClient with default client options while pointing to + /// Initializes the ModelsRepoClient with default client options while pointing to /// a custom for resolution. /// /// - /// The model repository Uri in string format. This can be a remote endpoint or local directory. + /// The model repository Uri in string format. This can be a remote endpoint or local directory. /// public ModelsRepoClient(string repositoryUriStr) : this(repositoryUriStr, new ModelsRepoClientOptions()) { } /// - /// Initializes the ModelsRepoClient with custom client while pointing to + /// Initializes the ModelsRepoClient with custom client while pointing to /// a custom for resolution. /// /// - /// The model repository Uri in string format. This can be a remote endpoint or local directory. + /// The model repository Uri in string format. This can be a remote endpoint or local directory. /// /// - /// ModelsRepoClientOptions to configure resolution and client behavior. + /// ModelsRepoClientOptions to configure resolution and client behavior. /// public ModelsRepoClient(string repositoryUriStr, ModelsRepoClientOptions options) : this(new Uri(repositoryUriStr), options) { } /// - /// Initializes the ModelsRepoClient with custom client while pointing to + /// Initializes the ModelsRepoClient with custom client while pointing to /// a custom for resolution. /// /// - /// The model repository Uri. This can be a remote endpoint or local directory. + /// The model repository Uri. This can be a remote endpoint or local directory. /// /// - /// ModelsRepoClientOptions to configure resolution and client behavior. + /// ModelsRepoClientOptions to configure resolution and client behavior. /// public ModelsRepoClient(Uri repositoryUri, ModelsRepoClientOptions options) { @@ -90,7 +90,7 @@ public ModelsRepoClient(Uri repositoryUri, ModelsRepoClientOptions options) /// Resolves a model definition identified by and optionally its dependencies. /// /// - /// An IDictionary containing the model definition(s) where the key is the dtmi + /// An IDictionary containing the model definition(s) where the key is the dtmi /// and the value is the raw model definition string. /// /// Thrown when a resolution failure occurs. @@ -119,7 +119,7 @@ public virtual async Task> ResolveAsync(string dtmi, /// Resolves a model definition identified by and optionally its dependencies. /// /// - /// An IDictionary containing the model definition(s) where the key is the dtmi + /// An IDictionary containing the model definition(s) where the key is the dtmi /// and the value is the raw model definition string. /// /// Thrown when a resolution failure occurs. @@ -149,7 +149,7 @@ public virtual IDictionary Resolve(string dtmi, CancellationToke /// Resolves a collection of model definitions identified by and optionally their dependencies. /// /// - /// An IDictionary containing the model definition(s) where the key is the dtmi + /// An IDictionary containing the model definition(s) where the key is the dtmi /// and the value is the raw model definition string. /// /// Thrown when a resolution failure occurs. @@ -176,7 +176,7 @@ public virtual async Task> ResolveAsync(IEnumerable< /// Resolves a collection of model definitions identified by and optionally their dependencies. /// /// - /// An IDictionary containing the model definition(s) where the key is the dtmi + /// An IDictionary containing the model definition(s) where the key is the dtmi /// and the value is the raw model definition string. /// /// Thrown when a resolution failure occurs. @@ -205,17 +205,17 @@ public virtual IDictionary Resolve(IEnumerable dtmis, Ca public static bool IsValidDtmi(string dtmi) => DtmiConventions.IsDtmi(dtmi); /// - /// Gets the Uri associated with the ModelsRepoClient instance. + /// Gets the Uri associated with the ModelsRepoClient instance. /// public Uri RepositoryUri { get; } /// - /// Gets the ModelsRepoClientOptions associated with the ModelsRepoClient instance. + /// Gets the ModelsRepoClientOptions associated with the ModelsRepoClient instance. /// public ModelsRepoClientOptions ClientOptions { get; } /// - /// Azure Device Models Repository used by default. + /// The global Azure IoT Models Repository endpoint used by default. /// public static string DefaultModelsRepository => ModelRepositoryConstants.DefaultModelsRepository; } diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/RepositoryHandler.cs b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/RepositoryHandler.cs index 2cf3ea12e13eb..55fe1717c1858 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/RepositoryHandler.cs +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/RepositoryHandler.cs @@ -127,9 +127,9 @@ private async Task> ProcessAsync(IEnumerable return processedModels; } - private async Task FetchAsync(string dtmi, CancellationToken cancellationToken) + private Task FetchAsync(string dtmi, CancellationToken cancellationToken) { - return await _modelFetcher.FetchAsync(dtmi, _repositoryUri, cancellationToken).ConfigureAwait(false); + return _modelFetcher.FetchAsync(dtmi, _repositoryUri, cancellationToken); } private FetchResult Fetch(string dtmi, CancellationToken cancellationToken) @@ -145,7 +145,11 @@ private static Queue PrepareWork(IEnumerable dtmis) if (!DtmiConventions.IsDtmi(dtmi)) { ModelsRepoEventSource.Instance.InvalidDtmiInput(dtmi); - string invalidArgMsg = string.Format(CultureInfo.CurrentCulture, ServiceStrings.InvalidDtmiFormat, dtmi); + + string invalidArgMsg = + $"{string.Format(CultureInfo.CurrentCulture, ServiceStrings.GenericResolverError, dtmi)} " + + string.Format(CultureInfo.CurrentCulture, ServiceStrings.InvalidDtmiFormat, dtmi); + throw new RequestFailedException(invalidArgMsg, new ArgumentException(invalidArgMsg)); } diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/ModelQueryTests.cs b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/ModelQueryTests.cs index b8dc68f40babc..cda87c7ceebc6 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/ModelQueryTests.cs +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/ModelQueryTests.cs @@ -170,7 +170,7 @@ public void ListToDict() ModelQuery query = new ModelQuery(expandedContent); Dictionary transformResult = query.ListToDict(); - // Assert KPI's for TemperatureController;1. + // Assert KPIs for TemperatureController;1. // Ensure transform of expanded content to dictionary is what we'd expect. string[] expectedIds = new string[] { "dtmi:azure:DeviceManagement:DeviceInformation;1", diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/ResolveIntegrationTests.cs b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/ResolveIntegrationTests.cs index 8170e4fa4a8cd..82658fb19d385 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/ResolveIntegrationTests.cs +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/ResolveIntegrationTests.cs @@ -37,7 +37,7 @@ public void ResolveWithWrongCasingThrowsException(ModelsRepoTestBase.ClientType public void ResolveInvalidDtmiFormatThrowsException(string dtmi) { ModelsRepoClient client = GetClient(ModelsRepoTestBase.ClientType.Local); - string expectedExMsg = string.Format(ServiceStrings.InvalidDtmiFormat, dtmi); + string expectedExMsg = $"{string.Format(ServiceStrings.GenericResolverError, dtmi)} {string.Format(ServiceStrings.InvalidDtmiFormat, dtmi)}"; RequestFailedException re = Assert.ThrowsAsync(async () => await client.ResolveAsync(dtmi)); Assert.AreEqual(re.Message, expectedExMsg); } diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%com%example%Thermostat;1%).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%com%example%Thermostat;1%).json index dd4b9f474d346..9ec129124d85b 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%com%example%Thermostat;1%).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%com%example%Thermostat;1%).json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "500828730" + "RandomSeed": "1896302144" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%com%example%Thermostat;1%)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%com%example%Thermostat;1%)Async.json index 18189abcfcc2f..4a64a54fcf8e9 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%com%example%Thermostat;1%)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%com%example%Thermostat;1%)Async.json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "950415430" + "RandomSeed": "1739461053" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%%Thermostat;1%).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%%Thermostat;1%).json index f12af6efaec5d..508d82a82bedd 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%%Thermostat;1%).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%%Thermostat;1%).json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "1877784449" + "RandomSeed": "1125774216" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%%Thermostat;1%)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%%Thermostat;1%)Async.json index f0a83f73b0825..9664f89d7d9eb 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%%Thermostat;1%)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%%Thermostat;1%)Async.json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "1301787321" + "RandomSeed": "968933125" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%Thermostat%1%).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%Thermostat%1%).json index b96870c78826f..aec97abbf3fb6 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%Thermostat%1%).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%Thermostat%1%).json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "388432055" + "RandomSeed": "1971177223" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%Thermostat%1%)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%Thermostat%1%)Async.json index 572d780f3b462..ceaf57de875ce 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%Thermostat%1%)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveInvalidDtmiFormatThrowsException(%dtmi%com%example%Thermostat%1%)Async.json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "531259393" + "RandomSeed": "1320305016" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Local).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Local).json index 5dcda9aec9235..9ec129124d85b 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Local).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Local).json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "1271356658" + "RandomSeed": "1896302144" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Local)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Local)Async.json index 6ab4776227a42..c9e30f9489ae1 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Local)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Local)Async.json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "343987639" + "RandomSeed": "781661371" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Remote).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Remote).json index 420376b66a41d..ed0c511d58963 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Remote).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Remote).json @@ -4,12 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-9b7fd95b60409e45adc4191a973e89a8-6e1b9b8756425c41-00", + "traceparent": "00-6710aa072309dd4da9eae2b20a6a583d-a0d64c4329a4a74d-00", "User-Agent": [ - "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210219.1", "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "b1077c5212fd057ece4fcb7a5881029b", + "x-ms-client-request-id": "f15f2d9464e9ec2f0fcb34cdb2ce898a", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -19,11 +19,11 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "98598", + "Age": "155664", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Fri, 19 Feb 2021 03:33:44 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 GMT", "ETag": "\u00220x8D8A13DEABC53BA\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", "Server": [ @@ -131,12 +131,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/azure/devicemanagement/deviceinformation-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-9b7fd95b60409e45adc4191a973e89a8-347362c1b4ddac4e-00", + "traceparent": "00-6710aa072309dd4da9eae2b20a6a583d-5a0f98d0206e2742-00", "User-Agent": [ - "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210219.1", "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "43efdd9cbff2d4711d655274cc476292", + "x-ms-client-request-id": "cbcd0f251b4278013cc839ccf7d2faa7", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -146,11 +146,11 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "98598", + "Age": "155664", "Content-Length": "2212", "Content-MD5": "oCzHP9acH\u002B/\u002BFQOv2V56NA==", "Content-Type": "application/json", - "Date": "Fri, 19 Feb 2021 03:33:44 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 GMT", "ETag": "\u00220x8D8A13DEBC614F0\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:59 GMT", "Server": [ @@ -231,6 +231,6 @@ } ], "Variables": { - "RandomSeed": "919984767" + "RandomSeed": "519346425" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Remote)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Remote)Async.json index c57fb01d78253..0480026e03e82 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Remote)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveMultipleModelsNoDeps(Remote)Async.json @@ -4,12 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-4065d3ab6fcca244b84fb27e09938e20-c07e9b8c7dc8274a-00", + "traceparent": "00-a83d4508bf86464ba54548bd79e9bff7-3e4961a430dc2d4d-00", "User-Agent": [ - "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210219.1", "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "c7e9434eddacd08d76743d151b457794", + "x-ms-client-request-id": "b259b4dec85c5c4fbd98209dd4d9fd93", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -19,11 +19,11 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "98599", + "Age": "155664", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Fri, 19 Feb 2021 03:33:45 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 GMT", "ETag": "\u00220x8D8A13DEABC53BA\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", "Server": [ @@ -131,12 +131,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/azure/devicemanagement/deviceinformation-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-4065d3ab6fcca244b84fb27e09938e20-385519af19835346-00", + "traceparent": "00-a83d4508bf86464ba54548bd79e9bff7-b3d8dd462c18fd46-00", "User-Agent": [ - "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210219.1", "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "6ece0506540a7abec5c1a1f7398e0933", + "x-ms-client-request-id": "7613fd841a1f4524a36ae4b8b12b2596", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -146,11 +146,11 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "98599", + "Age": "155664", "Content-Length": "2212", "Content-MD5": "oCzHP9acH\u002B/\u002BFQOv2V56NA==", "Content-Type": "application/json", - "Date": "Fri, 19 Feb 2021 03:33:45 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 GMT", "ETag": "\u00220x8D8A13DEBC614F0\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:59 GMT", "Server": [ @@ -231,6 +231,6 @@ } ], "Variables": { - "RandomSeed": "2140099395" + "RandomSeed": "1200817408" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Local).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Local).json index 68c26917fdce6..127240e783d96 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Local).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Local).json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "957506363" + "RandomSeed": "1582451849" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Local)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Local)Async.json index eb7a526aa554f..87dc3c91fbd53 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Local)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Local)Async.json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "1414183996" + "RandomSeed": "662173763" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Remote).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Remote).json index 1aa35b8ae9eea..b84a599c81358 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Remote).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Remote).json @@ -4,12 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermojax-999.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-bf0b9a2125974242a95ec0988753a6bb-296c2f6144b82042-00", + "traceparent": "00-36d291fc90a4334dac3eb38f6466b8e8-91b4698d8e996846-00", "User-Agent": [ - "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210219.1", "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "d7aa1ec5070e74ab3f605f3acb330bb0", + "x-ms-client-request-id": "15a3190d902fe96003d29f3acfcbafb3", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -20,19 +20,19 @@ "Access-Control-Expose-Headers": "*", "Content-Length": "321", "Content-Type": "text/html", - "Date": "Fri, 19 Feb 2021 03:33:44 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 GMT", "Server": [ "Windows-Azure-Web/1.0", "Microsoft-HTTPAPI/2.0" ], "x-ms-error-code": "WebContentNotFound", - "x-ms-request-id": "646a593e-101e-0026-0770-065c4c000000", + "x-ms-request-id": "872d6906-f01e-0014-47f4-062b59000000", "x-ms-version": "2018-03-28" }, - "ResponseBody": "\u003C!DOCTYPE html\u003E\u003Chtml\u003E\u003Chead\u003E\u003Ctitle\u003EWebContentNotFound\u003C/title\u003E\u003C/head\u003E\u003Cbody\u003E\u003Ch1\u003EThe requested content does not exist.\u003C/h1\u003E\u003Cp\u003E\u003Cul\u003E\u003Cli\u003EHttpStatusCode: 404\u003C/li\u003E\u003Cli\u003EErrorCode: WebContentNotFound\u003C/li\u003E\u003Cli\u003ERequestId : 646a593e-101e-0026-0770-065c4c000000\u003C/li\u003E\u003Cli\u003ETimeStamp : 2021-02-19T03:33:44.8331959Z\u003C/li\u003E\u003C/ul\u003E\u003C/p\u003E\u003C/body\u003E\u003C/html\u003E" + "ResponseBody": "\u003C!DOCTYPE html\u003E\u003Chtml\u003E\u003Chead\u003E\u003Ctitle\u003EWebContentNotFound\u003C/title\u003E\u003C/head\u003E\u003Cbody\u003E\u003Ch1\u003EThe requested content does not exist.\u003C/h1\u003E\u003Cp\u003E\u003Cul\u003E\u003Cli\u003EHttpStatusCode: 404\u003C/li\u003E\u003Cli\u003EErrorCode: WebContentNotFound\u003C/li\u003E\u003Cli\u003ERequestId : 872d6906-f01e-0014-47f4-062b59000000\u003C/li\u003E\u003Cli\u003ETimeStamp : 2021-02-19T19:24:50.4869209Z\u003C/li\u003E\u003C/ul\u003E\u003C/p\u003E\u003C/body\u003E\u003C/html\u003E" } ], "Variables": { - "RandomSeed": "1728034291" + "RandomSeed": "205496130" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Remote)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Remote)Async.json index 4d4e94544cc9a..0e45232cc4183 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Remote)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveNoneExistentDtmiFileThrowsException(Remote)Async.json @@ -4,12 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermojax-999.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-dcc4c32b5b295147a75bd34a66cdb71b-3cea004021b8ed40-00", + "traceparent": "00-ade836eb9ce7d2428a323c9d4c253a6f-02b14cddecdc854f-00", "User-Agent": [ - "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210219.1", "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "1f7879e4d8008daa00cf5ad32f8759a0", + "x-ms-client-request-id": "800de3d2ffcd1d2e908429ff4f76246c", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -20,19 +20,19 @@ "Access-Control-Expose-Headers": "*", "Content-Length": "321", "Content-Type": "text/html", - "Date": "Fri, 19 Feb 2021 03:33:44 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 GMT", "Server": [ "Windows-Azure-Web/1.0", "Microsoft-HTTPAPI/2.0" ], "x-ms-error-code": "WebContentNotFound", - "x-ms-request-id": "d54fb80b-401e-006f-6570-06fc4e000000", + "x-ms-request-id": "2908bd3c-001e-0003-17f4-064a75000000", "x-ms-version": "2018-03-28" }, - "ResponseBody": "\u003C!DOCTYPE html\u003E\u003Chtml\u003E\u003Chead\u003E\u003Ctitle\u003EWebContentNotFound\u003C/title\u003E\u003C/head\u003E\u003Cbody\u003E\u003Ch1\u003EThe requested content does not exist.\u003C/h1\u003E\u003Cp\u003E\u003Cul\u003E\u003Cli\u003EHttpStatusCode: 404\u003C/li\u003E\u003Cli\u003EErrorCode: WebContentNotFound\u003C/li\u003E\u003Cli\u003ERequestId : d54fb80b-401e-006f-6570-06fc4e000000\u003C/li\u003E\u003Cli\u003ETimeStamp : 2021-02-19T03:33:45.0549070Z\u003C/li\u003E\u003C/ul\u003E\u003C/p\u003E\u003C/body\u003E\u003C/html\u003E" + "ResponseBody": "\u003C!DOCTYPE html\u003E\u003Chtml\u003E\u003Chead\u003E\u003Ctitle\u003EWebContentNotFound\u003C/title\u003E\u003C/head\u003E\u003Cbody\u003E\u003Ch1\u003EThe requested content does not exist.\u003C/h1\u003E\u003Cp\u003E\u003Cul\u003E\u003Cli\u003EHttpStatusCode: 404\u003C/li\u003E\u003Cli\u003EErrorCode: WebContentNotFound\u003C/li\u003E\u003Cli\u003ERequestId : 2908bd3c-001e-0003-17f4-064a75000000\u003C/li\u003E\u003Cli\u003ETimeStamp : 2021-02-19T19:24:50.7224903Z\u003C/li\u003E\u003C/ul\u003E\u003C/p\u003E\u003C/body\u003E\u003C/html\u003E" } ], "Variables": { - "RandomSeed": "37228277" + "RandomSeed": "1432701691" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Local).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Local).json index b4d747145a227..23ba18a88c34e 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Local).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Local).json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "418862718" + "RandomSeed": "1814336132" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Local)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Local)Async.json index c8f05041fb923..c3c989e1dc4b2 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Local)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Local)Async.json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "105012423" + "RandomSeed": "474902009" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Remote).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Remote).json index 37276b6a4d7e6..d9c5962f2a2bc 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Remote).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Remote).json @@ -4,12 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-f77229788618df41b96c9d4dff72e9c3-2c498f2d18d5b148-00", + "traceparent": "00-26ed0dcd5e88e34db4cf594009e3aac9-da7273e30058d64b-00", "User-Agent": [ - "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210219.1", "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "82c8dd12a0d21abb4607d96f287a0bc0", + "x-ms-client-request-id": "c0c1d85a27f38f70096f19702012afc3", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -19,11 +19,11 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "98598", + "Age": "155664", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Fri, 19 Feb 2021 03:33:44 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 GMT", "ETag": "\u00220x8D8A13DEABC53BA\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", "Server": [ @@ -129,6 +129,6 @@ } ], "Variables": { - "RandomSeed": "1189390646" + "RandomSeed": "1814336132" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Remote)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Remote)Async.json index 8e28c0dd593a4..2728d50d5e075 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Remote)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelNoDeps(Remote)Async.json @@ -4,12 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-1b08876704839440bb07ed326c7c7749-ab57b84f2a245c43-00", + "traceparent": "00-2aa19654ba77924693bf45888062474f-8ebc5bffbe11ba45-00", "User-Agent": [ - "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210219.1", "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "a606c98aca1917ec3a0645dc3b7731e8", + "x-ms-client-request-id": "07953379f6e5a76fcad114097666fdb4", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -19,11 +19,11 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "98599", + "Age": "155664", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Fri, 19 Feb 2021 03:33:45 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 GMT", "ETag": "\u00220x8D8A13DEABC53BA\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", "Server": [ @@ -129,6 +129,6 @@ } ], "Variables": { - "RandomSeed": "875540351" + "RandomSeed": "123530118" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Local).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Local).json index 3fba87606917c..000596ad0fab0 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Local).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Local).json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "838018755" + "RandomSeed": "86008522" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Local)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Local)Async.json index f6684bfddc52a..65f9686146344 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Local)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Local)Async.json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "1294696388" + "RandomSeed": "894058046" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Remote).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Remote).json index a9d6ee88aab8c..3fe1fccb95653 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Remote).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Remote).json @@ -4,12 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/temperaturecontroller-1.expanded.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-22e33bf6617a0d469f19e23cced42e2f-52e65639be6b1349-00", + "traceparent": "00-3560143abbe8ee499c3680f3ba22c5e7-3765e2f1fea32243-00", "User-Agent": [ - "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210219.1", "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "a3f996bf78b3c48d964f4048ff1b509c", + "x-ms-client-request-id": "27186f54422b6fe0f3619ea05960422f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -19,11 +19,11 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "113966", + "Age": "171032", "Content-Length": "6751", "Content-MD5": "BnZpV2\u002B7Z2t0sxAxOhmBdw==", "Content-Type": "application/json", - "Date": "Fri, 19 Feb 2021 03:33:44 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 GMT", "ETag": "\u00220x8D8A13DEAC10FCC\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", "Server": [ @@ -255,6 +255,6 @@ } ], "Variables": { - "RandomSeed": "838018755" + "RandomSeed": "856536450" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Remote)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Remote)Async.json index a79ae0ebd1788..567acd19b794f 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Remote)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelTryFromExpanded(Remote)Async.json @@ -4,12 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/temperaturecontroller-1.expanded.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-0fe30c7ac755314a84974003494a1512-b8ef7326201d6e42-00", + "traceparent": "00-15e5a468265f5b449fea789844d1ad18-dff3192ab634ea42-00", "User-Agent": [ - "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210219.1", "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "0d636084e751f85b2300c90d7ec6c554", + "x-ms-client-request-id": "4b5c5bcc71726d10e772090d825e6957", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -19,11 +19,11 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "113967", + "Age": "171032", "Content-Length": "6751", "Content-MD5": "BnZpV2\u002B7Z2t0sxAxOhmBdw==", "Content-Type": "application/json", - "Date": "Fri, 19 Feb 2021 03:33:45 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 GMT", "ETag": "\u00220x8D8A13DEAC10FCC\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", "Server": [ @@ -255,6 +255,6 @@ } ], "Variables": { - "RandomSeed": "2065224316" + "RandomSeed": "542686155" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Local).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Local).json index bf33caadfc068..313b8876cf22b 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Local).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Local).json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "231590964" + "RandomSeed": "1275692487" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Local)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Local)Async.json index d2fccda58fc6a..0eb9273a00dcb 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Local)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Local)Async.json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "688268597" + "RandomSeed": "1313214083" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Remote).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Remote).json index 3952a9c958263..4b5d462e51980 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Remote).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Remote).json @@ -4,12 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/temperaturecontroller-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-c808e3ed8148624ebdb217cf88ed193b-f602e3ee020b2f4b-00", + "traceparent": "00-4a527f4cab25f940a06f30a678bc25f8-35b93feae4f6a64b-00", "User-Agent": [ - "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210219.1", "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "0a562db993eba4fd7f3ec479356ae408", + "x-ms-client-request-id": "8e75074e5f63504fdd5b22d19bafd69b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -19,11 +19,11 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "98598", + "Age": "155664", "Content-Length": "1762", "Content-MD5": "w8OrFrbCwZwtVo6WaKDWxQ==", "Content-Type": "application/json", - "Date": "Fri, 19 Feb 2021 03:33:44 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 GMT", "ETag": "\u00220x8D8A13DEABA3051\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", "Server": [ @@ -102,12 +102,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-c808e3ed8148624ebdb217cf88ed193b-acef0eefef11bd46-00", + "traceparent": "00-4a527f4cab25f940a06f30a678bc25f8-128dfc0ad06f4d41-00", "User-Agent": [ - "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210219.1", "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "e6fcaeb539b7edd560a27e09669d2a57", + "x-ms-client-request-id": "0b41dd91b50363fc55b81fb0a6726f7b", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -117,11 +117,11 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "98598", + "Age": "155664", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Fri, 19 Feb 2021 03:33:44 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 GMT", "ETag": "\u00220x8D8A13DEABC53BA\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", "Server": [ @@ -229,12 +229,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/azure/devicemanagement/deviceinformation-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-c808e3ed8148624ebdb217cf88ed193b-ae4bb3f6dba28e4e-00", + "traceparent": "00-4a527f4cab25f940a06f30a678bc25f8-8da9b3f88c628442-00", "User-Agent": [ - "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210219.1", "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "fb16089ec3463845a7d53bc1605ec631", + "x-ms-client-request-id": "b23d60559fd92b1a25e232c0eb863114", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -244,11 +244,11 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "98598", + "Age": "155664", "Content-Length": "2212", "Content-MD5": "oCzHP9acH\u002B/\u002BFQOv2V56NA==", "Content-Type": "application/json", - "Date": "Fri, 19 Feb 2021 03:33:44 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 GMT", "ETag": "\u00220x8D8A13DEBC614F0\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:59 GMT", "Server": [ @@ -329,6 +329,6 @@ } ], "Variables": { - "RandomSeed": "2027702720" + "RandomSeed": "2046220415" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Remote)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Remote)Async.json index 435c5fac380c1..cc86d617c432e 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Remote)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDeps(Remote)Async.json @@ -4,12 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/temperaturecontroller-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-30741c9903253f4dab2c8ffc590bc38b-aafa0f9dde44c340-00", + "traceparent": "00-ec017cfa24c04a4fbe7250fccf6e06f7-a478d670ac944749-00", "User-Agent": [ - "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210219.1", "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "512488d864ddbdfc40adbf1298bd31f8", + "x-ms-client-request-id": "6ef2ca73131d88dfb4cb9839b8b49020", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -19,11 +19,11 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "98599", + "Age": "155664", "Content-Length": "1762", "Content-MD5": "w8OrFrbCwZwtVo6WaKDWxQ==", "Content-Type": "application/json", - "Date": "Fri, 19 Feb 2021 03:33:45 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 GMT", "ETag": "\u00220x8D8A13DEABA3051\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", "Server": [ @@ -102,12 +102,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-30741c9903253f4dab2c8ffc590bc38b-364df82b2dc1c741-00", + "traceparent": "00-ec017cfa24c04a4fbe7250fccf6e06f7-394d03b5791fd04e-00", "User-Agent": [ - "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210219.1", "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "9ea0f08702eeaa25fc06f51b7c12968e", + "x-ms-client-request-id": "f4e554cd3571cb0d0888fba6831c0572", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -117,11 +117,11 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "98599", + "Age": "155664", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Fri, 19 Feb 2021 03:33:45 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 GMT", "ETag": "\u00220x8D8A13DEABC53BA\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", "Server": [ @@ -229,12 +229,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/azure/devicemanagement/deviceinformation-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-30741c9903253f4dab2c8ffc590bc38b-255eae0d4b87694c-00", + "traceparent": "00-ec017cfa24c04a4fbe7250fccf6e06f7-a6a74c3922779a43-00", "User-Agent": [ - "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210219.1", "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "2c6107ade5c1de2c61366212ff86f281", + "x-ms-client-request-id": "395ffea8b6c6fd04104a9d51bdc5fd00", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -244,11 +244,11 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "98599", + "Age": "155664", "Content-Length": "2212", "Content-MD5": "oCzHP9acH\u002B/\u002BFQOv2V56NA==", "Content-Type": "application/json", - "Date": "Fri, 19 Feb 2021 03:33:45 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 GMT", "ETag": "\u00220x8D8A13DEBC614F0\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:59 GMT", "Server": [ @@ -329,6 +329,6 @@ } ], "Variables": { - "RandomSeed": "336896706" + "RandomSeed": "1313214083" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Local).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Local).json index 8b4cc16069709..c507bcc0e6c37 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Local).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Local).json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "1840430966" + "RandomSeed": "317892805" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Local)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Local)Async.json index 5cb7e11361d6f..274a7a7d8d743 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Local)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Local)Async.json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "568780989" + "RandomSeed": "355414401" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Remote).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Remote).json index be7eb026353d4..7a6fcb5b21294 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Remote).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Remote).json @@ -4,12 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-f782eb72cdeeb141abd957c7a5092622-a422cd7d6c1f8948-00", + "traceparent": "00-09d862b0af8400499f2d004928630aa9-20fa7316e50cfe49-00", "User-Agent": [ - "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210219.1", "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "9437345a52cfa03b3698d8d5b30f9e3c", + "x-ms-client-request-id": "f5cc9e497d9c30bfc661a702ecfd6a07", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -19,11 +19,11 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "98598", + "Age": "155664", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Fri, 19 Feb 2021 03:33:44 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 GMT", "ETag": "\u00220x8D8A13DEABC53BA\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", "Server": [ @@ -129,6 +129,6 @@ } ], "Variables": { - "RandomSeed": "1840430966" + "RandomSeed": "1088420733" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Remote)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Remote)Async.json index cfeedca3a7949..95c316442f6e2 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Remote)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveSingleModelWithDepsDisableDependencyResolution(Remote)Async.json @@ -4,12 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-a2efed58f88fe84c921496451bdf2ee0-e8579285490cf945-00", + "traceparent": "00-08620b9b639adb448e2976b7c60e1940-0feae906a27dbb41-00", "User-Agent": [ - "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210219.1", "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "6399df1f17da437c3146be782e52c574", + "x-ms-client-request-id": "191089c1a8e22eefba5e136ffdfb9030", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -19,11 +19,11 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "98599", + "Age": "155664", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Fri, 19 Feb 2021 03:33:45 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 GMT", "ETag": "\u00220x8D8A13DEABC53BA\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", "Server": [ @@ -129,6 +129,6 @@ } ], "Variables": { - "RandomSeed": "987937026" + "RandomSeed": "774570438" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Local).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Local).json index 0cf7912c8806e..a79b11d978ba1 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Local).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Local).json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "112103356" + "RandomSeed": "737048842" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Local)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Local)Async.json index 7e3c449faacea..b6396d7c23e35 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Local)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Local)Async.json @@ -1,6 +1,6 @@ { "Entries": [], "Variables": { - "RandomSeed": "1758464954" + "RandomSeed": "1545098366" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Remote).json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Remote).json index ec2541f4f1612..c0ffce5d09894 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Remote).json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Remote).json @@ -4,12 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-ccbd3c446be45b4aaa83baa48b8ff78a-9f3d528256657348-00", + "traceparent": "00-2a3f314388159847b0cfdfeef0de35c8-025aa9e772e73f46-00", "User-Agent": [ - "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210219.1", "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "fb94cc54700781ab209c5d06025d32a8", + "x-ms-client-request-id": "7d5aeeef70b4bb000098920bf8ed424f", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -19,11 +19,11 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "98598", + "Age": "155664", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Fri, 19 Feb 2021 03:33:44 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 GMT", "ETag": "\u00220x8D8A13DEABC53BA\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", "Server": [ @@ -129,6 +129,6 @@ } ], "Variables": { - "RandomSeed": "882631284" + "RandomSeed": "1926732807" } } \ No newline at end of file diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Remote)Async.json b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Remote)Async.json index aa2b9bf50da2d..cf89298947729 100644 --- a/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Remote)Async.json +++ b/sdk/modelsrepository/Azure.Iot.ModelsRepository/tests/SessionRecords/ResolveIntegrationTests/ResolveWithWrongCasingThrowsException(Remote)Async.json @@ -4,12 +4,12 @@ "RequestUri": "https://devicemodels.azure.com/dtmi/com/example/thermostat-1.json", "RequestMethod": "GET", "RequestHeaders": { - "traceparent": "00-459e72c755582541a7e3534a15d1f679-0ea6de09dbfcfc4c-00", + "traceparent": "00-0f80a3c3b8b32b4cb5b2307d9e731d00-a6fe05d0fdb54049-00", "User-Agent": [ - "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210218.1", + "azsdk-net-Iot.ModelsRepository/1.0.0-alpha.20210219.1", "(.NET Core 4.6.29719.03; Microsoft Windows 10.0.19042 )" ], - "x-ms-client-request-id": "a76007739266081c4de6b37d3a4a3118", + "x-ms-client-request-id": "5dd1b114246ef390d70b087417f3fcd4", "x-ms-return-client-request-id": "true" }, "RequestBody": null, @@ -19,11 +19,11 @@ "Access-Control-Allow-Headers": "*", "Access-Control-Allow-Methods": "GET, HEAD, OPTIONS", "Access-Control-Expose-Headers": "*", - "Age": "98599", + "Age": "155664", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Fri, 19 Feb 2021 03:33:45 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 GMT", "ETag": "\u00220x8D8A13DEABC53BA\u0022", "Last-Modified": "Tue, 15 Dec 2020 21:10:57 GMT", "Server": [ @@ -129,6 +129,6 @@ } ], "Variables": { - "RandomSeed": "1407093063" + "RandomSeed": "1193726475" } } \ No newline at end of file