diff --git a/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/DtmiConventions.cs b/sdk/modelsrepository/Azure.Iot.ModelsRepository/src/DtmiConventions.cs index 2d009edfa4529..c7c422a7a5b92 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 DTMI validation and calculating a URI 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..7daa21b96453a 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..1125d201e31db 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..9018561dcb185 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..08ad5a9f55e84 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 KPIs from model parsing. + /// internal class ModelMetadata { public ModelMetadata(string id, IList extends, IList componentSchemas) 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 ddda417a06da7..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,10 +90,10 @@ 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. + /// Thrown when a resolution failure occurs. /// A well-formed DTDL model Id. For example 'dtmi:com:example:Thermostat;1'. /// The cancellationToken. [SuppressMessage( @@ -119,10 +119,10 @@ 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. + /// Thrown when a resolution failure occurs. /// A well-formed DTDL model Id. For example 'dtmi:com:example:Thermostat;1'. /// The cancellationToken. [SuppressMessage( @@ -149,10 +149,10 @@ 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. + /// 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 = "")] @@ -176,10 +176,10 @@ 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. + /// 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 = "")] @@ -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 19614317a9e29..55fe1717c1858 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); @@ -124,28 +127,14 @@ private async Task> ProcessAsync(IEnumerable return processedModels; } - private async Task FetchAsync(string dtmi, CancellationToken cancellationToken) + private 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 _modelFetcher.FetchAsync(dtmi, _repositoryUri, cancellationToken); } 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) @@ -156,8 +145,12 @@ private static Queue PrepareWork(IEnumerable dtmis) if (!DtmiConventions.IsDtmi(dtmi)) { ModelsRepoEventSource.Instance.InvalidDtmiInput(dtmi); - string invalidArgMsg = string.Format(CultureInfo.CurrentCulture, ServiceStrings.InvalidDtmiFormat, dtmi); - throw new ResolverException(dtmi, invalidArgMsg, new ArgumentException(invalidArgMsg)); + + string invalidArgMsg = + $"{string.Format(CultureInfo.CurrentCulture, ServiceStrings.GenericResolverError, dtmi)} " + + string.Format(CultureInfo.CurrentCulture, ServiceStrings.InvalidDtmiFormat, dtmi); + + 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/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 e70d9ec01c5ac..82658fb19d385 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); } @@ -38,7 +38,7 @@ 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)); + 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..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": "1650497515" + "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 84a0db30d8c77..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": "1839650407" + "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 5359e1c5b0216..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": "2001869406" + "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 84a0db30d8c77..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": "1839650407" + "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 db1452133b782..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": "460813550" + "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 15fba10d250a4..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": "43538651" + "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 2a541ff8ffced..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": "454929595" + "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 3ded7bf2e4bd4..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": "1749919302" + "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 110a88b2ff48f..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,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-6710aa072309dd4da9eae2b20a6a583d-a0d64c4329a4a74d-00", + "User-Agent": [ + "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": "f15f2d9464e9ec2f0fcb34cdb2ce898a", "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": "155664", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:00 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 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-6710aa072309dd4da9eae2b20a6a583d-5a0f98d0206e2742-00", + "User-Agent": [ + "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": "cbcd0f251b4278013cc839ccf7d2faa7", "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": "155664", "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 19:24:50 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": "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 e737548561471..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,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-a83d4508bf86464ba54548bd79e9bff7-3e4961a430dc2d4d-00", + "User-Agent": [ + "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": "b259b4dec85c5c4fbd98209dd4d9fd93", "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": "155664", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 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-a83d4508bf86464ba54548bd79e9bff7-b3d8dd462c18fd46-00", + "User-Agent": [ + "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": "7613fd841a1f4524a36ae4b8b12b2596", "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": "155664", "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 19:24:50 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": "1200817408" } } \ 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..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": "657057375" + "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 e08d2ac20b29f..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": "275422934" + "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 72afe2ae99628..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,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-36d291fc90a4334dac3eb38f6466b8e8-91b4698d8e996846-00", + "User-Agent": [ + "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": "15a3190d902fe96003d29f3acfcbafb3", "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 19:24:50 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": "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 : 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 : 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": "1427585303" + "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 b854caa7faeeb..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,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-ade836eb9ce7d2428a323c9d4c253a6f-02b14cddecdc854f-00", + "User-Agent": [ + "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": "800de3d2ffcd1d2e908429ff4f76246c", "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 19:24:50 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": "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 : 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 : 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": "275422934" + "RandomSeed": "1432701691" } } \ 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..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": "240578639" + "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 b6f6ad8a84a48..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": "1535568346" + "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 c1927dd6cca07..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,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-26ed0dcd5e88e34db4cf594009e3aac9-da7273e30058d64b-00", + "User-Agent": [ + "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": "c0c1d85a27f38f70096f19702012afc3", "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": "155664", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:00 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 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": "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 c8a74562e5cd8..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,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-2aa19654ba77924693bf45888062474f-8ebc5bffbe11ba45-00", + "User-Agent": [ + "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": "07953379f6e5a76fcad114097666fdb4", "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": "155664", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 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": "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 35b9eb31093cf..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": "1207456423" + "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 25511ca1f5222..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": "774118520" + "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 169a927dc52df..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,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-3560143abbe8ee499c3680f3ba22c5e7-3765e2f1fea32243-00", + "User-Agent": [ + "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": "27186f54422b6fe0f3619ea05960422f", "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": "171032", "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 19:24:50 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": "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 8cd7272bfb35a..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,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-15e5a468265f5b449fea789844d1ad18-dff3192ab634ea42-00", + "User-Agent": [ + "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": "4b5c5bcc71726d10e772090d825e6957", "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": "171032", "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 19:24:50 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": "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 3237457f4a474..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": "677761543" + "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 dd31b8cf8f79a..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": "1366323459" + "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 de87022f019b4..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,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-4a527f4cab25f940a06f30a678bc25f8-35b93feae4f6a64b-00", + "User-Agent": [ + "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": "8e75074e5f63504fdd5b22d19bafd69b", "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": "155664", "Content-Length": "1762", "Content-MD5": "w8OrFrbCwZwtVo6WaKDWxQ==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 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-4a527f4cab25f940a06f30a678bc25f8-128dfc0ad06f4d41-00", + "User-Agent": [ + "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": "0b41dd91b50363fc55b81fb0a6726f7b", "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": "155664", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 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-4a527f4cab25f940a06f30a678bc25f8-8da9b3f88c628442-00", + "User-Agent": [ + "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": "b23d60559fd92b1a25e232c0eb863114", "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": "155664", "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 19:24:50 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": "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 11d1d6c0b2192..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,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-ec017cfa24c04a4fbe7250fccf6e06f7-a478d670ac944749-00", + "User-Agent": [ + "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": "6ef2ca73131d88dfb4cb9839b8b49020", "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": "155664", "Content-Length": "1762", "Content-MD5": "w8OrFrbCwZwtVo6WaKDWxQ==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 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-ec017cfa24c04a4fbe7250fccf6e06f7-394d03b5791fd04e-00", + "User-Agent": [ + "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": "f4e554cd3571cb0d0888fba6831c0572", "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": "155664", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 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-ec017cfa24c04a4fbe7250fccf6e06f7-a6a74c3922779a43-00", + "User-Agent": [ + "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": "395ffea8b6c6fd04104a9d51bdc5fd00", "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": "155664", "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 19:24:50 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": "1313214083" } } \ 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..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": "230329874" + "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 c39613aeb4740..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": "1345619291" + "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 e82c42ba606d3..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,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-09d862b0af8400499f2d004928630aa9-20fa7316e50cfe49-00", + "User-Agent": [ + "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": "f5cc9e497d9c30bfc661a702ecfd6a07", "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": "155664", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 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": "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 9706e4831caa8..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,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-08620b9b639adb448e2976b7c60e1940-0feae906a27dbb41-00", + "User-Agent": [ + "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": "191089c1a8e22eefba5e136ffdfb9030", "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": "155664", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 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": "774570438" } } \ 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..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": "230810405" + "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 ad51959160ecc..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": "1764775328" + "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 c77598e7c20b3..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,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-2a3f314388159847b0cfdfeef0de35c8-025aa9e772e73f46-00", + "User-Agent": [ + "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": "7d5aeeef70b4bb000098920bf8ed424f", "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": "155664", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 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": "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 34da955f4b1b6..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,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-0f80a3c3b8b32b4cb5b2307d9e731d00-a6fe05d0fdb54049-00", + "User-Agent": [ + "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": "5dd1b114246ef390d70b087417f3fcd4", "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": "155664", "Content-Length": "2469", "Content-MD5": "U0VZgOgpfb6bwvG5UDVZuw==", "Content-Type": "application/json", - "Date": "Thu, 18 Feb 2021 00:12:01 GMT", + "Date": "Fri, 19 Feb 2021 19:24:50 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": "1193726475" } } \ No newline at end of file