diff --git a/.github/CODEOWNERS b/.github/CODEOWNERS index 8953a8cc4c6f..5a1caa588043 100644 --- a/.github/CODEOWNERS +++ b/.github/CODEOWNERS @@ -32,6 +32,7 @@ /eng/code-quality-reports/ @mssfang @JonathanGiles /eng/jacoco-test-coverage/ @srnagar @JonathanGiles /eng/spotbugs-aggregate-report/ @srnagar @JonathanGiles +/parent/ @JimSuplizio /**/tests.yml @danieljurek /**/ci.yml @mitchdenny diff --git a/api-specs.json b/api-specs.json index edc09c15e1f7..2a8bf9a376c9 100644 --- a/api-specs.json +++ b/api-specs.json @@ -160,6 +160,10 @@ "source": "specification/machinelearningservices/resource-manager/readme.md", "args": "--multiapi --fluent" }, + "maintenance/resource-manager": { + "source": "specification/maintenance/resource-manager/readme.md", + "args": "--multiapi --fluent" + }, "mariadb/resource-manager": { "source": "specification/mariadb/resource-manager/readme.md", "args": "--multiapi --fluent" diff --git a/eng/code-quality-reports/src/main/resources/checkstyle/checkstyle-suppressions.xml b/eng/code-quality-reports/src/main/resources/checkstyle/checkstyle-suppressions.xml index af0bc325cb4a..7621885dcc95 100755 --- a/eng/code-quality-reports/src/main/resources/checkstyle/checkstyle-suppressions.xml +++ b/eng/code-quality-reports/src/main/resources/checkstyle/checkstyle-suppressions.xml @@ -47,6 +47,9 @@ + + + @@ -128,6 +131,9 @@ + + + @@ -188,6 +194,8 @@ + + @@ -235,6 +243,7 @@ + diff --git a/eng/jacoco-test-coverage/pom.xml b/eng/jacoco-test-coverage/pom.xml index 98d5197c16d8..d252c556578e 100644 --- a/eng/jacoco-test-coverage/pom.xml +++ b/eng/jacoco-test-coverage/pom.xml @@ -10,7 +10,7 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../pom.client.xml @@ -39,7 +39,7 @@ com.azure azure-core - 1.1.0-beta.1 + 1.1.0 com.azure @@ -49,7 +49,7 @@ com.azure azure-core-http-netty - 1.1.0-beta.1 + 1.1.0 com.azure @@ -154,7 +154,7 @@ org.jacoco jacoco-maven-plugin - ${jacoco-maven-plugin.version} + 0.8.4 prepare-package diff --git a/eng/spotbugs-aggregate-report/pom.xml b/eng/spotbugs-aggregate-report/pom.xml index 5fa530140399..4d616ae4e111 100644 --- a/eng/spotbugs-aggregate-report/pom.xml +++ b/eng/spotbugs-aggregate-report/pom.xml @@ -6,7 +6,7 @@ azure-client-sdk-parent com.azure - 1.6.0 + 1.7.0 ../../pom.client.xml 4.0.0 @@ -25,6 +25,7 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 add-client-source @@ -82,6 +83,7 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 add-data-source @@ -114,6 +116,7 @@ org.apache.maven.plugins maven-javadoc-plugin + 3.1.1 -maxLineLength 120 @@ -141,7 +144,7 @@ com.azure azure-core - 1.1.0-beta.1 + 1.1.0 com.azure @@ -151,7 +154,7 @@ com.azure azure-core-http-netty - 1.1.0-beta.1 + 1.1.0 com.azure @@ -249,7 +252,7 @@ com.google.code.findbugs jsr305 - 3.0.2 + 3.0.2 provided @@ -324,7 +327,7 @@ com.microsoft.azure azure-servicebus - 3.1.1 + 3.1.4 diff --git a/eng/versioning/external_dependencies.txt b/eng/versioning/external_dependencies.txt new file mode 100644 index 000000000000..74cfb910f849 --- /dev/null +++ b/eng/versioning/external_dependencies.txt @@ -0,0 +1,212 @@ +# Format; +# groupId:artifactId;dependency-version +com.fasterxml.jackson.core:jackson-annotations;2.10.0 +com.fasterxml.jackson.core:jackson-core;2.10.0 +com.fasterxml.jackson.core:jackson-databind;2.10.0 +com.fasterxml.jackson.dataformat:jackson-dataformat-xml;2.10.0 +com.fasterxml.jackson.datatype:jackson-datatype-jsr310;2.10.0 +com.fasterxml.uuid:java-uuid-generator;3.2.0 +com.github.spotbugs:spotbugs;4.0.0-beta3 +com.github.spotbugs:spotbugs-maven-plugin;3.1.12.2 +com.google.code.gson:gson;2.8.5 +com.google.guava:guava;24.1.1-jre +com.microsoft.azure:azure-annotations;1.7.0 +com.microsoft.azure:azure-arm-client-runtime;1.6.15 +com.microsoft.azure:azure-client-authentication;1.6.15 +com.microsoft.azure:azure-client-runtime;1.6.15 +com.microsoft.azure:azure-core;0.9.8 +com.microsoft.azure:azure-keyvault-cryptography;1.2.2 +com.microsoft.azure:azure-mgmt-keyvault;1.11.1 +com.microsoft.azure:client-runtime;1.6.15 +com.microsoft.azure:qpid-proton-j-extensions;1.2.1 +com.microsoft.azure:spotbugs-maven-plugin;1.2.1 +com.microsoft.rest:client-runtime;1.6.15 +com.microsoft.rest.v2:client-runtime;2.1.1 +com.squareup.okhttp3:okhttp;4.2.2 +commons-codec:commons-codec;1.13 +io.micrometer:micrometer-core;1.2.0 +io.micrometer:micrometer-registry-azure-monitor;1.2.0 +io.micrometer:micrometer-registry-graphite;1.2.0 +io.netty:netty-buffer;4.1.42.Final +io.netty:netty-codec-http;4.1.42.Final +io.netty:netty-codec-http2;4.1.42.Final +io.netty:netty-handler;4.1.42.Final +io.netty:netty-handler-proxy;4.1.42.Final +io.netty:netty-tcnative;2.0.26.Final +io.netty:netty-tcnative-boringssl-static;2.0.26.Final +io.netty:netty-transport-native-epoll;4.1.42.Final +io.netty:netty-transport-native-unix-common;4.1.42.Final +io.opencensus:opencensus-api;0.24.0 +io.opencensus:opencensus-impl;0.24.0 +io.projectreactor.netty:reactor-netty;0.9.0.RELEASE +io.projectreactor:reactor-core;3.3.0.RELEASE +io.reactivex:rxjava;1.2.4 +org.apache.httpcomponents:httpclient;4.3.6 +org.apache.logging.log4j:log4j-api;2.11.1 +org.apache.logging.log4j:log4j-core;2.11.1 +org.apache.qpid:proton-j;0.33.2 +org.asynchttpclient:async-http-client;2.10.4 +org.codehaus.groovy:groovy-eclipse-batch;2.5.8-01 +org.codehaus.groovy:groovy-eclipse-compiler;3.4.0-01 +org.powermock:powermock-api-mockito2;2.0.2 +org.powermock:powermock-module-junit4;2.0.2 +org.slf4j:slf4j-api;1.7.28 +org.slf4j:slf4j-log4j12;1.7.0 +org.slf4j:slf4j-simple;1.7.25 + +## Test dependency versions +cglib:cglib-nodep;3.2.7 +com.github.tomakehurst:wiremock-standalone;2.24.1 +com.microsoft.azure:adal4j;1.6.4 +com.microsoft.azure:azure-mgmt-graph-rbac;1.3.0 +com.microsoft.azure:azure-mgmt-keyvault;1.11.1 +com.microsoft.azure:azure-mgmt-resources;1.3.0 +com.microsoft.azure:azure-mgmt-storage;1.3.0 +com.microsoft.azure:azure-storage;8.0.0 +com.microsoft.azure:msal4j;0.5.0-preview +io.opentelemetry:opentelemetry-api;0.2.0 +io.opentelemetry:opentelemetry-sdk;0.2.0 +io.projectreactor:reactor-test;3.3.0.RELEASE +junit:junit;4.13-beta-3 +log4j:log4j;1.2.17 +org.assertj:assertj-core;3.11.1 +org.bouncycastle:bcprov-jdk15on;1.60 +org.eclipse.jetty:jetty-http;9.4.11.v20180605 +org.eclipse.jetty:jetty-server;9.4.11.v20180605 +org.hamcrest:hamcrest-all;1.3 +org.hamcrest:hamcrest-library;2.2 +# https://junit.org/junit5/docs/current/user-guide/#running-tests-ide-intellij-idea +# use 5.4.2 now since Version 5.5.2 as of 11.2019 fails to discover tests +# https://youtrack.jetbrains.com/issue/IDEA-223700 +# org.junit:junit-bom;5.4.2 is a pom file that will add its dependencyManagement section to parent pom's which +# effectively means that each dependency needs to be listed here. +org.junit.jupiter:junit-jupiter;5.4.2 +org.junit.jupiter:junit-jupiter-api;5.4.2 +org.junit.jupiter:junit-jupiter-engine;5.4.2 +org.junit.jupiter:junit-jupiter-migrationsupport;5.4.2 +org.junit.jupiter:junit-jupiter-params;5.4.2 +org.junit.platform:junit-platform-commons;1.4.2 +org.junit.platform:junit-platform-console;1.4.2 +org.junit.platform:junit-platform-engine;1.4.2 +org.junit.platform:junit-platform-launcher;1.4.2 +org.junit.platform:junit-platform-reporting;1.4.2 +org.junit.platform:junit-platform-runner;1.4.2 +org.junit.platform:junit-platform-suite-api;1.4.2 +org.junit.platform:junit-platform-testkit;1.4.2 +org.junit.vintage:junit-vintage-engine;5.4.2 +org.openjdk.jmh:jmh-core;1.22 +org.openjdk.jmh:jmh-generator-annprocess;1.22 +org.spockframework:spock-core;1.3-groovy-2.5 +org.testng:testng;6.14.3 +uk.org.lidalia:slf4j-test;1.2.0 + +## Maven Tools versions +com.azure:sdk-build-tools;1.0.0 +com.beust:jcommander;1.58 +com.google.code.findbugs:jsr305;3.0.2 +com.nimbusds:nimbus-jose-jwt;6.0.1 +com.nimbusds:oauth2-oidc-sdk;6.14 +com.puppycrawl.tools:checkstyle;8.24 +commons-io:commons-io;2.5 +commons-validator:commons-validator;1.6 +io.dropwizard.metrics:metrics-core;4.0.5 +io.dropwizard.metrics:metrics-graphite;4.0.5 +io.dropwizard.metrics:metrics-jvm;4.0.5 +io.reactivex.rxjava2:rxjava;2.2.4 +net.java.dev.jna:jna-platform;5.4.0 +org.apache.commons:commons-collections4;4.2 +org.apache.commons:commons-lang3;3.8.1 +org.apache.commons:commons-text;1.6 +org.apache.maven.plugins:maven-antrun-plugin;1.8 +org.apache.maven.plugins:maven-assembly-plugin;2.2 +org.apache.maven.plugins:maven-checkstyle-plugin;3.1.0 +org.apache.maven.plugins:maven-clean-plugin;3.0.0 +org.apache.maven.plugins:maven-compiler-plugin;3.8.1 +org.apache.maven.plugins:maven-eclipse-plugin;2.8 +org.apache.maven.plugins:maven-failsafe-plugin;2.22.0 +org.apache.maven.plugins:maven-help-plugin;2.1.1 +org.apache.maven.plugins:maven-jar-plugin;3.1.2 +org.apache.maven.plugins:maven-javadoc-plugin;3.1.1 +org.apache.maven.plugins:maven-jxr-plugin;3.0.0 +org.apache.maven.plugins:maven-project-info-reports-plugin;3.0.0 +org.apache.maven.plugins:maven-release-plugin;2.5.3 +org.apache.maven.plugins:maven-resources-plugin;2.4.3 +org.apache.maven.plugins:maven-site-plugin;3.7.1 +org.apache.maven.plugins:maven-source-plugin;3.0.1 +org.apache.maven.plugins:maven-surefire-plugin;3.0.0-M3 +org.apidesign.javadoc:codesnippet-doclet;0.32 +org.codehaus.mojo:build-helper-maven-plugin;3.0.0 +org.codehaus.mojo:exec-maven-plugin;1.2.1 +org.codehaus.mojo:properties-maven-plugin;1.0.0 +org.codehaus.mojo:xml-maven-plugin;1.0 +org.eclipse.jetty:jetty-maven-plugin;9.3.22.v20171030 +org.eclipse.m2e:lifecycle-mapping;1.0.0 +org.jacoco:jacoco-maven-plugin;0.8.4 +org.jacoco:org.jacoco.agent;0.8.4 +org.mockito:mockito-core;3.0.0 +org.nanohttpd:nanohttpd;2.3.1 + +# External Dependency Exceptions +# This section is for external dependencies whose versions were different than +# what was defined in the parent pom. +# Format; +# _groupId:artifactId;dependency-version + +# This is a unique dependency as it is the only test-jar dependency in the +# data track. It's also using a SNAPSHOT version which should be disallowed but there is +# going to be some investigation necessary to find, at the very least, a newer version +# which is, hopefully, not a SNAPSHOT. +# sdk\batch\microsoft-azure-batch\pom.xml +# sdk\keyvault\microsoft-azure-keyvault\pom.xml +# sdk\keyvault\microsoft-azure-keyvault-extensions\pom.xml +# sdk\keyvault\microsoft-azure-keyvault-test\pom.xml +test_jar_com.microsoft.azure:azure-mgmt-resources;1.3.1-SNAPSHOT + +# sdk\applicationinsights\microsoft-azure-applicationinsights-query\pom.xml +applicationinsights_com.microsoft.azure:azure-arm-client-runtime;1.6.3 +applicationinsights_com.microsoft.azure:azure-client-runtime;1.6.3 +applicationinsights_com.microsoft.azure:azure-client-authentication;1.6.3 + +# everything under sdk\cosmos +cosmos_org.mockito:mockito-core;1.10.19 +cosmos_com.google.guava:guava;27.0.1-jre +cosmos_io.dropwizard.metrics:metrics-core;4.1.0 +cosmos_io.dropwizard.metrics:metrics-jvm;4.1.0 +cosmos_io.dropwizard.metrics:metrics-graphite;4.1.0 + +# sdk\eventgrid\microsoft-azure-eventgrid\pom.xml +eventgrid_com.microsoft.azure:azure-client-runtime;1.5.0 +eventgrid_com.microsoft.azure:azure-client-authentication;1.5.0 +eventgrid_commons-io:commons-io;2.6 + +# sdk\eventhubs\microsoft-azure-eventhubs-eph\pom.xml +# sdk\eventhubs\microsoft-azure-eventhubs-extensions\pom.xml +eventhubs_com.microsoft.azure:msal4j;0.4.0-preview + +# sdk\keyvault\microsoft-azure-keyvault-extensions\pom.xml +keyvault_org.mockito:mockito-core;1.10.19 +# sdk\keyvault\microsoft-azure-keyvault-test\pom.xml +keyvault_com.microsoft.azure:azure-storage;4.4.0 + +# sdk\loganalytics\microsoft-azure-loganalytics\pom.xml +loganalytics_com.microsoft.azure:azure-arm-client-runtime;1.6.3 +loganalytics_com.microsoft.azure:azure-client-authentication;1.6.3 +loganalytics_com.microsoft.azure:azure-client-runtime;1.6.3 + +# sdk\mediaservices\microsoft-azure-media\pom.xml which hasn't been released for 2 years +# all of these unique references below are listed here because they're old, some are over 10 years old +media_javax.xml.bind:jaxb-api;2.2.7 +media_javax.inject:javax.inject;1 +media_javax.mail:mail;1.4.5 +media_com.sun.jersey:jersey-client;1.19 +media_com.sun.jersey:jersey-json;1.19 +media_commons-logging:commons-logging;1.1.1 +media_io.jsonwebtoken:jjwt;0.5.1 +media_org.mockito:mockito-all;1.9.0 +media_com.microsoft.azure:adal4j;1.2.0 + +# sdk\servicebus\microsoft-azure-servicebus\pom.xml +servicebus_com.microsoft.azure:azure-client-authentication;1.6.7 + +# sdk\storage\azure-storage-blob-cryptography\pom.xml +storage_com.microsoft.azure:azure-storage;8.4.0 \ No newline at end of file diff --git a/eng/versioning/update_versions.py b/eng/versioning/update_versions.py index 93b24f9c5a29..97c917a1cd2e 100644 --- a/eng/versioning/update_versions.py +++ b/eng/versioning/update_versions.py @@ -2,7 +2,7 @@ # Licensed under the MIT License. # Use case: Update all the versions in README.md and pom.xml files based on -# the versions in versions_[client|data|management].txt/dependencies_[client|data|management].txt +# the versions in versions_[client|data|management].txt, external_dependencies.txt # # python eng/versioning/update_versions.py --update-type [library|external_dependency|all] -build-type [client|data|management] # For example: To update the library versions for the client track without touching the README files @@ -14,6 +14,14 @@ # For example: To update all versions for the client track for a given pom file # python eng/versioning/update_versions.py --ut all --bt client --tf \pom.xml # +# Use case: Update the external_dependencies +# +# python utilities/update_versions.py --update-type [library|external_dependency|all] -build-type [client|data|management] --target-file pom-file-to-update +# For example: To update all versions for the client track for a given pom file. While the skip readme flag isn't entirely +# necessary here, since our README.md files don't contain externaly dependency versions, there's no point in scanning files +# that shouldn't require changes. +# python eng/versioning/update_versions.py --ut external_dependency --sr +# # The script must be run at the root of azure-sdk-for-java. import argparse @@ -24,6 +32,7 @@ import time from utils import BuildType from utils import CodeModule +from utils import external_dependency_version_regex from utils import UpdateType from utils import version_regex_str_no_anchor from utils import version_update_start_marker @@ -65,14 +74,24 @@ def update_versions(version_map, target_file): if version_type == 'current': try: new_version = module.current + newline = re.sub(version_regex_str_no_anchor, new_version, line) except AttributeError: raise ValueError('Module: {0} does not have a current version.\nFile={1}\nLine={2}'.format(module_name, target_file, line)) elif version_type == 'dependency': - new_version = module.dependency + try: + new_version = module.dependency + newline = re.sub(version_regex_str_no_anchor, new_version, line) + except AttributeError: + raise ValueError('Module: {0} does not have a dependency version.\nFile={1}\nLine={2}'.format(module_name, target_file, line)) + elif version_type == 'external_dependency': + try: + new_version = module.external_dependency + newline = re.sub(external_dependency_version_regex, new_version, line) + except AttributeError: + raise ValueError('Module: {0} does not have an external dependency version.\nFile={1}\nLine={2}'.format(module_name, target_file, line)) else: raise ValueError('Invalid version type: {} for module: {}.\nFile={}\nLine={}'.format(version_type, module_name, target_file, line)) - newline = re.sub(version_regex_str_no_anchor, new_version, line) newlines.append(newline) file_changed = True else: @@ -112,7 +131,7 @@ def update_versions_all(update_type, build_type, target_file, skip_readme): load_version_map_from_file(version_file, version_map) if update_type == UpdateType.external_dependency or update_type == UpdateType.all: - dependency_file = os.path.normpath('eng/versioning/external_dependency_' + build_type.name + '.txt') + dependency_file = os.path.normpath('eng/versioning/external_dependencies.txt') print('external_dependency_file=' + dependency_file) load_version_map_from_file(dependency_file, version_map) @@ -132,7 +151,7 @@ def update_versions_all(update_type, build_type, target_file, skip_readme): # https://github.com/Azure/azure-sdk-for-java/issues/3141 has been fixed. # version_*_java_files.txt # BEGIN:Versions_in_java_files - if not target_file: + if not target_file and BuildType.none != build_type: # the good thing here is that the java files only contain library versions, not # external versions version_java_file = os.path.normpath('eng/versioning/version_' + build_type.name + '_java_files.txt') @@ -150,14 +169,12 @@ def update_versions_all(update_type, build_type, target_file, skip_readme): def main(): parser = argparse.ArgumentParser(description='Replace version numbers in poms and READMEs.') parser.add_argument('--update-type', '--ut', type=UpdateType, choices=list(UpdateType)) - parser.add_argument('--build-type', '--bt', type=BuildType, choices=list(BuildType)) + parser.add_argument('--build-type', '--bt', nargs='?', type=BuildType, choices=list(BuildType), default=BuildType.none) parser.add_argument('--skip-readme', '--sr', action='store_true', help='Skip updating of readme files if argument is present' ) parser.add_argument('--target-file', '--tf', nargs='?', help='File to update (optional) - all files in the current directory and subdirectories are scanned if omitted') args = parser.parse_args() if args.build_type == BuildType.management: raise ValueError('{} is not currently supported.'.format(BuildType.management.name)) - if args.update_type == UpdateType.external_dependency or args.update_type == UpdateType.all: - raise ValueError('{} is not currently supported.'.format(UpdateType.external_dependency.name)) start_time = time.time() update_versions_all(args.update_type, args.build_type, args.target_file, args.skip_readme) elapsed_time = time.time() - start_time diff --git a/eng/versioning/utils.py b/eng/versioning/utils.py index 056f323dd6f5..6ffc5defc18b 100644 --- a/eng/versioning/utils.py +++ b/eng/versioning/utils.py @@ -18,6 +18,10 @@ # https://semver.org/#is-there-a-suggested-regular-expression-regex-to-check-a-semver-string version_regex_str_no_anchor = r'(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-((?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*)(?:\.(?:0|[1-9]\d*|\d*[a-zA-Z-][0-9a-zA-Z-]*))*))?(?:\+([0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?' +# External dependency versions do not have to match semver format and the semver regular expressions +# will partially match and produce some hilarious results. +external_dependency_version_regex = r'(?<=).+?(?=)' + # This is the original regular expression for semver. This differs from the # previous one in that start of line and end of line anchors are left in place. # This is the regex that would be used to ensure the entire string matches @@ -39,6 +43,7 @@ class BuildType(Enum): client = 'client' data = 'data' management = 'management' + none = 'none' # in the case where only external dependencies is being updated # defining string is necessary to get ArgumentParser's help output to produce # human readable values of BuildType @@ -54,11 +59,13 @@ def __init__(self, module_str): items = module_str.split(';') if len(items) == 2: self.name = items[0] - self.dependency = items[1].strip() + self.external_dependency = items[1].strip() + self.update_type = UpdateType.external_dependency elif len(items) == 3: self.name = items[0] self.dependency = items[1] self.current = items[2].strip() + self.update_type = UpdateType.library else: raise ValueError('unable to parse module string: ' + module_str) @@ -68,7 +75,7 @@ def __str__(self): try: return self.name + ': Dependency version=' + self.dependency + ': Current version=' + self.current except AttributeError: - return self.name + ': External Dependency version=' + self.dependency + return self.name + ': External Dependency version=' + self.external_dependency # return the CodeModule string formatted for a version file def string_for_version_file(self): diff --git a/eng/versioning/version_client.txt b/eng/versioning/version_client.txt index c8b4959b9ece..52d0793b5158 100644 --- a/eng/versioning/version_client.txt +++ b/eng/versioning/version_client.txt @@ -1,11 +1,11 @@ # Format; # groupId:artifactId;dependency-version;current-version -com.azure:azure-sdk-parent;1.5.0;1.5.0 -com.azure:azure-client-sdk-parent;1.6.0;1.6.0 -com.azure:azure-core;1.1.0-beta.1;1.1.0-beta.1 +com.azure:azure-sdk-parent;1.6.0;1.6.0 +com.azure:azure-client-sdk-parent;1.7.0;1.7.0 +com.azure:azure-core;1.1.0;1.1.0 com.azure:azure-core-amqp;1.0.0-beta.8;1.0.0-beta.8 -com.azure:azure-core-http-netty;1.1.0-beta.1;1.1.0-beta.1 +com.azure:azure-core-http-netty;1.1.0;1.1.0 com.azure:azure-core-http-okhttp;1.1.0-beta.1;1.1.0-beta.1 com.azure:azure-core-management;1.0.0-beta.8;1.0.0-beta.8 com.azure:azure-core-test;1.1.0-beta.1;1.1.0-beta.1 @@ -26,4 +26,4 @@ com.azure:azure-storage-file-datalake;12.0.0-beta.7;12.0.0-beta.7 com.azure:azure-storage-queue;12.1.0-beta.1;12.1.0-beta.1 com.azure:azure-storage-queue-cryptography;12.0.0-beta.6;12.0.0-beta.6 com.azure:azure-core-tracing-opencensus;1.0.0-beta.5;1.0.0-beta.5 -com.azure:azure-core-tracing-opetelemetry;1.0.0-beta.1;1.0.0-beta.1 +com.azure:azure-core-tracing-opentelemetry;1.0.0-beta.1;1.0.0-beta.1 diff --git a/eng/versioning/version_data.txt b/eng/versioning/version_data.txt index eaa65d3c7ba7..8fb7297eb281 100644 --- a/eng/versioning/version_data.txt +++ b/eng/versioning/version_data.txt @@ -2,7 +2,7 @@ # groupId:artifactId;dependency-version;current-version # Note: com.azure:azure-sdk-parent is in version_client.txt -com.azure:azure-data-sdk-parent;1.2.0;1.2.0 +com.azure:azure-data-sdk-parent;1.3.0;1.3.0 com.microsoft.azure:azure-batch;7.1.0-beta.1;7.1.0-beta.1 com.microsoft.azure:azure-applicationinsights-query;1.0.0-beta-2;1.0.0-beta-2 com.microsoft.azure.cognitiveservices:azure-cognitiveservices-spellcheck;1.1.0-beta.1;1.1.0-beta.1 @@ -23,21 +23,21 @@ com.microsoft.azure.cognitiveservices:azure-cognitiveservices-contentmoderator;1 com.microsoft.azure.cognitiveservices:azure-cognitiveservices-customvision-prediction;1.1.0-beta.3;1.1.0-beta.3 com.microsoft.azure.cognitiveservices:azure-cognitiveservices-customvision-training;1.1.0-beta.3;1.1.0-beta.3 com.microsoft.azure.cognitiveservices:azure-cognitiveservices-faceapi;1.1.0-beta.1;1.1.0-beta.1 -com.microsoft.azure:azure-cosmos-parent;3.3.1;3.4.0 -com.microsoft.azure:azure-cosmos;3.3.1;3.4.0 -com.microsoft.azure:azure-cosmos-benchmark;3.3.1;3.4.0 -com.microsoft.azure:azure-cosmos-examples;3.3.1;3.4.0 +com.microsoft.azure:azure-cosmos-parent;3.4.0;3.5.0 +com.microsoft.azure:azure-cosmos;3.4.0;3.5.0 +com.microsoft.azure:azure-cosmos-benchmark;3.4.0;3.4.0 +com.microsoft.azure:azure-cosmos-examples;3.4.0;3.4.0 com.microsoft.azure:azure-eventhubs;3.1.0;3.1.0 com.microsoft.azure:azure-eventhubs-eph;3.1.0;3.1.0 com.microsoft.azure:azure-eventhubs-extensions;3.1.0;3.1.0 com.microsoft.azure:azure-keyvault;1.2.3;1.2.3 com.microsoft.azure:azure-keyvault-complete;1.2.3;1.2.3 com.microsoft.azure:azure-keyvault-core;1.2.3;1.2.3 -com.microsoft.azure:azure-keyvault-cryptography;1.2.2;1.2.3 +com.microsoft.azure:azure-keyvault-cryptography;1.2.3;1.2.3 com.microsoft.azure:azure-keyvault-extensions;1.2.3;1.2.3 com.microsoft.azure:azure-keyvault-test;1.2.3;1.2.3 com.microsoft.azure:azure-keyvault-webkey;1.2.3;1.2.3 -com.microsoft.azure:azure-servicebus;3.1.3;3.1.3 +com.microsoft.azure:azure-servicebus;3.1.4;3.1.4 com.microsoft.azure:azure-storage-blob;11.0.2;11.0.2 com.microsoft.azure.msi_auth_token_provider:azure-authentication-msi-token-provider;1.1.0-beta.1;1.1.0-beta.1 com.microsoft.azure:azure-eventgrid;1.4.0-beta.1;1.4.0-beta.1 diff --git a/parent/pom.xml b/parent/pom.xml index ed16c32b9aa1..dce4691580ac 100644 --- a/parent/pom.xml +++ b/parent/pom.xml @@ -6,7 +6,7 @@ com.azure azure-sdk-parent pom - 1.5.0 + 1.6.0 Microsoft Azure SDK for Java Parent Parent POM for Microsoft Azure SDK for Java @@ -16,13 +16,6 @@ http://microsoft.com - - com.microsoft.maven - java-8-parent - 8.0.2 - - - The MIT License (MIT) @@ -97,587 +90,8 @@ https://azuresdkartifacts.blob.core.windows.net/azure-sdk-for-java https://github.com/Azure/azure-sdk-for-java/issues - - - 2.10.0 - 2.10.0 - 1.6.15 - 1.13 - 4.0.0-beta3 - 3.1.12.2 - 0.33.2 - 1.2.1 - 2.11.1 - 3.4.0-01 - 2.5.8-01 - 2.1.1 - 1.7.28 - 1.7.0 - 3.3.0.RELEASE - 0.9.0.RELEASE - 4.1.42.Final - 2.0.26.Final - 4.2.2 - 2.10.4 - 0.24.0 - 1.2.4 - 24.1.1-jre - 1.7.0 - 4.5.0.201609210915-r - 3.3 - 1.14.0 - 0.32 - 6.14 - 4.0.5 - 2.2.4 - 2.5 - 3.8.1 - 1.6 - 1.6 - 4.2 - 1.58 - 2.3.1 - 3.0.2 - 5.4.0 - - - 1.6.4 - 0.5.0-preview - 1.60 - 1.11.1 - 1.3.0 - 1.3.1-SNAPSHOT - 1.3.0 - 1.3.0 - 8.0.0 - 1.3-groovy-2.5 - 3.2.7 - 1.2.0 - 3.3.0.RELEASE - 2.24.1 - 9.4.11.v20180605 - 9.4.11.v20180605 - 4.13-beta-3 - - 5.4.2 - 1.5.2 - 1.2.17 - 6.14.3 - 3.11.1 - 1.3 - 2.2 - - - 1.0.2 - 1.0.0 - 3.1.1 - 2.5.3 - 3.8.1 - 9.3.22.v20171030 - 1.0.0 - 2.4.3 - 3.0.0 - 1.0.0 - 2.22.0 - 2.4.1 - 3.0.0 - 3.1.2 - 1.0 - 3.7.1 - 3.0.0 - 1.8 - 3.1.0 - 8.24 - 3.0.0 - 1.7.4 - 0.8.4 - 1.2.1 - 2.8 - 2.2 - 3.0.0-M3 - - - - - com.microsoft.azure - azure-client-runtime - ${client-runtime.version} - - - - com.microsoft.azure - azure-arm-client-runtime - ${client-runtime.version} - - - - com.microsoft.azure - adal4j - ${adal4j.version} - - - - com.microsoft.azure - msal4j - ${msal4j.version} - - - - com.microsoft.azure - azure-annotations - ${azure-annotations.version} - - - - - com.microsoft.rest - client-runtime - ${client-runtime.version} - - - - - com.fasterxml.jackson.core - jackson-core - ${jackson.version} - - - - com.fasterxml.jackson.core - jackson-databind - ${jackson-databind.version} - - - - - com.fasterxml.jackson.core - jackson-annotations - ${jackson.version} - - - - com.fasterxml.uuid - java-uuid-generator - ${java-uuid-generator.version} - - - - com.fasterxml.jackson.datatype - jackson-datatype-jsr310 - ${jackson.version} - - - - com.fasterxml.jackson.dataformat - jackson-dataformat-xml - ${jackson.version} - - - - - org.apache.qpid - proton-j - ${proton-j-version} - - - - com.microsoft.azure - qpid-proton-j-extensions - ${qpid-proton-j-extensions-version} - - - - - - commons-codec - commons-codec - ${commons-codec.version} - - - - commons-validator - commons-validator - ${commons-validator.version} - - - - org.apache.commons - commons-collections4 - ${commons-collections4.version} - - - - org.apache.commons - commons-text - ${commons-text.version} - - - - org.apache.commons - commons-lang3 - ${commons-lang3.version} - - - - org.apache.logging.log4j - log4j-api - ${log4j-api.version} - - - - com.microsoft.rest.v2 - client-runtime - ${client-runtime.version.v2} - - - - org.slf4j - slf4j-api - ${slf4j-api.version} - - - - org.slf4j - slf4j-log4j12 - ${slf4j-log4j12.version} - - - - io.projectreactor - reactor-core - ${reactor-core.version} - - - io.projectreactor.netty - reactor-netty - ${reactor-netty.version} - - - io.netty - netty-codec-http - ${netty.version} - - - io.netty - netty-handler - ${netty.version} - - - io.netty - netty-handler-proxy - ${netty.version} - - - io.netty - netty-buffer - ${netty.version} - - - - io.netty - netty-tcnative-boringssl-static - ${netty-tcnative-boringssl-static.version} - - - - org.nanohttpd - nanohttpd - ${nanohttpd.version} - - - net.java.dev.jna - jna-platform - ${jna-platform.version} - - - com.squareup.okhttp3 - okhttp - ${okhttp.version} - - - - junit - junit - ${junit.version} - - - - - org.junit - junit-bom - ${junit-jupiter.version} - pom - - - - - org.hamcrest - hamcrest-library - ${hamcrest-library.version} - test - - - - org.asynchttpclient - async-http-client - ${async-http-client.version} - - - - io.opencensus - opencensus-api - ${opencensus.version} - - - - io.reactivex - rxjava - ${rxjava.version} - - - - io.reactivex.rxjava2 - rxjava - ${rxjava2.version} - - - - io.dropwizard.metrics - metrics-core - ${metrics.version} - - - - io.dropwizard.metrics - metrics-jvm - ${metrics.version} - - - - io.dropwizard.metrics - metrics-graphite - ${metrics.version} - - - - com.beust - jcommander - ${jcommander.version} - - - - com.google.guava - guava - ${guava.version} - - - - log4j - log4j - ${log4j.version} - - - - org.eclipse.jgit - org.eclipse.jgit - ${jgit.version} - - - org.apache.httpcomponents - httpclient - - - - - - commons-net - commons-net - ${commons-net.version} - - - - com.nimbusds - oauth2-oidc-sdk - ${oauth2-oidc-sdk.version} - - - - org.codehaus.groovy - groovy-eclipse-compiler - ${groovy-eclipse-compiler.version} - - - - - com.microsoft.azure - azure-mgmt-storage - ${azure-mgmt-storage.version} - test - - - - org.hamcrest - hamcrest-all - ${hamcrest.version} - test - - - - com.microsoft.azure - azure-mgmt-graph-rbac - ${azure-mgmt-graph-rbac.version} - test - - - - org.testng - testng - ${testng.version} - test - - - - org.assertj - assertj-core - ${assertj.version} - test - - - - com.microsoft.azure - azure-mgmt-resources - ${azure-mgmt-resources-test.version} - test-jar - test - - - - com.microsoft.azure - azure-client-authentication - ${client-runtime.version} - test - - - - com.microsoft.azure - azure-arm-client-runtime - ${client-runtime.version} - test-jar - test - - - - org.bouncycastle - bcprov-jdk15on - ${bcprov-jdk15on.version} - - - - com.microsoft.azure - azure-mgmt-keyvault - ${azure-mgmt-keyvault.version} - test - - - - com.microsoft.azure - azure-mgmt-resources - ${azure-mgmt-resources.version} - test - - - - com.microsoft.azure - azure-storage - ${azure-storage.version} - - - - commons-io - commons-io - ${commons-io.version} - - - - org.spockframework - spock-core - test - ${spock-core.version} - - - - cglib - cglib-nodep - ${cglib-nodep.version} - test - - - - org.slf4j - slf4j-simple - ${slf4j.version} - test - - - - io.projectreactor - reactor-test - ${reactor-test.version} - - - - uk.org.lidalia - slf4j-test - ${slf4j-test.version} - test - - - - com.github.tomakehurst - wiremock-standalone - ${wiremock-standalone.version} - test - - - - org.eclipse.jetty - jetty-http - ${jetty-http.version} - test - - - - org.eclipse.jetty - jetty-server - ${jetty-server.version} - test - - - - org.mockito - mockito-core - ${mockito-core.version} - test - - - - org.powermock - powermock-module-junit4 - 2.0.2 - test - - - - org.powermock - powermock-api-mockito2 - 2.0.2 - test - - - - @@ -685,7 +99,7 @@ org.codehaus.mojo build-helper-maven-plugin - ${build-helper-maven-plugin.version} + 3.0.0 compile-samples-source @@ -706,35 +120,35 @@ org.apache.maven.plugins maven-assembly-plugin - ${maven-assembly-plugin.version} + 2.2 org.apache.maven.plugins maven-eclipse-plugin - ${maven-eclipse-plugin.version} + 2.8 org.codehaus.mojo exec-maven-plugin - ${maven-exec-plugin.version} + 1.2.1 org.apache.maven.plugins maven-resources-plugin - ${maven-resources-plugin.version} + 2.4.3 org.apache.maven.plugins maven-surefire-plugin - ${maven-surefire-plugin.version} + 3.0.0-M3 ${surefireArgLine} @@ -764,14 +178,14 @@ org.apache.maven.plugins maven-release-plugin - ${maven-release-plugin.version} + 2.5.3 org.apache.maven.plugins maven-clean-plugin - ${maven-clean-plugin.version} + 3.0.0 true @@ -794,7 +208,7 @@ org.eclipse.m2e lifecycle-mapping - ${lifecycle-mapping.version} + 1.0.0 @@ -820,7 +234,7 @@ org.apache.maven.plugins maven-failsafe-plugin - ${maven-failsafe-plugin.version} + 2.22.0 @@ -835,7 +249,7 @@ org.eclipse.jetty jetty-maven-plugin - ${jetty-maven-plugin.version} + 9.3.22.v20171030 0 11079 @@ -849,14 +263,14 @@ org.apache.maven.plugins maven-jar-plugin - ${maven-jar-plugin.version} + 3.1.2 org.apache.maven.plugins maven-site-plugin - ${maven-site-plugin.version} + 3.7.1 false @@ -866,7 +280,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - ${maven-project-info-reports-plugin.version} + 3.0.0 diff --git a/pom.client.xml b/pom.client.xml index ee5a1d240472..89bd8a012c20 100644 --- a/pom.client.xml +++ b/pom.client.xml @@ -7,7 +7,7 @@ com.azure azure-client-sdk-parent pom - 1.6.0 + 1.7.0 Microsoft Azure SDK for Java - Client Libraries Parent POM for Microsoft Azure SDK for Java @@ -20,7 +20,7 @@ com.azure azure-sdk-parent - 1.5.0 + 1.6.0 ./parent/pom.xml @@ -111,7 +111,7 @@ org.apache.maven.plugins maven-compiler-plugin - ${maven-compiler-plugin.version} + 3.8.1 true true @@ -122,17 +122,17 @@ org.apache.maven.plugins maven-checkstyle-plugin - ${maven-checkstyle-plugin.version} + 3.1.0 com.azure sdk-build-tools - ${sdk-build-tools.version} + 1.0.0 com.puppycrawl.tools checkstyle - ${checkstyle.version} + 8.24 @@ -162,17 +162,17 @@ com.github.spotbugs spotbugs-maven-plugin - ${spotbugs.maven.version} + 3.1.12.2 com.azure sdk-build-tools - ${sdk-build-tools.version} + 1.0.0 com.github.spotbugs spotbugs - ${spotbugs.version} + 4.0.0-beta3 @@ -198,7 +198,7 @@ org.codehaus.mojo xml-maven-plugin - ${xml-maven-plugin.version} + 1.0 verify @@ -228,7 +228,7 @@ com.github.spotbugs spotbugs - ${spotbugs.version} + 4.0.0-beta3 @@ -237,6 +237,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 ${packageOutputDirectory} @@ -246,6 +247,7 @@ org.apache.maven.plugins maven-javadoc-plugin + 3.1.1 attach-javadocs @@ -266,6 +268,7 @@ org.apache.maven.plugins maven-source-plugin + 3.0.1 attach-sources @@ -281,8 +284,9 @@ + org.apache.maven.plugins maven-antrun-plugin - ${maven-antrun-plugin.version} + 1.8 copy @@ -301,7 +305,7 @@ org.jacoco jacoco-maven-plugin - ${jacoco-maven-plugin.version} + 0.8.4 default-instrument @@ -334,6 +338,7 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 @@ -342,6 +347,7 @@ org.apache.maven.plugins maven-javadoc-plugin + 3.1.1 1.8 Azure SDK for Java Reference Documentation @@ -446,7 +452,7 @@ org.apidesign.javadoc codesnippet-doclet - ${codesnippet4javadoc.version} + 0.32 -maxLineLength 120 @@ -465,17 +471,17 @@ com.github.spotbugs spotbugs-maven-plugin - ${spotbugs.maven.version} + 3.1.12.2 com.azure sdk-build-tools - ${sdk-build-tools.version} + 1.0.0 com.github.spotbugs spotbugs - ${spotbugs.version} + 4.0.0-beta3 @@ -492,6 +498,7 @@ org.apache.maven.plugins maven-checkstyle-plugin + 3.1.0 true true @@ -501,7 +508,7 @@ org.apache.maven.plugins maven-surefire-plugin - ${maven-surefire-plugin.version} + 3.0.0-M3 false @@ -517,7 +524,7 @@ org.jacoco org.jacoco.agent runtime - ${jacoco-maven-plugin.version} + 0.8.4 test @@ -527,7 +534,7 @@ org.apache.maven.plugins maven-checkstyle-plugin - ${maven-checkstyle-plugin.version} + 3.1.0 eng/code-quality-reports/src/main/resources/checkstyle/checkstyle.xml eng/code-quality-reports/src/main/resources/checkstyle/checkstyle-suppressions.xml @@ -560,7 +567,7 @@ com.github.spotbugs spotbugs-maven-plugin - ${spotbugs.maven.version} + 3.1.12.2 max Low @@ -575,7 +582,7 @@ org.apache.maven.plugins maven-javadoc-plugin - ${maven-javadoc.version} + 3.1.1 non-aggregate @@ -622,7 +629,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.0.0 + 3.0.0 @@ -664,7 +671,7 @@ org.apache.maven.plugins maven-compiler-plugin - ${maven-compiler-plugin.version} + 3.8.1 1.8 1.8 @@ -701,7 +708,7 @@ org.apache.maven.plugins maven-javadoc-plugin - ${maven-javadoc.version} + 3.1.1 module-info.java @@ -716,7 +723,7 @@ org.apache.maven.plugins maven-javadoc-plugin - ${maven-javadoc.version} + 3.1.1 module-info.java @@ -744,7 +751,7 @@ org.apache.maven.plugins maven-compiler-plugin - ${maven-compiler-plugin.version} + 3.8.1 11 @@ -801,7 +808,7 @@ org.apache.maven.plugins maven-surefire-plugin - ${maven-surefire-plugin.version} + 3.0.0-M3 @@ -858,6 +865,7 @@ org.apache.maven.plugins maven-javadoc-plugin + 3.1.1 false @@ -930,6 +938,7 @@ org.codehaus.mojo exec-maven-plugin + 1.2.1 generate-overview-from-readme @@ -955,7 +964,7 @@ org.apache.maven.plugins maven-javadoc-plugin - ${maven-javadoc.version} + 3.1.1 ${project.basedir}/readme_overview.html diff --git a/pom.data.xml b/pom.data.xml index f8a302976724..9a21d076e3e5 100644 --- a/pom.data.xml +++ b/pom.data.xml @@ -6,7 +6,7 @@ com.azure azure-data-sdk-parent pom - 1.2.0 + 1.3.0 Microsoft Azure SDK for Java - Data Plane Libraries Parent POM for Microsoft Azure SDK for Java @@ -19,7 +19,7 @@ com.azure azure-sdk-parent - 1.3.0 + 1.6.0 ./parent/pom.xml @@ -70,17 +70,17 @@ org.apache.maven.plugins maven-checkstyle-plugin - ${maven-checkstyle-plugin.version} + 3.1.0 com.azure sdk-build-tools - ${sdk-build-tools.version} + 1.0.0 com.puppycrawl.tools checkstyle - ${checkstyle.version} + 8.24 @@ -111,12 +111,12 @@ com.github.spotbugs spotbugs-maven-plugin - ${spotbugs.maven.version} + 3.1.12.2 com.azure sdk-build-tools - ${sdk-build-tools.version} + 1.0.0 @@ -143,7 +143,7 @@ org.codehaus.mojo xml-maven-plugin - ${xml-maven-plugin.version} + 1.0 verify @@ -171,7 +171,7 @@ com.github.spotbugs spotbugs - ${spotbugs.version} + 4.0.0-beta3 @@ -180,6 +180,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 ${packageOutputDirectory} @@ -189,6 +190,7 @@ org.apache.maven.plugins maven-javadoc-plugin + 3.1.1 attach-javadocs @@ -206,6 +208,7 @@ org.apache.maven.plugins maven-source-plugin + 3.0.1 attach-sources @@ -221,15 +224,16 @@ + org.apache.maven.plugins maven-antrun-plugin - ${maven-antrun-plugin.version} + 1.8 copy package - + @@ -243,6 +247,7 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 @@ -251,6 +256,7 @@ org.apache.maven.plugins maven-javadoc-plugin + 3.1.1 8 Azure SDK for Java Reference Documentation @@ -298,12 +304,12 @@ com.github.spotbugs spotbugs-maven-plugin - ${spotbugs.maven.version} + 3.1.12.2 com.azure sdk-build-tools - ${sdk-build-tools.version} + 1.0.0 @@ -326,7 +332,7 @@ org.apache.maven.plugins maven-jxr-plugin - 3.0.0 + 3.0.0 aggregate @@ -340,7 +346,7 @@ org.apache.maven.plugins maven-checkstyle-plugin - ${maven-checkstyle-plugin.version} + 3.1.0 checkstyle/checkstyle.xml checkstyle/checkstyle-suppressions.xml @@ -374,7 +380,7 @@ com.github.spotbugs spotbugs-maven-plugin - ${spotbugs.maven.version} + 3.1.12.2 non-aggregate @@ -394,7 +400,7 @@ org.apache.maven.plugins maven-javadoc-plugin - ${maven-javadoc.version} + 3.1.1 non-aggregate @@ -414,7 +420,7 @@ org.apache.maven.plugins maven-project-info-reports-plugin - 3.0.0 + 3.0.0 @@ -459,7 +465,7 @@ org.apache.maven.plugins maven-compiler-plugin - ${maven-compiler-plugin.version} + 3.8.1 1.8 1.8 @@ -484,7 +490,7 @@ org.apache.maven.plugins maven-compiler-plugin - ${maven-compiler-plugin.version} + 3.8.1 11 11 @@ -511,6 +517,7 @@ org.apache.maven.plugins maven-javadoc-plugin + 3.1.1 --no-module-directories @@ -559,6 +566,7 @@ org.codehaus.mojo exec-maven-plugin + 1.2.1 generate-overview-from-readme @@ -584,7 +592,7 @@ org.apache.maven.plugins maven-javadoc-plugin - ${maven-javadoc.version} + 3.1.1 ${project.basedir}/readme_overview.html diff --git a/pom.xml b/pom.xml index ce6f7cd56ad1..a242321a00eb 100644 --- a/pom.xml +++ b/pom.xml @@ -19,7 +19,7 @@ com.azure azure-sdk-parent - 1.1.0 + 1.6.0 1.6.0 ./parent/pom.xml @@ -69,16 +69,17 @@ org.apache.maven.plugins maven-checkstyle-plugin + 3.1.0 com.azure sdk-build-tools - ${sdk-build-tools.version} + 1.0.0 com.puppycrawl.tools checkstyle - ${checkstyle.version} + 8.24 @@ -109,6 +110,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 ${packageOutputDirectory} @@ -118,6 +120,7 @@ org.apache.maven.plugins maven-javadoc-plugin + 3.1.1 attach-javadocs @@ -135,6 +138,7 @@ org.apache.maven.plugins maven-source-plugin + 3.0.1 attach-sources @@ -150,15 +154,16 @@ + org.apache.maven.plugins maven-antrun-plugin - ${maven-antrun-plugin.version} + 1.8 copy package - + @@ -172,6 +177,7 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 @@ -196,7 +202,7 @@ org.apache.maven.plugins maven-compiler-plugin - ${maven-compiler-plugin.version} + 3.8.1 1.8 1.8 @@ -221,7 +227,7 @@ org.apache.maven.plugins maven-compiler-plugin - ${maven-compiler-plugin.version} + 3.8.1 11 11 @@ -248,6 +254,7 @@ org.apache.maven.plugins maven-javadoc-plugin + 3.1.1 --no-module-directories diff --git a/sdk/appconfiguration/azure-data-appconfiguration/CHANGELOG.md b/sdk/appconfiguration/azure-data-appconfiguration/CHANGELOG.md index 2e573c6c6f15..1e78d0790f07 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/CHANGELOG.md +++ b/sdk/appconfiguration/azure-data-appconfiguration/CHANGELOG.md @@ -1,8 +1,13 @@ # Change Log azure-data-appconfiguration -## Version 1.0.0-preview.7 (2019-11-20) +## Version 1.0.0-preview.7 (2019-11-26) +For details on the Azure SDK for Java (November 2019 Preview) release refer to the [release announcement](https://aka.ms/azure-sdk-preview7-java). + +- Added support for Azure Activity Directory authentication. +- Added service API version support #### Breaking Changes - Removed clearReadOnly API, updated setReadOnly API to support setting and clearing read only based on the flag passed. +- Removed Range class, SettingSelector no longer supports Range. ## Version 1.0.0-preview.6 (2019-10-31) For details on the Azure SDK for Java (October 2019 Preview) release refer to the [release announcement](https://aka.ms/azure-sdk-preview6-java). diff --git a/sdk/appconfiguration/azure-data-appconfiguration/pom.xml b/sdk/appconfiguration/azure-data-appconfiguration/pom.xml index 3dc58205a7f9..56c420d8992d 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/pom.xml +++ b/sdk/appconfiguration/azure-data-appconfiguration/pom.xml @@ -7,7 +7,7 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../../pom.client.xml @@ -36,16 +36,17 @@ com.azure azure-core - 1.1.0-beta.1 + 1.1.0 org.slf4j slf4j-api + 1.7.28 com.azure azure-core-http-netty - 1.1.0-beta.1 + 1.1.0 @@ -58,37 +59,43 @@ org.junit.jupiter junit-jupiter-api + 5.4.2 test org.junit.jupiter junit-jupiter-engine + 5.4.2 test org.junit.jupiter junit-jupiter-params + 5.4.2 test org.hamcrest hamcrest-library + 2.2 test org.slf4j slf4j-simple + 1.7.25 test io.projectreactor reactor-test + 3.3.0.RELEASE test com.azure azure-identity - 1.0.1 + 1.0.1 test diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/main/java/com/azure/data/appconfiguration/ConfigurationAsyncClient.java b/sdk/appconfiguration/azure-data-appconfiguration/src/main/java/com/azure/data/appconfiguration/ConfigurationAsyncClient.java index 4a1d1764e5c0..70739b4d2ea0 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/main/java/com/azure/data/appconfiguration/ConfigurationAsyncClient.java +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/main/java/com/azure/data/appconfiguration/ConfigurationAsyncClient.java @@ -57,6 +57,7 @@ public final class ConfigurationAsyncClient { private final String serviceEndpoint; private final ConfigurationService service; + private final String apiVersion = ConfigurationServiceVersion.getLatest().getVersion(); /** * Creates a ConfigurationAsyncClient that sends requests to the configuration service at {@code serviceEndpoint}. @@ -134,7 +135,7 @@ Mono> addConfigurationSetting(ConfigurationSettin // This service method call is similar to setConfigurationSetting except we're passing If-Not-Match = "*". // If the service finds any existing configuration settings, then its e-tag will match and the service will // return an error. - return service.setKey(serviceEndpoint, setting.getKey(), setting.getLabel(), setting, null, + return service.setKey(serviceEndpoint, setting.getKey(), setting.getLabel(), apiVersion, setting, null, getETagValue(ETAG_ANY), context) .onErrorResume(HttpResponseException.class, (Function>>) throwable -> { @@ -234,8 +235,8 @@ Mono> setConfigurationSetting(ConfigurationSettin // Otherwise, the service throws an exception because the current configuration value was updated and we have an // old value locally. // If no ETag value was passed in, then the value is always added or updated. - return service.setKey(serviceEndpoint, setting.getKey(), setting.getLabel(), setting, - ifMatchETag, null, context) + return service.setKey(serviceEndpoint, setting.getKey(), setting.getLabel(), apiVersion, setting, ifMatchETag, + null, context) .doOnSubscribe(ignoredValue -> logger.info("Setting ConfigurationSetting - {}", setting)) .doOnSuccess(response -> logger.info("Set ConfigurationSetting - {}", response.getValue())) .doOnError(error -> logger.warning("Failed to set ConfigurationSetting - {}", setting, error)); @@ -340,7 +341,7 @@ Mono> getConfigurationSetting(ConfigurationSettin validateSetting(setting); final String ifNoneMatchETag = onlyIfChanged ? getETagValue(setting.getETag()) : null; - return service.getKeyValue(serviceEndpoint, setting.getKey(), setting.getLabel(), null, + return service.getKeyValue(serviceEndpoint, setting.getKey(), setting.getLabel(), apiVersion, null, acceptDateTime == null ? null : acceptDateTime.toString(), null, ifNoneMatchETag, context) .onErrorResume(HttpResponseException.class, (Function>>) throwable -> { @@ -431,7 +432,7 @@ Mono> deleteConfigurationSetting(ConfigurationSet // Validate that setting and key is not null. The key is used in the service URL so it cannot be null. validateSetting(setting); final String ifMatchETag = ifUnchanged ? getETagValue(setting.getETag()) : null; - return service.delete(serviceEndpoint, setting.getKey(), setting.getLabel(), ifMatchETag, + return service.delete(serviceEndpoint, setting.getKey(), setting.getLabel(), apiVersion, ifMatchETag, null, context) .doOnSubscribe(ignoredValue -> logger.info("Deleting ConfigurationSetting - {}", setting)) .doOnSuccess(response -> logger.info("Deleted ConfigurationSetting - {}", response.getValue())) @@ -511,14 +512,14 @@ Mono> setReadOnly(ConfigurationSetting setting, b validateSetting(setting); if (isReadOnly) { - return service.lockKeyValue(serviceEndpoint, setting.getKey(), setting.getLabel(), null, + return service.lockKeyValue(serviceEndpoint, setting.getKey(), setting.getLabel(), apiVersion, null, null, context) .doOnSubscribe(ignoredValue -> logger.verbose("Setting read only ConfigurationSetting - {}", setting)) .doOnSuccess(response -> logger.info("Set read only ConfigurationSetting - {}", response.getValue())) .doOnError(error -> logger.warning("Failed to set read only ConfigurationSetting - {}", setting, error)); } else { - return service.unlockKeyValue(serviceEndpoint, setting.getKey(), setting.getLabel(), + return service.unlockKeyValue(serviceEndpoint, setting.getKey(), setting.getLabel(), apiVersion, null, null, context) .doOnSubscribe(ignoredValue -> logger.verbose("Clearing read only ConfigurationSetting - {}", setting)) .doOnSuccess( @@ -578,7 +579,7 @@ private Mono> listNextPageSettings(Context c private Mono> listFirstPageSettings(SettingSelector selector, Context context) { try { if (selector == null) { - return service.listKeyValues(serviceEndpoint, null, null, null, null, context) + return service.listKeyValues(serviceEndpoint, null, null, apiVersion, null, null, context) .doOnRequest(ignoredValue -> logger.info("Listing all ConfigurationSettings")) .doOnSuccess(response -> logger.info("Listed all ConfigurationSettings")) .doOnError(error -> logger.warning("Failed to list all ConfigurationSetting", error)); @@ -588,7 +589,8 @@ private Mono> listFirstPageSettings(SettingS String keys = CoreUtils.arrayToString(selector.getKeys(), key -> key); String labels = CoreUtils.arrayToString(selector.getLabels(), label -> label); - return service.listKeyValues(serviceEndpoint, keys, labels, fields, selector.getAcceptDateTime(), context) + return service.listKeyValues(serviceEndpoint, keys, labels, apiVersion, fields, + selector.getAcceptDateTime(), context) .doOnSubscribe(ignoredValue -> logger.info("Listing ConfigurationSettings - {}", selector)) .doOnSuccess(response -> logger.info("Listed ConfigurationSettings - {}", selector)) .doOnError(error -> logger.warning("Failed to list ConfigurationSetting - {}", selector, error)); @@ -636,14 +638,14 @@ Mono> listRevisionsFirstPage(SettingSelector String labels = CoreUtils.arrayToString(selector.getLabels(), label -> label); result = service.listKeyValueRevisions( - serviceEndpoint, keys, labels, fields, selector.getAcceptDateTime(), null, context) + serviceEndpoint, keys, labels, apiVersion, fields, selector.getAcceptDateTime(), null, context) .doOnRequest(ignoredValue -> logger.info("Listing ConfigurationSetting revisions - {}", selector)) .doOnSuccess(response -> logger.info("Listed ConfigurationSetting revisions - {}", selector)) .doOnError(error -> logger.warning("Failed to list ConfigurationSetting revisions - {}", selector, error)); } else { result = service.listKeyValueRevisions( - serviceEndpoint, null, null, null, null, null, context) + serviceEndpoint, null, null, apiVersion, null, null, null, context) .doOnRequest(ignoredValue -> logger.info("Listing ConfigurationSetting revisions")) .doOnSuccess(response -> logger.info("Listed ConfigurationSetting revisions")) .doOnError(error -> logger.warning("Failed to list all ConfigurationSetting revisions", error)); diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/main/java/com/azure/data/appconfiguration/ConfigurationService.java b/sdk/appconfiguration/azure-data-appconfiguration/src/main/java/com/azure/data/appconfiguration/ConfigurationService.java index 8fb0550507f7..67dc0872ac20 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/main/java/com/azure/data/appconfiguration/ConfigurationService.java +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/main/java/com/azure/data/appconfiguration/ConfigurationService.java @@ -41,6 +41,7 @@ Mono> getKeyValue( @HostParam("url") String url, @PathParam("key") String key, @QueryParam("label") String label, + @QueryParam("api-version") String apiVersion, @QueryParam("$select") String fields, @HeaderParam("Accept-Datetime") String acceptDatetime, @HeaderParam("If-Match") String ifMatch, @@ -54,6 +55,7 @@ Mono> setKey( @HostParam("url") String url, @PathParam("key") String key, @QueryParam("label") String label, + @QueryParam("api-version") String apiVersion, @BodyParam(ContentType.APPLICATION_JSON) ConfigurationSetting keyValueParameters, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, @@ -66,6 +68,7 @@ Mono> delete( @HostParam("url") String url, @PathParam("key") String key, @QueryParam("label") String label, + @QueryParam("api-version") String apiVersion, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, Context context); @@ -77,6 +80,7 @@ Mono> lockKeyValue( @HostParam("url") String url, @PathParam("key") String key, @QueryParam("label") String label, + @QueryParam("api-version") String apiVersion, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, Context context); @@ -88,6 +92,7 @@ Mono> unlockKeyValue( @HostParam("url") String url, @PathParam("key") String key, @QueryParam("label") String label, + @QueryParam("api-version") String apiVersion, @HeaderParam("If-Match") String ifMatch, @HeaderParam("If-None-Match") String ifNoneMatch, Context context); @@ -100,6 +105,7 @@ Mono> listKeyValues( @HostParam("url") String url, @QueryParam("key") String key, @QueryParam("label") String label, + @QueryParam("api-version") String apiVersion, @QueryParam("$select") String fields, @HeaderParam("Accept-Datetime") String acceptDatetime, Context context); @@ -121,6 +127,7 @@ Mono> listKeyValueRevisions( @HostParam("url") String url, @QueryParam("key") String key, @QueryParam("label") String label, + @QueryParam("api-version") String apiVersion, @QueryParam("$select") String fields, @HeaderParam("Accept-Datetime") String acceptDatetime, @HeaderParam("Range") String range, diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/aadAuthenticationAzConfigClient.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/aadAuthenticationAzConfigClient.json index 66ab437b2133..6416383b7206 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/aadAuthenticationAzConfigClient.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/aadAuthenticationAzConfigClient.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/newKey", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/newKey?api-version=1.0", "Headers" : { "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", - "x-ms-client-request-id" : "bf5da5b3-47d9-4f71-8e4d-91388f0df4e3", + "x-ms-client-request-id" : "8758e18e-43e3-4965-8ddb-68926f91470d", "Content-Type" : "application/json" }, "Response" : { @@ -13,20 +13,20 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 21 Nov 2019 17:30:03 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:15 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 21 Nov 2019 17:30:03 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:14 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "3332ac9e-5b1e-4e8e-a7c5-361f91117959", + "x-ms-correlation-request-id" : "b96803a1-d123-4eac-9b1a-a546888087f2", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"4VVhpP5AOwTdjstwNqnm3IBw5vS\"", + "ETag" : "\"mRbQHloEVRE3X0nAg0QPNWGKCBB\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM1NTc5MjA=;sn=557920", - "x-ms-request-id" : "3332ac9e-5b1e-4e8e-a7c5-361f91117959", - "Body" : "{\"etag\":\"4VVhpP5AOwTdjstwNqnm3IBw5vS\",\"key\":\"newKey\",\"label\":null,\"content_type\":null,\"value\":\"newValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-21T17:30:03+00:00\"}", - "x-ms-client-request-id" : "bf5da5b3-47d9-4f71-8e4d-91388f0df4e3", + "Sync-Token" : "zAJw6V16=MDotMSM1Njg4NDA=;sn=568840", + "x-ms-request-id" : "b96803a1-d123-4eac-9b1a-a546888087f2", + "Body" : "{\"etag\":\"mRbQHloEVRE3X0nAg0QPNWGKCBB\",\"key\":\"newKey\",\"label\":null,\"content_type\":null,\"value\":\"newValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:15+00:00\"}", + "x-ms-client-request-id" : "8758e18e-43e3-4965-8ddb-68926f91470d", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/addConfigurationSetting.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/addConfigurationSetting.json index 0c327e83b8cb..34c97fe8134a 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/addConfigurationSetting.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/addConfigurationSetting.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key59562536371", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02783629307?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c66c9448-c249-4c6f-84ba-111a761faaca", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f3c47f95-5558-4d05-be07-c0ac0bf18eae", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:17 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:17 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "bb9957f7-0cfc-4929-81db-bf5773b4ac65", + "x-ms-correlation-request-id" : "9eb930f0-d88a-4827-8f9d-d3a5954579a7", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"79I7NgYpCBEWuiXK5SdzLzul4ti\"", + "ETag" : "\"diaY4nBs0pyKG2rbZjHXkbBBg4N\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NDc=;sn=471547", - "x-ms-request-id" : "bb9957f7-0cfc-4929-81db-bf5773b4ac65", - "Body" : "{\"etag\":\"79I7NgYpCBEWuiXK5SdzLzul4ti\",\"key\":\"key59562536371\",\"label\":null,\"content_type\":\"text\",\"value\":\"myNewValue\",\"tags\":{\"AnotherTag\":\"AnotherTagValue\",\"MyTag\":\"TagValue\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:11+00:00\"}", - "x-ms-client-request-id" : "c66c9448-c249-4c6f-84ba-111a761faaca", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NjE=;sn=569561", + "x-ms-request-id" : "9eb930f0-d88a-4827-8f9d-d3a5954579a7", + "Body" : "{\"etag\":\"diaY4nBs0pyKG2rbZjHXkbBBg4N\",\"key\":\"key02783629307\",\"label\":null,\"content_type\":\"text\",\"value\":\"myNewValue\",\"tags\":{\"AnotherTag\":\"AnotherTagValue\",\"MyTag\":\"TagValue\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:17+00:00\"}", + "x-ms-client-request-id" : "f3c47f95-5558-4d05-be07-c0ac0bf18eae", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key59562536371?label=64743671917032", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02783629307?label=38d34f0e569939&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6b266bb1-f42a-4254-b52f-be954df7f0f5", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c0b41263-2341-467a-bc01-dacbbc21240a", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:17 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:17 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "25f6698c-b700-4e1d-96b6-beb3a50bb946", + "x-ms-correlation-request-id" : "3db8e3f1-ea1d-4cc3-8110-8029660b49d8", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"xu4wKMHWZGyYwZLXcVJeFFgEapI\"", + "ETag" : "\"7ZQfy0cJq5sZ0LIAQBtgqHjq6cx\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NDg=;sn=471548", - "x-ms-request-id" : "25f6698c-b700-4e1d-96b6-beb3a50bb946", - "Body" : "{\"etag\":\"xu4wKMHWZGyYwZLXcVJeFFgEapI\",\"key\":\"key59562536371\",\"label\":\"64743671917032\",\"content_type\":\"text\",\"value\":\"myNewValue\",\"tags\":{\"AnotherTag\":\"AnotherTagValue\",\"MyTag\":\"TagValue\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:11+00:00\"}", - "x-ms-client-request-id" : "6b266bb1-f42a-4254-b52f-be954df7f0f5", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NjI=;sn=569562", + "x-ms-request-id" : "3db8e3f1-ea1d-4cc3-8110-8029660b49d8", + "Body" : "{\"etag\":\"7ZQfy0cJq5sZ0LIAQBtgqHjq6cx\",\"key\":\"key02783629307\",\"label\":\"38d34f0e569939\",\"content_type\":\"text\",\"value\":\"myNewValue\",\"tags\":{\"AnotherTag\":\"AnotherTagValue\",\"MyTag\":\"TagValue\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:17+00:00\"}", + "x-ms-client-request-id" : "c0b41263-2341-467a-bc01-dacbbc21240a", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key59562%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key02783%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "66aa34c6-7df7-491d-b6db-8e46b2b2115e", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "340312a7-9516-4c89-8bd0-427be912a517", "Content-Type" : "application/json" }, "Response" : { @@ -77,25 +77,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:17 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "b1ec08d5-1dd2-4ecb-a954-92241c0c508e", + "x-ms-correlation-request-id" : "b0d66a3f-6400-470f-8173-1b3cc3e60b84", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NDg=;sn=471548", - "x-ms-request-id" : "b1ec08d5-1dd2-4ecb-a954-92241c0c508e", - "Body" : "{\"items\":[{\"etag\":\"79I7NgYpCBEWuiXK5SdzLzul4ti\",\"key\":\"key59562536371\",\"label\":null,\"content_type\":\"text\",\"value\":\"myNewValue\",\"tags\":{\"AnotherTag\":\"AnotherTagValue\",\"MyTag\":\"TagValue\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:11+00:00\"},{\"etag\":\"xu4wKMHWZGyYwZLXcVJeFFgEapI\",\"key\":\"key59562536371\",\"label\":\"64743671917032\",\"content_type\":\"text\",\"value\":\"myNewValue\",\"tags\":{\"AnotherTag\":\"AnotherTagValue\",\"MyTag\":\"TagValue\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:11+00:00\"}]}", - "x-ms-client-request-id" : "66aa34c6-7df7-491d-b6db-8e46b2b2115e", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NjI=;sn=569562", + "x-ms-request-id" : "b0d66a3f-6400-470f-8173-1b3cc3e60b84", + "Body" : "{\"items\":[{\"etag\":\"diaY4nBs0pyKG2rbZjHXkbBBg4N\",\"key\":\"key02783629307\",\"label\":null,\"content_type\":\"text\",\"value\":\"myNewValue\",\"tags\":{\"AnotherTag\":\"AnotherTagValue\",\"MyTag\":\"TagValue\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:17+00:00\"},{\"etag\":\"7ZQfy0cJq5sZ0LIAQBtgqHjq6cx\",\"key\":\"key02783629307\",\"label\":\"38d34f0e569939\",\"content_type\":\"text\",\"value\":\"myNewValue\",\"tags\":{\"AnotherTag\":\"AnotherTagValue\",\"MyTag\":\"TagValue\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:17+00:00\"}]}", + "x-ms-client-request-id" : "340312a7-9516-4c89-8bd0-427be912a517", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key59562536371", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02783629307?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7d8e107c-abac-4674-a359-7095e9081779", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2adead26-fc69-40d5-bead-b48511728c20", "Content-Type" : "application/json" }, "Response" : { @@ -104,29 +104,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:17 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:17 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "4a00f20c-3015-44d8-b68a-b47207553e7d", + "x-ms-correlation-request-id" : "283ab5ed-91a9-4490-ad5e-d486736638ea", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"79I7NgYpCBEWuiXK5SdzLzul4ti\"", + "ETag" : "\"diaY4nBs0pyKG2rbZjHXkbBBg4N\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NDk=;sn=471549", - "x-ms-request-id" : "4a00f20c-3015-44d8-b68a-b47207553e7d", - "Body" : "{\"etag\":\"79I7NgYpCBEWuiXK5SdzLzul4ti\",\"key\":\"key59562536371\",\"label\":null,\"content_type\":\"text\",\"value\":\"myNewValue\",\"tags\":{\"AnotherTag\":\"AnotherTagValue\",\"MyTag\":\"TagValue\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:11+00:00\"}", - "x-ms-client-request-id" : "7d8e107c-abac-4674-a359-7095e9081779", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NjM=;sn=569563", + "x-ms-request-id" : "283ab5ed-91a9-4490-ad5e-d486736638ea", + "Body" : "{\"etag\":\"diaY4nBs0pyKG2rbZjHXkbBBg4N\",\"key\":\"key02783629307\",\"label\":null,\"content_type\":\"text\",\"value\":\"myNewValue\",\"tags\":{\"AnotherTag\":\"AnotherTagValue\",\"MyTag\":\"TagValue\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:17+00:00\"}", + "x-ms-client-request-id" : "2adead26-fc69-40d5-bead-b48511728c20", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key59562536371?label=64743671917032", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02783629307?label=38d34f0e569939&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "80664490-94e6-409c-91b7-74354912d47f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7b7a05e3-969a-43ae-a44c-cd6918e97965", "Content-Type" : "application/json" }, "Response" : { @@ -135,23 +135,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:17 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:17 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "75624500-5c6a-4aed-87cc-97f437317121", + "x-ms-correlation-request-id" : "7d4a677f-7d18-4d7f-9e97-aef73ddaacb6", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"xu4wKMHWZGyYwZLXcVJeFFgEapI\"", + "ETag" : "\"7ZQfy0cJq5sZ0LIAQBtgqHjq6cx\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NTA=;sn=471550", - "x-ms-request-id" : "75624500-5c6a-4aed-87cc-97f437317121", - "Body" : "{\"etag\":\"xu4wKMHWZGyYwZLXcVJeFFgEapI\",\"key\":\"key59562536371\",\"label\":\"64743671917032\",\"content_type\":\"text\",\"value\":\"myNewValue\",\"tags\":{\"AnotherTag\":\"AnotherTagValue\",\"MyTag\":\"TagValue\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:11+00:00\"}", - "x-ms-client-request-id" : "80664490-94e6-409c-91b7-74354912d47f", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NjQ=;sn=569564", + "x-ms-request-id" : "7d4a677f-7d18-4d7f-9e97-aef73ddaacb6", + "Body" : "{\"etag\":\"7ZQfy0cJq5sZ0LIAQBtgqHjq6cx\",\"key\":\"key02783629307\",\"label\":\"38d34f0e569939\",\"content_type\":\"text\",\"value\":\"myNewValue\",\"tags\":{\"AnotherTag\":\"AnotherTagValue\",\"MyTag\":\"TagValue\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:17+00:00\"}", + "x-ms-client-request-id" : "7b7a05e3-969a-43ae-a44c-cd6918e97965", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key59562", "64743671", "key59562536371", "64743671917032" ] + "variables" : [ "key02783", "38d34f0e", "key02783629307", "38d34f0e569939" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/addConfigurationSettingEmptyKey.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/addConfigurationSettingEmptyKey.json index d71c7afe29a8..f63893c3bc52 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/addConfigurationSettingEmptyKey.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/addConfigurationSettingEmptyKey.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9aac4f7f-c18e-4461-afb9-e657b5e075b2", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e7d5c05f-13dd-4ac6-a24e-0176a647a5dc", "Content-Type" : "application/json" }, "Response" : { @@ -14,23 +14,23 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "405", - "Date" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:08 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "da00eecb-8a43-4cd7-9a22-42a47d6c9991", + "x-ms-correlation-request-id" : "a4948a48-4ed5-43b0-9e58-d18c11f789a1", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", "Content-Length" : "0", - "x-ms-request-id" : "da00eecb-8a43-4cd7-9a22-42a47d6c9991", - "x-ms-client-request-id" : "9aac4f7f-c18e-4461-afb9-e657b5e075b2" + "x-ms-request-id" : "a4948a48-4ed5-43b0-9e58-d18c11f789a1", + "x-ms-client-request-id" : "e7d5c05f-13dd-4ac6-a24e-0176a647a5dc" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key85194%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key29674%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e15cc908-4498-4962-ab7f-a251b0202925", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d0909815-8541-42cc-996c-0c70862da3b6", "Content-Type" : "application/json" }, "Response" : { @@ -41,18 +41,18 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:08 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "3b2e2f70-2edf-4038-a248-5bc14832f38c", + "x-ms-correlation-request-id" : "d8ecd469-c1d9-4dc6-ac11-8919744c1a20", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "x-ms-request-id" : "3b2e2f70-2edf-4038-a248-5bc14832f38c", + "x-ms-request-id" : "d8ecd469-c1d9-4dc6-ac11-8919744c1a20", "Body" : "{\"items\":[]}", - "x-ms-client-request-id" : "e15cc908-4498-4962-ab7f-a251b0202925", + "x-ms-client-request-id" : "d0909815-8541-42cc-996c-0c70862da3b6", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key85194", "042e3d8a" ] + "variables" : [ "key29674", "b4274fd0" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/addConfigurationSettingEmptyValue.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/addConfigurationSettingEmptyValue.json index c91b24c2ccf7..268165047aee 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/addConfigurationSettingEmptyValue.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/addConfigurationSettingEmptyValue.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key11682215453", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key68322079376?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0581bacc-96a5-4db9-bd61-02d8c468f35a", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "41cb7840-a701-4182-a67a-35159d7a68bb", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:17 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:16 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "27c31425-fc91-4c12-8a46-2af74662b19f", + "x-ms-correlation-request-id" : "883a78cb-6c2c-4aee-b377-a0b90fb30354", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"pLuuXIQs71kliias6HhL5Hn1L9K\"", + "ETag" : "\"7XCPhe0No2vpS7NeuGCLqSzlRSX\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NDE=;sn=471541", - "x-ms-request-id" : "27c31425-fc91-4c12-8a46-2af74662b19f", - "Body" : "{\"etag\":\"pLuuXIQs71kliias6HhL5Hn1L9K\",\"key\":\"key11682215453\",\"label\":null,\"content_type\":null,\"value\":null,\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "0581bacc-96a5-4db9-bd61-02d8c468f35a", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NTU=;sn=569555", + "x-ms-request-id" : "883a78cb-6c2c-4aee-b377-a0b90fb30354", + "Body" : "{\"etag\":\"7XCPhe0No2vpS7NeuGCLqSzlRSX\",\"key\":\"key68322079376\",\"label\":null,\"content_type\":null,\"value\":null,\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:17+00:00\"}", + "x-ms-client-request-id" : "41cb7840-a701-4182-a67a-35159d7a68bb", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key11682215453", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key68322079376?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "79167f0e-20eb-4d0f-a9cd-203539dc825e", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a0413e23-d984-45ab-986c-19e7bfb59159", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:17 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:16 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "0d984432-ff92-4f64-b714-5ad1f473f623", + "x-ms-correlation-request-id" : "3241d39b-34f2-43c0-8b87-2eeff6448b13", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"pLuuXIQs71kliias6HhL5Hn1L9K\"", + "ETag" : "\"7XCPhe0No2vpS7NeuGCLqSzlRSX\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NDE=;sn=471541", - "x-ms-request-id" : "0d984432-ff92-4f64-b714-5ad1f473f623", - "Body" : "{\"etag\":\"pLuuXIQs71kliias6HhL5Hn1L9K\",\"key\":\"key11682215453\",\"label\":null,\"content_type\":null,\"value\":null,\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "79167f0e-20eb-4d0f-a9cd-203539dc825e", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NTU=;sn=569555", + "x-ms-request-id" : "3241d39b-34f2-43c0-8b87-2eeff6448b13", + "Body" : "{\"etag\":\"7XCPhe0No2vpS7NeuGCLqSzlRSX\",\"key\":\"key68322079376\",\"label\":null,\"content_type\":null,\"value\":null,\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:17+00:00\"}", + "x-ms-client-request-id" : "a0413e23-d984-45ab-986c-19e7bfb59159", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key11682215453-1", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key68322079376-1?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "283981de-8ed5-4a72-8cda-193f13adb0d0", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6d5e589d-6ffc-4c23-93c6-30e429c21bb9", "Content-Type" : "application/json" }, "Response" : { @@ -75,29 +75,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:17 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:16 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "5397bd8c-4a74-4f94-a183-9367b1aed3ac", + "x-ms-correlation-request-id" : "68a879af-2e7b-4b81-985d-8c2e0de10d78", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"OpGhbL6avuNPJiGMJXiGP8HeJwd\"", + "ETag" : "\"kQrw1O8feuBcvC0aS7cqSfVUdzc\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NDI=;sn=471542", - "x-ms-request-id" : "5397bd8c-4a74-4f94-a183-9367b1aed3ac", - "Body" : "{\"etag\":\"OpGhbL6avuNPJiGMJXiGP8HeJwd\",\"key\":\"key11682215453-1\",\"label\":null,\"content_type\":null,\"value\":\"\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:11+00:00\"}", - "x-ms-client-request-id" : "283981de-8ed5-4a72-8cda-193f13adb0d0", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NTY=;sn=569556", + "x-ms-request-id" : "68a879af-2e7b-4b81-985d-8c2e0de10d78", + "Body" : "{\"etag\":\"kQrw1O8feuBcvC0aS7cqSfVUdzc\",\"key\":\"key68322079376-1\",\"label\":null,\"content_type\":null,\"value\":\"\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:17+00:00\"}", + "x-ms-client-request-id" : "6d5e589d-6ffc-4c23-93c6-30e429c21bb9", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key11682215453-1", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key68322079376-1?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a14157ca-a61c-4dac-a2b9-2bca02690df6", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d6a1c02c-ae98-41f0-8044-47ee2a9f6e36", "Content-Type" : "application/json" }, "Response" : { @@ -106,29 +106,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:17 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:16 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "f75c9d12-925f-478e-8b9f-884ccc7e73d3", + "x-ms-correlation-request-id" : "a5379f2d-d30a-4e50-98df-008fed47d056", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"OpGhbL6avuNPJiGMJXiGP8HeJwd\"", + "ETag" : "\"kQrw1O8feuBcvC0aS7cqSfVUdzc\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NDI=;sn=471542", - "x-ms-request-id" : "f75c9d12-925f-478e-8b9f-884ccc7e73d3", - "Body" : "{\"etag\":\"OpGhbL6avuNPJiGMJXiGP8HeJwd\",\"key\":\"key11682215453-1\",\"label\":null,\"content_type\":null,\"value\":\"\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:11+00:00\"}", - "x-ms-client-request-id" : "a14157ca-a61c-4dac-a2b9-2bca02690df6", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NTY=;sn=569556", + "x-ms-request-id" : "a5379f2d-d30a-4e50-98df-008fed47d056", + "Body" : "{\"etag\":\"kQrw1O8feuBcvC0aS7cqSfVUdzc\",\"key\":\"key68322079376-1\",\"label\":null,\"content_type\":null,\"value\":\"\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:17+00:00\"}", + "x-ms-client-request-id" : "d6a1c02c-ae98-41f0-8044-47ee2a9f6e36", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key11682%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key68322%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bc8774a1-a81e-44f2-b5eb-5c5491c805db", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "db7d5e80-9619-43f9-b1ea-e2b8b7756b7e", "Content-Type" : "application/json" }, "Response" : { @@ -139,25 +139,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:16 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "764ef084-d59a-4f4f-800a-9b5174d57b4c", + "x-ms-correlation-request-id" : "c64c77b3-c71d-4375-a70d-b976a7a8e006", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NDI=;sn=471542", - "x-ms-request-id" : "764ef084-d59a-4f4f-800a-9b5174d57b4c", - "Body" : "{\"items\":[{\"etag\":\"pLuuXIQs71kliias6HhL5Hn1L9K\",\"key\":\"key11682215453\",\"label\":null,\"content_type\":null,\"value\":null,\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"OpGhbL6avuNPJiGMJXiGP8HeJwd\",\"key\":\"key11682215453-1\",\"label\":null,\"content_type\":null,\"value\":\"\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:11+00:00\"}]}", - "x-ms-client-request-id" : "bc8774a1-a81e-44f2-b5eb-5c5491c805db", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NTY=;sn=569556", + "x-ms-request-id" : "c64c77b3-c71d-4375-a70d-b976a7a8e006", + "Body" : "{\"items\":[{\"etag\":\"7XCPhe0No2vpS7NeuGCLqSzlRSX\",\"key\":\"key68322079376\",\"label\":null,\"content_type\":null,\"value\":null,\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:17+00:00\"},{\"etag\":\"kQrw1O8feuBcvC0aS7cqSfVUdzc\",\"key\":\"key68322079376-1\",\"label\":null,\"content_type\":null,\"value\":\"\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:17+00:00\"}]}", + "x-ms-client-request-id" : "db7d5e80-9619-43f9-b1ea-e2b8b7756b7e", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key11682215453", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key68322079376?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "43343ef3-dd7f-408c-9ce1-a670e6f8b676", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bbe8d6c5-5821-4ba0-8618-0e28a4415b57", "Content-Type" : "application/json" }, "Response" : { @@ -166,29 +166,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:17 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:16 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "0f2beec8-4f3c-408a-bb5b-c34f2a972e6d", + "x-ms-correlation-request-id" : "27079245-d9b9-4c19-8d41-19f805aeb367", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"pLuuXIQs71kliias6HhL5Hn1L9K\"", + "ETag" : "\"7XCPhe0No2vpS7NeuGCLqSzlRSX\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NDM=;sn=471543", - "x-ms-request-id" : "0f2beec8-4f3c-408a-bb5b-c34f2a972e6d", - "Body" : "{\"etag\":\"pLuuXIQs71kliias6HhL5Hn1L9K\",\"key\":\"key11682215453\",\"label\":null,\"content_type\":null,\"value\":null,\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "43343ef3-dd7f-408c-9ce1-a670e6f8b676", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NTc=;sn=569557", + "x-ms-request-id" : "27079245-d9b9-4c19-8d41-19f805aeb367", + "Body" : "{\"etag\":\"7XCPhe0No2vpS7NeuGCLqSzlRSX\",\"key\":\"key68322079376\",\"label\":null,\"content_type\":null,\"value\":null,\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:17+00:00\"}", + "x-ms-client-request-id" : "bbe8d6c5-5821-4ba0-8618-0e28a4415b57", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key11682215453-1", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key68322079376-1?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "86e8d7e9-902f-4562-ba70-e15e07770402", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7c48c974-1b39-4a3a-9781-a91227326cca", "Content-Type" : "application/json" }, "Response" : { @@ -197,23 +197,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:17 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:16 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "261008d1-46de-4e72-9b61-d843f680d987", + "x-ms-correlation-request-id" : "03c63d68-36d6-425f-950e-8076f448e224", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"OpGhbL6avuNPJiGMJXiGP8HeJwd\"", + "ETag" : "\"kQrw1O8feuBcvC0aS7cqSfVUdzc\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NDQ=;sn=471544", - "x-ms-request-id" : "261008d1-46de-4e72-9b61-d843f680d987", - "Body" : "{\"etag\":\"OpGhbL6avuNPJiGMJXiGP8HeJwd\",\"key\":\"key11682215453-1\",\"label\":null,\"content_type\":null,\"value\":\"\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:11+00:00\"}", - "x-ms-client-request-id" : "86e8d7e9-902f-4562-ba70-e15e07770402", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NTg=;sn=569558", + "x-ms-request-id" : "03c63d68-36d6-425f-950e-8076f448e224", + "Body" : "{\"etag\":\"kQrw1O8feuBcvC0aS7cqSfVUdzc\",\"key\":\"key68322079376-1\",\"label\":null,\"content_type\":null,\"value\":\"\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:17+00:00\"}", + "x-ms-client-request-id" : "7c48c974-1b39-4a3a-9781-a91227326cca", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key11682", "6fcf0de0", "key11682215453" ] + "variables" : [ "key68322", "04884450", "key68322079376" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/addConfigurationSettingNullKey.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/addConfigurationSettingNullKey.json index 0f2f05e7610f..2f0c69d9c59a 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/addConfigurationSettingNullKey.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/addConfigurationSettingNullKey.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key54682%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key83748%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3fa4057d-e5e9-499f-9238-e6ab3a0af9ec", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "63cd8285-fc72-4679-b3e8-3844adb93048", "Content-Type" : "application/json" }, "Response" : { @@ -15,18 +15,18 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:16 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "56ab2bfd-3c5a-4dc3-9fba-f5dd38733b31", + "x-ms-correlation-request-id" : "23c5ef0a-70d4-42cb-bd24-be03775d3129", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "x-ms-request-id" : "56ab2bfd-3c5a-4dc3-9fba-f5dd38733b31", + "x-ms-request-id" : "23c5ef0a-70d4-42cb-bd24-be03775d3129", "Body" : "{\"items\":[]}", - "x-ms-client-request-id" : "3fa4057d-e5e9-499f-9238-e6ab3a0af9ec", + "x-ms-client-request-id" : "63cd8285-fc72-4679-b3e8-3844adb93048", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key54682", "480c4ae4" ] + "variables" : [ "key83748", "005bf56a" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/addExistingSetting.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/addExistingSetting.json index c6a0ea7bc969..90d0c5a2a3c2 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/addExistingSetting.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/addExistingSetting.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key29065984687", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43802913802?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f27ddb2c-9771-4676-ae5f-9fc549ba32b7", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "324f2285-c734-4471-9a95-1dde0987e00b", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:12 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:18 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:18 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "69fc1279-0eb9-4574-8df5-b24c0363dd15", + "x-ms-correlation-request-id" : "9db49863-399a-4a5e-9177-a02c4f7f746d", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"zWsPLm7lUf8QGlRFAvi2bo2tKl6\"", + "ETag" : "\"AVTygf1ZRLBsprXMxDM24ALyRs3\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NTU=;sn=471555", - "x-ms-request-id" : "69fc1279-0eb9-4574-8df5-b24c0363dd15", - "Body" : "{\"etag\":\"zWsPLm7lUf8QGlRFAvi2bo2tKl6\",\"key\":\"key29065984687\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:12+00:00\"}", - "x-ms-client-request-id" : "f27ddb2c-9771-4676-ae5f-9fc549ba32b7", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1Njk=;sn=569569", + "x-ms-request-id" : "9db49863-399a-4a5e-9177-a02c4f7f746d", + "Body" : "{\"etag\":\"AVTygf1ZRLBsprXMxDM24ALyRs3\",\"key\":\"key43802913802\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:18+00:00\"}", + "x-ms-client-request-id" : "324f2285-c734-4471-9a95-1dde0987e00b", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key29065984687", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43802913802?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bc208c49-80b2-4a03-9fd0-34f7de80f7eb", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "75548433-a16f-46cd-a4c8-8e59ea1dee51", "Content-Type" : "application/json" }, "Response" : { @@ -45,23 +45,23 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "412", - "Date" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:18 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "fb201a22-347c-48ad-9c26-347df6f130fb", + "x-ms-correlation-request-id" : "b9ab3151-570a-4725-8886-0e25b7be98cd", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", "Content-Length" : "0", - "x-ms-request-id" : "fb201a22-347c-48ad-9c26-347df6f130fb", - "x-ms-client-request-id" : "bc208c49-80b2-4a03-9fd0-34f7de80f7eb" + "x-ms-request-id" : "b9ab3151-570a-4725-8886-0e25b7be98cd", + "x-ms-client-request-id" : "75548433-a16f-46cd-a4c8-8e59ea1dee51" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key29065984687?label=b2c5a533493111", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43802913802?label=e42df32639608d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "208713e3-d947-433e-bc3e-bc0533a14781", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "38da757f-2e33-491d-867e-5274aa87d3f7", "Content-Type" : "application/json" }, "Response" : { @@ -70,29 +70,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:12 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:18 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:18 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "f4959de5-a317-49c2-b8eb-99dc3ec104a2", + "x-ms-correlation-request-id" : "6617f4f9-0a31-4a5b-97dd-40a5a0e9e60f", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"Q3b1U1YF01ZLpoRLOvd3v1jvhU9\"", + "ETag" : "\"PPjpqfWNqYtj3zKJGIS4pScsia2\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NTY=;sn=471556", - "x-ms-request-id" : "f4959de5-a317-49c2-b8eb-99dc3ec104a2", - "Body" : "{\"etag\":\"Q3b1U1YF01ZLpoRLOvd3v1jvhU9\",\"key\":\"key29065984687\",\"label\":\"b2c5a533493111\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:12+00:00\"}", - "x-ms-client-request-id" : "208713e3-d947-433e-bc3e-bc0533a14781", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NzA=;sn=569570", + "x-ms-request-id" : "6617f4f9-0a31-4a5b-97dd-40a5a0e9e60f", + "Body" : "{\"etag\":\"PPjpqfWNqYtj3zKJGIS4pScsia2\",\"key\":\"key43802913802\",\"label\":\"e42df32639608d\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:18+00:00\"}", + "x-ms-client-request-id" : "38da757f-2e33-491d-867e-5274aa87d3f7", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key29065984687?label=b2c5a533493111", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43802913802?label=e42df32639608d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4af1d38a-f740-403e-8000-57573868f025", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "231a1374-4864-49b7-8734-8f25124fe660", "Content-Type" : "application/json" }, "Response" : { @@ -102,23 +102,23 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "412", - "Date" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:18 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "fa4edc84-8274-4bc1-b42d-b6b736405b93", + "x-ms-correlation-request-id" : "6d790d2f-a12c-4774-ad97-992abf46bdc6", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", "Content-Length" : "0", - "x-ms-request-id" : "fa4edc84-8274-4bc1-b42d-b6b736405b93", - "x-ms-client-request-id" : "4af1d38a-f740-403e-8000-57573868f025" + "x-ms-request-id" : "6d790d2f-a12c-4774-ad97-992abf46bdc6", + "x-ms-client-request-id" : "231a1374-4864-49b7-8734-8f25124fe660" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key29065%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key43802%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f1dcd1a9-84af-484b-80c8-87275c71f5d2", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b2e9e3e0-4873-423e-849b-61e7bdf0f82b", "Content-Type" : "application/json" }, "Response" : { @@ -129,25 +129,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:18 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "534cbe9d-0f1f-4f51-a1ba-fd134fd732d9", + "x-ms-correlation-request-id" : "454f6c58-7a62-4e2a-8f16-c3cde59881fc", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NTY=;sn=471556", - "x-ms-request-id" : "534cbe9d-0f1f-4f51-a1ba-fd134fd732d9", - "Body" : "{\"items\":[{\"etag\":\"zWsPLm7lUf8QGlRFAvi2bo2tKl6\",\"key\":\"key29065984687\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:12+00:00\"},{\"etag\":\"Q3b1U1YF01ZLpoRLOvd3v1jvhU9\",\"key\":\"key29065984687\",\"label\":\"b2c5a533493111\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:12+00:00\"}]}", - "x-ms-client-request-id" : "f1dcd1a9-84af-484b-80c8-87275c71f5d2", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NzA=;sn=569570", + "x-ms-request-id" : "454f6c58-7a62-4e2a-8f16-c3cde59881fc", + "Body" : "{\"items\":[{\"etag\":\"AVTygf1ZRLBsprXMxDM24ALyRs3\",\"key\":\"key43802913802\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:18+00:00\"},{\"etag\":\"PPjpqfWNqYtj3zKJGIS4pScsia2\",\"key\":\"key43802913802\",\"label\":\"e42df32639608d\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:18+00:00\"}]}", + "x-ms-client-request-id" : "b2e9e3e0-4873-423e-849b-61e7bdf0f82b", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key29065984687?label=b2c5a533493111", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43802913802?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "244fd1b5-fb30-4c1b-8b63-c3c0563416ab", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fdc377d3-0f4a-4d94-ba96-c64017afe20a", "Content-Type" : "application/json" }, "Response" : { @@ -156,29 +156,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:12 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:18 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:18 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ce982a17-c2be-46f3-972c-2cac046b4daf", + "x-ms-correlation-request-id" : "0492eb72-db5f-4f55-a52e-c768e7a0a114", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"Q3b1U1YF01ZLpoRLOvd3v1jvhU9\"", + "ETag" : "\"AVTygf1ZRLBsprXMxDM24ALyRs3\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NTc=;sn=471557", - "x-ms-request-id" : "ce982a17-c2be-46f3-972c-2cac046b4daf", - "Body" : "{\"etag\":\"Q3b1U1YF01ZLpoRLOvd3v1jvhU9\",\"key\":\"key29065984687\",\"label\":\"b2c5a533493111\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:12+00:00\"}", - "x-ms-client-request-id" : "244fd1b5-fb30-4c1b-8b63-c3c0563416ab", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NzE=;sn=569571", + "x-ms-request-id" : "0492eb72-db5f-4f55-a52e-c768e7a0a114", + "Body" : "{\"etag\":\"AVTygf1ZRLBsprXMxDM24ALyRs3\",\"key\":\"key43802913802\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:18+00:00\"}", + "x-ms-client-request-id" : "fdc377d3-0f4a-4d94-ba96-c64017afe20a", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key29065984687", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43802913802?label=e42df32639608d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "16b50913-b7da-4e93-a45c-91ac9cc7ce0d", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ffd21a1b-2882-41ee-99da-5d9839ecaeb1", "Content-Type" : "application/json" }, "Response" : { @@ -187,23 +187,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:12 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:18 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:18 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "03ea3cac-f110-4d94-8862-8de866fb0a47", + "x-ms-correlation-request-id" : "297eeda6-938b-4dae-a6e7-42447c1c0783", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"zWsPLm7lUf8QGlRFAvi2bo2tKl6\"", + "ETag" : "\"PPjpqfWNqYtj3zKJGIS4pScsia2\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NTg=;sn=471558", - "x-ms-request-id" : "03ea3cac-f110-4d94-8862-8de866fb0a47", - "Body" : "{\"etag\":\"zWsPLm7lUf8QGlRFAvi2bo2tKl6\",\"key\":\"key29065984687\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:12+00:00\"}", - "x-ms-client-request-id" : "16b50913-b7da-4e93-a45c-91ac9cc7ce0d", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NzI=;sn=569572", + "x-ms-request-id" : "297eeda6-938b-4dae-a6e7-42447c1c0783", + "Body" : "{\"etag\":\"PPjpqfWNqYtj3zKJGIS4pScsia2\",\"key\":\"key43802913802\",\"label\":\"e42df32639608d\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:18+00:00\"}", + "x-ms-client-request-id" : "ffd21a1b-2882-41ee-99da-5d9839ecaeb1", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key29065", "b2c5a533", "key29065984687", "b2c5a533493111" ] + "variables" : [ "key43802", "e42df326", "key43802913802", "e42df32639608d" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/clearReadOnly.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/clearReadOnly.json index 7c53b4fc1b96..d59883a8ae87 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/clearReadOnly.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/clearReadOnly.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key5155276518c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key15533952969?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c19ccf3a-7acf-47e3-b495-543992fa3c8b", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6f7f590b-089f-4160-9265-27fe37b97dd1", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:42 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:41 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:41 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "107a8ba7-e40e-42db-ae5a-50348fc8535d", + "x-ms-correlation-request-id" : "95b6c230-fb77-42a4-ba03-35a0c5e8baa7", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"usFoVjs5I0NxFzKNDk2jGMxR7xj\"", + "ETag" : "\"it05MdcJ16CWHEM4g72uO9Yn4fa\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzExODk=;sn=471189", - "x-ms-request-id" : "107a8ba7-e40e-42db-ae5a-50348fc8535d", - "Body" : "{\"etag\":\"usFoVjs5I0NxFzKNDk2jGMxR7xj\",\"key\":\"key5155276518c\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:42+00:00\"}", - "x-ms-client-request-id" : "c19ccf3a-7acf-47e3-b495-543992fa3c8b", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMTM=;sn=569213", + "x-ms-request-id" : "95b6c230-fb77-42a4-ba03-35a0c5e8baa7", + "Body" : "{\"etag\":\"it05MdcJ16CWHEM4g72uO9Yn4fa\",\"key\":\"key15533952969\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:42+00:00\"}", + "x-ms-client-request-id" : "6f7f590b-089f-4160-9265-27fe37b97dd1", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/locks/key5155276518c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/locks/key15533952969?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b9b17b6f-f4b1-475d-8449-ee0d8d596123", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "49b222b7-cc1f-4d26-8253-444deb2c1e81", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:42 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:41 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "6206108c-d7c1-46b7-9545-e200ca32b04b", + "x-ms-correlation-request-id" : "2e9faa0c-151f-44d3-8de3-030881056e5e", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"CoweEga5P2HKkOABtNPy74ELkrZ\"", + "ETag" : "\"kA7DGdB3zkUdu80X5LakUh2YVfS\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzExOTA=;sn=471190", - "x-ms-request-id" : "6206108c-d7c1-46b7-9545-e200ca32b04b", - "Body" : "{\"etag\":\"CoweEga5P2HKkOABtNPy74ELkrZ\",\"key\":\"key5155276518c\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":true,\"last_modified\":\"2019-10-24T23:26:42+00:00\"}", - "x-ms-client-request-id" : "b9b17b6f-f4b1-475d-8449-ee0d8d596123", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMTQ=;sn=569214", + "x-ms-request-id" : "2e9faa0c-151f-44d3-8de3-030881056e5e", + "Body" : "{\"etag\":\"kA7DGdB3zkUdu80X5LakUh2YVfS\",\"key\":\"key15533952969\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":true,\"last_modified\":\"2019-11-24T16:05:42+00:00\"}", + "x-ms-client-request-id" : "49b222b7-cc1f-4d26-8253-444deb2c1e81", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key5155276518c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key15533952969?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "40cbcee3-fda3-4b7c-a6fb-4839a5c7aef0", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "701e3e96-4ec6-4f79-ad1d-413df2db0f27", "Content-Type" : "application/json" }, "Response" : { @@ -77,24 +77,24 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "409", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:41 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "777c4497-b2bb-403b-baa6-eeaa5ce1c3dd", + "x-ms-correlation-request-id" : "15b8d821-32e7-4be3-b232-6ffe9d229436", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "x-ms-request-id" : "777c4497-b2bb-403b-baa6-eeaa5ce1c3dd", - "Body" : "{\"type\":\"https://azconfig.io/errors/key-locked\",\"title\":\"Modifing key 'key5155276518c' is not allowed\",\"name\":\"key5155276518c\",\"detail\":\"The key is read-only. To allow modification unlock it first.\",\"status\":409}", - "x-ms-client-request-id" : "40cbcee3-fda3-4b7c-a6fb-4839a5c7aef0", + "x-ms-request-id" : "15b8d821-32e7-4be3-b232-6ffe9d229436", + "Body" : "{\"type\":\"https://azconfig.io/errors/key-locked\",\"title\":\"Modifing key 'key15533952969' is not allowed\",\"name\":\"key15533952969\",\"detail\":\"The key is read-only. To allow modification unlock it first.\",\"status\":409}", + "x-ms-client-request-id" : "701e3e96-4ec6-4f79-ad1d-413df2db0f27", "Content-Type" : "application/vnd.microsoft.azconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/locks/key5155276518c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/locks/key15533952969?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0e38149a-6f3b-4241-8ef6-f0e8cfff4a92", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "687d744c-10f7-4608-b993-d5f347cbd6cc", "Content-Type" : "application/json" }, "Response" : { @@ -103,29 +103,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:42 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:42 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "06db0c94-b3e2-48af-840a-a6d8f66d942e", + "x-ms-correlation-request-id" : "a7016680-2745-4685-a7e1-490767312b09", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"QikNKlzHs5NbM2Yl3b3Q80thBeU\"", + "ETag" : "\"vrXaMKoIV8Lpm1mMujwO2IMPpua\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzExOTE=;sn=471191", - "x-ms-request-id" : "06db0c94-b3e2-48af-840a-a6d8f66d942e", - "Body" : "{\"etag\":\"QikNKlzHs5NbM2Yl3b3Q80thBeU\",\"key\":\"key5155276518c\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:42+00:00\"}", - "x-ms-client-request-id" : "0e38149a-6f3b-4241-8ef6-f0e8cfff4a92", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMTU=;sn=569215", + "x-ms-request-id" : "a7016680-2745-4685-a7e1-490767312b09", + "Body" : "{\"etag\":\"vrXaMKoIV8Lpm1mMujwO2IMPpua\",\"key\":\"key15533952969\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:42+00:00\"}", + "x-ms-client-request-id" : "687d744c-10f7-4608-b993-d5f347cbd6cc", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key5155276518c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key15533952969?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c840c214-49f6-4102-8519-45124d43cc8f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c930363e-7528-41ea-bdee-b88fb5619354", "Content-Type" : "application/json" }, "Response" : { @@ -134,29 +134,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:42 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:42 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "407cbb8d-b3d5-4680-9bde-295730df747e", + "x-ms-correlation-request-id" : "da23e7ce-486e-468a-aaef-8dd651bc69c4", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"QikNKlzHs5NbM2Yl3b3Q80thBeU\"", + "ETag" : "\"vrXaMKoIV8Lpm1mMujwO2IMPpua\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzExOTI=;sn=471192", - "x-ms-request-id" : "407cbb8d-b3d5-4680-9bde-295730df747e", - "Body" : "{\"etag\":\"QikNKlzHs5NbM2Yl3b3Q80thBeU\",\"key\":\"key5155276518c\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:42+00:00\"}", - "x-ms-client-request-id" : "c840c214-49f6-4102-8519-45124d43cc8f", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMTY=;sn=569216", + "x-ms-request-id" : "da23e7ce-486e-468a-aaef-8dd651bc69c4", + "Body" : "{\"etag\":\"vrXaMKoIV8Lpm1mMujwO2IMPpua\",\"key\":\"key15533952969\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:42+00:00\"}", + "x-ms-client-request-id" : "c930363e-7528-41ea-bdee-b88fb5619354", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key51552%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key15533%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ec1993a4-02bb-444a-be00-837cc203e313", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "de1e7dee-4759-40a9-a025-a04a86a20e57", "Content-Type" : "application/json" }, "Response" : { @@ -167,18 +167,18 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:42 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "81db770e-1d4e-4a59-9ea1-c4c3620c56fb", + "x-ms-correlation-request-id" : "3d49ddb1-82ca-4136-add2-4ce021856888", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "x-ms-request-id" : "81db770e-1d4e-4a59-9ea1-c4c3620c56fb", + "x-ms-request-id" : "3d49ddb1-82ca-4136-add2-4ce021856888", "Body" : "{\"items\":[]}", - "x-ms-client-request-id" : "ec1993a4-02bb-444a-be00-837cc203e313", + "x-ms-client-request-id" : "de1e7dee-4759-40a9-a025-a04a86a20e57", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key51552", "c037a693", "key5155276518c" ] + "variables" : [ "key15533", "881fb900", "key15533952969" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/clearReadOnlyWithConfigurationSetting.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/clearReadOnlyWithConfigurationSetting.json index bfe1cfef8b54..5469141e1143 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/clearReadOnlyWithConfigurationSetting.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/clearReadOnlyWithConfigurationSetting.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key44919778399", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key2024624751d?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1e9a0006-233e-4a99-a4c1-d47bc54919ec", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2db6a2cc-22b5-4845-ac95-56a345f1d432", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:56 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:55 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:55 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "9099b788-a5c1-4307-8966-8a9ec9f655fd", + "x-ms-correlation-request-id" : "0ee6b459-462b-41ad-b2a1-8a6811d67eee", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"Pep0vjoOq0piEd80NxISDdYZ03o\"", + "ETag" : "\"u7LwvtaFvXOG3pr8BnhWFR57ko0\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMzM=;sn=471333", - "x-ms-request-id" : "9099b788-a5c1-4307-8966-8a9ec9f655fd", - "Body" : "{\"etag\":\"Pep0vjoOq0piEd80NxISDdYZ03o\",\"key\":\"key44919778399\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:56+00:00\"}", - "x-ms-client-request-id" : "1e9a0006-233e-4a99-a4c1-d47bc54919ec", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNTM=;sn=569353", + "x-ms-request-id" : "0ee6b459-462b-41ad-b2a1-8a6811d67eee", + "Body" : "{\"etag\":\"u7LwvtaFvXOG3pr8BnhWFR57ko0\",\"key\":\"key2024624751d\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:56+00:00\"}", + "x-ms-client-request-id" : "2db6a2cc-22b5-4845-ac95-56a345f1d432", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/locks/key44919778399", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/locks/key2024624751d?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e670139b-0bcd-4879-b3ae-bccd3cf16828", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cdfbd77f-fcbf-41c6-8cad-eb10ac9b2725", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:56 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:55 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:56 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "da5da55f-ba79-4c7b-8f2d-6812fe40eab5", + "x-ms-correlation-request-id" : "b97a5329-2208-4cb3-b63a-a71264058b56", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"MkyVDN7ULUhpIPbMAZKulIZuBE6\"", + "ETag" : "\"tTCmiFfT49xfMNgNiqkClmoKz8m\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMzQ=;sn=471334", - "x-ms-request-id" : "da5da55f-ba79-4c7b-8f2d-6812fe40eab5", - "Body" : "{\"etag\":\"MkyVDN7ULUhpIPbMAZKulIZuBE6\",\"key\":\"key44919778399\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":true,\"last_modified\":\"2019-10-24T23:26:56+00:00\"}", - "x-ms-client-request-id" : "e670139b-0bcd-4879-b3ae-bccd3cf16828", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNTQ=;sn=569354", + "x-ms-request-id" : "b97a5329-2208-4cb3-b63a-a71264058b56", + "Body" : "{\"etag\":\"tTCmiFfT49xfMNgNiqkClmoKz8m\",\"key\":\"key2024624751d\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":true,\"last_modified\":\"2019-11-24T16:05:56+00:00\"}", + "x-ms-client-request-id" : "cdfbd77f-fcbf-41c6-8cad-eb10ac9b2725", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key44919778399", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key2024624751d?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "063a8a39-4300-4c3d-b756-8d82f1867ffe", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e45c7a34-9868-4fd7-839c-692875a83d1c", "Content-Type" : "application/json" }, "Response" : { @@ -77,24 +77,24 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "409", - "Date" : "Thu, 24 Oct 2019 23:26:55 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:56 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "358aacbc-4175-4e3d-9ea5-c8aad90eadce", + "x-ms-correlation-request-id" : "2840ddb6-3521-4795-b6f8-27a00c545893", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "x-ms-request-id" : "358aacbc-4175-4e3d-9ea5-c8aad90eadce", - "Body" : "{\"type\":\"https://azconfig.io/errors/key-locked\",\"title\":\"Modifing key 'key44919778399' is not allowed\",\"name\":\"key44919778399\",\"detail\":\"The key is read-only. To allow modification unlock it first.\",\"status\":409}", - "x-ms-client-request-id" : "063a8a39-4300-4c3d-b756-8d82f1867ffe", + "x-ms-request-id" : "2840ddb6-3521-4795-b6f8-27a00c545893", + "Body" : "{\"type\":\"https://azconfig.io/errors/key-locked\",\"title\":\"Modifing key 'key2024624751d' is not allowed\",\"name\":\"key2024624751d\",\"detail\":\"The key is read-only. To allow modification unlock it first.\",\"status\":409}", + "x-ms-client-request-id" : "e45c7a34-9868-4fd7-839c-692875a83d1c", "Content-Type" : "application/vnd.microsoft.azconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/locks/key44919778399", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/locks/key2024624751d?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "87e993d5-e419-4ec0-8144-79f03de4d9b9", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3d5503af-3a78-40e0-8c03-991cb98a940c", "Content-Type" : "application/json" }, "Response" : { @@ -103,29 +103,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:56 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:55 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:56 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "a2c8adba-4ec8-4e24-b2b6-e7c327b622ad", + "x-ms-correlation-request-id" : "d72ad375-f603-4bbf-be16-383adf5ce530", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"jClT3BdGHiYAgQL2ZwFO33vJAKh\"", + "ETag" : "\"4Yak7GzyWkdrR5ayCpK2IkCUOQY\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMzU=;sn=471335", - "x-ms-request-id" : "a2c8adba-4ec8-4e24-b2b6-e7c327b622ad", - "Body" : "{\"etag\":\"jClT3BdGHiYAgQL2ZwFO33vJAKh\",\"key\":\"key44919778399\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:56+00:00\"}", - "x-ms-client-request-id" : "87e993d5-e419-4ec0-8144-79f03de4d9b9", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNTU=;sn=569355", + "x-ms-request-id" : "d72ad375-f603-4bbf-be16-383adf5ce530", + "Body" : "{\"etag\":\"4Yak7GzyWkdrR5ayCpK2IkCUOQY\",\"key\":\"key2024624751d\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:56+00:00\"}", + "x-ms-client-request-id" : "3d5503af-3a78-40e0-8c03-991cb98a940c", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key44919778399", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key2024624751d?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bd4cc35a-8cf0-41ab-bf73-9ff9306ab6e3", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "00877876-12d7-4952-a26c-b8d451a1062f", "Content-Type" : "application/json" }, "Response" : { @@ -134,29 +134,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:56 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:56 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "b5c71d43-7dad-4152-93a7-af06674bd9b5", + "x-ms-correlation-request-id" : "8f328940-c582-4304-aeab-801141d77b17", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"jClT3BdGHiYAgQL2ZwFO33vJAKh\"", + "ETag" : "\"4Yak7GzyWkdrR5ayCpK2IkCUOQY\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMzY=;sn=471336", - "x-ms-request-id" : "b5c71d43-7dad-4152-93a7-af06674bd9b5", - "Body" : "{\"etag\":\"jClT3BdGHiYAgQL2ZwFO33vJAKh\",\"key\":\"key44919778399\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:56+00:00\"}", - "x-ms-client-request-id" : "bd4cc35a-8cf0-41ab-bf73-9ff9306ab6e3", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNTY=;sn=569356", + "x-ms-request-id" : "8f328940-c582-4304-aeab-801141d77b17", + "Body" : "{\"etag\":\"4Yak7GzyWkdrR5ayCpK2IkCUOQY\",\"key\":\"key2024624751d\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:56+00:00\"}", + "x-ms-client-request-id" : "00877876-12d7-4952-a26c-b8d451a1062f", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key44919%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key20246%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b04e0815-573c-4025-ae89-96863f126d24", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d663e6cd-7e9a-4e8f-90d3-97efdbf14d68", "Content-Type" : "application/json" }, "Response" : { @@ -167,18 +167,18 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:56 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "9257f7a6-f959-439a-b6d7-fbd46247669d", + "x-ms-correlation-request-id" : "a3ea90f8-82d3-4977-8bb1-7823093cd2bb", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "x-ms-request-id" : "9257f7a6-f959-439a-b6d7-fbd46247669d", + "x-ms-request-id" : "a3ea90f8-82d3-4977-8bb1-7823093cd2bb", "Body" : "{\"items\":[]}", - "x-ms-client-request-id" : "b04e0815-573c-4025-ae89-96863f126d24", + "x-ms-client-request-id" : "d663e6cd-7e9a-4e8f-90d3-97efdbf14d68", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key44919", "aee3a586", "key44919778399" ] + "variables" : [ "key20246", "9bac1fbe", "key2024624751d" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/deleteConfigurationSetting.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/deleteConfigurationSetting.json index c14d3842e1d2..694e7b51727e 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/deleteConfigurationSetting.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/deleteConfigurationSetting.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key68708894632", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05739699316?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "dbfa35f1-975e-405b-9e64-498678711e7c", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4f8d67e7-67bf-4575-89a7-93b59b152966", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:08 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:08 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "f86c5491-b8e0-4982-bb52-e5c96ac488f2", + "x-ms-correlation-request-id" : "82c2411a-3aa6-418a-9535-434cd4d87c3b", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"oaFix547jymvH4Mf0XR8pyfoewq\"", + "ETag" : "\"P5XtbN4utriLGzfWbngEMEfBxqu\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MTg=;sn=471418", - "x-ms-request-id" : "f86c5491-b8e0-4982-bb52-e5c96ac488f2", - "Body" : "{\"etag\":\"oaFix547jymvH4Mf0XR8pyfoewq\",\"key\":\"key68708894632\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:07+00:00\"}", - "x-ms-client-request-id" : "dbfa35f1-975e-405b-9e64-498678711e7c", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MzI=;sn=569432", + "x-ms-request-id" : "82c2411a-3aa6-418a-9535-434cd4d87c3b", + "Body" : "{\"etag\":\"P5XtbN4utriLGzfWbngEMEfBxqu\",\"key\":\"key05739699316\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:08+00:00\"}", + "x-ms-client-request-id" : "4f8d67e7-67bf-4575-89a7-93b59b152966", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key68708894632", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05739699316?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0d4a141c-bcfb-4d05-aa1a-056748bf2569", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "aee4bc30-99ab-496f-90e4-067bffbf1c11", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:08 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:08 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "7e145883-4ebe-48f7-b891-27b08eb09d9e", + "x-ms-correlation-request-id" : "5da4da62-ade9-48a8-92b8-b5a8cbdb9796", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"oaFix547jymvH4Mf0XR8pyfoewq\"", + "ETag" : "\"P5XtbN4utriLGzfWbngEMEfBxqu\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MTg=;sn=471418", - "x-ms-request-id" : "7e145883-4ebe-48f7-b891-27b08eb09d9e", - "Body" : "{\"etag\":\"oaFix547jymvH4Mf0XR8pyfoewq\",\"key\":\"key68708894632\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:07+00:00\"}", - "x-ms-client-request-id" : "0d4a141c-bcfb-4d05-aa1a-056748bf2569", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MzI=;sn=569432", + "x-ms-request-id" : "5da4da62-ade9-48a8-92b8-b5a8cbdb9796", + "Body" : "{\"etag\":\"P5XtbN4utriLGzfWbngEMEfBxqu\",\"key\":\"key05739699316\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:08+00:00\"}", + "x-ms-client-request-id" : "aee4bc30-99ab-496f-90e4-067bffbf1c11", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key68708894632", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05739699316?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "08e95f2a-b5cb-47ba-86e9-1063af0d53e8", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7c976ac4-603d-47fa-83b4-769cacf359d7", "Content-Type" : "application/json" }, "Response" : { @@ -75,29 +75,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:08 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:08 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "623ad990-acfc-40b2-a08b-c88eb0522c0a", + "x-ms-correlation-request-id" : "075568b4-53ff-4fb2-8a49-8cf3f0da89d1", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"oaFix547jymvH4Mf0XR8pyfoewq\"", + "ETag" : "\"P5XtbN4utriLGzfWbngEMEfBxqu\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MTk=;sn=471419", - "x-ms-request-id" : "623ad990-acfc-40b2-a08b-c88eb0522c0a", - "Body" : "{\"etag\":\"oaFix547jymvH4Mf0XR8pyfoewq\",\"key\":\"key68708894632\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:07+00:00\"}", - "x-ms-client-request-id" : "08e95f2a-b5cb-47ba-86e9-1063af0d53e8", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MzM=;sn=569433", + "x-ms-request-id" : "075568b4-53ff-4fb2-8a49-8cf3f0da89d1", + "Body" : "{\"etag\":\"P5XtbN4utriLGzfWbngEMEfBxqu\",\"key\":\"key05739699316\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:08+00:00\"}", + "x-ms-client-request-id" : "7c976ac4-603d-47fa-83b4-769cacf359d7", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key68708894632", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05739699316?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "769466b2-81ff-447e-b39c-b25d10a78cd9", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "82b2bd4c-84fd-4fb3-a6f3-9257acf1e9d7", "Content-Type" : "application/json" }, "Response" : { @@ -107,23 +107,23 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "404", - "Date" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:08 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "6147ebe7-2b14-445b-afa7-10141a32f916", + "x-ms-correlation-request-id" : "57bfc667-150b-4f0f-9b1a-1dfff3302c48", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", "Content-Length" : "0", - "x-ms-request-id" : "6147ebe7-2b14-445b-afa7-10141a32f916", - "x-ms-client-request-id" : "769466b2-81ff-447e-b39c-b25d10a78cd9" + "x-ms-request-id" : "57bfc667-150b-4f0f-9b1a-1dfff3302c48", + "x-ms-client-request-id" : "82b2bd4c-84fd-4fb3-a6f3-9257acf1e9d7" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key68708894632?label=1dd7fa6155997e", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05739699316?label=540d8150850165&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f0a792e0-2a19-4c6f-bada-51b7e46be8bd", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c201c2a9-5f9c-41bf-9f84-717676ebf3c8", "Content-Type" : "application/json" }, "Response" : { @@ -132,29 +132,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:08 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:08 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "832c8646-b553-486c-9514-1f72df457236", + "x-ms-correlation-request-id" : "6208cef3-d964-4807-8174-a846e1561784", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"2gu0kzNpmMRL1h5ZmV7qpFQvp04\"", + "ETag" : "\"RXkLFLFnp5Od7M1Pfq2M4lCsyfo\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MjA=;sn=471420", - "x-ms-request-id" : "832c8646-b553-486c-9514-1f72df457236", - "Body" : "{\"etag\":\"2gu0kzNpmMRL1h5ZmV7qpFQvp04\",\"key\":\"key68708894632\",\"label\":\"1dd7fa6155997e\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:07+00:00\"}", - "x-ms-client-request-id" : "f0a792e0-2a19-4c6f-bada-51b7e46be8bd", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MzQ=;sn=569434", + "x-ms-request-id" : "6208cef3-d964-4807-8174-a846e1561784", + "Body" : "{\"etag\":\"RXkLFLFnp5Od7M1Pfq2M4lCsyfo\",\"key\":\"key05739699316\",\"label\":\"540d8150850165\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:08+00:00\"}", + "x-ms-client-request-id" : "c201c2a9-5f9c-41bf-9f84-717676ebf3c8", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key68708894632?label=1dd7fa6155997e", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05739699316?label=540d8150850165&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "22cb3f76-96ff-4f5f-a824-dd67168d127e", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "15373f73-4c8c-4a40-a2bc-efe97ff2fcbc", "Content-Type" : "application/json" }, "Response" : { @@ -163,29 +163,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:08 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:08 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "52296643-c9f0-4a6b-be73-b34dfded0c65", + "x-ms-correlation-request-id" : "d35e1bfc-485c-43cf-916a-37549bc314cb", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"2gu0kzNpmMRL1h5ZmV7qpFQvp04\"", + "ETag" : "\"RXkLFLFnp5Od7M1Pfq2M4lCsyfo\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MjA=;sn=471420", - "x-ms-request-id" : "52296643-c9f0-4a6b-be73-b34dfded0c65", - "Body" : "{\"etag\":\"2gu0kzNpmMRL1h5ZmV7qpFQvp04\",\"key\":\"key68708894632\",\"label\":\"1dd7fa6155997e\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:07+00:00\"}", - "x-ms-client-request-id" : "22cb3f76-96ff-4f5f-a824-dd67168d127e", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MzQ=;sn=569434", + "x-ms-request-id" : "d35e1bfc-485c-43cf-916a-37549bc314cb", + "Body" : "{\"etag\":\"RXkLFLFnp5Od7M1Pfq2M4lCsyfo\",\"key\":\"key05739699316\",\"label\":\"540d8150850165\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:08+00:00\"}", + "x-ms-client-request-id" : "15373f73-4c8c-4a40-a2bc-efe97ff2fcbc", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key68708894632?label=1dd7fa6155997e", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05739699316?label=540d8150850165&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4b315b9d-7588-4cd1-beb4-86d8963341c9", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "45a64847-5c83-4bcd-9bed-1b20c5498c3a", "Content-Type" : "application/json" }, "Response" : { @@ -194,29 +194,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:08 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:08 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "e27ef9e6-41c3-4afe-85ba-b807c26e4fc9", + "x-ms-correlation-request-id" : "12eacf4b-f857-4942-945e-3c2294c78a63", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"2gu0kzNpmMRL1h5ZmV7qpFQvp04\"", + "ETag" : "\"RXkLFLFnp5Od7M1Pfq2M4lCsyfo\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MjE=;sn=471421", - "x-ms-request-id" : "e27ef9e6-41c3-4afe-85ba-b807c26e4fc9", - "Body" : "{\"etag\":\"2gu0kzNpmMRL1h5ZmV7qpFQvp04\",\"key\":\"key68708894632\",\"label\":\"1dd7fa6155997e\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:07+00:00\"}", - "x-ms-client-request-id" : "4b315b9d-7588-4cd1-beb4-86d8963341c9", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MzU=;sn=569435", + "x-ms-request-id" : "12eacf4b-f857-4942-945e-3c2294c78a63", + "Body" : "{\"etag\":\"RXkLFLFnp5Od7M1Pfq2M4lCsyfo\",\"key\":\"key05739699316\",\"label\":\"540d8150850165\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:08+00:00\"}", + "x-ms-client-request-id" : "45a64847-5c83-4bcd-9bed-1b20c5498c3a", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key68708894632?label=1dd7fa6155997e", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05739699316?label=540d8150850165&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a1046ec2-90cd-44b9-8a4a-3dc0b4a6cfe3", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0c654dbf-5b75-4e79-b9b2-836b1d21e638", "Content-Type" : "application/json" }, "Response" : { @@ -226,23 +226,23 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "404", - "Date" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:08 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "8d22fb28-6f09-4e4c-8696-ade43b5bafda", + "x-ms-correlation-request-id" : "a5aebde5-dcb3-4abd-a8c9-56fcb8724de1", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", "Content-Length" : "0", - "x-ms-request-id" : "8d22fb28-6f09-4e4c-8696-ade43b5bafda", - "x-ms-client-request-id" : "a1046ec2-90cd-44b9-8a4a-3dc0b4a6cfe3" + "x-ms-request-id" : "a5aebde5-dcb3-4abd-a8c9-56fcb8724de1", + "x-ms-client-request-id" : "0c654dbf-5b75-4e79-b9b2-836b1d21e638" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key68708%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key05739%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c95256d6-f2d2-4945-8cda-46db7662226f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c3ab893e-554e-4337-b422-3c5f57607bfc", "Content-Type" : "application/json" }, "Response" : { @@ -253,18 +253,18 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:08 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "fed24949-b760-4b22-8bea-7ab8f4167b42", + "x-ms-correlation-request-id" : "314918d4-d042-456a-8cf1-470278454ece", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "x-ms-request-id" : "fed24949-b760-4b22-8bea-7ab8f4167b42", + "x-ms-request-id" : "314918d4-d042-456a-8cf1-470278454ece", "Body" : "{\"items\":[]}", - "x-ms-client-request-id" : "c95256d6-f2d2-4945-8cda-46db7662226f", + "x-ms-client-request-id" : "c3ab893e-554e-4337-b422-3c5f57607bfc", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key68708", "1dd7fa61", "key68708894632", "1dd7fa6155997e" ] + "variables" : [ "key05739", "540d8150", "key05739699316", "540d8150850165" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/deleteConfigurationSettingNotFound.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/deleteConfigurationSettingNotFound.json index d5b4618347f6..b207c15eaf03 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/deleteConfigurationSettingNotFound.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/deleteConfigurationSettingNotFound.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key77451072312", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key2450666046c?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "34a09d67-ae61-4cf7-80fb-a51d9b29aa97", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "30baa36d-a31c-40e9-8b2f-a90ddfd76997", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:51 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:51 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "92aa4d59-3566-492b-a608-968907017a58", + "x-ms-correlation-request-id" : "edf845ee-f7e9-493f-96f4-36f1c1ad0f7a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"Y1uqEv7jkCRMtwM9vExvJ5m8y7Z\"", + "ETag" : "\"AF3oJArwufCZennAREjykQnnSID\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNjQ=;sn=471264", - "x-ms-request-id" : "92aa4d59-3566-492b-a608-968907017a58", - "Body" : "{\"etag\":\"Y1uqEv7jkCRMtwM9vExvJ5m8y7Z\",\"key\":\"key77451072312\",\"label\":null,\"content_type\":null,\"value\":\"myNeverDeletedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "34a09d67-ae61-4cf7-80fb-a51d9b29aa97", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyODQ=;sn=569284", + "x-ms-request-id" : "edf845ee-f7e9-493f-96f4-36f1c1ad0f7a", + "Body" : "{\"etag\":\"AF3oJArwufCZennAREjykQnnSID\",\"key\":\"key2450666046c\",\"label\":null,\"content_type\":null,\"value\":\"myNeverDeletedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:51+00:00\"}", + "x-ms-client-request-id" : "30baa36d-a31c-40e9-8b2f-a90ddfd76997", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/myNonExistentKey", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/myNonExistentKey?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "82402829-3ae2-4d01-a308-b91d14aa9063", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "97aaec9a-c5df-4cfc-96a4-e71d92d85ad7", "Content-Type" : "application/json" }, "Response" : { @@ -45,23 +45,23 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "204", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:51 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "b5069979-1654-4602-9aa6-f9d9d6a6106b", + "x-ms-correlation-request-id" : "da016eb3-5760-4da2-90e3-57a530f746d6", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", "Content-Length" : "0", - "x-ms-request-id" : "b5069979-1654-4602-9aa6-f9d9d6a6106b", - "x-ms-client-request-id" : "82402829-3ae2-4d01-a308-b91d14aa9063" + "x-ms-request-id" : "da016eb3-5760-4da2-90e3-57a530f746d6", + "x-ms-client-request-id" : "97aaec9a-c5df-4cfc-96a4-e71d92d85ad7" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key77451072312?label=myNonExistentLabel", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key2450666046c?label=myNonExistentLabel&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "68f95395-13f3-4eaa-a5ee-3f7960063c2d", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9ff0bb54-1aef-42f3-b214-9097fb20b970", "Content-Type" : "application/json" }, "Response" : { @@ -71,23 +71,23 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "204", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:51 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "3f8dc59a-1838-4fb7-b465-25246c9ca66c", + "x-ms-correlation-request-id" : "3d871edc-f8f3-4063-8691-29e326b354ad", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", "Content-Length" : "0", - "x-ms-request-id" : "3f8dc59a-1838-4fb7-b465-25246c9ca66c", - "x-ms-client-request-id" : "68f95395-13f3-4eaa-a5ee-3f7960063c2d" + "x-ms-request-id" : "3d871edc-f8f3-4063-8691-29e326b354ad", + "x-ms-client-request-id" : "9ff0bb54-1aef-42f3-b214-9097fb20b970" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key77451072312", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key2450666046c?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0c9093ba-78ea-45bb-a53e-fdb9d6bae08f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ed5559c9-09f9-4c73-a21a-c93c1c65e13b", "Content-Type" : "application/json" }, "Response" : { @@ -96,29 +96,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:51 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:51 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "38f70386-6f8e-47ae-980f-3ca01daa677b", + "x-ms-correlation-request-id" : "03bf8e22-e376-4415-a381-010fd553ca39", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"Y1uqEv7jkCRMtwM9vExvJ5m8y7Z\"", + "ETag" : "\"AF3oJArwufCZennAREjykQnnSID\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNjQ=;sn=471264", - "x-ms-request-id" : "38f70386-6f8e-47ae-980f-3ca01daa677b", - "Body" : "{\"etag\":\"Y1uqEv7jkCRMtwM9vExvJ5m8y7Z\",\"key\":\"key77451072312\",\"label\":null,\"content_type\":null,\"value\":\"myNeverDeletedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "0c9093ba-78ea-45bb-a53e-fdb9d6bae08f", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyODQ=;sn=569284", + "x-ms-request-id" : "03bf8e22-e376-4415-a381-010fd553ca39", + "Body" : "{\"etag\":\"AF3oJArwufCZennAREjykQnnSID\",\"key\":\"key2450666046c\",\"label\":null,\"content_type\":null,\"value\":\"myNeverDeletedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:51+00:00\"}", + "x-ms-client-request-id" : "ed5559c9-09f9-4c73-a21a-c93c1c65e13b", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key77451%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key24506%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8e4770d6-91f7-412d-b136-887be7d519c6", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f6fc5433-2675-4e43-b3e9-6056abea2193", "Content-Type" : "application/json" }, "Response" : { @@ -129,25 +129,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:51 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "83c5e446-3b95-481d-b697-cd1f93e4c1c0", + "x-ms-correlation-request-id" : "906022c8-9c27-473d-99e2-88f112baca85", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNjQ=;sn=471264", - "x-ms-request-id" : "83c5e446-3b95-481d-b697-cd1f93e4c1c0", - "Body" : "{\"items\":[{\"etag\":\"Y1uqEv7jkCRMtwM9vExvJ5m8y7Z\",\"key\":\"key77451072312\",\"label\":null,\"content_type\":null,\"value\":\"myNeverDeletedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}]}", - "x-ms-client-request-id" : "8e4770d6-91f7-412d-b136-887be7d519c6", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyODQ=;sn=569284", + "x-ms-request-id" : "906022c8-9c27-473d-99e2-88f112baca85", + "Body" : "{\"items\":[{\"etag\":\"AF3oJArwufCZennAREjykQnnSID\",\"key\":\"key2450666046c\",\"label\":null,\"content_type\":null,\"value\":\"myNeverDeletedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:51+00:00\"}]}", + "x-ms-client-request-id" : "f6fc5433-2675-4e43-b3e9-6056abea2193", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key77451072312", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key2450666046c?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "19217912-8841-496b-a384-3e8e055597f8", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7e00fd9e-ddc7-451c-a0da-722e7eda7bd8", "Content-Type" : "application/json" }, "Response" : { @@ -156,23 +156,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:51 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:51 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "5eb1350f-ecb7-429c-931a-79921ed23467", + "x-ms-correlation-request-id" : "9e58a71c-08d5-4f6a-9a47-8864beeb3b79", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"Y1uqEv7jkCRMtwM9vExvJ5m8y7Z\"", + "ETag" : "\"AF3oJArwufCZennAREjykQnnSID\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNjU=;sn=471265", - "x-ms-request-id" : "5eb1350f-ecb7-429c-931a-79921ed23467", - "Body" : "{\"etag\":\"Y1uqEv7jkCRMtwM9vExvJ5m8y7Z\",\"key\":\"key77451072312\",\"label\":null,\"content_type\":null,\"value\":\"myNeverDeletedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "19217912-8841-496b-a384-3e8e055597f8", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyODU=;sn=569285", + "x-ms-request-id" : "9e58a71c-08d5-4f6a-9a47-8864beeb3b79", + "Body" : "{\"etag\":\"AF3oJArwufCZennAREjykQnnSID\",\"key\":\"key2450666046c\",\"label\":null,\"content_type\":null,\"value\":\"myNeverDeletedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:51+00:00\"}", + "x-ms-client-request-id" : "7e00fd9e-ddc7-451c-a0da-722e7eda7bd8", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key77451", "3ffc7b8d", "key77451072312" ] + "variables" : [ "key24506", "cec76465", "key2450666046c" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/deleteConfigurationSettingNullKey.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/deleteConfigurationSettingNullKey.json index f7553dd792d0..17c0c7629a8a 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/deleteConfigurationSettingNullKey.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/deleteConfigurationSettingNullKey.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key40356%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key12863%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f45f1480-b29f-4eae-9c0e-df1f2f671de7", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f009612d-c133-40a1-9f2a-30316a797ddf", "Content-Type" : "application/json" }, "Response" : { @@ -15,18 +15,18 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:41 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:41 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "e943640f-7cab-4ee4-925c-3d3a17c6fc11", + "x-ms-correlation-request-id" : "a7a8c3f1-b797-4cf4-87cc-5c9c8f9f90d4", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "x-ms-request-id" : "e943640f-7cab-4ee4-925c-3d3a17c6fc11", + "x-ms-request-id" : "a7a8c3f1-b797-4cf4-87cc-5c9c8f9f90d4", "Body" : "{\"items\":[]}", - "x-ms-client-request-id" : "f45f1480-b29f-4eae-9c0e-df1f2f671de7", + "x-ms-client-request-id" : "f009612d-c133-40a1-9f2a-30316a797ddf", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key40356", "c937cd78" ] + "variables" : [ "key12863", "4a95087c" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/deleteConfigurationSettingWithETag.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/deleteConfigurationSettingWithETag.json index 8b694c1f7414..62045074435c 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/deleteConfigurationSettingWithETag.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/deleteConfigurationSettingWithETag.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key9264207546a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key75789676725?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b8b6d670-9759-45ee-b99a-3dbf3d000e15", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d140cfe5-3163-4228-9874-2ad22d4e3bd2", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:09 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:08 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "421e125d-671f-40df-8b78-0bc7855a95f1", + "x-ms-correlation-request-id" : "886b4239-a597-4b19-884f-1806c2ac35d3", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"b8bo6kQrMliVQHU9h1uRQd8j8ga\"", + "ETag" : "\"xlWOyKnuc73JCRrmB1DFdt0pHui\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MjI=;sn=471422", - "x-ms-request-id" : "421e125d-671f-40df-8b78-0bc7855a95f1", - "Body" : "{\"etag\":\"b8bo6kQrMliVQHU9h1uRQd8j8ga\",\"key\":\"key9264207546a\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:08+00:00\"}", - "x-ms-client-request-id" : "b8b6d670-9759-45ee-b99a-3dbf3d000e15", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MzY=;sn=569436", + "x-ms-request-id" : "886b4239-a597-4b19-884f-1806c2ac35d3", + "Body" : "{\"etag\":\"xlWOyKnuc73JCRrmB1DFdt0pHui\",\"key\":\"key75789676725\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:09+00:00\"}", + "x-ms-client-request-id" : "d140cfe5-3163-4228-9874-2ad22d4e3bd2", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key9264207546a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key75789676725?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "39f81a5d-3dc8-4d93-9030-1924540a8c06", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e03e43cb-bc58-423f-9dda-54a0ef6c08e6", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:09 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:08 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ea863605-8eb5-4248-8417-4187469626e2", + "x-ms-correlation-request-id" : "b711bb9e-4e13-4c7f-91d4-657f0dfcecac", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"cDuxWOtvFFf0vG0vzKPVBMAakEZ\"", + "ETag" : "\"UFWlTgrgGp2Iwz3nBmvxz0DDBHX\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MjM=;sn=471423", - "x-ms-request-id" : "ea863605-8eb5-4248-8417-4187469626e2", - "Body" : "{\"etag\":\"cDuxWOtvFFf0vG0vzKPVBMAakEZ\",\"key\":\"key9264207546a\",\"label\":null,\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:08+00:00\"}", - "x-ms-client-request-id" : "39f81a5d-3dc8-4d93-9030-1924540a8c06", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0Mzc=;sn=569437", + "x-ms-request-id" : "b711bb9e-4e13-4c7f-91d4-657f0dfcecac", + "Body" : "{\"etag\":\"UFWlTgrgGp2Iwz3nBmvxz0DDBHX\",\"key\":\"key75789676725\",\"label\":null,\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:09+00:00\"}", + "x-ms-client-request-id" : "e03e43cb-bc58-423f-9dda-54a0ef6c08e6", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key9264207546a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key75789676725?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "93df0590-d1fd-4daf-9c77-9ce770cd1bff", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ca775342-cfcf-4f5d-a8a3-e80ab2e6fc49", "Content-Type" : "application/json" }, "Response" : { @@ -75,29 +75,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:09 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:08 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "c0a89a65-fcf7-4881-944c-c00a60355b11", + "x-ms-correlation-request-id" : "5ccbd960-90f5-42e3-9f2e-500a39381aaa", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"cDuxWOtvFFf0vG0vzKPVBMAakEZ\"", + "ETag" : "\"UFWlTgrgGp2Iwz3nBmvxz0DDBHX\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MjM=;sn=471423", - "x-ms-request-id" : "c0a89a65-fcf7-4881-944c-c00a60355b11", - "Body" : "{\"etag\":\"cDuxWOtvFFf0vG0vzKPVBMAakEZ\",\"key\":\"key9264207546a\",\"label\":null,\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:08+00:00\"}", - "x-ms-client-request-id" : "93df0590-d1fd-4daf-9c77-9ce770cd1bff", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0Mzc=;sn=569437", + "x-ms-request-id" : "5ccbd960-90f5-42e3-9f2e-500a39381aaa", + "Body" : "{\"etag\":\"UFWlTgrgGp2Iwz3nBmvxz0DDBHX\",\"key\":\"key75789676725\",\"label\":null,\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:09+00:00\"}", + "x-ms-client-request-id" : "ca775342-cfcf-4f5d-a8a3-e80ab2e6fc49", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key9264207546a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key75789676725?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a828f770-19ed-490d-9e43-687b57102542", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "926328ab-e72c-4459-805a-a52ee08caf5e", "Content-Type" : "application/json" }, "Response" : { @@ -107,23 +107,23 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "412", - "Date" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:08 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "817cfb7a-e7be-4f33-a981-ad4211f59abc", + "x-ms-correlation-request-id" : "8b8cd37e-ee65-497b-80e8-8847b4fe2fe3", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", "Content-Length" : "0", - "x-ms-request-id" : "817cfb7a-e7be-4f33-a981-ad4211f59abc", - "x-ms-client-request-id" : "a828f770-19ed-490d-9e43-687b57102542" + "x-ms-request-id" : "8b8cd37e-ee65-497b-80e8-8847b4fe2fe3", + "x-ms-client-request-id" : "926328ab-e72c-4459-805a-a52ee08caf5e" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key9264207546a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key75789676725?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9eac9e50-beff-4b11-89d5-642966ffa815", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b9fa9bca-18c5-4d8c-b6a9-2c0ad7860833", "Content-Type" : "application/json" }, "Response" : { @@ -132,29 +132,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:09 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:08 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "2423c6a8-570e-4b7e-8d6d-d18ab2b2147d", + "x-ms-correlation-request-id" : "f40bb97e-828c-4e8a-897d-27bd350de342", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"cDuxWOtvFFf0vG0vzKPVBMAakEZ\"", + "ETag" : "\"UFWlTgrgGp2Iwz3nBmvxz0DDBHX\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MjQ=;sn=471424", - "x-ms-request-id" : "2423c6a8-570e-4b7e-8d6d-d18ab2b2147d", - "Body" : "{\"etag\":\"cDuxWOtvFFf0vG0vzKPVBMAakEZ\",\"key\":\"key9264207546a\",\"label\":null,\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:08+00:00\"}", - "x-ms-client-request-id" : "9eac9e50-beff-4b11-89d5-642966ffa815", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0Mzg=;sn=569438", + "x-ms-request-id" : "f40bb97e-828c-4e8a-897d-27bd350de342", + "Body" : "{\"etag\":\"UFWlTgrgGp2Iwz3nBmvxz0DDBHX\",\"key\":\"key75789676725\",\"label\":null,\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:09+00:00\"}", + "x-ms-client-request-id" : "b9fa9bca-18c5-4d8c-b6a9-2c0ad7860833", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key9264207546a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key75789676725?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "52667351-db16-47a9-aca0-c2611ccbfda2", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a51cd419-64f3-40f5-8e61-b16383e3e7b0", "Content-Type" : "application/json" }, "Response" : { @@ -164,23 +164,23 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "404", - "Date" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:08 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "be015db7-369b-409d-a01c-4b8cba3d80b4", + "x-ms-correlation-request-id" : "94e1d0ab-925a-4f5b-9846-3fde99dd2b92", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", "Content-Length" : "0", - "x-ms-request-id" : "be015db7-369b-409d-a01c-4b8cba3d80b4", - "x-ms-client-request-id" : "52667351-db16-47a9-aca0-c2611ccbfda2" + "x-ms-request-id" : "94e1d0ab-925a-4f5b-9846-3fde99dd2b92", + "x-ms-client-request-id" : "a51cd419-64f3-40f5-8e61-b16383e3e7b0" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key9264207546a?label=a18b019f19352c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key75789676725?label=ead246ee510070&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4aa25eac-2454-4692-a5ec-d17776dbbd66", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "82c1ce4f-9129-4c65-aa15-5ec7234d4a7e", "Content-Type" : "application/json" }, "Response" : { @@ -189,29 +189,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:09 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:08 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "9bd8d0a0-47c3-4db5-87b8-112f745b8ffd", + "x-ms-correlation-request-id" : "91657ca6-c755-4957-93f2-346efe9c3d6c", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"8z3UZXkyem5dv4DkMxwepmCQKDP\"", + "ETag" : "\"fUKP6rMdnxOB0lYg2dPhvA0lap9\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MjU=;sn=471425", - "x-ms-request-id" : "9bd8d0a0-47c3-4db5-87b8-112f745b8ffd", - "Body" : "{\"etag\":\"8z3UZXkyem5dv4DkMxwepmCQKDP\",\"key\":\"key9264207546a\",\"label\":\"a18b019f19352c\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:08+00:00\"}", - "x-ms-client-request-id" : "4aa25eac-2454-4692-a5ec-d17776dbbd66", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0Mzk=;sn=569439", + "x-ms-request-id" : "91657ca6-c755-4957-93f2-346efe9c3d6c", + "Body" : "{\"etag\":\"fUKP6rMdnxOB0lYg2dPhvA0lap9\",\"key\":\"key75789676725\",\"label\":\"ead246ee510070\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:09+00:00\"}", + "x-ms-client-request-id" : "82c1ce4f-9129-4c65-aa15-5ec7234d4a7e", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key9264207546a?label=a18b019f19352c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key75789676725?label=ead246ee510070&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0b84bdf2-185d-46ae-8ed4-95f9a9f5356f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "77a206ae-409e-4181-bb24-8f993a7b9bfb", "Content-Type" : "application/json" }, "Response" : { @@ -220,29 +220,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:09 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:09 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "d5f4806e-ae8f-4984-9e51-686ecd4a36a5", + "x-ms-correlation-request-id" : "c4eb5c45-7956-4e9f-9174-3a2986adacee", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"aSxDfiUQsBcfsJDnXYgSsYXspaj\"", + "ETag" : "\"cy8KJdY5MddweIp6kINdzuAhWSp\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MjY=;sn=471426", - "x-ms-request-id" : "d5f4806e-ae8f-4984-9e51-686ecd4a36a5", - "Body" : "{\"etag\":\"aSxDfiUQsBcfsJDnXYgSsYXspaj\",\"key\":\"key9264207546a\",\"label\":\"a18b019f19352c\",\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:08+00:00\"}", - "x-ms-client-request-id" : "0b84bdf2-185d-46ae-8ed4-95f9a9f5356f", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NDA=;sn=569440", + "x-ms-request-id" : "c4eb5c45-7956-4e9f-9174-3a2986adacee", + "Body" : "{\"etag\":\"cy8KJdY5MddweIp6kINdzuAhWSp\",\"key\":\"key75789676725\",\"label\":\"ead246ee510070\",\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:09+00:00\"}", + "x-ms-client-request-id" : "77a206ae-409e-4181-bb24-8f993a7b9bfb", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key9264207546a?label=a18b019f19352c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key75789676725?label=ead246ee510070&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ee0c4231-2437-4c8d-a6d8-2306447a4bfa", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "73b13b58-68cd-483f-b330-f28170dab04f", "Content-Type" : "application/json" }, "Response" : { @@ -251,29 +251,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:09 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:09 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "e8983eb1-c33a-4a11-9acb-d4734a047a27", + "x-ms-correlation-request-id" : "801a8ab6-1e47-4723-b05b-63d2a15a51fa", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"aSxDfiUQsBcfsJDnXYgSsYXspaj\"", + "ETag" : "\"cy8KJdY5MddweIp6kINdzuAhWSp\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MjY=;sn=471426", - "x-ms-request-id" : "e8983eb1-c33a-4a11-9acb-d4734a047a27", - "Body" : "{\"etag\":\"aSxDfiUQsBcfsJDnXYgSsYXspaj\",\"key\":\"key9264207546a\",\"label\":\"a18b019f19352c\",\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:08+00:00\"}", - "x-ms-client-request-id" : "ee0c4231-2437-4c8d-a6d8-2306447a4bfa", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NDA=;sn=569440", + "x-ms-request-id" : "801a8ab6-1e47-4723-b05b-63d2a15a51fa", + "Body" : "{\"etag\":\"cy8KJdY5MddweIp6kINdzuAhWSp\",\"key\":\"key75789676725\",\"label\":\"ead246ee510070\",\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:09+00:00\"}", + "x-ms-client-request-id" : "73b13b58-68cd-483f-b330-f28170dab04f", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key9264207546a?label=a18b019f19352c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key75789676725?label=ead246ee510070&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0baca2bd-00cd-40f5-a74c-5c6b511688bd", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cffb3638-82b4-4c57-8dc8-967fef80da93", "Content-Type" : "application/json" }, "Response" : { @@ -283,23 +283,23 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "412", - "Date" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:09 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "11500832-f2e4-4670-b274-a748d9bf7df0", + "x-ms-correlation-request-id" : "56e0ae2f-b2c3-44f4-9ffd-e9dc564ac3df", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", "Content-Length" : "0", - "x-ms-request-id" : "11500832-f2e4-4670-b274-a748d9bf7df0", - "x-ms-client-request-id" : "0baca2bd-00cd-40f5-a74c-5c6b511688bd" + "x-ms-request-id" : "56e0ae2f-b2c3-44f4-9ffd-e9dc564ac3df", + "x-ms-client-request-id" : "cffb3638-82b4-4c57-8dc8-967fef80da93" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key9264207546a?label=a18b019f19352c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key75789676725?label=ead246ee510070&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "394b7f76-2d34-45a2-b0ba-d802b1b93b55", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f74a5bbe-e2d7-4bfd-92cb-3d67d94c7535", "Content-Type" : "application/json" }, "Response" : { @@ -308,29 +308,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:09 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:09 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "206f5876-59c8-4411-ac5a-268baf5b0980", + "x-ms-correlation-request-id" : "b9102624-1ddc-4984-9637-5559d5069035", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"aSxDfiUQsBcfsJDnXYgSsYXspaj\"", + "ETag" : "\"cy8KJdY5MddweIp6kINdzuAhWSp\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0Mjc=;sn=471427", - "x-ms-request-id" : "206f5876-59c8-4411-ac5a-268baf5b0980", - "Body" : "{\"etag\":\"aSxDfiUQsBcfsJDnXYgSsYXspaj\",\"key\":\"key9264207546a\",\"label\":\"a18b019f19352c\",\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:08+00:00\"}", - "x-ms-client-request-id" : "394b7f76-2d34-45a2-b0ba-d802b1b93b55", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NDE=;sn=569441", + "x-ms-request-id" : "b9102624-1ddc-4984-9637-5559d5069035", + "Body" : "{\"etag\":\"cy8KJdY5MddweIp6kINdzuAhWSp\",\"key\":\"key75789676725\",\"label\":\"ead246ee510070\",\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:09+00:00\"}", + "x-ms-client-request-id" : "f74a5bbe-e2d7-4bfd-92cb-3d67d94c7535", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key9264207546a?label=a18b019f19352c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key75789676725?label=ead246ee510070&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "47345550-581d-427c-81c1-4f87d9e62834", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e1bada85-3bf4-46aa-a627-e947a7e08b36", "Content-Type" : "application/json" }, "Response" : { @@ -340,23 +340,23 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "404", - "Date" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:09 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "8b50951f-5428-430f-8dca-43301647a434", + "x-ms-correlation-request-id" : "7e0f2db9-8093-4dbd-82eb-692ae36f3f67", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", "Content-Length" : "0", - "x-ms-request-id" : "8b50951f-5428-430f-8dca-43301647a434", - "x-ms-client-request-id" : "47345550-581d-427c-81c1-4f87d9e62834" + "x-ms-request-id" : "7e0f2db9-8093-4dbd-82eb-692ae36f3f67", + "x-ms-client-request-id" : "e1bada85-3bf4-46aa-a627-e947a7e08b36" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key92642%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key75789%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "86c34c3b-c938-44c4-b5f4-406abb3a74c3", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "853d5f8e-da78-42d1-9acf-f52f796331df", "Content-Type" : "application/json" }, "Response" : { @@ -367,18 +367,18 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:09 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "012c67ff-435e-41d9-99ed-98e43186e61f", + "x-ms-correlation-request-id" : "37777f6a-58ad-4967-9cd6-fb913cc5f983", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "x-ms-request-id" : "012c67ff-435e-41d9-99ed-98e43186e61f", + "x-ms-request-id" : "37777f6a-58ad-4967-9cd6-fb913cc5f983", "Body" : "{\"items\":[]}", - "x-ms-client-request-id" : "86c34c3b-c938-44c4-b5f4-406abb3a74c3", + "x-ms-client-request-id" : "853d5f8e-da78-42d1-9acf-f52f796331df", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key92642", "a18b019f", "key9264207546a", "a18b019f19352c" ] + "variables" : [ "key75789", "ead246ee", "key75789676725", "ead246ee510070" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/getConfigurationSetting.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/getConfigurationSetting.json index e64b0aa59e46..89eb9ca0c95c 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/getConfigurationSetting.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/getConfigurationSetting.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key2474451812f", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key20823236375?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1aa544f2-7137-49e1-ba74-a6c3c195ee61", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ae8bed87-b1db-485b-9d40-7b00237d61f2", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:18 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:17 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "1d6169b1-9e0d-46da-ba86-8ee0270d61e7", + "x-ms-correlation-request-id" : "3ee31dcd-a05d-4559-8364-669989588089", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"7biVvbhmhNQdg3rk132EqpmcMd7\"", + "ETag" : "\"cK9mbOaSWrV8KSoyzbslQWfAWM9\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NTE=;sn=471551", - "x-ms-request-id" : "1d6169b1-9e0d-46da-ba86-8ee0270d61e7", - "Body" : "{\"etag\":\"7biVvbhmhNQdg3rk132EqpmcMd7\",\"key\":\"key2474451812f\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:11+00:00\"}", - "x-ms-client-request-id" : "1aa544f2-7137-49e1-ba74-a6c3c195ee61", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NjU=;sn=569565", + "x-ms-request-id" : "3ee31dcd-a05d-4559-8364-669989588089", + "Body" : "{\"etag\":\"cK9mbOaSWrV8KSoyzbslQWfAWM9\",\"key\":\"key20823236375\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:18+00:00\"}", + "x-ms-client-request-id" : "ae8bed87-b1db-485b-9d40-7b00237d61f2", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key2474451812f", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key20823236375?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7e7bdb52-0bd0-4df1-845e-56aef106e1f4", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "57f17fe4-3e5b-4c2a-9ea8-a0cb4d32d83b", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:18 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:17 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "0cdf3ff2-a90e-4c98-8338-5a8f1d9d874a", + "x-ms-correlation-request-id" : "5982f5bf-57cb-4b34-b75f-6fea524dd478", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"7biVvbhmhNQdg3rk132EqpmcMd7\"", + "ETag" : "\"cK9mbOaSWrV8KSoyzbslQWfAWM9\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NTE=;sn=471551", - "x-ms-request-id" : "0cdf3ff2-a90e-4c98-8338-5a8f1d9d874a", - "Body" : "{\"etag\":\"7biVvbhmhNQdg3rk132EqpmcMd7\",\"key\":\"key2474451812f\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:11+00:00\"}", - "x-ms-client-request-id" : "7e7bdb52-0bd0-4df1-845e-56aef106e1f4", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NjU=;sn=569565", + "x-ms-request-id" : "5982f5bf-57cb-4b34-b75f-6fea524dd478", + "Body" : "{\"etag\":\"cK9mbOaSWrV8KSoyzbslQWfAWM9\",\"key\":\"key20823236375\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:18+00:00\"}", + "x-ms-client-request-id" : "57f17fe4-3e5b-4c2a-9ea8-a0cb4d32d83b", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key2474451812f?label=myLabel", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key20823236375?label=myLabel&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7b16b1bd-d37d-4af7-a30f-a66cdab835d3", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "303d14b8-4964-4636-8490-709767fe30c6", "Content-Type" : "application/json" }, "Response" : { @@ -75,29 +75,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:18 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:17 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "5056896f-9e67-4e0e-b7b5-3a66bef4909c", + "x-ms-correlation-request-id" : "46e0ab88-4ce3-477f-b93b-ff25a48d674b", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"z4yv9FKvXumiqgMVtRW42KPE11q\"", + "ETag" : "\"G6lCtcwomB7QAJCL0qirrLuCWa2\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NTI=;sn=471552", - "x-ms-request-id" : "5056896f-9e67-4e0e-b7b5-3a66bef4909c", - "Body" : "{\"etag\":\"z4yv9FKvXumiqgMVtRW42KPE11q\",\"key\":\"key2474451812f\",\"label\":\"myLabel\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:11+00:00\"}", - "x-ms-client-request-id" : "7b16b1bd-d37d-4af7-a30f-a66cdab835d3", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NjY=;sn=569566", + "x-ms-request-id" : "46e0ab88-4ce3-477f-b93b-ff25a48d674b", + "Body" : "{\"etag\":\"G6lCtcwomB7QAJCL0qirrLuCWa2\",\"key\":\"key20823236375\",\"label\":\"myLabel\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:18+00:00\"}", + "x-ms-client-request-id" : "303d14b8-4964-4636-8490-709767fe30c6", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key2474451812f?label=myLabel", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key20823236375?label=myLabel&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b2bdc93e-578f-450c-bccf-b5ebca86e355", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0a78372c-4120-49fc-8bb4-9196cd31a506", "Content-Type" : "application/json" }, "Response" : { @@ -106,29 +106,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:18 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:17 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "1ee1c168-b300-4ef1-9886-95c4d852cd2b", + "x-ms-correlation-request-id" : "89376519-4b44-4ab0-b092-cc645f82d8e6", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"z4yv9FKvXumiqgMVtRW42KPE11q\"", + "ETag" : "\"G6lCtcwomB7QAJCL0qirrLuCWa2\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NTI=;sn=471552", - "x-ms-request-id" : "1ee1c168-b300-4ef1-9886-95c4d852cd2b", - "Body" : "{\"etag\":\"z4yv9FKvXumiqgMVtRW42KPE11q\",\"key\":\"key2474451812f\",\"label\":\"myLabel\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:11+00:00\"}", - "x-ms-client-request-id" : "b2bdc93e-578f-450c-bccf-b5ebca86e355", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NjY=;sn=569566", + "x-ms-request-id" : "89376519-4b44-4ab0-b092-cc645f82d8e6", + "Body" : "{\"etag\":\"G6lCtcwomB7QAJCL0qirrLuCWa2\",\"key\":\"key20823236375\",\"label\":\"myLabel\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:18+00:00\"}", + "x-ms-client-request-id" : "0a78372c-4120-49fc-8bb4-9196cd31a506", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key24744%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key20823%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "339800fb-22fa-4633-bc94-af39e5dc7e98", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "94ec2397-40f1-4e46-80ab-391e01f708c4", "Content-Type" : "application/json" }, "Response" : { @@ -139,25 +139,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:17 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "9483918a-4bbb-4a6e-8560-e7d1fa21e40f", + "x-ms-correlation-request-id" : "ac30fc5c-7131-4e7f-b562-e30e1467bd0e", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NTI=;sn=471552", - "x-ms-request-id" : "9483918a-4bbb-4a6e-8560-e7d1fa21e40f", - "Body" : "{\"items\":[{\"etag\":\"7biVvbhmhNQdg3rk132EqpmcMd7\",\"key\":\"key2474451812f\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:11+00:00\"},{\"etag\":\"z4yv9FKvXumiqgMVtRW42KPE11q\",\"key\":\"key2474451812f\",\"label\":\"myLabel\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:11+00:00\"}]}", - "x-ms-client-request-id" : "339800fb-22fa-4633-bc94-af39e5dc7e98", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NjY=;sn=569566", + "x-ms-request-id" : "ac30fc5c-7131-4e7f-b562-e30e1467bd0e", + "Body" : "{\"items\":[{\"etag\":\"cK9mbOaSWrV8KSoyzbslQWfAWM9\",\"key\":\"key20823236375\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:18+00:00\"},{\"etag\":\"G6lCtcwomB7QAJCL0qirrLuCWa2\",\"key\":\"key20823236375\",\"label\":\"myLabel\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:18+00:00\"}]}", + "x-ms-client-request-id" : "94ec2397-40f1-4e46-80ab-391e01f708c4", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key2474451812f", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key20823236375?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "18f2216e-37be-4a0c-9afd-bab2d38bf59b", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3a187c95-2bec-4cec-8301-72aed4c80e69", "Content-Type" : "application/json" }, "Response" : { @@ -166,29 +166,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:18 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:17 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "d2ed0c6d-e0ec-4075-be9d-e0daf3ed7efb", + "x-ms-correlation-request-id" : "bfeb95de-b3b0-4982-bc12-161279643025", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"7biVvbhmhNQdg3rk132EqpmcMd7\"", + "ETag" : "\"cK9mbOaSWrV8KSoyzbslQWfAWM9\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NTM=;sn=471553", - "x-ms-request-id" : "d2ed0c6d-e0ec-4075-be9d-e0daf3ed7efb", - "Body" : "{\"etag\":\"7biVvbhmhNQdg3rk132EqpmcMd7\",\"key\":\"key2474451812f\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:11+00:00\"}", - "x-ms-client-request-id" : "18f2216e-37be-4a0c-9afd-bab2d38bf59b", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1Njc=;sn=569567", + "x-ms-request-id" : "bfeb95de-b3b0-4982-bc12-161279643025", + "Body" : "{\"etag\":\"cK9mbOaSWrV8KSoyzbslQWfAWM9\",\"key\":\"key20823236375\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:18+00:00\"}", + "x-ms-client-request-id" : "3a187c95-2bec-4cec-8301-72aed4c80e69", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key2474451812f?label=myLabel", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key20823236375?label=myLabel&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b3ca6b13-7ec3-4bdc-99d3-583d48b44b37", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3a4f0ec2-2a49-445e-a470-ba69514d9b5d", "Content-Type" : "application/json" }, "Response" : { @@ -197,23 +197,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:18 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:17 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "042e8c09-fef9-4e53-83bc-b495ac0eaa8e", + "x-ms-correlation-request-id" : "42b507c4-8c0a-43c2-8acd-a298548bf735", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"z4yv9FKvXumiqgMVtRW42KPE11q\"", + "ETag" : "\"G6lCtcwomB7QAJCL0qirrLuCWa2\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NTQ=;sn=471554", - "x-ms-request-id" : "042e8c09-fef9-4e53-83bc-b495ac0eaa8e", - "Body" : "{\"etag\":\"z4yv9FKvXumiqgMVtRW42KPE11q\",\"key\":\"key2474451812f\",\"label\":\"myLabel\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:11+00:00\"}", - "x-ms-client-request-id" : "b3ca6b13-7ec3-4bdc-99d3-583d48b44b37", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1Njg=;sn=569568", + "x-ms-request-id" : "42b507c4-8c0a-43c2-8acd-a298548bf735", + "Body" : "{\"etag\":\"G6lCtcwomB7QAJCL0qirrLuCWa2\",\"key\":\"key20823236375\",\"label\":\"myLabel\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:18+00:00\"}", + "x-ms-client-request-id" : "3a4f0ec2-2a49-445e-a470-ba69514d9b5d", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key24744", "3296bed3", "key2474451812f" ] + "variables" : [ "key20823", "cf34e2a9", "key20823236375" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/getConfigurationSettingNotFound.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/getConfigurationSettingNotFound.json index b749d0d47645..5c07dcb17900 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/getConfigurationSettingNotFound.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/getConfigurationSettingNotFound.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key1148958002e", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key9160618500f?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "82aefe86-449e-4739-a758-f272f2d72d3b", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6fd6a60c-955f-429c-8355-7af2837251fe", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:17 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:17 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "7784533d-d11f-447d-b98a-4d0d4f366fcc", + "x-ms-correlation-request-id" : "46ca9e30-82e6-4e9f-85b1-84f9e43dd47d", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"nSeQLdMfjODqPsyzG50tjK3mP4t\"", + "ETag" : "\"yAfle3RmHfE8lO685YvIKkgC2dT\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NDU=;sn=471545", - "x-ms-request-id" : "7784533d-d11f-447d-b98a-4d0d4f366fcc", - "Body" : "{\"etag\":\"nSeQLdMfjODqPsyzG50tjK3mP4t\",\"key\":\"key1148958002e\",\"label\":null,\"content_type\":null,\"value\":\"myNeverRetreivedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:11+00:00\"}", - "x-ms-client-request-id" : "82aefe86-449e-4739-a758-f272f2d72d3b", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NTk=;sn=569559", + "x-ms-request-id" : "46ca9e30-82e6-4e9f-85b1-84f9e43dd47d", + "Body" : "{\"etag\":\"yAfle3RmHfE8lO685YvIKkgC2dT\",\"key\":\"key9160618500f\",\"label\":null,\"content_type\":null,\"value\":\"myNeverRetreivedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:17+00:00\"}", + "x-ms-client-request-id" : "6fd6a60c-955f-429c-8355-7af2837251fe", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/myNonExistentKey", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/myNonExistentKey?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "819b10ef-9e63-4dfa-bcb7-a8808358b2da", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5eb03fb6-3d5e-4c6d-ad30-a06f2076742d", "Content-Type" : "application/json" }, "Response" : { @@ -45,23 +45,23 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "404", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:17 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "f20aa115-e5e8-45a7-a862-a92cd2a7c7c9", + "x-ms-correlation-request-id" : "7b93e46b-4e4c-4682-9cb0-4adcdd17e00d", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", "Content-Length" : "0", - "x-ms-request-id" : "f20aa115-e5e8-45a7-a862-a92cd2a7c7c9", - "x-ms-client-request-id" : "819b10ef-9e63-4dfa-bcb7-a8808358b2da" + "x-ms-request-id" : "7b93e46b-4e4c-4682-9cb0-4adcdd17e00d", + "x-ms-client-request-id" : "5eb03fb6-3d5e-4c6d-ad30-a06f2076742d" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key1148958002e?label=myNonExistentLabel", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key9160618500f?label=myNonExistentLabel&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "90a57df4-fc91-4aaa-bd95-f368912c5c59", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "354dcf5a-49bb-4536-a578-221125e82401", "Content-Type" : "application/json" }, "Response" : { @@ -71,23 +71,23 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "404", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:17 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "caa56811-945d-4182-98e8-8702c6d86bb8", + "x-ms-correlation-request-id" : "5410d09d-0b71-480b-91ae-dee3a118de5e", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", "Content-Length" : "0", - "x-ms-request-id" : "caa56811-945d-4182-98e8-8702c6d86bb8", - "x-ms-client-request-id" : "90a57df4-fc91-4aaa-bd95-f368912c5c59" + "x-ms-request-id" : "5410d09d-0b71-480b-91ae-dee3a118de5e", + "x-ms-client-request-id" : "354dcf5a-49bb-4536-a578-221125e82401" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key11489%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key91606%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2c0fbb67-1721-49c6-ab82-bf0ffde4b3c4", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3e230d2a-3a47-4ef6-9500-c4ea1fabeb1e", "Content-Type" : "application/json" }, "Response" : { @@ -98,25 +98,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:17 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "a0f2d1eb-82ee-4c7f-933e-d91ccd674f6d", + "x-ms-correlation-request-id" : "f000a2c9-e4e0-47b9-880e-f9b3d1b179aa", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NDU=;sn=471545", - "x-ms-request-id" : "a0f2d1eb-82ee-4c7f-933e-d91ccd674f6d", - "Body" : "{\"items\":[{\"etag\":\"nSeQLdMfjODqPsyzG50tjK3mP4t\",\"key\":\"key1148958002e\",\"label\":null,\"content_type\":null,\"value\":\"myNeverRetreivedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:11+00:00\"}]}", - "x-ms-client-request-id" : "2c0fbb67-1721-49c6-ab82-bf0ffde4b3c4", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NTk=;sn=569559", + "x-ms-request-id" : "f000a2c9-e4e0-47b9-880e-f9b3d1b179aa", + "Body" : "{\"items\":[{\"etag\":\"yAfle3RmHfE8lO685YvIKkgC2dT\",\"key\":\"key9160618500f\",\"label\":null,\"content_type\":null,\"value\":\"myNeverRetreivedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:17+00:00\"}]}", + "x-ms-client-request-id" : "3e230d2a-3a47-4ef6-9500-c4ea1fabeb1e", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key1148958002e", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key9160618500f?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "87d3ec84-3394-46d0-9f2e-be8b70a281c0", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e4870ca5-7c92-4897-8480-b30fc740fe52", "Content-Type" : "application/json" }, "Response" : { @@ -125,23 +125,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:11 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:17 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:17 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "5213d975-c349-4af8-abc4-1b1c1ea81b26", + "x-ms-correlation-request-id" : "4aeb499c-1aa3-44c6-a68f-7eda772ac4e1", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"nSeQLdMfjODqPsyzG50tjK3mP4t\"", + "ETag" : "\"yAfle3RmHfE8lO685YvIKkgC2dT\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NDY=;sn=471546", - "x-ms-request-id" : "5213d975-c349-4af8-abc4-1b1c1ea81b26", - "Body" : "{\"etag\":\"nSeQLdMfjODqPsyzG50tjK3mP4t\",\"key\":\"key1148958002e\",\"label\":null,\"content_type\":null,\"value\":\"myNeverRetreivedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:11+00:00\"}", - "x-ms-client-request-id" : "87d3ec84-3394-46d0-9f2e-be8b70a281c0", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NjA=;sn=569560", + "x-ms-request-id" : "4aeb499c-1aa3-44c6-a68f-7eda772ac4e1", + "Body" : "{\"etag\":\"yAfle3RmHfE8lO685YvIKkgC2dT\",\"key\":\"key9160618500f\",\"label\":null,\"content_type\":null,\"value\":\"myNeverRetreivedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:17+00:00\"}", + "x-ms-client-request-id" : "e4870ca5-7c92-4897-8480-b30fc740fe52", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key11489", "8bdeb61c", "key1148958002e" ] + "variables" : [ "key91606", "37aac2f5", "key9160618500f" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/getConfigurationSettingWhenValueNotUpdated.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/getConfigurationSettingWhenValueNotUpdated.json index c87f9f85c2c4..1bdfbd49a9ef 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/getConfigurationSettingWhenValueNotUpdated.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/getConfigurationSettingWhenValueNotUpdated.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key42390326656", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key4703761016c?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b4703f47-db38-43f0-bc4b-7ffdca4d9449", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b2816df6-0ed1-48d5-8084-f571a00bc96b", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:10 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:09 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ea46925c-61c6-4f6e-be0b-c867edb5db73", + "x-ms-correlation-request-id" : "64db142e-3f44-4b2a-8702-47b9f03d4409", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"WubahwQHkXaO3H50qt8KjoNRCCF\"", + "ETag" : "\"FhExo3l7MSuEL3Np3kf72osdawO\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MzI=;sn=471432", - "x-ms-request-id" : "ea46925c-61c6-4f6e-be0b-c867edb5db73", - "Body" : "{\"etag\":\"WubahwQHkXaO3H50qt8KjoNRCCF\",\"key\":\"key42390326656\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:09+00:00\"}", - "x-ms-client-request-id" : "b4703f47-db38-43f0-bc4b-7ffdca4d9449", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NDY=;sn=569446", + "x-ms-request-id" : "64db142e-3f44-4b2a-8702-47b9f03d4409", + "Body" : "{\"etag\":\"FhExo3l7MSuEL3Np3kf72osdawO\",\"key\":\"key4703761016c\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:10+00:00\"}", + "x-ms-client-request-id" : "b2816df6-0ed1-48d5-8084-f571a00bc96b", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key42390326656", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key4703761016c?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6ffccb11-8425-4337-90fc-39410d3ae58c", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5e2b0995-b0d3-45ec-b9b3-764643b1f765", "Content-Type" : "application/json" }, "Response" : { @@ -45,24 +45,24 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "304", - "Date" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:09 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "8b07ab20-84db-4864-a105-d5d732edec34", + "x-ms-correlation-request-id" : "8f78f6ae-bff4-4a73-af74-2118810a7c25", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"WubahwQHkXaO3H50qt8KjoNRCCF\"", + "ETag" : "\"FhExo3l7MSuEL3Np3kf72osdawO\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MzI=;sn=471432", - "x-ms-request-id" : "8b07ab20-84db-4864-a105-d5d732edec34", - "x-ms-client-request-id" : "6ffccb11-8425-4337-90fc-39410d3ae58c" + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NDY=;sn=569446", + "x-ms-request-id" : "8f78f6ae-bff4-4a73-af74-2118810a7c25", + "x-ms-client-request-id" : "5e2b0995-b0d3-45ec-b9b3-764643b1f765" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key42390326656", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key4703761016c?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "53aa8207-dd7e-4b45-993e-1dcc0c1c18bb", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6445541c-52f3-4bd4-b098-6a94c170a58f", "Content-Type" : "application/json" }, "Response" : { @@ -71,29 +71,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:10 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:09 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "33814b29-e615-4fd9-b000-979af58b7999", + "x-ms-correlation-request-id" : "8eb7f34d-ce3c-4715-9ca4-684d515cd712", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"t138Yl1zngeMBeR9lGFINB35KOZ\"", + "ETag" : "\"88feiJ6t0do18UQsBA9Bulx5bKn\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MzM=;sn=471433", - "x-ms-request-id" : "33814b29-e615-4fd9-b000-979af58b7999", - "Body" : "{\"etag\":\"t138Yl1zngeMBeR9lGFINB35KOZ\",\"key\":\"key42390326656\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:09+00:00\"}", - "x-ms-client-request-id" : "53aa8207-dd7e-4b45-993e-1dcc0c1c18bb", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NDc=;sn=569447", + "x-ms-request-id" : "8eb7f34d-ce3c-4715-9ca4-684d515cd712", + "Body" : "{\"etag\":\"88feiJ6t0do18UQsBA9Bulx5bKn\",\"key\":\"key4703761016c\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:10+00:00\"}", + "x-ms-client-request-id" : "6445541c-52f3-4bd4-b098-6a94c170a58f", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key42390326656", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key4703761016c?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "06034412-2edc-4369-8b70-6926f7ed3413", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "84e9bae6-1845-40e1-9b4c-b159303e707c", "Content-Type" : "application/json" }, "Response" : { @@ -102,29 +102,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:10 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:09 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "669afbb0-1098-4100-9ec1-2e823880de0c", + "x-ms-correlation-request-id" : "3d0ab432-6375-44e6-b495-c9266324e685", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"t138Yl1zngeMBeR9lGFINB35KOZ\"", + "ETag" : "\"88feiJ6t0do18UQsBA9Bulx5bKn\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MzM=;sn=471433", - "x-ms-request-id" : "669afbb0-1098-4100-9ec1-2e823880de0c", - "Body" : "{\"etag\":\"t138Yl1zngeMBeR9lGFINB35KOZ\",\"key\":\"key42390326656\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:09+00:00\"}", - "x-ms-client-request-id" : "06034412-2edc-4369-8b70-6926f7ed3413", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NDc=;sn=569447", + "x-ms-request-id" : "3d0ab432-6375-44e6-b495-c9266324e685", + "Body" : "{\"etag\":\"88feiJ6t0do18UQsBA9Bulx5bKn\",\"key\":\"key4703761016c\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:10+00:00\"}", + "x-ms-client-request-id" : "84e9bae6-1845-40e1-9b4c-b159303e707c", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key42390%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key47037%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "765794c3-abd9-445d-a896-b70f2d518456", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "699770c0-23b1-43a0-9e6a-8ac66b5eb658", "Content-Type" : "application/json" }, "Response" : { @@ -135,25 +135,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:09 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "15b7c32f-be53-4276-8c09-6515ecb1e0c9", + "x-ms-correlation-request-id" : "0587c5e2-af30-4f64-87b4-63bbc1dbb975", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MzM=;sn=471433", - "x-ms-request-id" : "15b7c32f-be53-4276-8c09-6515ecb1e0c9", - "Body" : "{\"items\":[{\"etag\":\"t138Yl1zngeMBeR9lGFINB35KOZ\",\"key\":\"key42390326656\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:09+00:00\"}]}", - "x-ms-client-request-id" : "765794c3-abd9-445d-a896-b70f2d518456", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NDc=;sn=569447", + "x-ms-request-id" : "0587c5e2-af30-4f64-87b4-63bbc1dbb975", + "Body" : "{\"items\":[{\"etag\":\"88feiJ6t0do18UQsBA9Bulx5bKn\",\"key\":\"key4703761016c\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:10+00:00\"}]}", + "x-ms-client-request-id" : "699770c0-23b1-43a0-9e6a-8ac66b5eb658", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key42390326656", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key4703761016c?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "82dc9e8a-87f8-4865-9899-53fc958ea8a2", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "748d71c9-18a1-4c58-aa3a-3789c55b16e0", "Content-Type" : "application/json" }, "Response" : { @@ -162,23 +162,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:10 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:09 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "8e9d6ade-fc48-46b6-8d52-2b36cd82ac14", + "x-ms-correlation-request-id" : "62e83f40-8a67-4723-bcd0-e1c812ad7133", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"t138Yl1zngeMBeR9lGFINB35KOZ\"", + "ETag" : "\"88feiJ6t0do18UQsBA9Bulx5bKn\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MzQ=;sn=471434", - "x-ms-request-id" : "8e9d6ade-fc48-46b6-8d52-2b36cd82ac14", - "Body" : "{\"etag\":\"t138Yl1zngeMBeR9lGFINB35KOZ\",\"key\":\"key42390326656\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:09+00:00\"}", - "x-ms-client-request-id" : "82dc9e8a-87f8-4865-9899-53fc958ea8a2", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NDg=;sn=569448", + "x-ms-request-id" : "62e83f40-8a67-4723-bcd0-e1c812ad7133", + "Body" : "{\"etag\":\"88feiJ6t0do18UQsBA9Bulx5bKn\",\"key\":\"key4703761016c\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:10+00:00\"}", + "x-ms-client-request-id" : "748d71c9-18a1-4c58-aa3a-3789c55b16e0", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key42390", "67ca0a4c", "key42390326656" ] + "variables" : [ "key47037", "cc945f0d", "key4703761016c" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listConfigurationSettingsAcceptDateTime.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listConfigurationSettingsAcceptDateTime.json index ed6d9109d6ca..fba521670fe7 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listConfigurationSettingsAcceptDateTime.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listConfigurationSettingsAcceptDateTime.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key60086354885", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38986200986?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "652c5301-e637-4269-9ddc-a2a78335ef5a", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d60f1686-f447-4b17-afb2-ea1b19a70d6e", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:47 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:47 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:46 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:46 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ad539c8c-c93f-4670-ada4-675e29557b80", + "x-ms-correlation-request-id" : "bafd98c9-0ab4-4925-958d-3b06c8e0ceb4", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"2ZwKWl2easOwHTvS1NRjgiRN9oR\"", + "ETag" : "\"QGOy31yJ3MwNIikKx8sJyT1r1Bl\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNTY=;sn=471256", - "x-ms-request-id" : "ad539c8c-c93f-4670-ada4-675e29557b80", - "Body" : "{\"etag\":\"2ZwKWl2easOwHTvS1NRjgiRN9oR\",\"key\":\"key60086354885\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:47+00:00\"}", - "x-ms-client-request-id" : "652c5301-e637-4269-9ddc-a2a78335ef5a", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNzY=;sn=569276", + "x-ms-request-id" : "bafd98c9-0ab4-4925-958d-3b06c8e0ceb4", + "Body" : "{\"etag\":\"QGOy31yJ3MwNIikKx8sJyT1r1Bl\",\"key\":\"key38986200986\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:47+00:00\"}", + "x-ms-client-request-id" : "d60f1686-f447-4b17-afb2-ea1b19a70d6e", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key60086354885", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38986200986?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c677b1be-1ba7-45aa-a7ff-7f3fd3388c22", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "358b848d-2190-4d26-ae71-494443bed548", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:47 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:49 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:46 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:48 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "084bb10d-60c9-41a5-9877-68e3e964e015", + "x-ms-correlation-request-id" : "c7abbe61-9c79-4fe1-be2d-3e39da9c1f0c", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"wP8ydVavBXHmT44Dagptdu33F2h\"", + "ETag" : "\"1YqFAWtbamNnVdFsr9rS5QL8RzU\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNTc=;sn=471257", - "x-ms-request-id" : "084bb10d-60c9-41a5-9877-68e3e964e015", - "Body" : "{\"etag\":\"wP8ydVavBXHmT44Dagptdu33F2h\",\"key\":\"key60086354885\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:47+00:00\"}", - "x-ms-client-request-id" : "c677b1be-1ba7-45aa-a7ff-7f3fd3388c22", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNzc=;sn=569277", + "x-ms-request-id" : "c7abbe61-9c79-4fe1-be2d-3e39da9c1f0c", + "Body" : "{\"etag\":\"1YqFAWtbamNnVdFsr9rS5QL8RzU\",\"key\":\"key38986200986\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:49+00:00\"}", + "x-ms-client-request-id" : "358b848d-2190-4d26-ae71-494443bed548", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key60086354885", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38986200986?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "693e9446-a559-4451-a59d-2d1e71433555", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c57fd480-0c6c-47f6-b46f-58ed98eaa1c5", "Content-Type" : "application/json" }, "Response" : { @@ -75,29 +75,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:51 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:50 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "798095ee-b55c-4740-b02b-fbeb30a102e3", + "x-ms-correlation-request-id" : "f60029d8-8cc5-420e-bc79-867b015378f5", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"hS2Ql8wpUkIQuEzLrM0oiaxbzR2\"", + "ETag" : "\"QMTnaNsKiZ3LermYYq6sFos0cjD\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNTg=;sn=471258", - "x-ms-request-id" : "798095ee-b55c-4740-b02b-fbeb30a102e3", - "Body" : "{\"etag\":\"hS2Ql8wpUkIQuEzLrM0oiaxbzR2\",\"key\":\"key60086354885\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:49+00:00\"}", - "x-ms-client-request-id" : "693e9446-a559-4451-a59d-2d1e71433555", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNzg=;sn=569278", + "x-ms-request-id" : "f60029d8-8cc5-420e-bc79-867b015378f5", + "Body" : "{\"etag\":\"QMTnaNsKiZ3LermYYq6sFos0cjD\",\"key\":\"key38986200986\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:51+00:00\"}", + "x-ms-client-request-id" : "c57fd480-0c6c-47f6-b46f-58ed98eaa1c5", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key60086354885", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key38986200986&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f4054d71-abc7-4bc9-814d-55cd17c44d1a", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1a46a44a-91bf-407e-ad16-b90195ef0579", "Content-Type" : "application/json" }, "Response" : { @@ -108,57 +108,57 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:50 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "5672a37d-8ece-4bfa-a62b-7e7bce3634c2", + "x-ms-correlation-request-id" : "3ee890d9-faf3-4c68-9fbf-e906b66e8dcb", "Accept-Ranges" : "items", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNTg=;sn=471258", - "x-ms-request-id" : "5672a37d-8ece-4bfa-a62b-7e7bce3634c2", - "Body" : "{\"items\":[{\"etag\":\"hS2Ql8wpUkIQuEzLrM0oiaxbzR2\",\"key\":\"key60086354885\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:49+00:00\"},{\"etag\":\"wP8ydVavBXHmT44Dagptdu33F2h\",\"key\":\"key60086354885\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:47+00:00\"},{\"etag\":\"2ZwKWl2easOwHTvS1NRjgiRN9oR\",\"key\":\"key60086354885\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:47+00:00\"}]}", - "x-ms-client-request-id" : "f4054d71-abc7-4bc9-814d-55cd17c44d1a", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNzg=;sn=569278", + "x-ms-request-id" : "3ee890d9-faf3-4c68-9fbf-e906b66e8dcb", + "Body" : "{\"items\":[{\"etag\":\"QMTnaNsKiZ3LermYYq6sFos0cjD\",\"key\":\"key38986200986\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:51+00:00\"},{\"etag\":\"1YqFAWtbamNnVdFsr9rS5QL8RzU\",\"key\":\"key38986200986\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:49+00:00\"},{\"etag\":\"QGOy31yJ3MwNIikKx8sJyT1r1Bl\",\"key\":\"key38986200986\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:47+00:00\"}]}", + "x-ms-client-request-id" : "1a46a44a-91bf-407e-ad16-b90195ef0579", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key60086354885", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key38986200986&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e3578bea-a523-4e9f-9b20-7798b803a912", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "82f5e3da-e83b-47d8-bcc2-246ca4260182", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", "Server" : "openresty/1.15.8.1", - "Memento-Datetime" : "Thu, 24 Oct 2019 23:26:47 GMT", + "Memento-Datetime" : "Sun, 24 Nov 2019 16:05:49 GMT", "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:50 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ce5a059d-9bf8-43c7-a740-5139d176f853", + "x-ms-correlation-request-id" : "c9e6cbb9-f300-4e4e-a401-32ec876d6ed5", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNTg=;sn=471258", - "x-ms-request-id" : "ce5a059d-9bf8-43c7-a740-5139d176f853", - "Body" : "{\"items\":[{\"etag\":\"wP8ydVavBXHmT44Dagptdu33F2h\",\"key\":\"key60086354885\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:47+00:00\"}]}", - "Link" : "; rel=\"original\"", - "x-ms-client-request-id" : "e3578bea-a523-4e9f-9b20-7798b803a912", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNzg=;sn=569278", + "x-ms-request-id" : "c9e6cbb9-f300-4e4e-a401-32ec876d6ed5", + "Body" : "{\"items\":[{\"etag\":\"1YqFAWtbamNnVdFsr9rS5QL8RzU\",\"key\":\"key38986200986\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:49+00:00\"}]}", + "Link" : "; rel=\"original\"", + "x-ms-client-request-id" : "82f5e3da-e83b-47d8-bcc2-246ca4260182", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key60086%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key38986%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f180e7b6-5fc6-464e-b9fe-8b2dd11ced6f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9113568c-ce75-459c-b913-d8b979f9a34b", "Content-Type" : "application/json" }, "Response" : { @@ -169,25 +169,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:50 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "fb81fbba-10e3-408a-8613-451ca06358ec", + "x-ms-correlation-request-id" : "29e7a586-3a36-4638-83c7-3aba462387d2", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNTg=;sn=471258", - "x-ms-request-id" : "fb81fbba-10e3-408a-8613-451ca06358ec", - "Body" : "{\"items\":[{\"etag\":\"hS2Ql8wpUkIQuEzLrM0oiaxbzR2\",\"key\":\"key60086354885\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:49+00:00\"}]}", - "x-ms-client-request-id" : "f180e7b6-5fc6-464e-b9fe-8b2dd11ced6f", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNzg=;sn=569278", + "x-ms-request-id" : "29e7a586-3a36-4638-83c7-3aba462387d2", + "Body" : "{\"items\":[{\"etag\":\"QMTnaNsKiZ3LermYYq6sFos0cjD\",\"key\":\"key38986200986\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:51+00:00\"}]}", + "x-ms-client-request-id" : "9113568c-ce75-459c-b913-d8b979f9a34b", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key60086354885", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38986200986?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4723d9c2-e5df-4ae5-a2aa-2f87844fdef2", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "20b7fc81-178d-422d-bc75-145d47dcbbd0", "Content-Type" : "application/json" }, "Response" : { @@ -196,23 +196,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:51 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:50 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "81a18f0b-9c93-41dd-a9f6-61290d7bc6dc", + "x-ms-correlation-request-id" : "3b38bc8d-cd32-4086-a15c-a953ff10b052", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"hS2Ql8wpUkIQuEzLrM0oiaxbzR2\"", + "ETag" : "\"QMTnaNsKiZ3LermYYq6sFos0cjD\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNTk=;sn=471259", - "x-ms-request-id" : "81a18f0b-9c93-41dd-a9f6-61290d7bc6dc", - "Body" : "{\"etag\":\"hS2Ql8wpUkIQuEzLrM0oiaxbzR2\",\"key\":\"key60086354885\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:49+00:00\"}", - "x-ms-client-request-id" : "4723d9c2-e5df-4ae5-a2aa-2f87844fdef2", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNzk=;sn=569279", + "x-ms-request-id" : "3b38bc8d-cd32-4086-a15c-a953ff10b052", + "Body" : "{\"etag\":\"QMTnaNsKiZ3LermYYq6sFos0cjD\",\"key\":\"key38986200986\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:51+00:00\"}", + "x-ms-client-request-id" : "20b7fc81-178d-422d-bc75-145d47dcbbd0", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key60086", "0ac68c70", "key60086354885" ] + "variables" : [ "key38986", "35494cb1", "key38986200986" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listConfigurationSettingsSelectFields.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listConfigurationSettingsSelectFields.json index 87b599168d9e..a41055d737fe 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listConfigurationSettingsSelectFields.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listConfigurationSettingsSelectFields.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key13531-0?label=my-first-mylabel", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key79958-0?label=my-first-mylabel&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f60e8a90-b929-4a5b-bdb8-e80d3542b6a8", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8de0697b-1b4a-459f-8406-b7c45afcf5e8", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:52 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:51 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "9e80cbe1-3ba0-48af-9e18-95f6f350338c", + "x-ms-correlation-request-id" : "ade23cc4-852a-470b-95a3-fa2d0fae15af", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"oCWKxGkf0JR3W3EsjvWkhltx3sN\"", + "ETag" : "\"0yaElm0WHGZVuYPWxsxpUU3p4D9\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNjY=;sn=471266", - "x-ms-request-id" : "9e80cbe1-3ba0-48af-9e18-95f6f350338c", - "Body" : "{\"etag\":\"oCWKxGkf0JR3W3EsjvWkhltx3sN\",\"key\":\"key13531-0\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "f60e8a90-b929-4a5b-bdb8-e80d3542b6a8", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyODY=;sn=569286", + "x-ms-request-id" : "ade23cc4-852a-470b-95a3-fa2d0fae15af", + "Body" : "{\"etag\":\"0yaElm0WHGZVuYPWxsxpUU3p4D9\",\"key\":\"key79958-0\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"}", + "x-ms-client-request-id" : "8de0697b-1b4a-459f-8406-b7c45afcf5e8", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key13531-2?label=my-first-mylabel", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key79958-fetch-1?label=my-first-mylabel&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3de80fb4-0b00-4bd0-bc2d-fd0c26e53f4b", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fad6a5d0-071b-42bf-b54d-7e60d82bf7a6", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:52 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:51 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "4efacf23-76e2-4d81-9e27-d1e22ce60924", + "x-ms-correlation-request-id" : "392136e8-9128-4cb0-b3b0-24a42bf94221", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"O3bmvfLs7zBDoDIRWv3l3ZL8866\"", + "ETag" : "\"itr8peHptzXRqlX7s4GCRVGaglq\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNjc=;sn=471267", - "x-ms-request-id" : "4efacf23-76e2-4d81-9e27-d1e22ce60924", - "Body" : "{\"etag\":\"O3bmvfLs7zBDoDIRWv3l3ZL8866\",\"key\":\"key13531-2\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "3de80fb4-0b00-4bd0-bc2d-fd0c26e53f4b", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyODc=;sn=569287", + "x-ms-request-id" : "392136e8-9128-4cb0-b3b0-24a42bf94221", + "Body" : "{\"etag\":\"itr8peHptzXRqlX7s4GCRVGaglq\",\"key\":\"key79958-fetch-1\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"}", + "x-ms-client-request-id" : "fad6a5d0-071b-42bf-b54d-7e60d82bf7a6", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key13531-fetch-1?label=my-first-mylabel", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key79958-2?label=my-first-mylabel&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "61472d00-0ea3-4086-917c-3a9a58223713", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "31c188a5-24e5-41a5-9492-727c021bfa9d", "Content-Type" : "application/json" }, "Response" : { @@ -75,29 +75,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:52 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:51 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ef709372-e8cf-4dfb-889b-98d92f28f047", + "x-ms-correlation-request-id" : "8f2fbd1e-4465-4475-b3e1-eea80b451293", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"eYIUc8dIVt09iAfummK1NbHFOMz\"", + "ETag" : "\"AH5oORTrbSg3ORgaNpGn1eDk8o4\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNjg=;sn=471268", - "x-ms-request-id" : "ef709372-e8cf-4dfb-889b-98d92f28f047", - "Body" : "{\"etag\":\"eYIUc8dIVt09iAfummK1NbHFOMz\",\"key\":\"key13531-fetch-1\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "61472d00-0ea3-4086-917c-3a9a58223713", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyODg=;sn=569288", + "x-ms-request-id" : "8f2fbd1e-4465-4475-b3e1-eea80b451293", + "Body" : "{\"etag\":\"AH5oORTrbSg3ORgaNpGn1eDk8o4\",\"key\":\"key79958-2\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"}", + "x-ms-client-request-id" : "31c188a5-24e5-41a5-9492-727c021bfa9d", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key13531-fetch-5?label=my-second-mylabel", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key79958-fetch-3?label=my-first-mylabel&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f30814d4-5187-4a53-bf1c-4ff2db3cbc37", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "86a001e0-5f9a-4b59-8fd2-6340d8335cae", "Content-Type" : "application/json" }, "Response" : { @@ -106,29 +106,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:52 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:51 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "74061df6-6734-4185-a406-5b561ba96fd6", + "x-ms-correlation-request-id" : "a03789d6-263e-46fe-9af4-2a4ddae0ca7e", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"F2BA5nwMUSXlLkyUCXhTxRv9Zju\"", + "ETag" : "\"VBgXCEJHTjqyV2Xazh7PEHSumc1\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNjk=;sn=471269", - "x-ms-request-id" : "74061df6-6734-4185-a406-5b561ba96fd6", - "Body" : "{\"etag\":\"F2BA5nwMUSXlLkyUCXhTxRv9Zju\",\"key\":\"key13531-fetch-5\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "f30814d4-5187-4a53-bf1c-4ff2db3cbc37", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyODk=;sn=569289", + "x-ms-request-id" : "a03789d6-263e-46fe-9af4-2a4ddae0ca7e", + "Body" : "{\"etag\":\"VBgXCEJHTjqyV2Xazh7PEHSumc1\",\"key\":\"key79958-fetch-3\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"}", + "x-ms-client-request-id" : "86a001e0-5f9a-4b59-8fd2-6340d8335cae", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key13531-fetch-3?label=my-first-mylabel", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key79958-4?label=my-second-mylabel&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8dccbefc-d6f6-4f30-8c88-09687e2c35fb", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a1b2e50a-937b-410d-b796-9e7efb7d2560", "Content-Type" : "application/json" }, "Response" : { @@ -137,29 +137,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:52 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:51 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "2ad40330-98a2-4ac8-90ab-3a808b3162a2", + "x-ms-correlation-request-id" : "fda6b78c-f8ae-4c2c-a6a4-70bec9c658d4", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"PZowgcgewp4hw7k7yYyX8NvcZWt\"", + "ETag" : "\"Nu2HUxk1o61HhwVkjD7zpu4I4QO\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNzA=;sn=471270", - "x-ms-request-id" : "2ad40330-98a2-4ac8-90ab-3a808b3162a2", - "Body" : "{\"etag\":\"PZowgcgewp4hw7k7yYyX8NvcZWt\",\"key\":\"key13531-fetch-3\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "8dccbefc-d6f6-4f30-8c88-09687e2c35fb", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyOTA=;sn=569290", + "x-ms-request-id" : "fda6b78c-f8ae-4c2c-a6a4-70bec9c658d4", + "Body" : "{\"etag\":\"Nu2HUxk1o61HhwVkjD7zpu4I4QO\",\"key\":\"key79958-4\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"}", + "x-ms-client-request-id" : "a1b2e50a-937b-410d-b796-9e7efb7d2560", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key13531-6?label=my-second-mylabel", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key79958-fetch-5?label=my-second-mylabel&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "492d9f11-a9a4-4abb-bc47-b005ffbc4a4f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "59826090-558e-4d6f-98cd-20d1f5a6f4fc", "Content-Type" : "application/json" }, "Response" : { @@ -168,29 +168,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:52 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:51 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "82f2658e-7540-4137-8e00-233434602803", + "x-ms-correlation-request-id" : "5a0c8196-3b2f-4af1-97f5-7d10b6d017b0", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"uYBPxGnPcKZlVOeP3yM0A0lTkTg\"", + "ETag" : "\"QG5sRY482J5kkWDKsWCwR7HKznw\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNzE=;sn=471271", - "x-ms-request-id" : "82f2658e-7540-4137-8e00-233434602803", - "Body" : "{\"etag\":\"uYBPxGnPcKZlVOeP3yM0A0lTkTg\",\"key\":\"key13531-6\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "492d9f11-a9a4-4abb-bc47-b005ffbc4a4f", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyOTE=;sn=569291", + "x-ms-request-id" : "5a0c8196-3b2f-4af1-97f5-7d10b6d017b0", + "Body" : "{\"etag\":\"QG5sRY482J5kkWDKsWCwR7HKznw\",\"key\":\"key79958-fetch-5\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"}", + "x-ms-client-request-id" : "59826090-558e-4d6f-98cd-20d1f5a6f4fc", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key13531-fetch-7?label=my-second-mylabel", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key79958-6?label=my-second-mylabel&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "53a3a99e-0286-4cd7-947a-ec4d26659968", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6b92b0c0-0646-4d01-b8cb-efb8fe26b3d9", "Content-Type" : "application/json" }, "Response" : { @@ -199,29 +199,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:52 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:51 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "2a8a4fab-068f-4319-b4ed-f40727b3c5e3", + "x-ms-correlation-request-id" : "cc6b069d-c99d-49c6-9b99-2f1b8e9dcf4e", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"A3vTE1njzjSvIRu2XFydDCaZZOW\"", + "ETag" : "\"kLuOLIZUVh11rpQkxluXWNxdtMy\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNzM=;sn=471273", - "x-ms-request-id" : "2a8a4fab-068f-4319-b4ed-f40727b3c5e3", - "Body" : "{\"etag\":\"A3vTE1njzjSvIRu2XFydDCaZZOW\",\"key\":\"key13531-fetch-7\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "53a3a99e-0286-4cd7-947a-ec4d26659968", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyOTI=;sn=569292", + "x-ms-request-id" : "cc6b069d-c99d-49c6-9b99-2f1b8e9dcf4e", + "Body" : "{\"etag\":\"kLuOLIZUVh11rpQkxluXWNxdtMy\",\"key\":\"key79958-6\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"}", + "x-ms-client-request-id" : "6b92b0c0-0646-4d01-b8cb-efb8fe26b3d9", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key13531-4?label=my-second-mylabel", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key79958-fetch-7?label=my-second-mylabel&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c8c00d98-2f7b-4b21-9d00-9d234c86b1ff", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8e754627-1313-4025-b095-577a62836d8d", "Content-Type" : "application/json" }, "Response" : { @@ -230,29 +230,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:52 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:52 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "34839f26-0bdc-454d-a637-613e10ac1214", + "x-ms-correlation-request-id" : "740d17b7-c48a-40b3-8cc6-071f406bfe8e", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"iY34DRMTMuyxx0Vfl4BHxH3fjaT\"", + "ETag" : "\"EmcmcO1G5vbhjTPklKdaDrpUlAs\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNzI=;sn=471272", - "x-ms-request-id" : "34839f26-0bdc-454d-a637-613e10ac1214", - "Body" : "{\"etag\":\"iY34DRMTMuyxx0Vfl4BHxH3fjaT\",\"key\":\"key13531-4\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "c8c00d98-2f7b-4b21-9d00-9d234c86b1ff", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyOTM=;sn=569293", + "x-ms-request-id" : "740d17b7-c48a-40b3-8cc6-071f406bfe8e", + "Body" : "{\"etag\":\"EmcmcO1G5vbhjTPklKdaDrpUlAs\",\"key\":\"key79958-fetch-7\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"}", + "x-ms-client-request-id" : "8e754627-1313-4025-b095-577a62836d8d", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key13531-fetch-%2a&label=%2a-second%2a&$select=key%2cetag%2ccontent_type%2ctags", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key79958-fetch-%2a&label=%2a-second%2a&api-version=1.0&$select=key%2cetag%2ccontent_type%2ctags", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2ebd9026-7306-4593-bcfa-bf7e253fd1b3", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "48655b49-8ffc-4027-b24d-99032219808b", "Content-Type" : "application/json" }, "Response" : { @@ -263,25 +263,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:52 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ff84731c-c5f0-4f3e-a35a-a55c5394388b", + "x-ms-correlation-request-id" : "19773c8b-080e-43bf-b015-3b54c43f8873", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNzM=;sn=471273", - "x-ms-request-id" : "ff84731c-c5f0-4f3e-a35a-a55c5394388b", - "Body" : "{\"items\":[{\"etag\":\"F2BA5nwMUSXlLkyUCXhTxRv9Zju\",\"key\":\"key13531-fetch-5\",\"content_type\":null,\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"}},{\"etag\":\"A3vTE1njzjSvIRu2XFydDCaZZOW\",\"key\":\"key13531-fetch-7\",\"content_type\":null,\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"}}]}", - "x-ms-client-request-id" : "2ebd9026-7306-4593-bcfa-bf7e253fd1b3", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyOTM=;sn=569293", + "x-ms-request-id" : "19773c8b-080e-43bf-b015-3b54c43f8873", + "Body" : "{\"items\":[{\"etag\":\"QG5sRY482J5kkWDKsWCwR7HKznw\",\"key\":\"key79958-fetch-5\",\"content_type\":null,\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"}},{\"etag\":\"EmcmcO1G5vbhjTPklKdaDrpUlAs\",\"key\":\"key79958-fetch-7\",\"content_type\":null,\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"}}]}", + "x-ms-client-request-id" : "48655b49-8ffc-4027-b24d-99032219808b", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key13531%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key79958%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1e352ebc-ecc7-41b8-9bd4-cdf48a1666b9", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5ad2a40f-e738-45c9-a052-359147518337", "Content-Type" : "application/json" }, "Response" : { @@ -292,25 +292,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:52 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "0c3fd106-e63f-457b-83a4-9d39fdf0de35", + "x-ms-correlation-request-id" : "5084b880-c388-4405-8b58-52d3d4c4670f", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNzM=;sn=471273", - "x-ms-request-id" : "0c3fd106-e63f-457b-83a4-9d39fdf0de35", - "Body" : "{\"items\":[{\"etag\":\"oCWKxGkf0JR3W3EsjvWkhltx3sN\",\"key\":\"key13531-0\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"O3bmvfLs7zBDoDIRWv3l3ZL8866\",\"key\":\"key13531-2\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"iY34DRMTMuyxx0Vfl4BHxH3fjaT\",\"key\":\"key13531-4\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"uYBPxGnPcKZlVOeP3yM0A0lTkTg\",\"key\":\"key13531-6\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"eYIUc8dIVt09iAfummK1NbHFOMz\",\"key\":\"key13531-fetch-1\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"PZowgcgewp4hw7k7yYyX8NvcZWt\",\"key\":\"key13531-fetch-3\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"F2BA5nwMUSXlLkyUCXhTxRv9Zju\",\"key\":\"key13531-fetch-5\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"A3vTE1njzjSvIRu2XFydDCaZZOW\",\"key\":\"key13531-fetch-7\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}]}", - "x-ms-client-request-id" : "1e352ebc-ecc7-41b8-9bd4-cdf48a1666b9", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyOTM=;sn=569293", + "x-ms-request-id" : "5084b880-c388-4405-8b58-52d3d4c4670f", + "Body" : "{\"items\":[{\"etag\":\"0yaElm0WHGZVuYPWxsxpUU3p4D9\",\"key\":\"key79958-0\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"},{\"etag\":\"AH5oORTrbSg3ORgaNpGn1eDk8o4\",\"key\":\"key79958-2\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"},{\"etag\":\"Nu2HUxk1o61HhwVkjD7zpu4I4QO\",\"key\":\"key79958-4\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"},{\"etag\":\"kLuOLIZUVh11rpQkxluXWNxdtMy\",\"key\":\"key79958-6\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"},{\"etag\":\"itr8peHptzXRqlX7s4GCRVGaglq\",\"key\":\"key79958-fetch-1\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"},{\"etag\":\"VBgXCEJHTjqyV2Xazh7PEHSumc1\",\"key\":\"key79958-fetch-3\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"},{\"etag\":\"QG5sRY482J5kkWDKsWCwR7HKznw\",\"key\":\"key79958-fetch-5\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"},{\"etag\":\"EmcmcO1G5vbhjTPklKdaDrpUlAs\",\"key\":\"key79958-fetch-7\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"}]}", + "x-ms-client-request-id" : "5ad2a40f-e738-45c9-a052-359147518337", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key13531-0?label=my-first-mylabel", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key79958-0?label=my-first-mylabel&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8c9d5a5f-42fd-4208-b9d0-8e2265e07d40", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0352c198-4bd4-4fc0-a17b-ff1cdc9f6d38", "Content-Type" : "application/json" }, "Response" : { @@ -319,29 +319,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:52 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:52 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "04512a2b-7207-4570-bc22-5d450f230b01", + "x-ms-correlation-request-id" : "ebfef847-4d08-433b-9b61-e9fc3ba21729", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"oCWKxGkf0JR3W3EsjvWkhltx3sN\"", + "ETag" : "\"0yaElm0WHGZVuYPWxsxpUU3p4D9\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNzQ=;sn=471274", - "x-ms-request-id" : "04512a2b-7207-4570-bc22-5d450f230b01", - "Body" : "{\"etag\":\"oCWKxGkf0JR3W3EsjvWkhltx3sN\",\"key\":\"key13531-0\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "8c9d5a5f-42fd-4208-b9d0-8e2265e07d40", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyOTQ=;sn=569294", + "x-ms-request-id" : "ebfef847-4d08-433b-9b61-e9fc3ba21729", + "Body" : "{\"etag\":\"0yaElm0WHGZVuYPWxsxpUU3p4D9\",\"key\":\"key79958-0\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"}", + "x-ms-client-request-id" : "0352c198-4bd4-4fc0-a17b-ff1cdc9f6d38", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key13531-2?label=my-first-mylabel", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key79958-2?label=my-first-mylabel&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d307d666-f01d-4e24-86a7-1ddae61dd8b6", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "aced8b60-6533-4b58-9040-d4b08af6afff", "Content-Type" : "application/json" }, "Response" : { @@ -350,29 +350,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:52 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:52 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "2bb0c0e0-6bad-4ec3-8dc4-5fc783f4eef7", + "x-ms-correlation-request-id" : "426708a8-839f-4616-9274-6dad5feeadbe", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"O3bmvfLs7zBDoDIRWv3l3ZL8866\"", + "ETag" : "\"AH5oORTrbSg3ORgaNpGn1eDk8o4\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNzU=;sn=471275", - "x-ms-request-id" : "2bb0c0e0-6bad-4ec3-8dc4-5fc783f4eef7", - "Body" : "{\"etag\":\"O3bmvfLs7zBDoDIRWv3l3ZL8866\",\"key\":\"key13531-2\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "d307d666-f01d-4e24-86a7-1ddae61dd8b6", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyOTU=;sn=569295", + "x-ms-request-id" : "426708a8-839f-4616-9274-6dad5feeadbe", + "Body" : "{\"etag\":\"AH5oORTrbSg3ORgaNpGn1eDk8o4\",\"key\":\"key79958-2\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"}", + "x-ms-client-request-id" : "aced8b60-6533-4b58-9040-d4b08af6afff", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key13531-fetch-1?label=my-first-mylabel", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key79958-4?label=my-second-mylabel&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "027a0de0-04a8-4b65-a46c-f547be033f1f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1ce3ea26-dcee-4b92-b0ef-b7617991ffb1", "Content-Type" : "application/json" }, "Response" : { @@ -381,29 +381,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:52 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:52 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "b7a1014f-29fc-419a-8bc0-e2e5c66dcd6b", + "x-ms-correlation-request-id" : "da037981-4f63-48a4-a8ed-0c0b5dc61272", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"eYIUc8dIVt09iAfummK1NbHFOMz\"", + "ETag" : "\"Nu2HUxk1o61HhwVkjD7zpu4I4QO\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNzY=;sn=471276", - "x-ms-request-id" : "b7a1014f-29fc-419a-8bc0-e2e5c66dcd6b", - "Body" : "{\"etag\":\"eYIUc8dIVt09iAfummK1NbHFOMz\",\"key\":\"key13531-fetch-1\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "027a0de0-04a8-4b65-a46c-f547be033f1f", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyOTY=;sn=569296", + "x-ms-request-id" : "da037981-4f63-48a4-a8ed-0c0b5dc61272", + "Body" : "{\"etag\":\"Nu2HUxk1o61HhwVkjD7zpu4I4QO\",\"key\":\"key79958-4\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"}", + "x-ms-client-request-id" : "1ce3ea26-dcee-4b92-b0ef-b7617991ffb1", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key13531-4?label=my-second-mylabel", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key79958-6?label=my-second-mylabel&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0c30e729-1e46-44c5-8138-6de7de2452d0", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d7cf3852-ebbd-4f5d-a8c3-cb63d53c4f34", "Content-Type" : "application/json" }, "Response" : { @@ -412,29 +412,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:52 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:52 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "f5a1fde1-a6e9-497b-a7fd-82433eedf7d4", + "x-ms-correlation-request-id" : "2bbc4593-c202-4c93-a7d2-a1d49f956476", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"iY34DRMTMuyxx0Vfl4BHxH3fjaT\"", + "ETag" : "\"kLuOLIZUVh11rpQkxluXWNxdtMy\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNzc=;sn=471277", - "x-ms-request-id" : "f5a1fde1-a6e9-497b-a7fd-82433eedf7d4", - "Body" : "{\"etag\":\"iY34DRMTMuyxx0Vfl4BHxH3fjaT\",\"key\":\"key13531-4\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "0c30e729-1e46-44c5-8138-6de7de2452d0", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyOTc=;sn=569297", + "x-ms-request-id" : "2bbc4593-c202-4c93-a7d2-a1d49f956476", + "Body" : "{\"etag\":\"kLuOLIZUVh11rpQkxluXWNxdtMy\",\"key\":\"key79958-6\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"}", + "x-ms-client-request-id" : "d7cf3852-ebbd-4f5d-a8c3-cb63d53c4f34", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key13531-6?label=my-second-mylabel", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key79958-fetch-1?label=my-first-mylabel&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1f99211b-cdf9-44e2-b129-7a1ee3a70959", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "60b3156f-b03a-41f8-b265-b6525b65c2ee", "Content-Type" : "application/json" }, "Response" : { @@ -443,29 +443,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:52 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:52 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "af35db33-70b4-47f0-b2dd-8ee2826db4a1", + "x-ms-correlation-request-id" : "3fc02574-360f-4805-a898-76914061305a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"uYBPxGnPcKZlVOeP3yM0A0lTkTg\"", + "ETag" : "\"itr8peHptzXRqlX7s4GCRVGaglq\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNzg=;sn=471278", - "x-ms-request-id" : "af35db33-70b4-47f0-b2dd-8ee2826db4a1", - "Body" : "{\"etag\":\"uYBPxGnPcKZlVOeP3yM0A0lTkTg\",\"key\":\"key13531-6\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "1f99211b-cdf9-44e2-b129-7a1ee3a70959", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyOTg=;sn=569298", + "x-ms-request-id" : "3fc02574-360f-4805-a898-76914061305a", + "Body" : "{\"etag\":\"itr8peHptzXRqlX7s4GCRVGaglq\",\"key\":\"key79958-fetch-1\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"}", + "x-ms-client-request-id" : "60b3156f-b03a-41f8-b265-b6525b65c2ee", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key13531-fetch-3?label=my-first-mylabel", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key79958-fetch-3?label=my-first-mylabel&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f96844c0-7238-4255-9d82-64b287e7faee", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8fc53cfb-a260-4604-876b-5c9431cff1ac", "Content-Type" : "application/json" }, "Response" : { @@ -474,29 +474,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:52 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:52 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "23f41135-66bf-44b6-9e62-3727a4d9908b", + "x-ms-correlation-request-id" : "327fe85d-88a1-433d-9666-f031368d245d", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"PZowgcgewp4hw7k7yYyX8NvcZWt\"", + "ETag" : "\"VBgXCEJHTjqyV2Xazh7PEHSumc1\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNzk=;sn=471279", - "x-ms-request-id" : "23f41135-66bf-44b6-9e62-3727a4d9908b", - "Body" : "{\"etag\":\"PZowgcgewp4hw7k7yYyX8NvcZWt\",\"key\":\"key13531-fetch-3\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "f96844c0-7238-4255-9d82-64b287e7faee", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyOTk=;sn=569299", + "x-ms-request-id" : "327fe85d-88a1-433d-9666-f031368d245d", + "Body" : "{\"etag\":\"VBgXCEJHTjqyV2Xazh7PEHSumc1\",\"key\":\"key79958-fetch-3\",\"label\":\"my-first-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"}", + "x-ms-client-request-id" : "8fc53cfb-a260-4604-876b-5c9431cff1ac", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key13531-fetch-5?label=my-second-mylabel", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key79958-fetch-5?label=my-second-mylabel&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "67e95bdd-05e0-488b-babb-2e5b2de64906", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "64195ceb-2263-409f-ae5e-4580c219d86c", "Content-Type" : "application/json" }, "Response" : { @@ -505,29 +505,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:52 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:52 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "e1e6aeb9-3908-4123-b41e-86537a8f43ef", + "x-ms-correlation-request-id" : "cb5b2b4c-c74a-4917-90a2-1ffaa66d1b84", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"F2BA5nwMUSXlLkyUCXhTxRv9Zju\"", + "ETag" : "\"QG5sRY482J5kkWDKsWCwR7HKznw\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyODA=;sn=471280", - "x-ms-request-id" : "e1e6aeb9-3908-4123-b41e-86537a8f43ef", - "Body" : "{\"etag\":\"F2BA5nwMUSXlLkyUCXhTxRv9Zju\",\"key\":\"key13531-fetch-5\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "67e95bdd-05e0-488b-babb-2e5b2de64906", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMDA=;sn=569300", + "x-ms-request-id" : "cb5b2b4c-c74a-4917-90a2-1ffaa66d1b84", + "Body" : "{\"etag\":\"QG5sRY482J5kkWDKsWCwR7HKznw\",\"key\":\"key79958-fetch-5\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"}", + "x-ms-client-request-id" : "64195ceb-2263-409f-ae5e-4580c219d86c", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key13531-fetch-7?label=my-second-mylabel", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key79958-fetch-7?label=my-second-mylabel&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e78ba25a-3f5b-4fcb-9975-436a8b727c13", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c4804884-a6b5-4339-b8fe-803cf3180627", "Content-Type" : "application/json" }, "Response" : { @@ -536,23 +536,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:52 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:52 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "edaa0ccf-2e41-4945-a83a-6831e12f05ef", + "x-ms-correlation-request-id" : "1d72361a-53a3-4191-a2bf-87d3407d2cc4", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"A3vTE1njzjSvIRu2XFydDCaZZOW\"", + "ETag" : "\"EmcmcO1G5vbhjTPklKdaDrpUlAs\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyODE=;sn=471281", - "x-ms-request-id" : "edaa0ccf-2e41-4945-a83a-6831e12f05ef", - "Body" : "{\"etag\":\"A3vTE1njzjSvIRu2XFydDCaZZOW\",\"key\":\"key13531-fetch-7\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "e78ba25a-3f5b-4fcb-9975-436a8b727c13", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMDE=;sn=569301", + "x-ms-request-id" : "1d72361a-53a3-4191-a2bf-87d3407d2cc4", + "Body" : "{\"etag\":\"EmcmcO1G5vbhjTPklKdaDrpUlAs\",\"key\":\"key79958-fetch-7\",\"label\":\"my-second-mylabel\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{\"tag1\":\"value1\",\"tag2\":\"value2\"},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:52+00:00\"}", + "x-ms-client-request-id" : "c4804884-a6b5-4339-b8fe-803cf3180627", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key13531", "eaacd144" ] + "variables" : [ "key79958", "a28cd088" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listConfigurationSettingsWithPagination.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listConfigurationSettingsWithPagination.json index ed54e59044b0..d795f89a7f22 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listConfigurationSettingsWithPagination.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listConfigurationSettingsWithPagination.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-1?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-0?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "99dcdc4a-2e8f-4d95-9291-783af3c4a78a", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "98a378f2-e017-4abe-b980-d9c77447708b", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:10 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "072cc1d9-9c45-40e5-8de2-d09f5e26e6d1", + "x-ms-correlation-request-id" : "0c0d9c3a-88d9-4992-a1ef-e943b0743338", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"OAIwMudAddzOw88s1V0tN1fAzPn\"", + "ETag" : "\"57l6maN8UFOC66g2HY2bikkwN15\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NDE=;sn=471441", - "x-ms-request-id" : "072cc1d9-9c45-40e5-8de2-d09f5e26e6d1", - "Body" : "{\"etag\":\"OAIwMudAddzOw88s1V0tN1fAzPn\",\"key\":\"key43243-1\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "99dcdc4a-2e8f-4d95-9291-783af3c4a78a", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NTU=;sn=569455", + "x-ms-request-id" : "0c0d9c3a-88d9-4992-a1ef-e943b0743338", + "Body" : "{\"etag\":\"57l6maN8UFOC66g2HY2bikkwN15\",\"key\":\"key05071-0\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "98a378f2-e017-4abe-b980-d9c77447708b", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-0?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-1?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "eadc57b4-c110-4898-85a8-e9f436ba18f4", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ffa4a358-d8c6-4354-8545-81c0b0961678", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:10 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "4704efca-d395-4b68-b8da-cdb9666ea5ce", + "x-ms-correlation-request-id" : "de2c279c-b8fb-4359-a317-a4d529c497d3", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"5swGKZKDeA78yTktVXxAKlRptZx\"", + "ETag" : "\"El4AUlldnujXwUh04jI6n3xZyKk\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NDI=;sn=471442", - "x-ms-request-id" : "4704efca-d395-4b68-b8da-cdb9666ea5ce", - "Body" : "{\"etag\":\"5swGKZKDeA78yTktVXxAKlRptZx\",\"key\":\"key43243-0\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "eadc57b4-c110-4898-85a8-e9f436ba18f4", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NTY=;sn=569456", + "x-ms-request-id" : "de2c279c-b8fb-4359-a317-a4d529c497d3", + "Body" : "{\"etag\":\"El4AUlldnujXwUh04jI6n3xZyKk\",\"key\":\"key05071-1\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "ffa4a358-d8c6-4354-8545-81c0b0961678", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-4?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-2?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "623d54ac-6d23-4db7-9366-b85813b5a4cc", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "89d6a9ca-8bae-466c-91c1-625b25bc4e8b", "Content-Type" : "application/json" }, "Response" : { @@ -75,29 +75,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:10 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ca39d450-b173-4b8c-93e1-5249afaf844a", + "x-ms-correlation-request-id" : "bebe8beb-84da-4594-a928-02a40ba701c3", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"8z06KhOVqH3UL1wLExNNYeJCz62\"", + "ETag" : "\"sqXCo7SYp0g1drZ6wY6xfWGfQnK\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NDM=;sn=471443", - "x-ms-request-id" : "ca39d450-b173-4b8c-93e1-5249afaf844a", - "Body" : "{\"etag\":\"8z06KhOVqH3UL1wLExNNYeJCz62\",\"key\":\"key43243-4\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "623d54ac-6d23-4db7-9366-b85813b5a4cc", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NTc=;sn=569457", + "x-ms-request-id" : "bebe8beb-84da-4594-a928-02a40ba701c3", + "Body" : "{\"etag\":\"sqXCo7SYp0g1drZ6wY6xfWGfQnK\",\"key\":\"key05071-2\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "89d6a9ca-8bae-466c-91c1-625b25bc4e8b", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-2?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-3?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "18c6141d-e983-4e5a-b6f2-6765e27da19d", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "877a66fe-6e6b-4e91-8682-bee291e22140", "Content-Type" : "application/json" }, "Response" : { @@ -106,29 +106,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:10 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "135cfb5d-39ad-4387-bbf9-66499b30ea65", + "x-ms-correlation-request-id" : "37dfcf89-2bad-4eaf-a44d-6601d4b3375f", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"4KXwAByxbOOb5VD51ukJWnns2qA\"", + "ETag" : "\"FQBK6KRCnGig6ATDE8bYIGopsSs\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NDQ=;sn=471444", - "x-ms-request-id" : "135cfb5d-39ad-4387-bbf9-66499b30ea65", - "Body" : "{\"etag\":\"4KXwAByxbOOb5VD51ukJWnns2qA\",\"key\":\"key43243-2\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "18c6141d-e983-4e5a-b6f2-6765e27da19d", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NTg=;sn=569458", + "x-ms-request-id" : "37dfcf89-2bad-4eaf-a44d-6601d4b3375f", + "Body" : "{\"etag\":\"FQBK6KRCnGig6ATDE8bYIGopsSs\",\"key\":\"key05071-3\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "877a66fe-6e6b-4e91-8682-bee291e22140", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-8?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-4?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6174f4e9-22ef-4312-99ae-ac762617b622", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bc2b3bb9-6d87-4534-bf1c-ecf3a145af20", "Content-Type" : "application/json" }, "Response" : { @@ -137,29 +137,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:10 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "a1f35144-6270-43e0-88d6-052519a2cf4d", + "x-ms-correlation-request-id" : "c829f9b8-1369-4b7f-940e-f40f2471c3f2", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"j81s2dcJzYr81sSesBb3Hfpxgcq\"", + "ETag" : "\"nstPEC20KUG8PkaaLARmudpErhd\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NDU=;sn=471445", - "x-ms-request-id" : "a1f35144-6270-43e0-88d6-052519a2cf4d", - "Body" : "{\"etag\":\"j81s2dcJzYr81sSesBb3Hfpxgcq\",\"key\":\"key43243-8\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "6174f4e9-22ef-4312-99ae-ac762617b622", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NTk=;sn=569459", + "x-ms-request-id" : "c829f9b8-1369-4b7f-940e-f40f2471c3f2", + "Body" : "{\"etag\":\"nstPEC20KUG8PkaaLARmudpErhd\",\"key\":\"key05071-4\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "bc2b3bb9-6d87-4534-bf1c-ecf3a145af20", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-5?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-5?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2b80e99b-9d0d-4c35-8e3b-54fa528f88d8", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c6a098b4-76fc-4e7c-ba84-a0197d7d903d", "Content-Type" : "application/json" }, "Response" : { @@ -168,29 +168,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:10 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "403aca66-6293-4b88-9689-5836748a49fc", + "x-ms-correlation-request-id" : "af6ff028-1265-444d-b0da-e78f453ed727", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"bw479gATs9lD3dVo6uOUBpm45Ig\"", + "ETag" : "\"pOJ6lQvjJck2WA4EAsaiaxGwmal\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NDY=;sn=471446", - "x-ms-request-id" : "403aca66-6293-4b88-9689-5836748a49fc", - "Body" : "{\"etag\":\"bw479gATs9lD3dVo6uOUBpm45Ig\",\"key\":\"key43243-5\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "2b80e99b-9d0d-4c35-8e3b-54fa528f88d8", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NjA=;sn=569460", + "x-ms-request-id" : "af6ff028-1265-444d-b0da-e78f453ed727", + "Body" : "{\"etag\":\"pOJ6lQvjJck2WA4EAsaiaxGwmal\",\"key\":\"key05071-5\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "c6a098b4-76fc-4e7c-ba84-a0197d7d903d", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-3?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-6?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "eaccd7a2-9276-41f2-8a12-8ed1cc254c41", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "22943a95-c519-4d90-a11b-d8bf5c23b7a9", "Content-Type" : "application/json" }, "Response" : { @@ -199,29 +199,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:10 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "fce89dc3-2509-4bcb-9af5-632f7c2b1489", + "x-ms-correlation-request-id" : "37960db4-2933-4a10-800f-07ca0f80396f", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"JM4UMDoKny4wlfDqjDa8PgytCRo\"", + "ETag" : "\"rhc3FmcczheghbsidJu8fR1987A\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NDc=;sn=471447", - "x-ms-request-id" : "fce89dc3-2509-4bcb-9af5-632f7c2b1489", - "Body" : "{\"etag\":\"JM4UMDoKny4wlfDqjDa8PgytCRo\",\"key\":\"key43243-3\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "eaccd7a2-9276-41f2-8a12-8ed1cc254c41", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NjE=;sn=569461", + "x-ms-request-id" : "37960db4-2933-4a10-800f-07ca0f80396f", + "Body" : "{\"etag\":\"rhc3FmcczheghbsidJu8fR1987A\",\"key\":\"key05071-6\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "22943a95-c519-4d90-a11b-d8bf5c23b7a9", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-9?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-7?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b4613905-e6af-4597-9d00-80f51f95b2fc", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "930f0a42-4959-42ff-9079-a1eedb2a8f0b", "Content-Type" : "application/json" }, "Response" : { @@ -230,29 +230,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:11 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "542df2bc-a139-4087-8776-cdcba3740f9f", + "x-ms-correlation-request-id" : "9616a39e-775f-4db9-b66e-2ff9a2177a6e", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"J9EWCOxPDZ3v9GUzNVqmjy5QA6F\"", + "ETag" : "\"Y2xTS8gIlW6khobX9fy5Q54XpjN\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NDg=;sn=471448", - "x-ms-request-id" : "542df2bc-a139-4087-8776-cdcba3740f9f", - "Body" : "{\"etag\":\"J9EWCOxPDZ3v9GUzNVqmjy5QA6F\",\"key\":\"key43243-9\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "b4613905-e6af-4597-9d00-80f51f95b2fc", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NjI=;sn=569462", + "x-ms-request-id" : "9616a39e-775f-4db9-b66e-2ff9a2177a6e", + "Body" : "{\"etag\":\"Y2xTS8gIlW6khobX9fy5Q54XpjN\",\"key\":\"key05071-7\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "930f0a42-4959-42ff-9079-a1eedb2a8f0b", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-11?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-8?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ffc4dcfb-65ec-4a1b-8be1-13fb3e1f4c18", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cf6884ad-684a-4c11-a50e-1bc075eb60c3", "Content-Type" : "application/json" }, "Response" : { @@ -261,29 +261,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:11 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "492a0d57-00d4-4a72-8c80-bb39864bbef7", + "x-ms-correlation-request-id" : "5fb7876b-e380-48bf-bddb-93c2c0dc85ba", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"6EsiBsk49pGbWjy7oA1JZTwGgv8\"", + "ETag" : "\"wAVsB8jr8tyDJ7jHKHFjwi0Ip19\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NDk=;sn=471449", - "x-ms-request-id" : "492a0d57-00d4-4a72-8c80-bb39864bbef7", - "Body" : "{\"etag\":\"6EsiBsk49pGbWjy7oA1JZTwGgv8\",\"key\":\"key43243-11\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "ffc4dcfb-65ec-4a1b-8be1-13fb3e1f4c18", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NjM=;sn=569463", + "x-ms-request-id" : "5fb7876b-e380-48bf-bddb-93c2c0dc85ba", + "Body" : "{\"etag\":\"wAVsB8jr8tyDJ7jHKHFjwi0Ip19\",\"key\":\"key05071-8\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "cf6884ad-684a-4c11-a50e-1bc075eb60c3", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-6?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-9?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ef261fe5-2b46-4505-b605-54a952ae8653", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d73a5d0e-e16f-450e-9c3a-96b13939aed2", "Content-Type" : "application/json" }, "Response" : { @@ -292,29 +292,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:11 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "20b11408-9449-47e3-b0ac-902a3c4debd3", + "x-ms-correlation-request-id" : "cd74be9a-92a4-4bd9-9727-e56614865c4a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"FbqGyuSBtPeXtyQpz8y10rs0Yar\"", + "ETag" : "\"bEqMH3RllqT0qTTMMwHNHggLzSu\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NTA=;sn=471450", - "x-ms-request-id" : "20b11408-9449-47e3-b0ac-902a3c4debd3", - "Body" : "{\"etag\":\"FbqGyuSBtPeXtyQpz8y10rs0Yar\",\"key\":\"key43243-6\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "ef261fe5-2b46-4505-b605-54a952ae8653", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NjQ=;sn=569464", + "x-ms-request-id" : "cd74be9a-92a4-4bd9-9727-e56614865c4a", + "Body" : "{\"etag\":\"bEqMH3RllqT0qTTMMwHNHggLzSu\",\"key\":\"key05071-9\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "d73a5d0e-e16f-450e-9c3a-96b13939aed2", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-10?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-10?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b972fccc-189d-4229-a71f-a13d8947ca2c", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ba95a001-b039-48ce-8c46-6333adaaeb8a", "Content-Type" : "application/json" }, "Response" : { @@ -323,29 +323,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:11 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "76936964-e515-493b-a8d1-7ce1a2a36d15", + "x-ms-correlation-request-id" : "5fe57106-25eb-4b4d-801a-794b1e22c911", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"PkwJDxZLQpf9jLmBTl8Yy6qMhhP\"", + "ETag" : "\"ap23LHLY4DKRraDWq0YYdLEJbqQ\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NTE=;sn=471451", - "x-ms-request-id" : "76936964-e515-493b-a8d1-7ce1a2a36d15", - "Body" : "{\"etag\":\"PkwJDxZLQpf9jLmBTl8Yy6qMhhP\",\"key\":\"key43243-10\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "b972fccc-189d-4229-a71f-a13d8947ca2c", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NjU=;sn=569465", + "x-ms-request-id" : "5fe57106-25eb-4b4d-801a-794b1e22c911", + "Body" : "{\"etag\":\"ap23LHLY4DKRraDWq0YYdLEJbqQ\",\"key\":\"key05071-10\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "ba95a001-b039-48ce-8c46-6333adaaeb8a", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-12?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-11?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3d011c56-4839-457e-878b-b4e69a433de1", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c0cf09c8-7920-47bd-9c6e-eb65e3bba5f5", "Content-Type" : "application/json" }, "Response" : { @@ -354,29 +354,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:11 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "c0762e37-1a09-4345-887e-2f2bb1ceedc7", + "x-ms-correlation-request-id" : "df0f5fc1-9675-4c8d-94c6-4f9767e1b928", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"RlqQr4hWfwS5OmxsiC0kjfgNtOq\"", + "ETag" : "\"GPxbqzPQWPPuK5TrqVta9jR6cS7\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NTI=;sn=471452", - "x-ms-request-id" : "c0762e37-1a09-4345-887e-2f2bb1ceedc7", - "Body" : "{\"etag\":\"RlqQr4hWfwS5OmxsiC0kjfgNtOq\",\"key\":\"key43243-12\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "3d011c56-4839-457e-878b-b4e69a433de1", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NjY=;sn=569466", + "x-ms-request-id" : "df0f5fc1-9675-4c8d-94c6-4f9767e1b928", + "Body" : "{\"etag\":\"GPxbqzPQWPPuK5TrqVta9jR6cS7\",\"key\":\"key05071-11\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "c0cf09c8-7920-47bd-9c6e-eb65e3bba5f5", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-7?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-12?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b22dbff8-cf19-442e-81d8-0b86f37eb66f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d2f2bd8b-570a-4173-ad07-27a1d92f41aa", "Content-Type" : "application/json" }, "Response" : { @@ -385,29 +385,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:11 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "4eba115c-0b24-4b41-947a-f9fd13371b49", + "x-ms-correlation-request-id" : "d21e28dc-7466-4f73-ac1d-71e2ea91c7ae", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"hulqCuh35cyBglz5i3hTHwkgAUr\"", + "ETag" : "\"AevMWud3qr5c6vaogibxvsRqg83\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NTM=;sn=471453", - "x-ms-request-id" : "4eba115c-0b24-4b41-947a-f9fd13371b49", - "Body" : "{\"etag\":\"hulqCuh35cyBglz5i3hTHwkgAUr\",\"key\":\"key43243-7\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "b22dbff8-cf19-442e-81d8-0b86f37eb66f", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0Njc=;sn=569467", + "x-ms-request-id" : "d21e28dc-7466-4f73-ac1d-71e2ea91c7ae", + "Body" : "{\"etag\":\"AevMWud3qr5c6vaogibxvsRqg83\",\"key\":\"key05071-12\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "d2f2bd8b-570a-4173-ad07-27a1d92f41aa", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-18?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-13?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fd9d7bb5-6bb1-4c94-9f7e-aa162c20649f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "61df0f83-1738-4d40-92bb-293202b1dc2f", "Content-Type" : "application/json" }, "Response" : { @@ -416,29 +416,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:11 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "03d8ca67-5acc-4389-95d8-e97131345994", + "x-ms-correlation-request-id" : "7feab9e4-89a9-41c5-8665-6d0bbed2a9a0", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"IkctUBVr7gAT8WsQCuAe5RlseVt\"", + "ETag" : "\"h53UuBqcCuArsjA2Hi0VM8knLSW\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NTQ=;sn=471454", - "x-ms-request-id" : "03d8ca67-5acc-4389-95d8-e97131345994", - "Body" : "{\"etag\":\"IkctUBVr7gAT8WsQCuAe5RlseVt\",\"key\":\"key43243-18\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "fd9d7bb5-6bb1-4c94-9f7e-aa162c20649f", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0Njg=;sn=569468", + "x-ms-request-id" : "7feab9e4-89a9-41c5-8665-6d0bbed2a9a0", + "Body" : "{\"etag\":\"h53UuBqcCuArsjA2Hi0VM8knLSW\",\"key\":\"key05071-13\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "61df0f83-1738-4d40-92bb-293202b1dc2f", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-15?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-14?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "818d62b6-e06b-4975-8e6b-94c587d74c4b", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "11024daa-35c7-4446-8fac-579315951501", "Content-Type" : "application/json" }, "Response" : { @@ -447,29 +447,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:11 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "c13966f6-1446-4bee-ba82-b07f837fdcd2", + "x-ms-correlation-request-id" : "fea9f90c-af92-4cb7-bcdb-287232e7eaa9", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"OMshvxwiD58lZ46UQzfaKRg0Ot1\"", + "ETag" : "\"6MFrrwHOsagMH1IXVg3grzDnjSn\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NTU=;sn=471455", - "x-ms-request-id" : "c13966f6-1446-4bee-ba82-b07f837fdcd2", - "Body" : "{\"etag\":\"OMshvxwiD58lZ46UQzfaKRg0Ot1\",\"key\":\"key43243-15\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "818d62b6-e06b-4975-8e6b-94c587d74c4b", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0Njk=;sn=569469", + "x-ms-request-id" : "fea9f90c-af92-4cb7-bcdb-287232e7eaa9", + "Body" : "{\"etag\":\"6MFrrwHOsagMH1IXVg3grzDnjSn\",\"key\":\"key05071-14\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "11024daa-35c7-4446-8fac-579315951501", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-13?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-15?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ade67c41-b89e-4b4b-a86e-0b278f0eac6d", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d613a9cf-e5ce-4560-8a93-d8b6faf0d27a", "Content-Type" : "application/json" }, "Response" : { @@ -478,29 +478,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:11 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "a1c33edf-f298-47de-af81-4434bcbc2330", + "x-ms-correlation-request-id" : "8a7fd3c1-998c-41d0-b70c-b18421703dc9", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"WdBdULarZMhb5PXMo8CazXaKZ5Q\"", + "ETag" : "\"kDUImjJn05p4gSsdDQJPNaPYTwQ\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NTY=;sn=471456", - "x-ms-request-id" : "a1c33edf-f298-47de-af81-4434bcbc2330", - "Body" : "{\"etag\":\"WdBdULarZMhb5PXMo8CazXaKZ5Q\",\"key\":\"key43243-13\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "ade67c41-b89e-4b4b-a86e-0b278f0eac6d", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NzA=;sn=569470", + "x-ms-request-id" : "8a7fd3c1-998c-41d0-b70c-b18421703dc9", + "Body" : "{\"etag\":\"kDUImjJn05p4gSsdDQJPNaPYTwQ\",\"key\":\"key05071-15\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "d613a9cf-e5ce-4560-8a93-d8b6faf0d27a", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-21?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-16?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "933902ba-156c-488e-947e-251ca6f836b7", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "190e146a-f1c5-4921-a925-a362b93cf748", "Content-Type" : "application/json" }, "Response" : { @@ -509,29 +509,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:11 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "554545b9-0ec2-4720-8be1-bcff254a2a2c", + "x-ms-correlation-request-id" : "e8493278-8bf6-4044-ae48-ac2279e7a357", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"E5nYiK64Gq2qGK2TWTvwxozgeV4\"", + "ETag" : "\"Ef8hrE9wsuAalu3Z2WPdhNNOx1S\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NTc=;sn=471457", - "x-ms-request-id" : "554545b9-0ec2-4720-8be1-bcff254a2a2c", - "Body" : "{\"etag\":\"E5nYiK64Gq2qGK2TWTvwxozgeV4\",\"key\":\"key43243-21\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "933902ba-156c-488e-947e-251ca6f836b7", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NzE=;sn=569471", + "x-ms-request-id" : "e8493278-8bf6-4044-ae48-ac2279e7a357", + "Body" : "{\"etag\":\"Ef8hrE9wsuAalu3Z2WPdhNNOx1S\",\"key\":\"key05071-16\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "190e146a-f1c5-4921-a925-a362b93cf748", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-14?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-17?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a2bb84a2-a315-4b21-bf37-f614f5ac2ed6", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e43da5a2-a7e9-4e88-9ca0-e7a7d6e6d64f", "Content-Type" : "application/json" }, "Response" : { @@ -540,29 +540,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:11 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "3ccefb37-b719-480f-a5ac-f292119e5601", + "x-ms-correlation-request-id" : "d3d82d37-a729-49b2-872d-dbc9392deff4", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"JkE6GfZwjBqnomjYOxxzXb9T5Ob\"", + "ETag" : "\"S8qbEqSJS8UQ5jejbqceF3IONUm\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NTg=;sn=471458", - "x-ms-request-id" : "3ccefb37-b719-480f-a5ac-f292119e5601", - "Body" : "{\"etag\":\"JkE6GfZwjBqnomjYOxxzXb9T5Ob\",\"key\":\"key43243-14\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "a2bb84a2-a315-4b21-bf37-f614f5ac2ed6", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NzI=;sn=569472", + "x-ms-request-id" : "d3d82d37-a729-49b2-872d-dbc9392deff4", + "Body" : "{\"etag\":\"S8qbEqSJS8UQ5jejbqceF3IONUm\",\"key\":\"key05071-17\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "e43da5a2-a7e9-4e88-9ca0-e7a7d6e6d64f", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-16?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-18?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c0260671-6c2a-4f79-858d-6f68661305e4", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3126b8eb-1884-4552-9629-6a1237c8d101", "Content-Type" : "application/json" }, "Response" : { @@ -571,29 +571,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:11 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "e6c2a982-1ac1-4bba-bd42-45db9bc12c66", + "x-ms-correlation-request-id" : "3ea1f9cb-e775-4480-9eba-a02959e3c19d", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"KZ0pL9YXmQup8xfBKMkQjPE6GhY\"", + "ETag" : "\"pm0lil7rOtJhgBOKKch62czfSPO\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NTk=;sn=471459", - "x-ms-request-id" : "e6c2a982-1ac1-4bba-bd42-45db9bc12c66", - "Body" : "{\"etag\":\"KZ0pL9YXmQup8xfBKMkQjPE6GhY\",\"key\":\"key43243-16\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "c0260671-6c2a-4f79-858d-6f68661305e4", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NzM=;sn=569473", + "x-ms-request-id" : "3ea1f9cb-e775-4480-9eba-a02959e3c19d", + "Body" : "{\"etag\":\"pm0lil7rOtJhgBOKKch62czfSPO\",\"key\":\"key05071-18\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "3126b8eb-1884-4552-9629-6a1237c8d101", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-22?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-19?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "855add80-b3cf-4543-bf40-3d13875fa861", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b874c49b-ad70-4937-b5f2-1b79c4f0acc1", "Content-Type" : "application/json" }, "Response" : { @@ -602,29 +602,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:11 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "3bfd0a17-ceca-4375-af0a-b69c9a13af10", + "x-ms-correlation-request-id" : "754b95eb-0d24-49a8-a05e-176fddc4ae05", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"5WbsNdVm1dVceCp3vSDMBHbAoD3\"", + "ETag" : "\"yQTHnxhLbjMlBjR6s2eV5A3S49I\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NjA=;sn=471460", - "x-ms-request-id" : "3bfd0a17-ceca-4375-af0a-b69c9a13af10", - "Body" : "{\"etag\":\"5WbsNdVm1dVceCp3vSDMBHbAoD3\",\"key\":\"key43243-22\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "855add80-b3cf-4543-bf40-3d13875fa861", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NzQ=;sn=569474", + "x-ms-request-id" : "754b95eb-0d24-49a8-a05e-176fddc4ae05", + "Body" : "{\"etag\":\"yQTHnxhLbjMlBjR6s2eV5A3S49I\",\"key\":\"key05071-19\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "b874c49b-ad70-4937-b5f2-1b79c4f0acc1", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-19?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-20?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8c1aae98-0a77-4d81-b589-f967f96a80c0", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7566d4f3-6980-411d-a647-1725ab41a36a", "Content-Type" : "application/json" }, "Response" : { @@ -633,29 +633,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:11 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "a020137e-f252-475b-ba60-e13a719101ff", + "x-ms-correlation-request-id" : "ee7a90ff-6b5d-491d-bc73-1c3c3c74568f", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"noQL90ixq6VPmClXos2NZBMme68\"", + "ETag" : "\"L7HwlYG0QpTJBZvI0ynhOkMBJPV\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NjE=;sn=471461", - "x-ms-request-id" : "a020137e-f252-475b-ba60-e13a719101ff", - "Body" : "{\"etag\":\"noQL90ixq6VPmClXos2NZBMme68\",\"key\":\"key43243-19\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "8c1aae98-0a77-4d81-b589-f967f96a80c0", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NzU=;sn=569475", + "x-ms-request-id" : "ee7a90ff-6b5d-491d-bc73-1c3c3c74568f", + "Body" : "{\"etag\":\"L7HwlYG0QpTJBZvI0ynhOkMBJPV\",\"key\":\"key05071-20\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "7566d4f3-6980-411d-a647-1725ab41a36a", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-17?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-21?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1821dc06-1ee9-4894-af9f-a40984db12c1", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "22d428b1-e0ce-4f90-bcc4-e340af3f6616", "Content-Type" : "application/json" }, "Response" : { @@ -664,29 +664,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:11 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "2224e5de-0416-4b55-adbe-a57387f74fb9", + "x-ms-correlation-request-id" : "fcac843c-6051-4546-ad50-8995fe794def", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"F9L4ahb3UmuJAVTfXCLxjSKdaJ7\"", + "ETag" : "\"i4qcSU4C5DqfEUQtUqsy1AXpKXE\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NjI=;sn=471462", - "x-ms-request-id" : "2224e5de-0416-4b55-adbe-a57387f74fb9", - "Body" : "{\"etag\":\"F9L4ahb3UmuJAVTfXCLxjSKdaJ7\",\"key\":\"key43243-17\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "1821dc06-1ee9-4894-af9f-a40984db12c1", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NzY=;sn=569476", + "x-ms-request-id" : "fcac843c-6051-4546-ad50-8995fe794def", + "Body" : "{\"etag\":\"i4qcSU4C5DqfEUQtUqsy1AXpKXE\",\"key\":\"key05071-21\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "22d428b1-e0ce-4f90-bcc4-e340af3f6616", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-27?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-22?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2f7ab993-0163-4ec4-a083-7dcbd624f0b8", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f72cbec2-e3d6-4e39-84fc-54bbe1c74486", "Content-Type" : "application/json" }, "Response" : { @@ -695,29 +695,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:11 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "bdb7f0b2-88fd-4b9d-9e60-224c461e1d7a", + "x-ms-correlation-request-id" : "9403eb07-0cfb-4eb6-ac40-376b77ad5ac4", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"5W1MqhQiabp4aJXWNDpQzoxa5Oh\"", + "ETag" : "\"V9zXtVuKUKXrrtOUAqIOIF6WcAX\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NjM=;sn=471463", - "x-ms-request-id" : "bdb7f0b2-88fd-4b9d-9e60-224c461e1d7a", - "Body" : "{\"etag\":\"5W1MqhQiabp4aJXWNDpQzoxa5Oh\",\"key\":\"key43243-27\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "2f7ab993-0163-4ec4-a083-7dcbd624f0b8", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0Nzc=;sn=569477", + "x-ms-request-id" : "9403eb07-0cfb-4eb6-ac40-376b77ad5ac4", + "Body" : "{\"etag\":\"V9zXtVuKUKXrrtOUAqIOIF6WcAX\",\"key\":\"key05071-22\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "f72cbec2-e3d6-4e39-84fc-54bbe1c74486", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-20?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-23?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b289bd8e-ac42-435a-886e-c5e05c759b7c", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cf080f91-d19d-44ba-b0dc-c9e7c2aeaaec", "Content-Type" : "application/json" }, "Response" : { @@ -726,29 +726,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:11 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "31f08735-1d28-4c70-beef-be00a126994d", + "x-ms-correlation-request-id" : "398794bd-c52d-41fd-8cc5-dd405b36e52d", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"p0ea4oX1vKRO6Lsi0dZmLem6gRo\"", + "ETag" : "\"OWRbzMoeDQwwg2BNiVaUjCp60Sk\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NjQ=;sn=471464", - "x-ms-request-id" : "31f08735-1d28-4c70-beef-be00a126994d", - "Body" : "{\"etag\":\"p0ea4oX1vKRO6Lsi0dZmLem6gRo\",\"key\":\"key43243-20\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "b289bd8e-ac42-435a-886e-c5e05c759b7c", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0Nzg=;sn=569478", + "x-ms-request-id" : "398794bd-c52d-41fd-8cc5-dd405b36e52d", + "Body" : "{\"etag\":\"OWRbzMoeDQwwg2BNiVaUjCp60Sk\",\"key\":\"key05071-23\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "cf080f91-d19d-44ba-b0dc-c9e7c2aeaaec", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-23?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-24?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "11fbfda2-ae40-4e45-a572-a4f1a317cd16", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f49e9fb6-fd46-440f-be46-118d14023cd0", "Content-Type" : "application/json" }, "Response" : { @@ -757,29 +757,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:12 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "22ddb6ae-9244-48d3-953b-a0a3c52844f9", + "x-ms-correlation-request-id" : "f377bc67-f448-4ae8-9cc3-b03171ddf7dc", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"rdG5WLVwzw7zUu0OvS3BKeP9wY0\"", + "ETag" : "\"Fa3sYjv7fWMIEG9Ti0pPeyDgjA7\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NjU=;sn=471465", - "x-ms-request-id" : "22ddb6ae-9244-48d3-953b-a0a3c52844f9", - "Body" : "{\"etag\":\"rdG5WLVwzw7zUu0OvS3BKeP9wY0\",\"key\":\"key43243-23\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "11fbfda2-ae40-4e45-a572-a4f1a317cd16", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0Nzk=;sn=569479", + "x-ms-request-id" : "f377bc67-f448-4ae8-9cc3-b03171ddf7dc", + "Body" : "{\"etag\":\"Fa3sYjv7fWMIEG9Ti0pPeyDgjA7\",\"key\":\"key05071-24\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "f49e9fb6-fd46-440f-be46-118d14023cd0", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-29?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-25?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8f202612-de7b-401c-a2b3-5ae125e4be4f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2476e4d9-f2fb-4b35-a679-7c77d28edbd9", "Content-Type" : "application/json" }, "Response" : { @@ -788,29 +788,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:12 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "52f57eba-99a8-44b3-b7e3-ca35af791dc4", + "x-ms-correlation-request-id" : "1f6b4575-c3ab-491f-92f5-ad46785abcdc", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"Qn18yPDcDqrHElE6Z3j4tV1foca\"", + "ETag" : "\"gw0BRmGOHcir060yLWFZiqqDB29\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NjY=;sn=471466", - "x-ms-request-id" : "52f57eba-99a8-44b3-b7e3-ca35af791dc4", - "Body" : "{\"etag\":\"Qn18yPDcDqrHElE6Z3j4tV1foca\",\"key\":\"key43243-29\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "8f202612-de7b-401c-a2b3-5ae125e4be4f", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0ODA=;sn=569480", + "x-ms-request-id" : "1f6b4575-c3ab-491f-92f5-ad46785abcdc", + "Body" : "{\"etag\":\"gw0BRmGOHcir060yLWFZiqqDB29\",\"key\":\"key05071-25\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "2476e4d9-f2fb-4b35-a679-7c77d28edbd9", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-31?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-26?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "675565fe-d391-4c09-bfe4-bad08c996a6e", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "80e8ec46-60d2-4230-9e47-45f390730d1f", "Content-Type" : "application/json" }, "Response" : { @@ -819,29 +819,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:12 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "3bc425bf-68ec-4810-a244-75e680b8c5e6", + "x-ms-correlation-request-id" : "52c70b0e-e262-4cce-838c-f78d07590fc1", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"fLBufnRsxwpEgBwL90VerrnqvVJ\"", + "ETag" : "\"NtlJqk99cYwKBDqzWP12fM8uAmu\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0Njc=;sn=471467", - "x-ms-request-id" : "3bc425bf-68ec-4810-a244-75e680b8c5e6", - "Body" : "{\"etag\":\"fLBufnRsxwpEgBwL90VerrnqvVJ\",\"key\":\"key43243-31\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "675565fe-d391-4c09-bfe4-bad08c996a6e", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0ODE=;sn=569481", + "x-ms-request-id" : "52c70b0e-e262-4cce-838c-f78d07590fc1", + "Body" : "{\"etag\":\"NtlJqk99cYwKBDqzWP12fM8uAmu\",\"key\":\"key05071-26\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "80e8ec46-60d2-4230-9e47-45f390730d1f", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-24?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-27?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8ac2ceb1-0bb5-41bd-8672-c4c2669d13f6", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "469dd89e-2b01-426d-b948-2d2ef28cab19", "Content-Type" : "application/json" }, "Response" : { @@ -850,29 +850,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:12 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "dc20e4a0-6f1c-4b90-9b5b-d5b75f762d35", + "x-ms-correlation-request-id" : "ff877a05-83e2-4d71-a3d7-c7794bb715db", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"Tj1KQ3SibYM9wrlNBk1A90svpcQ\"", + "ETag" : "\"tCuGM0CC4urgKixlCHdzVkrmMnf\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0Njg=;sn=471468", - "x-ms-request-id" : "dc20e4a0-6f1c-4b90-9b5b-d5b75f762d35", - "Body" : "{\"etag\":\"Tj1KQ3SibYM9wrlNBk1A90svpcQ\",\"key\":\"key43243-24\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "8ac2ceb1-0bb5-41bd-8672-c4c2669d13f6", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0ODI=;sn=569482", + "x-ms-request-id" : "ff877a05-83e2-4d71-a3d7-c7794bb715db", + "Body" : "{\"etag\":\"tCuGM0CC4urgKixlCHdzVkrmMnf\",\"key\":\"key05071-27\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "469dd89e-2b01-426d-b948-2d2ef28cab19", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-33?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-28?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c7c37aaf-5d55-49f2-9cb1-acb8509fec78", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bef06af2-365a-4e91-865f-0fdbf6e62f57", "Content-Type" : "application/json" }, "Response" : { @@ -881,29 +881,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:12 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "281b0796-a47a-4915-a584-faf800fbd5ad", + "x-ms-correlation-request-id" : "01ab9d27-b55b-4464-8d9d-27c02d4d695e", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"sGOWrivOJfihyg49zynmZCKmkK7\"", + "ETag" : "\"k1QgPME7F33uoYgIwYIKFKkcKy1\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0Njk=;sn=471469", - "x-ms-request-id" : "281b0796-a47a-4915-a584-faf800fbd5ad", - "Body" : "{\"etag\":\"sGOWrivOJfihyg49zynmZCKmkK7\",\"key\":\"key43243-33\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "c7c37aaf-5d55-49f2-9cb1-acb8509fec78", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0ODM=;sn=569483", + "x-ms-request-id" : "01ab9d27-b55b-4464-8d9d-27c02d4d695e", + "Body" : "{\"etag\":\"k1QgPME7F33uoYgIwYIKFKkcKy1\",\"key\":\"key05071-28\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "bef06af2-365a-4e91-865f-0fdbf6e62f57", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-30?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-29?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0a26af44-b6af-46f1-aef1-eda2b4c70a84", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5aa2d086-5c30-460e-9fee-163bd421c882", "Content-Type" : "application/json" }, "Response" : { @@ -912,29 +912,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:12 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "af1c7994-819d-4176-9261-cfe4336d2bc9", + "x-ms-correlation-request-id" : "2201e2e1-889f-4169-96b8-33c2436ecb51", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"a2JJY9LqpZBlOSr4ldHU6ICQaIM\"", + "ETag" : "\"OItSCwILYFTFLOYeFC4wlo2pgKS\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NzA=;sn=471470", - "x-ms-request-id" : "af1c7994-819d-4176-9261-cfe4336d2bc9", - "Body" : "{\"etag\":\"a2JJY9LqpZBlOSr4ldHU6ICQaIM\",\"key\":\"key43243-30\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "0a26af44-b6af-46f1-aef1-eda2b4c70a84", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0ODQ=;sn=569484", + "x-ms-request-id" : "2201e2e1-889f-4169-96b8-33c2436ecb51", + "Body" : "{\"etag\":\"OItSCwILYFTFLOYeFC4wlo2pgKS\",\"key\":\"key05071-29\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "5aa2d086-5c30-460e-9fee-163bd421c882", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-25?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-30?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8f05ef56-020f-4e64-aada-702624eece67", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "deba5527-efac-419c-a341-c081fc02dce5", "Content-Type" : "application/json" }, "Response" : { @@ -943,29 +943,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:12 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "60352053-5bc7-4673-a08e-b3500436a797", + "x-ms-correlation-request-id" : "f97566ba-53f4-4c1e-b316-149b95d775f4", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"6jlBJ3sf4U1jY5zSrfn26OSvfHD\"", + "ETag" : "\"xFq7d1xVuzx9lAij1Bi9O4WnVsF\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NzE=;sn=471471", - "x-ms-request-id" : "60352053-5bc7-4673-a08e-b3500436a797", - "Body" : "{\"etag\":\"6jlBJ3sf4U1jY5zSrfn26OSvfHD\",\"key\":\"key43243-25\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "8f05ef56-020f-4e64-aada-702624eece67", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0ODU=;sn=569485", + "x-ms-request-id" : "f97566ba-53f4-4c1e-b316-149b95d775f4", + "Body" : "{\"etag\":\"xFq7d1xVuzx9lAij1Bi9O4WnVsF\",\"key\":\"key05071-30\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "deba5527-efac-419c-a341-c081fc02dce5", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-37?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-31?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "eeb0bc5f-0ba6-4407-a561-34274a3b179f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3c34fd4d-1968-4db3-87fc-aaf7f39d40a3", "Content-Type" : "application/json" }, "Response" : { @@ -974,29 +974,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:12 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "1922a445-0fe4-4334-87aa-c71cd2b1074b", + "x-ms-correlation-request-id" : "688e6906-6d8a-40a3-a885-9d965aa58c0e", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"ACdcSseCcXIY639KKhzztLPjABo\"", + "ETag" : "\"2Mu9m5uh1s1x2LthKIzM0ptwTFz\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NzI=;sn=471472", - "x-ms-request-id" : "1922a445-0fe4-4334-87aa-c71cd2b1074b", - "Body" : "{\"etag\":\"ACdcSseCcXIY639KKhzztLPjABo\",\"key\":\"key43243-37\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "eeb0bc5f-0ba6-4407-a561-34274a3b179f", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0ODY=;sn=569486", + "x-ms-request-id" : "688e6906-6d8a-40a3-a885-9d965aa58c0e", + "Body" : "{\"etag\":\"2Mu9m5uh1s1x2LthKIzM0ptwTFz\",\"key\":\"key05071-31\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "3c34fd4d-1968-4db3-87fc-aaf7f39d40a3", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-32?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-32?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b8ffab0d-3ed5-4fa7-bdca-28c3b8dcc314", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "54bcdbe3-3942-4b00-b2d6-d882136015f0", "Content-Type" : "application/json" }, "Response" : { @@ -1005,29 +1005,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:12 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "fb70cd56-f63e-4dc7-84a6-b05ae6f0f6e7", + "x-ms-correlation-request-id" : "4eb423e7-78b4-4b5c-98ee-de87df20285c", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"tt8CniAXB7PbpLSnoFIOBCfuw1u\"", + "ETag" : "\"KcCrNbzBCuWb0WAWpqJar8tf3hw\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NzM=;sn=471473", - "x-ms-request-id" : "fb70cd56-f63e-4dc7-84a6-b05ae6f0f6e7", - "Body" : "{\"etag\":\"tt8CniAXB7PbpLSnoFIOBCfuw1u\",\"key\":\"key43243-32\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "b8ffab0d-3ed5-4fa7-bdca-28c3b8dcc314", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0ODc=;sn=569487", + "x-ms-request-id" : "4eb423e7-78b4-4b5c-98ee-de87df20285c", + "Body" : "{\"etag\":\"KcCrNbzBCuWb0WAWpqJar8tf3hw\",\"key\":\"key05071-32\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "54bcdbe3-3942-4b00-b2d6-d882136015f0", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-28?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-33?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c0243f36-4e45-42af-b6a6-a2bdc4084b84", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "82bd81db-12b5-4fdc-93ed-73a5d5d2a156", "Content-Type" : "application/json" }, "Response" : { @@ -1036,29 +1036,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:12 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "8a770a3c-33a6-4adc-a69b-cb5139e8c061", + "x-ms-correlation-request-id" : "578d6dec-97fd-4c63-89ce-291bf0094ff4", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"3JLnwSQUl0cH2AclQWexFc8M13w\"", + "ETag" : "\"tG8lcM729Wvfui9SNspEb6CZxXV\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NzQ=;sn=471474", - "x-ms-request-id" : "8a770a3c-33a6-4adc-a69b-cb5139e8c061", - "Body" : "{\"etag\":\"3JLnwSQUl0cH2AclQWexFc8M13w\",\"key\":\"key43243-28\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "c0243f36-4e45-42af-b6a6-a2bdc4084b84", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0ODg=;sn=569488", + "x-ms-request-id" : "578d6dec-97fd-4c63-89ce-291bf0094ff4", + "Body" : "{\"etag\":\"tG8lcM729Wvfui9SNspEb6CZxXV\",\"key\":\"key05071-33\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "82bd81db-12b5-4fdc-93ed-73a5d5d2a156", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-36?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-34?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "faaa8234-7f8c-40e0-a51f-369205733051", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8d3c2191-9898-45ca-8dd7-4d8a09f6c5a2", "Content-Type" : "application/json" }, "Response" : { @@ -1067,29 +1067,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:12 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "4b30bb25-2c03-43c5-a1bb-064d09099a8e", + "x-ms-correlation-request-id" : "22ddc9c2-6565-4447-ac3a-23e199e808e3", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"ka1D6pmbezcBQs3oWWCB6mBp8VN\"", + "ETag" : "\"zitNy4S6g1jLwFsSffC45QPb0bm\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NzU=;sn=471475", - "x-ms-request-id" : "4b30bb25-2c03-43c5-a1bb-064d09099a8e", - "Body" : "{\"etag\":\"ka1D6pmbezcBQs3oWWCB6mBp8VN\",\"key\":\"key43243-36\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "faaa8234-7f8c-40e0-a51f-369205733051", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0ODk=;sn=569489", + "x-ms-request-id" : "22ddc9c2-6565-4447-ac3a-23e199e808e3", + "Body" : "{\"etag\":\"zitNy4S6g1jLwFsSffC45QPb0bm\",\"key\":\"key05071-34\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "8d3c2191-9898-45ca-8dd7-4d8a09f6c5a2", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-34?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-35?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "35065aaa-24cb-4e66-9c22-9d578617a56d", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "34974746-d5cb-4333-8db2-2b37cf857282", "Content-Type" : "application/json" }, "Response" : { @@ -1098,29 +1098,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:12 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "54c8ddc1-d4b5-454d-bff8-b3e9338eb9f1", + "x-ms-correlation-request-id" : "36e10e8f-a731-4925-bf82-2c28cf16510e", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"EEDFIQG4ACYSMJiMQgp1MAbLXAY\"", + "ETag" : "\"BQEIIxOXG9zbGi3XTXAWp7dYnJu\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NzY=;sn=471476", - "x-ms-request-id" : "54c8ddc1-d4b5-454d-bff8-b3e9338eb9f1", - "Body" : "{\"etag\":\"EEDFIQG4ACYSMJiMQgp1MAbLXAY\",\"key\":\"key43243-34\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "35065aaa-24cb-4e66-9c22-9d578617a56d", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0OTA=;sn=569490", + "x-ms-request-id" : "36e10e8f-a731-4925-bf82-2c28cf16510e", + "Body" : "{\"etag\":\"BQEIIxOXG9zbGi3XTXAWp7dYnJu\",\"key\":\"key05071-35\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "34974746-d5cb-4333-8db2-2b37cf857282", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-39?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-36?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "218fdd3b-155b-482d-b02b-ed0b4fef5ff3", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "86db6c45-b852-4050-94fb-2c22b96bc71f", "Content-Type" : "application/json" }, "Response" : { @@ -1129,29 +1129,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:12 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "edf0efe2-7f3b-44a9-894d-79e4ae67d6aa", + "x-ms-correlation-request-id" : "feaf097a-a65a-4269-97b0-fbc8757dad18", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"CC3P9WIbBvSCBEkuDCdBSOK6ucB\"", + "ETag" : "\"NRbFxVc3lu1uWB56vlegidPCHft\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0Nzc=;sn=471477", - "x-ms-request-id" : "edf0efe2-7f3b-44a9-894d-79e4ae67d6aa", - "Body" : "{\"etag\":\"CC3P9WIbBvSCBEkuDCdBSOK6ucB\",\"key\":\"key43243-39\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "218fdd3b-155b-482d-b02b-ed0b4fef5ff3", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0OTE=;sn=569491", + "x-ms-request-id" : "feaf097a-a65a-4269-97b0-fbc8757dad18", + "Body" : "{\"etag\":\"NRbFxVc3lu1uWB56vlegidPCHft\",\"key\":\"key05071-36\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "86db6c45-b852-4050-94fb-2c22b96bc71f", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-38?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-37?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1cef78fd-1c18-45bd-9bb5-7a3393157ab7", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f64a0ca3-60e0-4dda-892b-10e876a74496", "Content-Type" : "application/json" }, "Response" : { @@ -1160,29 +1160,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:12 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "b32df314-81cf-4ba8-882c-16ef372943b2", + "x-ms-correlation-request-id" : "ffa88dad-112d-4c01-b5a2-018b600ec871", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"OyO07cPPdAGKWTqCVrCOsIpoDhX\"", + "ETag" : "\"eAlaHT0O67cU7xrSfj7kr8e0ybO\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0Nzg=;sn=471478", - "x-ms-request-id" : "b32df314-81cf-4ba8-882c-16ef372943b2", - "Body" : "{\"etag\":\"OyO07cPPdAGKWTqCVrCOsIpoDhX\",\"key\":\"key43243-38\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "1cef78fd-1c18-45bd-9bb5-7a3393157ab7", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0OTI=;sn=569492", + "x-ms-request-id" : "ffa88dad-112d-4c01-b5a2-018b600ec871", + "Body" : "{\"etag\":\"eAlaHT0O67cU7xrSfj7kr8e0ybO\",\"key\":\"key05071-37\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "f64a0ca3-60e0-4dda-892b-10e876a74496", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-35?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-38?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "68f2296b-0f8c-4557-9e15-74f6d35c50b8", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2278c9f9-ab9a-45da-a8b2-c9d14a4d3a98", "Content-Type" : "application/json" }, "Response" : { @@ -1191,29 +1191,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:12 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "06ef9aba-8038-496e-9172-463227c7ade1", + "x-ms-correlation-request-id" : "5f13a349-e9a7-4db0-89ce-935518d8dc0b", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"9bjRJa1vqSw88bo6o21PNhMNRiT\"", + "ETag" : "\"ARN5i17kM3CaFiqRVZudfmI5OcL\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0Nzk=;sn=471479", - "x-ms-request-id" : "06ef9aba-8038-496e-9172-463227c7ade1", - "Body" : "{\"etag\":\"9bjRJa1vqSw88bo6o21PNhMNRiT\",\"key\":\"key43243-35\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "68f2296b-0f8c-4557-9e15-74f6d35c50b8", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0OTM=;sn=569493", + "x-ms-request-id" : "5f13a349-e9a7-4db0-89ce-935518d8dc0b", + "Body" : "{\"etag\":\"ARN5i17kM3CaFiqRVZudfmI5OcL\",\"key\":\"key05071-38\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "2278c9f9-ab9a-45da-a8b2-c9d14a4d3a98", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-40?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-39?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "06b88120-cac5-4653-af47-65ea81c39086", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2382582a-6c2a-4c26-bab5-f37484c4e3b5", "Content-Type" : "application/json" }, "Response" : { @@ -1222,29 +1222,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:12 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "35c612ee-d0f7-4b80-b0f8-25bb15dc8d79", + "x-ms-correlation-request-id" : "aab4b9d2-5e57-45e8-b533-433233c2b3d1", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"Cn8OJ1NoGE3hATySwc08p4vz9RS\"", + "ETag" : "\"yIRuQSACnRJCQkCNszopTye5rsc\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0ODA=;sn=471480", - "x-ms-request-id" : "35c612ee-d0f7-4b80-b0f8-25bb15dc8d79", - "Body" : "{\"etag\":\"Cn8OJ1NoGE3hATySwc08p4vz9RS\",\"key\":\"key43243-40\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "06b88120-cac5-4653-af47-65ea81c39086", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0OTQ=;sn=569494", + "x-ms-request-id" : "aab4b9d2-5e57-45e8-b533-433233c2b3d1", + "Body" : "{\"etag\":\"yIRuQSACnRJCQkCNszopTye5rsc\",\"key\":\"key05071-39\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "2382582a-6c2a-4c26-bab5-f37484c4e3b5", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-42?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-40?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9b12db85-957d-4e45-97ed-e75df36b0f7c", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "73b9c271-e727-4495-9e79-0a366ad0a111", "Content-Type" : "application/json" }, "Response" : { @@ -1253,29 +1253,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:12 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "c2782c04-14c7-43ee-93c3-fdf0955e5fca", + "x-ms-correlation-request-id" : "2a10cef0-41eb-41c3-b42e-951c09ca4630", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"Hrij9TdtblfaflCTa6tCxIB3Lyy\"", + "ETag" : "\"ACwWWFwSaMjR9bU8glMEAQib2KK\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0ODE=;sn=471481", - "x-ms-request-id" : "c2782c04-14c7-43ee-93c3-fdf0955e5fca", - "Body" : "{\"etag\":\"Hrij9TdtblfaflCTa6tCxIB3Lyy\",\"key\":\"key43243-42\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "9b12db85-957d-4e45-97ed-e75df36b0f7c", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0OTU=;sn=569495", + "x-ms-request-id" : "2a10cef0-41eb-41c3-b42e-951c09ca4630", + "Body" : "{\"etag\":\"ACwWWFwSaMjR9bU8glMEAQib2KK\",\"key\":\"key05071-40\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "73b9c271-e727-4495-9e79-0a366ad0a111", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-26?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-41?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "01db6ba0-db45-4a1e-9907-a777a1246003", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "504aae75-f059-40a2-899f-99cf8c98a91b", "Content-Type" : "application/json" }, "Response" : { @@ -1284,29 +1284,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:13 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "2f52f744-5b4d-4882-80a4-9be3c27985fd", + "x-ms-correlation-request-id" : "8cb9e7b4-409c-4e42-8712-9d2dc837fc03", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"RR573sNU5I35JVh7LS2o52P9sS6\"", + "ETag" : "\"TE9DwqNYyllROrenoFHZh983sD3\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0ODI=;sn=471482", - "x-ms-request-id" : "2f52f744-5b4d-4882-80a4-9be3c27985fd", - "Body" : "{\"etag\":\"RR573sNU5I35JVh7LS2o52P9sS6\",\"key\":\"key43243-26\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "01db6ba0-db45-4a1e-9907-a777a1246003", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0OTY=;sn=569496", + "x-ms-request-id" : "8cb9e7b4-409c-4e42-8712-9d2dc837fc03", + "Body" : "{\"etag\":\"TE9DwqNYyllROrenoFHZh983sD3\",\"key\":\"key05071-41\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "504aae75-f059-40a2-899f-99cf8c98a91b", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-43?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-42?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b4300340-7a9a-4a44-a477-3e91d7aedc27", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "81cd3a12-8516-4a73-90e3-dbfc3afc0955", "Content-Type" : "application/json" }, "Response" : { @@ -1315,29 +1315,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:13 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "a1f7dd71-47e7-46ab-ba00-94bc7a92b9c9", + "x-ms-correlation-request-id" : "df39ac10-69d4-491d-8f05-a1a7b8228061", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"HlOs0JY89B6GOYErpP1QigoyNPJ\"", + "ETag" : "\"083beWHADDLXm4iMIedZDcFnV9L\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0ODM=;sn=471483", - "x-ms-request-id" : "a1f7dd71-47e7-46ab-ba00-94bc7a92b9c9", - "Body" : "{\"etag\":\"HlOs0JY89B6GOYErpP1QigoyNPJ\",\"key\":\"key43243-43\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "b4300340-7a9a-4a44-a477-3e91d7aedc27", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0OTc=;sn=569497", + "x-ms-request-id" : "df39ac10-69d4-491d-8f05-a1a7b8228061", + "Body" : "{\"etag\":\"083beWHADDLXm4iMIedZDcFnV9L\",\"key\":\"key05071-42\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "81cd3a12-8516-4a73-90e3-dbfc3afc0955", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-49?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-43?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d62e7a56-bf51-4374-b1c2-92e84c4066fe", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "06caf0c8-54d4-494f-860a-aae0a142999d", "Content-Type" : "application/json" }, "Response" : { @@ -1346,29 +1346,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:13 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "40a74b7c-7656-4e7e-9e9e-d18afe823e3e", + "x-ms-correlation-request-id" : "06447587-ccdf-4778-a0da-b26d427be8df", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"2XkSLeKBNHVwmGU3tAyiVJy1yNv\"", + "ETag" : "\"PpaDSzfIb8lgOTjRaEGBcxiaO3x\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0ODQ=;sn=471484", - "x-ms-request-id" : "40a74b7c-7656-4e7e-9e9e-d18afe823e3e", - "Body" : "{\"etag\":\"2XkSLeKBNHVwmGU3tAyiVJy1yNv\",\"key\":\"key43243-49\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "d62e7a56-bf51-4374-b1c2-92e84c4066fe", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0OTg=;sn=569498", + "x-ms-request-id" : "06447587-ccdf-4778-a0da-b26d427be8df", + "Body" : "{\"etag\":\"PpaDSzfIb8lgOTjRaEGBcxiaO3x\",\"key\":\"key05071-43\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "06caf0c8-54d4-494f-860a-aae0a142999d", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-44?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-44?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d874acbd-93b6-4c0e-b5aa-3870843a1986", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "aebd8cc4-1931-48e4-9a98-0703096e9194", "Content-Type" : "application/json" }, "Response" : { @@ -1377,29 +1377,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:13 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "02b159bd-6449-4216-baac-79414c0449cb", + "x-ms-correlation-request-id" : "a23c16ab-d15c-48c0-9259-96dd13894f88", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"sYLH6fjagH3PijGgF5eFoWeyUDB\"", + "ETag" : "\"krooNyZ7eF6dUPPKKW98xOMuZbl\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0ODU=;sn=471485", - "x-ms-request-id" : "02b159bd-6449-4216-baac-79414c0449cb", - "Body" : "{\"etag\":\"sYLH6fjagH3PijGgF5eFoWeyUDB\",\"key\":\"key43243-44\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "d874acbd-93b6-4c0e-b5aa-3870843a1986", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0OTk=;sn=569499", + "x-ms-request-id" : "a23c16ab-d15c-48c0-9259-96dd13894f88", + "Body" : "{\"etag\":\"krooNyZ7eF6dUPPKKW98xOMuZbl\",\"key\":\"key05071-44\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "aebd8cc4-1931-48e4-9a98-0703096e9194", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-45?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-45?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "316063d0-eb1d-40e6-b474-6c026f658649", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "eecc31c1-42c8-4595-bc6f-10b7cc34a59a", "Content-Type" : "application/json" }, "Response" : { @@ -1408,29 +1408,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:13 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "039d3f39-0b6f-477c-98a9-1e9eb8549728", + "x-ms-correlation-request-id" : "70313017-3c0a-4051-874c-82e812017348", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"tBd8pmgJXCI0VxYrFJnoAiaQ4xi\"", + "ETag" : "\"Sk2BDXeyVEn2Nz8XQjkuE7OsWRs\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0ODY=;sn=471486", - "x-ms-request-id" : "039d3f39-0b6f-477c-98a9-1e9eb8549728", - "Body" : "{\"etag\":\"tBd8pmgJXCI0VxYrFJnoAiaQ4xi\",\"key\":\"key43243-45\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "316063d0-eb1d-40e6-b474-6c026f658649", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MDA=;sn=569500", + "x-ms-request-id" : "70313017-3c0a-4051-874c-82e812017348", + "Body" : "{\"etag\":\"Sk2BDXeyVEn2Nz8XQjkuE7OsWRs\",\"key\":\"key05071-45\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "eecc31c1-42c8-4595-bc6f-10b7cc34a59a", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-47?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-46?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1ffe1b18-5e20-489d-9dfa-dc2bff9280b0", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "31fc15b9-d89f-4fad-bac5-3111bc57a6df", "Content-Type" : "application/json" }, "Response" : { @@ -1439,29 +1439,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:13 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "e17865f4-125e-442f-bd63-1d3d3ce76216", + "x-ms-correlation-request-id" : "11c723a8-8e7f-4604-a375-b4a947a571ed", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"0Uc9CEnhMCTre2rUNNEZ8CalRBS\"", + "ETag" : "\"lPv4i7bRhmi45E0RsPK70fCAeUV\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0ODc=;sn=471487", - "x-ms-request-id" : "e17865f4-125e-442f-bd63-1d3d3ce76216", - "Body" : "{\"etag\":\"0Uc9CEnhMCTre2rUNNEZ8CalRBS\",\"key\":\"key43243-47\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "1ffe1b18-5e20-489d-9dfa-dc2bff9280b0", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MDE=;sn=569501", + "x-ms-request-id" : "11c723a8-8e7f-4604-a375-b4a947a571ed", + "Body" : "{\"etag\":\"lPv4i7bRhmi45E0RsPK70fCAeUV\",\"key\":\"key05071-46\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "31fc15b9-d89f-4fad-bac5-3111bc57a6df", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-41?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-47?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d0e18a37-4107-45d2-af9f-d85d170e5c4f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5cb7bdea-1782-4918-bced-c2bdd81ad413", "Content-Type" : "application/json" }, "Response" : { @@ -1470,29 +1470,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:13 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "536ab018-ee52-498b-9d9b-e372d865a24c", + "x-ms-correlation-request-id" : "a30db9e2-e3cc-4750-bc68-24314e2d8776", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"821gej0kK44qcdk33XpLtPbMrMJ\"", + "ETag" : "\"ATM8nA04vhDuvSB4aDNQlJsHA2b\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0ODg=;sn=471488", - "x-ms-request-id" : "536ab018-ee52-498b-9d9b-e372d865a24c", - "Body" : "{\"etag\":\"821gej0kK44qcdk33XpLtPbMrMJ\",\"key\":\"key43243-41\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "d0e18a37-4107-45d2-af9f-d85d170e5c4f", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MDI=;sn=569502", + "x-ms-request-id" : "a30db9e2-e3cc-4750-bc68-24314e2d8776", + "Body" : "{\"etag\":\"ATM8nA04vhDuvSB4aDNQlJsHA2b\",\"key\":\"key05071-47\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "5cb7bdea-1782-4918-bced-c2bdd81ad413", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-48?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-48?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "112da379-b08a-4502-9b2f-cc5040b15e19", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e97ec62f-5bca-45ff-98c3-c742fb4df61c", "Content-Type" : "application/json" }, "Response" : { @@ -1501,29 +1501,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:13 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "5fcdffec-07dd-4f57-98f3-92c48ceaf6dc", + "x-ms-correlation-request-id" : "56697e31-8fc2-4f46-96e2-21f631c3189a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"6PkYV9GktIgzQnbvyr4TMNxW63Y\"", + "ETag" : "\"bZB6Le2XGQFu5SLr27YMnxc0CGk\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0ODk=;sn=471489", - "x-ms-request-id" : "5fcdffec-07dd-4f57-98f3-92c48ceaf6dc", - "Body" : "{\"etag\":\"6PkYV9GktIgzQnbvyr4TMNxW63Y\",\"key\":\"key43243-48\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "112da379-b08a-4502-9b2f-cc5040b15e19", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MDM=;sn=569503", + "x-ms-request-id" : "56697e31-8fc2-4f46-96e2-21f631c3189a", + "Body" : "{\"etag\":\"bZB6Le2XGQFu5SLr27YMnxc0CGk\",\"key\":\"key05071-48\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "e97ec62f-5bca-45ff-98c3-c742fb4df61c", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-46?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-49?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ff98fe66-c55f-4f25-85dc-13e0120f13d5", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b3eae6bd-bbb9-46ea-918c-919473e614d2", "Content-Type" : "application/json" }, "Response" : { @@ -1532,29 +1532,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:13 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "74d8fc65-9dfe-49b4-9934-cf4e6f109551", + "x-ms-correlation-request-id" : "34aeaeec-c9b8-4dc4-939b-e377aba3da76", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"3DX7k5fQ02MS7wvekFnuiHlCgcL\"", + "ETag" : "\"BU3hTp7zIoSzDqLjo9W7qHvUfZq\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0OTA=;sn=471490", - "x-ms-request-id" : "74d8fc65-9dfe-49b4-9934-cf4e6f109551", - "Body" : "{\"etag\":\"3DX7k5fQ02MS7wvekFnuiHlCgcL\",\"key\":\"key43243-46\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "ff98fe66-c55f-4f25-85dc-13e0120f13d5", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MDQ=;sn=569504", + "x-ms-request-id" : "34aeaeec-c9b8-4dc4-939b-e377aba3da76", + "Body" : "{\"etag\":\"BU3hTp7zIoSzDqLjo9W7qHvUfZq\",\"key\":\"key05071-49\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "b3eae6bd-bbb9-46ea-918c-919473e614d2", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key43243-%2a&label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key05071-%2a&label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b686b272-fb66-4ccc-ac69-427d28f6a5a1", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "997e0638-03ad-4e4d-bd4f-37c94bb90577", "Content-Type" : "application/json" }, "Response" : { @@ -1565,25 +1565,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:13 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "d2a278be-8132-4805-bb32-0b0255250024", + "x-ms-correlation-request-id" : "c55f5a79-8b11-4c60-8620-dce6b5ea308a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0OTA=;sn=471490", - "x-ms-request-id" : "d2a278be-8132-4805-bb32-0b0255250024", - "Body" : "{\"items\":[{\"etag\":\"5swGKZKDeA78yTktVXxAKlRptZx\",\"key\":\"key43243-0\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"OAIwMudAddzOw88s1V0tN1fAzPn\",\"key\":\"key43243-1\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"PkwJDxZLQpf9jLmBTl8Yy6qMhhP\",\"key\":\"key43243-10\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"6EsiBsk49pGbWjy7oA1JZTwGgv8\",\"key\":\"key43243-11\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"RlqQr4hWfwS5OmxsiC0kjfgNtOq\",\"key\":\"key43243-12\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"WdBdULarZMhb5PXMo8CazXaKZ5Q\",\"key\":\"key43243-13\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"JkE6GfZwjBqnomjYOxxzXb9T5Ob\",\"key\":\"key43243-14\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"OMshvxwiD58lZ46UQzfaKRg0Ot1\",\"key\":\"key43243-15\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"KZ0pL9YXmQup8xfBKMkQjPE6GhY\",\"key\":\"key43243-16\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"F9L4ahb3UmuJAVTfXCLxjSKdaJ7\",\"key\":\"key43243-17\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"IkctUBVr7gAT8WsQCuAe5RlseVt\",\"key\":\"key43243-18\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"noQL90ixq6VPmClXos2NZBMme68\",\"key\":\"key43243-19\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"4KXwAByxbOOb5VD51ukJWnns2qA\",\"key\":\"key43243-2\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"p0ea4oX1vKRO6Lsi0dZmLem6gRo\",\"key\":\"key43243-20\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"E5nYiK64Gq2qGK2TWTvwxozgeV4\",\"key\":\"key43243-21\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"5WbsNdVm1dVceCp3vSDMBHbAoD3\",\"key\":\"key43243-22\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"rdG5WLVwzw7zUu0OvS3BKeP9wY0\",\"key\":\"key43243-23\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"Tj1KQ3SibYM9wrlNBk1A90svpcQ\",\"key\":\"key43243-24\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"6jlBJ3sf4U1jY5zSrfn26OSvfHD\",\"key\":\"key43243-25\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"RR573sNU5I35JVh7LS2o52P9sS6\",\"key\":\"key43243-26\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"5W1MqhQiabp4aJXWNDpQzoxa5Oh\",\"key\":\"key43243-27\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"3JLnwSQUl0cH2AclQWexFc8M13w\",\"key\":\"key43243-28\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"Qn18yPDcDqrHElE6Z3j4tV1foca\",\"key\":\"key43243-29\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"JM4UMDoKny4wlfDqjDa8PgytCRo\",\"key\":\"key43243-3\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"a2JJY9LqpZBlOSr4ldHU6ICQaIM\",\"key\":\"key43243-30\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"fLBufnRsxwpEgBwL90VerrnqvVJ\",\"key\":\"key43243-31\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"tt8CniAXB7PbpLSnoFIOBCfuw1u\",\"key\":\"key43243-32\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"sGOWrivOJfihyg49zynmZCKmkK7\",\"key\":\"key43243-33\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"EEDFIQG4ACYSMJiMQgp1MAbLXAY\",\"key\":\"key43243-34\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"9bjRJa1vqSw88bo6o21PNhMNRiT\",\"key\":\"key43243-35\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"ka1D6pmbezcBQs3oWWCB6mBp8VN\",\"key\":\"key43243-36\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"ACdcSseCcXIY639KKhzztLPjABo\",\"key\":\"key43243-37\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"OyO07cPPdAGKWTqCVrCOsIpoDhX\",\"key\":\"key43243-38\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"CC3P9WIbBvSCBEkuDCdBSOK6ucB\",\"key\":\"key43243-39\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"8z06KhOVqH3UL1wLExNNYeJCz62\",\"key\":\"key43243-4\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"Cn8OJ1NoGE3hATySwc08p4vz9RS\",\"key\":\"key43243-40\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"821gej0kK44qcdk33XpLtPbMrMJ\",\"key\":\"key43243-41\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"Hrij9TdtblfaflCTa6tCxIB3Lyy\",\"key\":\"key43243-42\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"HlOs0JY89B6GOYErpP1QigoyNPJ\",\"key\":\"key43243-43\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"sYLH6fjagH3PijGgF5eFoWeyUDB\",\"key\":\"key43243-44\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"tBd8pmgJXCI0VxYrFJnoAiaQ4xi\",\"key\":\"key43243-45\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"3DX7k5fQ02MS7wvekFnuiHlCgcL\",\"key\":\"key43243-46\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"0Uc9CEnhMCTre2rUNNEZ8CalRBS\",\"key\":\"key43243-47\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"6PkYV9GktIgzQnbvyr4TMNxW63Y\",\"key\":\"key43243-48\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"2XkSLeKBNHVwmGU3tAyiVJy1yNv\",\"key\":\"key43243-49\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"bw479gATs9lD3dVo6uOUBpm45Ig\",\"key\":\"key43243-5\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"FbqGyuSBtPeXtyQpz8y10rs0Yar\",\"key\":\"key43243-6\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"hulqCuh35cyBglz5i3hTHwkgAUr\",\"key\":\"key43243-7\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"j81s2dcJzYr81sSesBb3Hfpxgcq\",\"key\":\"key43243-8\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"J9EWCOxPDZ3v9GUzNVqmjy5QA6F\",\"key\":\"key43243-9\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}]}", - "x-ms-client-request-id" : "b686b272-fb66-4ccc-ac69-427d28f6a5a1", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MDQ=;sn=569504", + "x-ms-request-id" : "c55f5a79-8b11-4c60-8620-dce6b5ea308a", + "Body" : "{\"items\":[{\"etag\":\"57l6maN8UFOC66g2HY2bikkwN15\",\"key\":\"key05071-0\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"El4AUlldnujXwUh04jI6n3xZyKk\",\"key\":\"key05071-1\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"ap23LHLY4DKRraDWq0YYdLEJbqQ\",\"key\":\"key05071-10\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"GPxbqzPQWPPuK5TrqVta9jR6cS7\",\"key\":\"key05071-11\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"AevMWud3qr5c6vaogibxvsRqg83\",\"key\":\"key05071-12\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"h53UuBqcCuArsjA2Hi0VM8knLSW\",\"key\":\"key05071-13\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"6MFrrwHOsagMH1IXVg3grzDnjSn\",\"key\":\"key05071-14\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"kDUImjJn05p4gSsdDQJPNaPYTwQ\",\"key\":\"key05071-15\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"Ef8hrE9wsuAalu3Z2WPdhNNOx1S\",\"key\":\"key05071-16\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"S8qbEqSJS8UQ5jejbqceF3IONUm\",\"key\":\"key05071-17\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"pm0lil7rOtJhgBOKKch62czfSPO\",\"key\":\"key05071-18\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"yQTHnxhLbjMlBjR6s2eV5A3S49I\",\"key\":\"key05071-19\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"sqXCo7SYp0g1drZ6wY6xfWGfQnK\",\"key\":\"key05071-2\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"L7HwlYG0QpTJBZvI0ynhOkMBJPV\",\"key\":\"key05071-20\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"i4qcSU4C5DqfEUQtUqsy1AXpKXE\",\"key\":\"key05071-21\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"V9zXtVuKUKXrrtOUAqIOIF6WcAX\",\"key\":\"key05071-22\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"OWRbzMoeDQwwg2BNiVaUjCp60Sk\",\"key\":\"key05071-23\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"Fa3sYjv7fWMIEG9Ti0pPeyDgjA7\",\"key\":\"key05071-24\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"gw0BRmGOHcir060yLWFZiqqDB29\",\"key\":\"key05071-25\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"NtlJqk99cYwKBDqzWP12fM8uAmu\",\"key\":\"key05071-26\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"tCuGM0CC4urgKixlCHdzVkrmMnf\",\"key\":\"key05071-27\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"k1QgPME7F33uoYgIwYIKFKkcKy1\",\"key\":\"key05071-28\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"OItSCwILYFTFLOYeFC4wlo2pgKS\",\"key\":\"key05071-29\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"FQBK6KRCnGig6ATDE8bYIGopsSs\",\"key\":\"key05071-3\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"xFq7d1xVuzx9lAij1Bi9O4WnVsF\",\"key\":\"key05071-30\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"2Mu9m5uh1s1x2LthKIzM0ptwTFz\",\"key\":\"key05071-31\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"KcCrNbzBCuWb0WAWpqJar8tf3hw\",\"key\":\"key05071-32\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"tG8lcM729Wvfui9SNspEb6CZxXV\",\"key\":\"key05071-33\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"zitNy4S6g1jLwFsSffC45QPb0bm\",\"key\":\"key05071-34\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"BQEIIxOXG9zbGi3XTXAWp7dYnJu\",\"key\":\"key05071-35\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"NRbFxVc3lu1uWB56vlegidPCHft\",\"key\":\"key05071-36\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"eAlaHT0O67cU7xrSfj7kr8e0ybO\",\"key\":\"key05071-37\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"ARN5i17kM3CaFiqRVZudfmI5OcL\",\"key\":\"key05071-38\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"yIRuQSACnRJCQkCNszopTye5rsc\",\"key\":\"key05071-39\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"nstPEC20KUG8PkaaLARmudpErhd\",\"key\":\"key05071-4\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"ACwWWFwSaMjR9bU8glMEAQib2KK\",\"key\":\"key05071-40\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"TE9DwqNYyllROrenoFHZh983sD3\",\"key\":\"key05071-41\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"083beWHADDLXm4iMIedZDcFnV9L\",\"key\":\"key05071-42\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"PpaDSzfIb8lgOTjRaEGBcxiaO3x\",\"key\":\"key05071-43\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"krooNyZ7eF6dUPPKKW98xOMuZbl\",\"key\":\"key05071-44\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"Sk2BDXeyVEn2Nz8XQjkuE7OsWRs\",\"key\":\"key05071-45\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"lPv4i7bRhmi45E0RsPK70fCAeUV\",\"key\":\"key05071-46\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"ATM8nA04vhDuvSB4aDNQlJsHA2b\",\"key\":\"key05071-47\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"bZB6Le2XGQFu5SLr27YMnxc0CGk\",\"key\":\"key05071-48\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"BU3hTp7zIoSzDqLjo9W7qHvUfZq\",\"key\":\"key05071-49\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"pOJ6lQvjJck2WA4EAsaiaxGwmal\",\"key\":\"key05071-5\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"rhc3FmcczheghbsidJu8fR1987A\",\"key\":\"key05071-6\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"Y2xTS8gIlW6khobX9fy5Q54XpjN\",\"key\":\"key05071-7\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"wAVsB8jr8tyDJ7jHKHFjwi0Ip19\",\"key\":\"key05071-8\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"bEqMH3RllqT0qTTMMwHNHggLzSu\",\"key\":\"key05071-9\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}]}", + "x-ms-client-request-id" : "997e0638-03ad-4e4d-bd4f-37c94bb90577", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key43243%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key05071%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cb33a590-1cb4-47b2-bd43-411def3c43aa", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0fe0166f-9982-4460-a598-b54dcda76c33", "Content-Type" : "application/json" }, "Response" : { @@ -1594,25 +1594,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:13 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "7634310e-2101-46d9-8650-7e6e24ce22e1", + "x-ms-correlation-request-id" : "f7cedb15-caab-41b1-b270-0e376116ec88", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0OTA=;sn=471490", - "x-ms-request-id" : "7634310e-2101-46d9-8650-7e6e24ce22e1", - "Body" : "{\"items\":[{\"etag\":\"5swGKZKDeA78yTktVXxAKlRptZx\",\"key\":\"key43243-0\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"OAIwMudAddzOw88s1V0tN1fAzPn\",\"key\":\"key43243-1\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"PkwJDxZLQpf9jLmBTl8Yy6qMhhP\",\"key\":\"key43243-10\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"6EsiBsk49pGbWjy7oA1JZTwGgv8\",\"key\":\"key43243-11\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"RlqQr4hWfwS5OmxsiC0kjfgNtOq\",\"key\":\"key43243-12\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"WdBdULarZMhb5PXMo8CazXaKZ5Q\",\"key\":\"key43243-13\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"JkE6GfZwjBqnomjYOxxzXb9T5Ob\",\"key\":\"key43243-14\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"OMshvxwiD58lZ46UQzfaKRg0Ot1\",\"key\":\"key43243-15\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"KZ0pL9YXmQup8xfBKMkQjPE6GhY\",\"key\":\"key43243-16\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"F9L4ahb3UmuJAVTfXCLxjSKdaJ7\",\"key\":\"key43243-17\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"IkctUBVr7gAT8WsQCuAe5RlseVt\",\"key\":\"key43243-18\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"noQL90ixq6VPmClXos2NZBMme68\",\"key\":\"key43243-19\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"4KXwAByxbOOb5VD51ukJWnns2qA\",\"key\":\"key43243-2\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"p0ea4oX1vKRO6Lsi0dZmLem6gRo\",\"key\":\"key43243-20\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"E5nYiK64Gq2qGK2TWTvwxozgeV4\",\"key\":\"key43243-21\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"5WbsNdVm1dVceCp3vSDMBHbAoD3\",\"key\":\"key43243-22\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"rdG5WLVwzw7zUu0OvS3BKeP9wY0\",\"key\":\"key43243-23\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"Tj1KQ3SibYM9wrlNBk1A90svpcQ\",\"key\":\"key43243-24\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"6jlBJ3sf4U1jY5zSrfn26OSvfHD\",\"key\":\"key43243-25\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"RR573sNU5I35JVh7LS2o52P9sS6\",\"key\":\"key43243-26\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"5W1MqhQiabp4aJXWNDpQzoxa5Oh\",\"key\":\"key43243-27\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"3JLnwSQUl0cH2AclQWexFc8M13w\",\"key\":\"key43243-28\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"Qn18yPDcDqrHElE6Z3j4tV1foca\",\"key\":\"key43243-29\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"JM4UMDoKny4wlfDqjDa8PgytCRo\",\"key\":\"key43243-3\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"a2JJY9LqpZBlOSr4ldHU6ICQaIM\",\"key\":\"key43243-30\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"fLBufnRsxwpEgBwL90VerrnqvVJ\",\"key\":\"key43243-31\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"tt8CniAXB7PbpLSnoFIOBCfuw1u\",\"key\":\"key43243-32\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"sGOWrivOJfihyg49zynmZCKmkK7\",\"key\":\"key43243-33\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"EEDFIQG4ACYSMJiMQgp1MAbLXAY\",\"key\":\"key43243-34\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"9bjRJa1vqSw88bo6o21PNhMNRiT\",\"key\":\"key43243-35\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"ka1D6pmbezcBQs3oWWCB6mBp8VN\",\"key\":\"key43243-36\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"ACdcSseCcXIY639KKhzztLPjABo\",\"key\":\"key43243-37\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"OyO07cPPdAGKWTqCVrCOsIpoDhX\",\"key\":\"key43243-38\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"CC3P9WIbBvSCBEkuDCdBSOK6ucB\",\"key\":\"key43243-39\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"8z06KhOVqH3UL1wLExNNYeJCz62\",\"key\":\"key43243-4\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"Cn8OJ1NoGE3hATySwc08p4vz9RS\",\"key\":\"key43243-40\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"821gej0kK44qcdk33XpLtPbMrMJ\",\"key\":\"key43243-41\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"Hrij9TdtblfaflCTa6tCxIB3Lyy\",\"key\":\"key43243-42\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"HlOs0JY89B6GOYErpP1QigoyNPJ\",\"key\":\"key43243-43\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"sYLH6fjagH3PijGgF5eFoWeyUDB\",\"key\":\"key43243-44\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"tBd8pmgJXCI0VxYrFJnoAiaQ4xi\",\"key\":\"key43243-45\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"3DX7k5fQ02MS7wvekFnuiHlCgcL\",\"key\":\"key43243-46\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"0Uc9CEnhMCTre2rUNNEZ8CalRBS\",\"key\":\"key43243-47\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"6PkYV9GktIgzQnbvyr4TMNxW63Y\",\"key\":\"key43243-48\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"2XkSLeKBNHVwmGU3tAyiVJy1yNv\",\"key\":\"key43243-49\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"bw479gATs9lD3dVo6uOUBpm45Ig\",\"key\":\"key43243-5\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"FbqGyuSBtPeXtyQpz8y10rs0Yar\",\"key\":\"key43243-6\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"hulqCuh35cyBglz5i3hTHwkgAUr\",\"key\":\"key43243-7\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"j81s2dcJzYr81sSesBb3Hfpxgcq\",\"key\":\"key43243-8\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"},{\"etag\":\"J9EWCOxPDZ3v9GUzNVqmjy5QA6F\",\"key\":\"key43243-9\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}]}", - "x-ms-client-request-id" : "cb33a590-1cb4-47b2-bd43-411def3c43aa", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MDQ=;sn=569504", + "x-ms-request-id" : "f7cedb15-caab-41b1-b270-0e376116ec88", + "Body" : "{\"items\":[{\"etag\":\"57l6maN8UFOC66g2HY2bikkwN15\",\"key\":\"key05071-0\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"El4AUlldnujXwUh04jI6n3xZyKk\",\"key\":\"key05071-1\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"ap23LHLY4DKRraDWq0YYdLEJbqQ\",\"key\":\"key05071-10\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"GPxbqzPQWPPuK5TrqVta9jR6cS7\",\"key\":\"key05071-11\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"AevMWud3qr5c6vaogibxvsRqg83\",\"key\":\"key05071-12\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"h53UuBqcCuArsjA2Hi0VM8knLSW\",\"key\":\"key05071-13\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"6MFrrwHOsagMH1IXVg3grzDnjSn\",\"key\":\"key05071-14\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"kDUImjJn05p4gSsdDQJPNaPYTwQ\",\"key\":\"key05071-15\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"Ef8hrE9wsuAalu3Z2WPdhNNOx1S\",\"key\":\"key05071-16\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"S8qbEqSJS8UQ5jejbqceF3IONUm\",\"key\":\"key05071-17\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"pm0lil7rOtJhgBOKKch62czfSPO\",\"key\":\"key05071-18\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"yQTHnxhLbjMlBjR6s2eV5A3S49I\",\"key\":\"key05071-19\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"sqXCo7SYp0g1drZ6wY6xfWGfQnK\",\"key\":\"key05071-2\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"L7HwlYG0QpTJBZvI0ynhOkMBJPV\",\"key\":\"key05071-20\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"i4qcSU4C5DqfEUQtUqsy1AXpKXE\",\"key\":\"key05071-21\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"V9zXtVuKUKXrrtOUAqIOIF6WcAX\",\"key\":\"key05071-22\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"OWRbzMoeDQwwg2BNiVaUjCp60Sk\",\"key\":\"key05071-23\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"Fa3sYjv7fWMIEG9Ti0pPeyDgjA7\",\"key\":\"key05071-24\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"gw0BRmGOHcir060yLWFZiqqDB29\",\"key\":\"key05071-25\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"NtlJqk99cYwKBDqzWP12fM8uAmu\",\"key\":\"key05071-26\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"tCuGM0CC4urgKixlCHdzVkrmMnf\",\"key\":\"key05071-27\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"k1QgPME7F33uoYgIwYIKFKkcKy1\",\"key\":\"key05071-28\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"OItSCwILYFTFLOYeFC4wlo2pgKS\",\"key\":\"key05071-29\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"FQBK6KRCnGig6ATDE8bYIGopsSs\",\"key\":\"key05071-3\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"xFq7d1xVuzx9lAij1Bi9O4WnVsF\",\"key\":\"key05071-30\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"2Mu9m5uh1s1x2LthKIzM0ptwTFz\",\"key\":\"key05071-31\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"KcCrNbzBCuWb0WAWpqJar8tf3hw\",\"key\":\"key05071-32\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"},{\"etag\":\"tG8lcM729Wvfui9SNspEb6CZxXV\",\"key\":\"key05071-33\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"zitNy4S6g1jLwFsSffC45QPb0bm\",\"key\":\"key05071-34\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"BQEIIxOXG9zbGi3XTXAWp7dYnJu\",\"key\":\"key05071-35\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"NRbFxVc3lu1uWB56vlegidPCHft\",\"key\":\"key05071-36\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"eAlaHT0O67cU7xrSfj7kr8e0ybO\",\"key\":\"key05071-37\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"ARN5i17kM3CaFiqRVZudfmI5OcL\",\"key\":\"key05071-38\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"yIRuQSACnRJCQkCNszopTye5rsc\",\"key\":\"key05071-39\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"nstPEC20KUG8PkaaLARmudpErhd\",\"key\":\"key05071-4\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"ACwWWFwSaMjR9bU8glMEAQib2KK\",\"key\":\"key05071-40\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"TE9DwqNYyllROrenoFHZh983sD3\",\"key\":\"key05071-41\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"083beWHADDLXm4iMIedZDcFnV9L\",\"key\":\"key05071-42\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"PpaDSzfIb8lgOTjRaEGBcxiaO3x\",\"key\":\"key05071-43\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"krooNyZ7eF6dUPPKKW98xOMuZbl\",\"key\":\"key05071-44\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"Sk2BDXeyVEn2Nz8XQjkuE7OsWRs\",\"key\":\"key05071-45\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"lPv4i7bRhmi45E0RsPK70fCAeUV\",\"key\":\"key05071-46\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"ATM8nA04vhDuvSB4aDNQlJsHA2b\",\"key\":\"key05071-47\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"bZB6Le2XGQFu5SLr27YMnxc0CGk\",\"key\":\"key05071-48\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"BU3hTp7zIoSzDqLjo9W7qHvUfZq\",\"key\":\"key05071-49\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"},{\"etag\":\"pOJ6lQvjJck2WA4EAsaiaxGwmal\",\"key\":\"key05071-5\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"rhc3FmcczheghbsidJu8fR1987A\",\"key\":\"key05071-6\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"Y2xTS8gIlW6khobX9fy5Q54XpjN\",\"key\":\"key05071-7\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"wAVsB8jr8tyDJ7jHKHFjwi0Ip19\",\"key\":\"key05071-8\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"},{\"etag\":\"bEqMH3RllqT0qTTMMwHNHggLzSu\",\"key\":\"key05071-9\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}]}", + "x-ms-client-request-id" : "0fe0166f-9982-4460-a598-b54dcda76c33", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-0?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-0?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fba27e7a-4a65-472e-a108-341d10bb019d", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "15800440-6bdc-40dc-8cec-86e76040d497", "Content-Type" : "application/json" }, "Response" : { @@ -1621,29 +1621,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:13 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "d62f3e17-27ad-43ca-9ab6-7153711a4b54", + "x-ms-correlation-request-id" : "bc07f269-ba45-433c-9543-6926c5b20cfe", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"5swGKZKDeA78yTktVXxAKlRptZx\"", + "ETag" : "\"57l6maN8UFOC66g2HY2bikkwN15\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0OTE=;sn=471491", - "x-ms-request-id" : "d62f3e17-27ad-43ca-9ab6-7153711a4b54", - "Body" : "{\"etag\":\"5swGKZKDeA78yTktVXxAKlRptZx\",\"key\":\"key43243-0\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "fba27e7a-4a65-472e-a108-341d10bb019d", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MDU=;sn=569505", + "x-ms-request-id" : "bc07f269-ba45-433c-9543-6926c5b20cfe", + "Body" : "{\"etag\":\"57l6maN8UFOC66g2HY2bikkwN15\",\"key\":\"key05071-0\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "15800440-6bdc-40dc-8cec-86e76040d497", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-1?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-1?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "40a357fd-1e32-4588-8140-ff4c6dbb5af5", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7efc76aa-8c1a-4d86-af45-decd11de6bc3", "Content-Type" : "application/json" }, "Response" : { @@ -1652,29 +1652,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:13 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "fc9dfb53-a40c-4c83-a364-64c87c79b57a", + "x-ms-correlation-request-id" : "0b590f85-cedd-49bd-b9c0-cc2a56822875", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"OAIwMudAddzOw88s1V0tN1fAzPn\"", + "ETag" : "\"El4AUlldnujXwUh04jI6n3xZyKk\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0OTI=;sn=471492", - "x-ms-request-id" : "fc9dfb53-a40c-4c83-a364-64c87c79b57a", - "Body" : "{\"etag\":\"OAIwMudAddzOw88s1V0tN1fAzPn\",\"key\":\"key43243-1\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "40a357fd-1e32-4588-8140-ff4c6dbb5af5", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MDY=;sn=569506", + "x-ms-request-id" : "0b590f85-cedd-49bd-b9c0-cc2a56822875", + "Body" : "{\"etag\":\"El4AUlldnujXwUh04jI6n3xZyKk\",\"key\":\"key05071-1\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "7efc76aa-8c1a-4d86-af45-decd11de6bc3", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-12?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-10?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3167bea6-6ad9-4774-b41b-056379fbf7d6", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "21171431-79df-45b3-90fb-5e1007ac33db", "Content-Type" : "application/json" }, "Response" : { @@ -1683,29 +1683,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:13 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "f3f93310-0086-48f3-bbae-873b4c36de67", + "x-ms-correlation-request-id" : "52402763-7671-475b-a04f-7635111940b2", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"RlqQr4hWfwS5OmxsiC0kjfgNtOq\"", + "ETag" : "\"ap23LHLY4DKRraDWq0YYdLEJbqQ\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0OTQ=;sn=471494", - "x-ms-request-id" : "f3f93310-0086-48f3-bbae-873b4c36de67", - "Body" : "{\"etag\":\"RlqQr4hWfwS5OmxsiC0kjfgNtOq\",\"key\":\"key43243-12\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "3167bea6-6ad9-4774-b41b-056379fbf7d6", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MDc=;sn=569507", + "x-ms-request-id" : "52402763-7671-475b-a04f-7635111940b2", + "Body" : "{\"etag\":\"ap23LHLY4DKRraDWq0YYdLEJbqQ\",\"key\":\"key05071-10\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "21171431-79df-45b3-90fb-5e1007ac33db", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-10?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-11?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "277bd76b-719e-4b7f-b26e-9dedc87a708c", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "889295c2-aede-40ec-8732-3de4b05b9a80", "Content-Type" : "application/json" }, "Response" : { @@ -1714,29 +1714,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:13 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "6474e1a0-a22d-4423-8827-00f71a23f351", + "x-ms-correlation-request-id" : "09e3cdda-1cab-4ac3-b565-83796cc9c095", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"PkwJDxZLQpf9jLmBTl8Yy6qMhhP\"", + "ETag" : "\"GPxbqzPQWPPuK5TrqVta9jR6cS7\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0OTU=;sn=471495", - "x-ms-request-id" : "6474e1a0-a22d-4423-8827-00f71a23f351", - "Body" : "{\"etag\":\"PkwJDxZLQpf9jLmBTl8Yy6qMhhP\",\"key\":\"key43243-10\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "277bd76b-719e-4b7f-b26e-9dedc87a708c", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MDg=;sn=569508", + "x-ms-request-id" : "09e3cdda-1cab-4ac3-b565-83796cc9c095", + "Body" : "{\"etag\":\"GPxbqzPQWPPuK5TrqVta9jR6cS7\",\"key\":\"key05071-11\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "889295c2-aede-40ec-8732-3de4b05b9a80", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-15?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-12?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "15593a50-be49-453f-8c4e-338fb6c8129e", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "abbc7841-5f01-467a-901c-aa7472c55571", "Content-Type" : "application/json" }, "Response" : { @@ -1745,29 +1745,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:13 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "1804347c-81a8-4d2c-ad89-426dde9e2d50", + "x-ms-correlation-request-id" : "ce0cbfa8-3342-4e7a-b553-60cd15f410ef", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"OMshvxwiD58lZ46UQzfaKRg0Ot1\"", + "ETag" : "\"AevMWud3qr5c6vaogibxvsRqg83\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0OTY=;sn=471496", - "x-ms-request-id" : "1804347c-81a8-4d2c-ad89-426dde9e2d50", - "Body" : "{\"etag\":\"OMshvxwiD58lZ46UQzfaKRg0Ot1\",\"key\":\"key43243-15\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "15593a50-be49-453f-8c4e-338fb6c8129e", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MDk=;sn=569509", + "x-ms-request-id" : "ce0cbfa8-3342-4e7a-b553-60cd15f410ef", + "Body" : "{\"etag\":\"AevMWud3qr5c6vaogibxvsRqg83\",\"key\":\"key05071-12\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "abbc7841-5f01-467a-901c-aa7472c55571", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-13?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-13?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ad452e2e-127a-412e-9e3d-55a0af9fb17c", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8ad88fe1-b570-480b-815d-193e7dd0da91", "Content-Type" : "application/json" }, "Response" : { @@ -1776,29 +1776,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:14 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "fb0299ba-8115-429a-9c2b-829a9d5f8070", + "x-ms-correlation-request-id" : "08721587-77c1-4f94-a1a5-13a5bbebbc54", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"WdBdULarZMhb5PXMo8CazXaKZ5Q\"", + "ETag" : "\"h53UuBqcCuArsjA2Hi0VM8knLSW\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0OTc=;sn=471497", - "x-ms-request-id" : "fb0299ba-8115-429a-9c2b-829a9d5f8070", - "Body" : "{\"etag\":\"WdBdULarZMhb5PXMo8CazXaKZ5Q\",\"key\":\"key43243-13\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "ad452e2e-127a-412e-9e3d-55a0af9fb17c", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MTA=;sn=569510", + "x-ms-request-id" : "08721587-77c1-4f94-a1a5-13a5bbebbc54", + "Body" : "{\"etag\":\"h53UuBqcCuArsjA2Hi0VM8knLSW\",\"key\":\"key05071-13\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "8ad88fe1-b570-480b-815d-193e7dd0da91", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-18?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-14?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d874354b-adcd-40a4-9fae-5a8c3a5b640a", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "286b8047-e3b7-473b-a8cc-756f0b396e31", "Content-Type" : "application/json" }, "Response" : { @@ -1807,29 +1807,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:14 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "5d2b70a6-4b56-4492-919f-ab35eef5db4c", + "x-ms-correlation-request-id" : "003b18a9-5051-4f0d-9630-f7c06720ecd9", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"IkctUBVr7gAT8WsQCuAe5RlseVt\"", + "ETag" : "\"6MFrrwHOsagMH1IXVg3grzDnjSn\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0OTg=;sn=471498", - "x-ms-request-id" : "5d2b70a6-4b56-4492-919f-ab35eef5db4c", - "Body" : "{\"etag\":\"IkctUBVr7gAT8WsQCuAe5RlseVt\",\"key\":\"key43243-18\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "d874354b-adcd-40a4-9fae-5a8c3a5b640a", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MTE=;sn=569511", + "x-ms-request-id" : "003b18a9-5051-4f0d-9630-f7c06720ecd9", + "Body" : "{\"etag\":\"6MFrrwHOsagMH1IXVg3grzDnjSn\",\"key\":\"key05071-14\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "286b8047-e3b7-473b-a8cc-756f0b396e31", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-2?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-15?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0b13aa00-ea77-418b-8cb6-da2c3e5ca7e3", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e6fcd709-03a7-41d1-8d6d-a4c668829a42", "Content-Type" : "application/json" }, "Response" : { @@ -1838,29 +1838,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:14 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "4ea9d5eb-d524-4388-91c7-bd75d993a93e", + "x-ms-correlation-request-id" : "0e905fea-52db-4c39-9cfc-9530919ad763", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"4KXwAByxbOOb5VD51ukJWnns2qA\"", + "ETag" : "\"kDUImjJn05p4gSsdDQJPNaPYTwQ\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0OTk=;sn=471499", - "x-ms-request-id" : "4ea9d5eb-d524-4388-91c7-bd75d993a93e", - "Body" : "{\"etag\":\"4KXwAByxbOOb5VD51ukJWnns2qA\",\"key\":\"key43243-2\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "0b13aa00-ea77-418b-8cb6-da2c3e5ca7e3", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MTI=;sn=569512", + "x-ms-request-id" : "0e905fea-52db-4c39-9cfc-9530919ad763", + "Body" : "{\"etag\":\"kDUImjJn05p4gSsdDQJPNaPYTwQ\",\"key\":\"key05071-15\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "e6fcd709-03a7-41d1-8d6d-a4c668829a42", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-19?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-16?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5567f683-70e4-4f82-a838-c9ae75d4251c", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8b9c909a-d667-40e7-9ab9-99374cdc6fc6", "Content-Type" : "application/json" }, "Response" : { @@ -1869,29 +1869,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:14 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "1c1afdc2-1966-4e88-9f3a-20394ac1d5f4", + "x-ms-correlation-request-id" : "6c8197f3-cd93-4565-9692-1f6d275df292", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"noQL90ixq6VPmClXos2NZBMme68\"", + "ETag" : "\"Ef8hrE9wsuAalu3Z2WPdhNNOx1S\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MDE=;sn=471501", - "x-ms-request-id" : "1c1afdc2-1966-4e88-9f3a-20394ac1d5f4", - "Body" : "{\"etag\":\"noQL90ixq6VPmClXos2NZBMme68\",\"key\":\"key43243-19\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "5567f683-70e4-4f82-a838-c9ae75d4251c", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MTM=;sn=569513", + "x-ms-request-id" : "6c8197f3-cd93-4565-9692-1f6d275df292", + "Body" : "{\"etag\":\"Ef8hrE9wsuAalu3Z2WPdhNNOx1S\",\"key\":\"key05071-16\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "8b9c909a-d667-40e7-9ab9-99374cdc6fc6", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-14?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-17?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ff3c5972-4ce0-4ddf-8479-ac172cc350c8", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "218f7e0a-e6dd-426f-810c-bb67b88a191f", "Content-Type" : "application/json" }, "Response" : { @@ -1900,29 +1900,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:14 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "931eb45d-4147-4a44-b5bf-f042bb5df488", + "x-ms-correlation-request-id" : "1c3948dd-514a-41e4-b43a-ba24ed69d1a1", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"JkE6GfZwjBqnomjYOxxzXb9T5Ob\"", + "ETag" : "\"S8qbEqSJS8UQ5jejbqceF3IONUm\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MDA=;sn=471500", - "x-ms-request-id" : "931eb45d-4147-4a44-b5bf-f042bb5df488", - "Body" : "{\"etag\":\"JkE6GfZwjBqnomjYOxxzXb9T5Ob\",\"key\":\"key43243-14\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "ff3c5972-4ce0-4ddf-8479-ac172cc350c8", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MTQ=;sn=569514", + "x-ms-request-id" : "1c3948dd-514a-41e4-b43a-ba24ed69d1a1", + "Body" : "{\"etag\":\"S8qbEqSJS8UQ5jejbqceF3IONUm\",\"key\":\"key05071-17\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "218f7e0a-e6dd-426f-810c-bb67b88a191f", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-25?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-18?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1fc33d90-4c17-4d0b-89b3-156477356327", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6c0289a1-6cab-4f64-8539-2c3ee278d54c", "Content-Type" : "application/json" }, "Response" : { @@ -1931,29 +1931,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:14 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "5eab4098-16d6-4ef1-840d-4a24bfe57bcf", + "x-ms-correlation-request-id" : "2833308f-cf76-43f1-a6ad-c23c672ef59f", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"6jlBJ3sf4U1jY5zSrfn26OSvfHD\"", + "ETag" : "\"pm0lil7rOtJhgBOKKch62czfSPO\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MDI=;sn=471502", - "x-ms-request-id" : "5eab4098-16d6-4ef1-840d-4a24bfe57bcf", - "Body" : "{\"etag\":\"6jlBJ3sf4U1jY5zSrfn26OSvfHD\",\"key\":\"key43243-25\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "1fc33d90-4c17-4d0b-89b3-156477356327", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MTU=;sn=569515", + "x-ms-request-id" : "2833308f-cf76-43f1-a6ad-c23c672ef59f", + "Body" : "{\"etag\":\"pm0lil7rOtJhgBOKKch62czfSPO\",\"key\":\"key05071-18\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "6c0289a1-6cab-4f64-8539-2c3ee278d54c", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-20?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-19?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b065e236-83da-4f79-8dc1-ce8dace4ce4d", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e0b279ac-3a5a-444a-86bc-20bc50919f65", "Content-Type" : "application/json" }, "Response" : { @@ -1962,29 +1962,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:14 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "f031b36c-77af-4d13-b5a3-e3bfb7193d64", + "x-ms-correlation-request-id" : "9434a08b-1e0d-4653-ad63-15d1163845e6", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"p0ea4oX1vKRO6Lsi0dZmLem6gRo\"", + "ETag" : "\"yQTHnxhLbjMlBjR6s2eV5A3S49I\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MDQ=;sn=471504", - "x-ms-request-id" : "f031b36c-77af-4d13-b5a3-e3bfb7193d64", - "Body" : "{\"etag\":\"p0ea4oX1vKRO6Lsi0dZmLem6gRo\",\"key\":\"key43243-20\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "b065e236-83da-4f79-8dc1-ce8dace4ce4d", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MTY=;sn=569516", + "x-ms-request-id" : "9434a08b-1e0d-4653-ad63-15d1163845e6", + "Body" : "{\"etag\":\"yQTHnxhLbjMlBjR6s2eV5A3S49I\",\"key\":\"key05071-19\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "e0b279ac-3a5a-444a-86bc-20bc50919f65", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-16?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-2?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "53849598-3d12-46d8-9def-a6c2bf6c26e1", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2cd5bbbd-45f3-4bcc-bfc0-a6ef92b12769", "Content-Type" : "application/json" }, "Response" : { @@ -1993,29 +1993,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:14 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "512e32fd-38fb-4ee4-9de9-689a65346982", + "x-ms-correlation-request-id" : "611c7136-edf9-49d6-a3b6-c34e517353f2", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"KZ0pL9YXmQup8xfBKMkQjPE6GhY\"", + "ETag" : "\"sqXCo7SYp0g1drZ6wY6xfWGfQnK\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MDM=;sn=471503", - "x-ms-request-id" : "512e32fd-38fb-4ee4-9de9-689a65346982", - "Body" : "{\"etag\":\"KZ0pL9YXmQup8xfBKMkQjPE6GhY\",\"key\":\"key43243-16\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "53849598-3d12-46d8-9def-a6c2bf6c26e1", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MTc=;sn=569517", + "x-ms-request-id" : "611c7136-edf9-49d6-a3b6-c34e517353f2", + "Body" : "{\"etag\":\"sqXCo7SYp0g1drZ6wY6xfWGfQnK\",\"key\":\"key05071-2\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "2cd5bbbd-45f3-4bcc-bfc0-a6ef92b12769", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-26?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-20?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3ee0b90a-5d05-4e5e-9b79-e62c2ee52ee8", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6de525c0-dcbe-480e-8dea-d44d1951a32d", "Content-Type" : "application/json" }, "Response" : { @@ -2024,29 +2024,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:14 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "a1b08cf2-7691-469a-b168-c3276e545f6d", + "x-ms-correlation-request-id" : "61966453-3324-49e1-b3a9-34e26a9532b4", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"RR573sNU5I35JVh7LS2o52P9sS6\"", + "ETag" : "\"L7HwlYG0QpTJBZvI0ynhOkMBJPV\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MDU=;sn=471505", - "x-ms-request-id" : "a1b08cf2-7691-469a-b168-c3276e545f6d", - "Body" : "{\"etag\":\"RR573sNU5I35JVh7LS2o52P9sS6\",\"key\":\"key43243-26\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "3ee0b90a-5d05-4e5e-9b79-e62c2ee52ee8", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MTg=;sn=569518", + "x-ms-request-id" : "61966453-3324-49e1-b3a9-34e26a9532b4", + "Body" : "{\"etag\":\"L7HwlYG0QpTJBZvI0ynhOkMBJPV\",\"key\":\"key05071-20\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "6de525c0-dcbe-480e-8dea-d44d1951a32d", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-24?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-21?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "baf8adec-405a-4ef1-bed9-ea46740474d6", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d78406bb-4d8e-49cc-91af-c2c4c80489af", "Content-Type" : "application/json" }, "Response" : { @@ -2055,29 +2055,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:14 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "02ba908f-35ab-49c4-bce9-1336406180be", + "x-ms-correlation-request-id" : "a73a0f9a-d148-4316-ae66-cc4650d93a7b", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"Tj1KQ3SibYM9wrlNBk1A90svpcQ\"", + "ETag" : "\"i4qcSU4C5DqfEUQtUqsy1AXpKXE\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MDY=;sn=471506", - "x-ms-request-id" : "02ba908f-35ab-49c4-bce9-1336406180be", - "Body" : "{\"etag\":\"Tj1KQ3SibYM9wrlNBk1A90svpcQ\",\"key\":\"key43243-24\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "baf8adec-405a-4ef1-bed9-ea46740474d6", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MTk=;sn=569519", + "x-ms-request-id" : "a73a0f9a-d148-4316-ae66-cc4650d93a7b", + "Body" : "{\"etag\":\"i4qcSU4C5DqfEUQtUqsy1AXpKXE\",\"key\":\"key05071-21\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "d78406bb-4d8e-49cc-91af-c2c4c80489af", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-17?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-22?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1c9b500a-221f-4f9b-9056-e703086e876c", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fcc04cfe-79b1-40cf-9da2-15f02c66c446", "Content-Type" : "application/json" }, "Response" : { @@ -2086,29 +2086,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:14 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "a1b71866-8455-43fb-b7d5-9c1c6617aed0", + "x-ms-correlation-request-id" : "d6661a67-4da7-4d46-902d-dcea83051ec5", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"F9L4ahb3UmuJAVTfXCLxjSKdaJ7\"", + "ETag" : "\"V9zXtVuKUKXrrtOUAqIOIF6WcAX\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MDc=;sn=471507", - "x-ms-request-id" : "a1b71866-8455-43fb-b7d5-9c1c6617aed0", - "Body" : "{\"etag\":\"F9L4ahb3UmuJAVTfXCLxjSKdaJ7\",\"key\":\"key43243-17\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "1c9b500a-221f-4f9b-9056-e703086e876c", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MjA=;sn=569520", + "x-ms-request-id" : "d6661a67-4da7-4d46-902d-dcea83051ec5", + "Body" : "{\"etag\":\"V9zXtVuKUKXrrtOUAqIOIF6WcAX\",\"key\":\"key05071-22\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "fcc04cfe-79b1-40cf-9da2-15f02c66c446", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-21?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-23?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "eecf2221-bb73-482c-b11f-374437102fdc", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c84a893c-282c-4383-a084-ed59a4dbe58c", "Content-Type" : "application/json" }, "Response" : { @@ -2117,29 +2117,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:14 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ccc52216-cb71-4697-8fe5-b1b7d7eb1036", + "x-ms-correlation-request-id" : "ab24f1ff-ab8b-4dcd-9ddd-987bbddbdd17", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"E5nYiK64Gq2qGK2TWTvwxozgeV4\"", + "ETag" : "\"OWRbzMoeDQwwg2BNiVaUjCp60Sk\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MDk=;sn=471509", - "x-ms-request-id" : "ccc52216-cb71-4697-8fe5-b1b7d7eb1036", - "Body" : "{\"etag\":\"E5nYiK64Gq2qGK2TWTvwxozgeV4\",\"key\":\"key43243-21\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "eecf2221-bb73-482c-b11f-374437102fdc", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MjE=;sn=569521", + "x-ms-request-id" : "ab24f1ff-ab8b-4dcd-9ddd-987bbddbdd17", + "Body" : "{\"etag\":\"OWRbzMoeDQwwg2BNiVaUjCp60Sk\",\"key\":\"key05071-23\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "c84a893c-282c-4383-a084-ed59a4dbe58c", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-32?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-24?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5892b8df-5c30-4f2d-9dae-72e7ba80bc91", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fceebfe8-263e-4027-9a67-102369111e15", "Content-Type" : "application/json" }, "Response" : { @@ -2148,29 +2148,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:14 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "c29dc4db-682a-4000-a8be-8bf63bb771b7", + "x-ms-correlation-request-id" : "95705467-403b-4133-bf34-cc85e418c600", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"tt8CniAXB7PbpLSnoFIOBCfuw1u\"", + "ETag" : "\"Fa3sYjv7fWMIEG9Ti0pPeyDgjA7\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MTA=;sn=471510", - "x-ms-request-id" : "c29dc4db-682a-4000-a8be-8bf63bb771b7", - "Body" : "{\"etag\":\"tt8CniAXB7PbpLSnoFIOBCfuw1u\",\"key\":\"key43243-32\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "5892b8df-5c30-4f2d-9dae-72e7ba80bc91", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MjI=;sn=569522", + "x-ms-request-id" : "95705467-403b-4133-bf34-cc85e418c600", + "Body" : "{\"etag\":\"Fa3sYjv7fWMIEG9Ti0pPeyDgjA7\",\"key\":\"key05071-24\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "fceebfe8-263e-4027-9a67-102369111e15", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-28?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-25?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "dab18033-e989-47dc-bcee-c1459de60e22", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "52f9299d-9070-4485-88d9-4c5c894d644c", "Content-Type" : "application/json" }, "Response" : { @@ -2179,29 +2179,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:14 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "5754fcb5-497a-48c0-aabf-8ccc780082f9", + "x-ms-correlation-request-id" : "b02d9e94-8e38-4f5d-b989-fda61a987502", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"3JLnwSQUl0cH2AclQWexFc8M13w\"", + "ETag" : "\"gw0BRmGOHcir060yLWFZiqqDB29\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MTE=;sn=471511", - "x-ms-request-id" : "5754fcb5-497a-48c0-aabf-8ccc780082f9", - "Body" : "{\"etag\":\"3JLnwSQUl0cH2AclQWexFc8M13w\",\"key\":\"key43243-28\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "dab18033-e989-47dc-bcee-c1459de60e22", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MjM=;sn=569523", + "x-ms-request-id" : "b02d9e94-8e38-4f5d-b989-fda61a987502", + "Body" : "{\"etag\":\"gw0BRmGOHcir060yLWFZiqqDB29\",\"key\":\"key05071-25\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "52f9299d-9070-4485-88d9-4c5c894d644c", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-33?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-26?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "558c453d-c55c-4009-bd5e-4f31956a7b8b", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bd0e0814-1f5e-4d95-8f1e-6048637aad0b", "Content-Type" : "application/json" }, "Response" : { @@ -2210,29 +2210,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:14 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "90a23280-335d-433b-90c6-666c40a31f65", + "x-ms-correlation-request-id" : "b3d821e5-9a2f-47e1-8330-6c511d3a42d9", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"sGOWrivOJfihyg49zynmZCKmkK7\"", + "ETag" : "\"NtlJqk99cYwKBDqzWP12fM8uAmu\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MTM=;sn=471513", - "x-ms-request-id" : "90a23280-335d-433b-90c6-666c40a31f65", - "Body" : "{\"etag\":\"sGOWrivOJfihyg49zynmZCKmkK7\",\"key\":\"key43243-33\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "558c453d-c55c-4009-bd5e-4f31956a7b8b", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MjQ=;sn=569524", + "x-ms-request-id" : "b3d821e5-9a2f-47e1-8330-6c511d3a42d9", + "Body" : "{\"etag\":\"NtlJqk99cYwKBDqzWP12fM8uAmu\",\"key\":\"key05071-26\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "bd0e0814-1f5e-4d95-8f1e-6048637aad0b", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-22?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-27?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b0caaef3-9015-4a53-989e-534354919442", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "86d13d07-c25d-478b-9114-15a0fecdc33b", "Content-Type" : "application/json" }, "Response" : { @@ -2241,29 +2241,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:14 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "f5ad6381-e3ea-473e-9847-2f2a1951852a", + "x-ms-correlation-request-id" : "72b0b736-8bfb-4095-b8ce-cc154872f78f", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"5WbsNdVm1dVceCp3vSDMBHbAoD3\"", + "ETag" : "\"tCuGM0CC4urgKixlCHdzVkrmMnf\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MTI=;sn=471512", - "x-ms-request-id" : "f5ad6381-e3ea-473e-9847-2f2a1951852a", - "Body" : "{\"etag\":\"5WbsNdVm1dVceCp3vSDMBHbAoD3\",\"key\":\"key43243-22\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "b0caaef3-9015-4a53-989e-534354919442", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MjU=;sn=569525", + "x-ms-request-id" : "72b0b736-8bfb-4095-b8ce-cc154872f78f", + "Body" : "{\"etag\":\"tCuGM0CC4urgKixlCHdzVkrmMnf\",\"key\":\"key05071-27\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "86d13d07-c25d-478b-9114-15a0fecdc33b", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-29?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-28?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "28b0f7fc-e609-4ced-ad6d-67e1d29f46dd", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "af3a1442-2bf8-49be-9698-1b588b110f85", "Content-Type" : "application/json" }, "Response" : { @@ -2272,29 +2272,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:14 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "79b4c3a6-be54-4c49-86d5-7f78915c7f4e", + "x-ms-correlation-request-id" : "72a55f91-b2e9-4040-b088-703a9e38bf50", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"Qn18yPDcDqrHElE6Z3j4tV1foca\"", + "ETag" : "\"k1QgPME7F33uoYgIwYIKFKkcKy1\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MTQ=;sn=471514", - "x-ms-request-id" : "79b4c3a6-be54-4c49-86d5-7f78915c7f4e", - "Body" : "{\"etag\":\"Qn18yPDcDqrHElE6Z3j4tV1foca\",\"key\":\"key43243-29\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "28b0f7fc-e609-4ced-ad6d-67e1d29f46dd", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MjY=;sn=569526", + "x-ms-request-id" : "72a55f91-b2e9-4040-b088-703a9e38bf50", + "Body" : "{\"etag\":\"k1QgPME7F33uoYgIwYIKFKkcKy1\",\"key\":\"key05071-28\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "af3a1442-2bf8-49be-9698-1b588b110f85", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-23?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-29?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fa9017e0-2b07-464a-a945-59676652c3be", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f5929418-0c24-467c-85b0-58a59847fdef", "Content-Type" : "application/json" }, "Response" : { @@ -2303,29 +2303,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:14 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "9255ed47-4dc0-499a-b386-e20f3f03f2c7", + "x-ms-correlation-request-id" : "37c177f9-3e7b-4cb3-bd52-02c1e855f756", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"rdG5WLVwzw7zUu0OvS3BKeP9wY0\"", + "ETag" : "\"OItSCwILYFTFLOYeFC4wlo2pgKS\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MTU=;sn=471515", - "x-ms-request-id" : "9255ed47-4dc0-499a-b386-e20f3f03f2c7", - "Body" : "{\"etag\":\"rdG5WLVwzw7zUu0OvS3BKeP9wY0\",\"key\":\"key43243-23\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "fa9017e0-2b07-464a-a945-59676652c3be", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1Mjc=;sn=569527", + "x-ms-request-id" : "37c177f9-3e7b-4cb3-bd52-02c1e855f756", + "Body" : "{\"etag\":\"OItSCwILYFTFLOYeFC4wlo2pgKS\",\"key\":\"key05071-29\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "f5929418-0c24-467c-85b0-58a59847fdef", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-35?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-3?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c0f99c2a-3fc8-4bf9-a515-5815c9500108", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fc7fe5a8-492b-4bb5-9063-37a3d626ad91", "Content-Type" : "application/json" }, "Response" : { @@ -2334,29 +2334,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:15 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "48b2aba1-498b-41b6-a493-3a3c1c3eb49a", + "x-ms-correlation-request-id" : "197e5031-7721-4e7a-98a2-2e8b27d53ee5", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"9bjRJa1vqSw88bo6o21PNhMNRiT\"", + "ETag" : "\"FQBK6KRCnGig6ATDE8bYIGopsSs\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MTY=;sn=471516", - "x-ms-request-id" : "48b2aba1-498b-41b6-a493-3a3c1c3eb49a", - "Body" : "{\"etag\":\"9bjRJa1vqSw88bo6o21PNhMNRiT\",\"key\":\"key43243-35\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "c0f99c2a-3fc8-4bf9-a515-5815c9500108", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1Mjg=;sn=569528", + "x-ms-request-id" : "197e5031-7721-4e7a-98a2-2e8b27d53ee5", + "Body" : "{\"etag\":\"FQBK6KRCnGig6ATDE8bYIGopsSs\",\"key\":\"key05071-3\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "fc7fe5a8-492b-4bb5-9063-37a3d626ad91", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-30?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-30?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fc51e47f-7289-44b5-8196-b19432e739f1", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7da5818f-6c7a-40e4-9a3f-922458d4d5f7", "Content-Type" : "application/json" }, "Response" : { @@ -2365,29 +2365,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:15 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "72e78cd2-6415-4594-b217-2ba7a1f38275", + "x-ms-correlation-request-id" : "0c1b696c-0036-4028-811b-d7cddbc178e0", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"a2JJY9LqpZBlOSr4ldHU6ICQaIM\"", + "ETag" : "\"xFq7d1xVuzx9lAij1Bi9O4WnVsF\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MTc=;sn=471517", - "x-ms-request-id" : "72e78cd2-6415-4594-b217-2ba7a1f38275", - "Body" : "{\"etag\":\"a2JJY9LqpZBlOSr4ldHU6ICQaIM\",\"key\":\"key43243-30\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "fc51e47f-7289-44b5-8196-b19432e739f1", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1Mjk=;sn=569529", + "x-ms-request-id" : "0c1b696c-0036-4028-811b-d7cddbc178e0", + "Body" : "{\"etag\":\"xFq7d1xVuzx9lAij1Bi9O4WnVsF\",\"key\":\"key05071-30\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "7da5818f-6c7a-40e4-9a3f-922458d4d5f7", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-27?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-31?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5a313d07-bba6-4298-b89e-175d5df2c4c0", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "54f3b93a-b924-440d-b3a6-41bdb593cd32", "Content-Type" : "application/json" }, "Response" : { @@ -2396,29 +2396,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:15 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "fa6ca108-9de6-4aa8-aa56-5ce3205f5ca2", + "x-ms-correlation-request-id" : "69baa535-81b6-4aeb-9e8e-1a9ba7147dff", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"5W1MqhQiabp4aJXWNDpQzoxa5Oh\"", + "ETag" : "\"2Mu9m5uh1s1x2LthKIzM0ptwTFz\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MTg=;sn=471518", - "x-ms-request-id" : "fa6ca108-9de6-4aa8-aa56-5ce3205f5ca2", - "Body" : "{\"etag\":\"5W1MqhQiabp4aJXWNDpQzoxa5Oh\",\"key\":\"key43243-27\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "5a313d07-bba6-4298-b89e-175d5df2c4c0", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MzA=;sn=569530", + "x-ms-request-id" : "69baa535-81b6-4aeb-9e8e-1a9ba7147dff", + "Body" : "{\"etag\":\"2Mu9m5uh1s1x2LthKIzM0ptwTFz\",\"key\":\"key05071-31\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "54f3b93a-b924-440d-b3a6-41bdb593cd32", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-40?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-32?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b8b9241d-5ff0-49de-b97c-99d7515c28aa", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ddcbdfee-afef-48bc-9e48-01c7e13685e2", "Content-Type" : "application/json" }, "Response" : { @@ -2427,29 +2427,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:12 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:15 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "691c93cf-ce4e-42ef-b535-926433565388", + "x-ms-correlation-request-id" : "6d5c48da-7b4c-44f2-b282-8b3fd08dbe98", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"Cn8OJ1NoGE3hATySwc08p4vz9RS\"", + "ETag" : "\"KcCrNbzBCuWb0WAWpqJar8tf3hw\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MTk=;sn=471519", - "x-ms-request-id" : "691c93cf-ce4e-42ef-b535-926433565388", - "Body" : "{\"etag\":\"Cn8OJ1NoGE3hATySwc08p4vz9RS\",\"key\":\"key43243-40\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "b8b9241d-5ff0-49de-b97c-99d7515c28aa", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MzE=;sn=569531", + "x-ms-request-id" : "6d5c48da-7b4c-44f2-b282-8b3fd08dbe98", + "Body" : "{\"etag\":\"KcCrNbzBCuWb0WAWpqJar8tf3hw\",\"key\":\"key05071-32\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:12+00:00\"}", + "x-ms-client-request-id" : "ddcbdfee-afef-48bc-9e48-01c7e13685e2", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-34?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-33?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6af67349-25be-4436-bbc3-11d12b901d71", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7f5606b7-1a47-490e-99b6-7143e0bc66e1", "Content-Type" : "application/json" }, "Response" : { @@ -2458,29 +2458,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:15 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "17cef6d8-8110-4f34-b205-bc1e28a0d0f4", + "x-ms-correlation-request-id" : "d06061d5-7703-44fe-9f84-db7c84b2b533", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"EEDFIQG4ACYSMJiMQgp1MAbLXAY\"", + "ETag" : "\"tG8lcM729Wvfui9SNspEb6CZxXV\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MjA=;sn=471520", - "x-ms-request-id" : "17cef6d8-8110-4f34-b205-bc1e28a0d0f4", - "Body" : "{\"etag\":\"EEDFIQG4ACYSMJiMQgp1MAbLXAY\",\"key\":\"key43243-34\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "6af67349-25be-4436-bbc3-11d12b901d71", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MzI=;sn=569532", + "x-ms-request-id" : "d06061d5-7703-44fe-9f84-db7c84b2b533", + "Body" : "{\"etag\":\"tG8lcM729Wvfui9SNspEb6CZxXV\",\"key\":\"key05071-33\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "7f5606b7-1a47-490e-99b6-7143e0bc66e1", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-41?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-34?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e39ed16a-2825-4153-85eb-be4239bb871a", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d093576e-ed4a-467e-bf2d-aec7d9639a60", "Content-Type" : "application/json" }, "Response" : { @@ -2489,29 +2489,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:15 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ef5d1fac-5041-4b64-8f07-7e83999b6bf2", + "x-ms-correlation-request-id" : "a24f73e7-a8ad-4704-8f11-87a1f3650ba7", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"821gej0kK44qcdk33XpLtPbMrMJ\"", + "ETag" : "\"zitNy4S6g1jLwFsSffC45QPb0bm\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MjI=;sn=471522", - "x-ms-request-id" : "ef5d1fac-5041-4b64-8f07-7e83999b6bf2", - "Body" : "{\"etag\":\"821gej0kK44qcdk33XpLtPbMrMJ\",\"key\":\"key43243-41\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "e39ed16a-2825-4153-85eb-be4239bb871a", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MzM=;sn=569533", + "x-ms-request-id" : "a24f73e7-a8ad-4704-8f11-87a1f3650ba7", + "Body" : "{\"etag\":\"zitNy4S6g1jLwFsSffC45QPb0bm\",\"key\":\"key05071-34\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "d093576e-ed4a-467e-bf2d-aec7d9639a60", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-31?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-35?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "20ba009a-fde8-4b32-9155-b26b90425f09", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6300bd04-ab99-42e5-8242-a4202776561e", "Content-Type" : "application/json" }, "Response" : { @@ -2520,29 +2520,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:15 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "d1f8d60c-f2d8-4022-9847-c90fcf7cade3", + "x-ms-correlation-request-id" : "7eb44ab0-2422-4d38-bb0d-9e8424de54e7", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"fLBufnRsxwpEgBwL90VerrnqvVJ\"", + "ETag" : "\"BQEIIxOXG9zbGi3XTXAWp7dYnJu\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MjE=;sn=471521", - "x-ms-request-id" : "d1f8d60c-f2d8-4022-9847-c90fcf7cade3", - "Body" : "{\"etag\":\"fLBufnRsxwpEgBwL90VerrnqvVJ\",\"key\":\"key43243-31\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "20ba009a-fde8-4b32-9155-b26b90425f09", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MzQ=;sn=569534", + "x-ms-request-id" : "7eb44ab0-2422-4d38-bb0d-9e8424de54e7", + "Body" : "{\"etag\":\"BQEIIxOXG9zbGi3XTXAWp7dYnJu\",\"key\":\"key05071-35\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "6300bd04-ab99-42e5-8242-a4202776561e", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-36?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-36?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d4860919-7251-4c9c-b4e1-e9087d54c576", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "469ada14-7301-41cc-bc08-cc7835b0ad90", "Content-Type" : "application/json" }, "Response" : { @@ -2551,29 +2551,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:15 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "42deab6b-79c9-4f78-b04d-8ea5ef470f9a", + "x-ms-correlation-request-id" : "69964ca7-3bc2-4567-8b2b-f52413ce770c", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"ka1D6pmbezcBQs3oWWCB6mBp8VN\"", + "ETag" : "\"NRbFxVc3lu1uWB56vlegidPCHft\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MjM=;sn=471523", - "x-ms-request-id" : "42deab6b-79c9-4f78-b04d-8ea5ef470f9a", - "Body" : "{\"etag\":\"ka1D6pmbezcBQs3oWWCB6mBp8VN\",\"key\":\"key43243-36\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "d4860919-7251-4c9c-b4e1-e9087d54c576", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MzU=;sn=569535", + "x-ms-request-id" : "69964ca7-3bc2-4567-8b2b-f52413ce770c", + "Body" : "{\"etag\":\"NRbFxVc3lu1uWB56vlegidPCHft\",\"key\":\"key05071-36\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "469ada14-7301-41cc-bc08-cc7835b0ad90", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-11?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-37?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ad403828-bf35-4124-8f0a-b44272c17f24", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "69c4fa47-0329-4f8c-8424-bb952af733de", "Content-Type" : "application/json" }, "Response" : { @@ -2582,29 +2582,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:15 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "bc37042c-04f9-4c1a-a4a9-c20c424aee58", + "x-ms-correlation-request-id" : "db8a4816-0033-458c-94ff-42a7cdb56a52", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"6EsiBsk49pGbWjy7oA1JZTwGgv8\"", + "ETag" : "\"eAlaHT0O67cU7xrSfj7kr8e0ybO\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0OTM=;sn=471493", - "x-ms-request-id" : "bc37042c-04f9-4c1a-a4a9-c20c424aee58", - "Body" : "{\"etag\":\"6EsiBsk49pGbWjy7oA1JZTwGgv8\",\"key\":\"key43243-11\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "ad403828-bf35-4124-8f0a-b44272c17f24", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1MzY=;sn=569536", + "x-ms-request-id" : "db8a4816-0033-458c-94ff-42a7cdb56a52", + "Body" : "{\"etag\":\"eAlaHT0O67cU7xrSfj7kr8e0ybO\",\"key\":\"key05071-37\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "69c4fa47-0329-4f8c-8424-bb952af733de", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-3?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-38?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c3ccbc47-c33c-4490-998c-e81346bbd6fd", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f01dd062-bf78-421f-b116-ca9650f33f1f", "Content-Type" : "application/json" }, "Response" : { @@ -2613,29 +2613,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:15 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "71da23b4-47ca-4475-a6ac-0bb25bbb2bbd", + "x-ms-correlation-request-id" : "b5639098-539c-4efc-9495-4f9f40ed1536", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"JM4UMDoKny4wlfDqjDa8PgytCRo\"", + "ETag" : "\"ARN5i17kM3CaFiqRVZudfmI5OcL\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MDg=;sn=471508", - "x-ms-request-id" : "71da23b4-47ca-4475-a6ac-0bb25bbb2bbd", - "Body" : "{\"etag\":\"JM4UMDoKny4wlfDqjDa8PgytCRo\",\"key\":\"key43243-3\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "c3ccbc47-c33c-4490-998c-e81346bbd6fd", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1Mzc=;sn=569537", + "x-ms-request-id" : "b5639098-539c-4efc-9495-4f9f40ed1536", + "Body" : "{\"etag\":\"ARN5i17kM3CaFiqRVZudfmI5OcL\",\"key\":\"key05071-38\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "f01dd062-bf78-421f-b116-ca9650f33f1f", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-38?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-39?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "353a3589-15cd-46cf-8dbc-d2ad1153a69a", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8606f2b8-d533-4d01-9ade-9c6299d2f923", "Content-Type" : "application/json" }, "Response" : { @@ -2644,29 +2644,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:15 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "95dbd76f-a4d1-4ec6-8135-c78bb1e3a910", + "x-ms-correlation-request-id" : "2756bb38-2069-4bb9-955e-e676abee1a95", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"OyO07cPPdAGKWTqCVrCOsIpoDhX\"", + "ETag" : "\"yIRuQSACnRJCQkCNszopTye5rsc\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MjQ=;sn=471524", - "x-ms-request-id" : "95dbd76f-a4d1-4ec6-8135-c78bb1e3a910", - "Body" : "{\"etag\":\"OyO07cPPdAGKWTqCVrCOsIpoDhX\",\"key\":\"key43243-38\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "353a3589-15cd-46cf-8dbc-d2ad1153a69a", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1Mzg=;sn=569538", + "x-ms-request-id" : "2756bb38-2069-4bb9-955e-e676abee1a95", + "Body" : "{\"etag\":\"yIRuQSACnRJCQkCNszopTye5rsc\",\"key\":\"key05071-39\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "8606f2b8-d533-4d01-9ade-9c6299d2f923", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-42?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-4?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7ac0b662-4262-4649-896d-1a5a443211b4", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "46a272b6-19a6-402b-8429-80770e2ac8f4", "Content-Type" : "application/json" }, "Response" : { @@ -2675,29 +2675,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:15 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "67ce305b-cdda-41dc-bfce-2170e4e99234", + "x-ms-correlation-request-id" : "73b390d3-0110-4c80-9c60-49c09b1a9562", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"Hrij9TdtblfaflCTa6tCxIB3Lyy\"", + "ETag" : "\"nstPEC20KUG8PkaaLARmudpErhd\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MjU=;sn=471525", - "x-ms-request-id" : "67ce305b-cdda-41dc-bfce-2170e4e99234", - "Body" : "{\"etag\":\"Hrij9TdtblfaflCTa6tCxIB3Lyy\",\"key\":\"key43243-42\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "7ac0b662-4262-4649-896d-1a5a443211b4", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1Mzk=;sn=569539", + "x-ms-request-id" : "73b390d3-0110-4c80-9c60-49c09b1a9562", + "Body" : "{\"etag\":\"nstPEC20KUG8PkaaLARmudpErhd\",\"key\":\"key05071-4\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "46a272b6-19a6-402b-8429-80770e2ac8f4", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-37?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-40?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f8c2a66e-08c5-4526-8ea3-7982f4981e29", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9216acb6-8160-40b5-b8f2-a56b35aef774", "Content-Type" : "application/json" }, "Response" : { @@ -2706,29 +2706,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:15 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "438f77e6-2f34-4141-b0b2-90f0364f6140", + "x-ms-correlation-request-id" : "6da16230-6d60-4a2a-81e1-da0dd5091a65", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"ACdcSseCcXIY639KKhzztLPjABo\"", + "ETag" : "\"ACwWWFwSaMjR9bU8glMEAQib2KK\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MjY=;sn=471526", - "x-ms-request-id" : "438f77e6-2f34-4141-b0b2-90f0364f6140", - "Body" : "{\"etag\":\"ACdcSseCcXIY639KKhzztLPjABo\",\"key\":\"key43243-37\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "f8c2a66e-08c5-4526-8ea3-7982f4981e29", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NDA=;sn=569540", + "x-ms-request-id" : "6da16230-6d60-4a2a-81e1-da0dd5091a65", + "Body" : "{\"etag\":\"ACwWWFwSaMjR9bU8glMEAQib2KK\",\"key\":\"key05071-40\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "9216acb6-8160-40b5-b8f2-a56b35aef774", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-39?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-41?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3d6bcfc4-2f84-48cd-b390-6cb15e52c7ea", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a570a2fb-1684-4d15-9d46-098eda16c8e6", "Content-Type" : "application/json" }, "Response" : { @@ -2737,29 +2737,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:15 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "b78a6675-9145-463b-8571-9814891db943", + "x-ms-correlation-request-id" : "1e2ce52c-6dd8-4c30-9b95-a6407eebd306", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"CC3P9WIbBvSCBEkuDCdBSOK6ucB\"", + "ETag" : "\"TE9DwqNYyllROrenoFHZh983sD3\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1Mjc=;sn=471527", - "x-ms-request-id" : "b78a6675-9145-463b-8571-9814891db943", - "Body" : "{\"etag\":\"CC3P9WIbBvSCBEkuDCdBSOK6ucB\",\"key\":\"key43243-39\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "3d6bcfc4-2f84-48cd-b390-6cb15e52c7ea", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NDE=;sn=569541", + "x-ms-request-id" : "1e2ce52c-6dd8-4c30-9b95-a6407eebd306", + "Body" : "{\"etag\":\"TE9DwqNYyllROrenoFHZh983sD3\",\"key\":\"key05071-41\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "a570a2fb-1684-4d15-9d46-098eda16c8e6", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-43?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-42?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b3a5e4eb-98c3-4dbf-8901-4c55dccdada8", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "96f8971a-0dde-48e6-97c5-51fed5e99d6a", "Content-Type" : "application/json" }, "Response" : { @@ -2768,29 +2768,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:15 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "a557aef6-591e-4d1f-ad4f-0ff75adf99c0", + "x-ms-correlation-request-id" : "788cd2c9-c57b-4f96-a918-448f6d73cee0", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"HlOs0JY89B6GOYErpP1QigoyNPJ\"", + "ETag" : "\"083beWHADDLXm4iMIedZDcFnV9L\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1Mjg=;sn=471528", - "x-ms-request-id" : "a557aef6-591e-4d1f-ad4f-0ff75adf99c0", - "Body" : "{\"etag\":\"HlOs0JY89B6GOYErpP1QigoyNPJ\",\"key\":\"key43243-43\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "b3a5e4eb-98c3-4dbf-8901-4c55dccdada8", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NDI=;sn=569542", + "x-ms-request-id" : "788cd2c9-c57b-4f96-a918-448f6d73cee0", + "Body" : "{\"etag\":\"083beWHADDLXm4iMIedZDcFnV9L\",\"key\":\"key05071-42\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "96f8971a-0dde-48e6-97c5-51fed5e99d6a", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-44?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-43?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f422f888-4e16-4b7d-815d-b21c06b0c46d", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6adc6d85-2f21-41f8-9c63-14c6a286b84d", "Content-Type" : "application/json" }, "Response" : { @@ -2799,29 +2799,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:15 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "687805f1-1c35-470e-8fbf-a2af15fed790", + "x-ms-correlation-request-id" : "a4e1e82b-8119-443f-a065-79dadca60fbd", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"sYLH6fjagH3PijGgF5eFoWeyUDB\"", + "ETag" : "\"PpaDSzfIb8lgOTjRaEGBcxiaO3x\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1Mjk=;sn=471529", - "x-ms-request-id" : "687805f1-1c35-470e-8fbf-a2af15fed790", - "Body" : "{\"etag\":\"sYLH6fjagH3PijGgF5eFoWeyUDB\",\"key\":\"key43243-44\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "f422f888-4e16-4b7d-815d-b21c06b0c46d", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NDM=;sn=569543", + "x-ms-request-id" : "a4e1e82b-8119-443f-a065-79dadca60fbd", + "Body" : "{\"etag\":\"PpaDSzfIb8lgOTjRaEGBcxiaO3x\",\"key\":\"key05071-43\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "6adc6d85-2f21-41f8-9c63-14c6a286b84d", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-4?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-44?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "29c3a519-d4a0-4888-a349-11312a08d548", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "82d037e3-8ed9-4b0e-bff6-46e8dafb326c", "Content-Type" : "application/json" }, "Response" : { @@ -2830,29 +2830,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:15 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "0af4e366-87dc-4dbf-8278-39e06f697684", + "x-ms-correlation-request-id" : "10afec45-5916-4284-adc1-eef12456c93a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"8z06KhOVqH3UL1wLExNNYeJCz62\"", + "ETag" : "\"krooNyZ7eF6dUPPKKW98xOMuZbl\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MzA=;sn=471530", - "x-ms-request-id" : "0af4e366-87dc-4dbf-8278-39e06f697684", - "Body" : "{\"etag\":\"8z06KhOVqH3UL1wLExNNYeJCz62\",\"key\":\"key43243-4\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "29c3a519-d4a0-4888-a349-11312a08d548", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NDQ=;sn=569544", + "x-ms-request-id" : "10afec45-5916-4284-adc1-eef12456c93a", + "Body" : "{\"etag\":\"krooNyZ7eF6dUPPKKW98xOMuZbl\",\"key\":\"key05071-44\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "82d037e3-8ed9-4b0e-bff6-46e8dafb326c", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-49?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-45?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "75ee8991-45cd-4248-9862-0dbab79ee8ce", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "52b5c2d4-7ed4-4e78-b992-650324b4e17a", "Content-Type" : "application/json" }, "Response" : { @@ -2861,29 +2861,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:16 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "d87e8273-8135-4f23-8b20-63ba5bc2e4d9", + "x-ms-correlation-request-id" : "67f569e8-e433-4065-a60c-f4c3620de96b", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"2XkSLeKBNHVwmGU3tAyiVJy1yNv\"", + "ETag" : "\"Sk2BDXeyVEn2Nz8XQjkuE7OsWRs\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MzE=;sn=471531", - "x-ms-request-id" : "d87e8273-8135-4f23-8b20-63ba5bc2e4d9", - "Body" : "{\"etag\":\"2XkSLeKBNHVwmGU3tAyiVJy1yNv\",\"key\":\"key43243-49\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "75ee8991-45cd-4248-9862-0dbab79ee8ce", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NDU=;sn=569545", + "x-ms-request-id" : "67f569e8-e433-4065-a60c-f4c3620de96b", + "Body" : "{\"etag\":\"Sk2BDXeyVEn2Nz8XQjkuE7OsWRs\",\"key\":\"key05071-45\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "52b5c2d4-7ed4-4e78-b992-650324b4e17a", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-46?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-46?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b6c85417-880c-4028-9187-660ca8078634", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f253eb35-8bb7-42ac-ab70-2ac1c68bf060", "Content-Type" : "application/json" }, "Response" : { @@ -2892,29 +2892,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:16 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "bb59fbc5-ac13-4f02-9188-20465fe51d87", + "x-ms-correlation-request-id" : "96cfd939-e3e2-4214-ab19-8c9112decd6d", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"3DX7k5fQ02MS7wvekFnuiHlCgcL\"", + "ETag" : "\"lPv4i7bRhmi45E0RsPK70fCAeUV\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MzI=;sn=471532", - "x-ms-request-id" : "bb59fbc5-ac13-4f02-9188-20465fe51d87", - "Body" : "{\"etag\":\"3DX7k5fQ02MS7wvekFnuiHlCgcL\",\"key\":\"key43243-46\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "b6c85417-880c-4028-9187-660ca8078634", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NDY=;sn=569546", + "x-ms-request-id" : "96cfd939-e3e2-4214-ab19-8c9112decd6d", + "Body" : "{\"etag\":\"lPv4i7bRhmi45E0RsPK70fCAeUV\",\"key\":\"key05071-46\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "f253eb35-8bb7-42ac-ab70-2ac1c68bf060", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-45?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-47?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6b68b158-b029-49f7-baff-71d30b8e6ff4", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "11740345-a054-4ab3-936c-0c2c9acef6cb", "Content-Type" : "application/json" }, "Response" : { @@ -2923,29 +2923,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:16 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "5191e4fb-f552-43d5-8855-7cc82ce3e02d", + "x-ms-correlation-request-id" : "492eaa88-5ec0-4d13-98b5-334aa5412a90", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"tBd8pmgJXCI0VxYrFJnoAiaQ4xi\"", + "ETag" : "\"ATM8nA04vhDuvSB4aDNQlJsHA2b\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MzM=;sn=471533", - "x-ms-request-id" : "5191e4fb-f552-43d5-8855-7cc82ce3e02d", - "Body" : "{\"etag\":\"tBd8pmgJXCI0VxYrFJnoAiaQ4xi\",\"key\":\"key43243-45\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "6b68b158-b029-49f7-baff-71d30b8e6ff4", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NDc=;sn=569547", + "x-ms-request-id" : "492eaa88-5ec0-4d13-98b5-334aa5412a90", + "Body" : "{\"etag\":\"ATM8nA04vhDuvSB4aDNQlJsHA2b\",\"key\":\"key05071-47\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "11740345-a054-4ab3-936c-0c2c9acef6cb", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-48?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-48?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d02fa63f-b376-4350-a326-0326aea385bc", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "768ee9ef-eff7-459b-a6bb-043f8ee4fc57", "Content-Type" : "application/json" }, "Response" : { @@ -2954,29 +2954,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:16 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "38028641-b2f2-479b-9a88-374061aba80c", + "x-ms-correlation-request-id" : "7d9fb38d-a73f-4afa-bd86-3353eb9e4bb6", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"6PkYV9GktIgzQnbvyr4TMNxW63Y\"", + "ETag" : "\"bZB6Le2XGQFu5SLr27YMnxc0CGk\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MzQ=;sn=471534", - "x-ms-request-id" : "38028641-b2f2-479b-9a88-374061aba80c", - "Body" : "{\"etag\":\"6PkYV9GktIgzQnbvyr4TMNxW63Y\",\"key\":\"key43243-48\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "d02fa63f-b376-4350-a326-0326aea385bc", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NDg=;sn=569548", + "x-ms-request-id" : "7d9fb38d-a73f-4afa-bd86-3353eb9e4bb6", + "Body" : "{\"etag\":\"bZB6Le2XGQFu5SLr27YMnxc0CGk\",\"key\":\"key05071-48\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "768ee9ef-eff7-459b-a6bb-043f8ee4fc57", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-7?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-49?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "39823ffc-67ea-4807-9a32-cc4bd13a6e07", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0c615c62-2eb9-46a2-8290-e24992dea962", "Content-Type" : "application/json" }, "Response" : { @@ -2985,29 +2985,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:13 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:16 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "7129a512-edd5-4882-91b1-6d73cc0cc9b8", + "x-ms-correlation-request-id" : "26e4a386-56aa-413a-98ae-a71201349f57", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"hulqCuh35cyBglz5i3hTHwkgAUr\"", + "ETag" : "\"BU3hTp7zIoSzDqLjo9W7qHvUfZq\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MzU=;sn=471535", - "x-ms-request-id" : "7129a512-edd5-4882-91b1-6d73cc0cc9b8", - "Body" : "{\"etag\":\"hulqCuh35cyBglz5i3hTHwkgAUr\",\"key\":\"key43243-7\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "39823ffc-67ea-4807-9a32-cc4bd13a6e07", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NDk=;sn=569549", + "x-ms-request-id" : "26e4a386-56aa-413a-98ae-a71201349f57", + "Body" : "{\"etag\":\"BU3hTp7zIoSzDqLjo9W7qHvUfZq\",\"key\":\"key05071-49\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:13+00:00\"}", + "x-ms-client-request-id" : "0c615c62-2eb9-46a2-8290-e24992dea962", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-47?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-5?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "59bc645e-62f7-48fe-82d0-3c8f4a0b1485", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0b0a940b-6348-41f4-8788-9627a34a1739", "Content-Type" : "application/json" }, "Response" : { @@ -3016,29 +3016,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:16 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "afe281e1-1b3a-4c9d-8317-f26d10473690", + "x-ms-correlation-request-id" : "aa0b75b6-2ab4-4fe8-97f3-c03b5785e518", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"0Uc9CEnhMCTre2rUNNEZ8CalRBS\"", + "ETag" : "\"pOJ6lQvjJck2WA4EAsaiaxGwmal\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1MzY=;sn=471536", - "x-ms-request-id" : "afe281e1-1b3a-4c9d-8317-f26d10473690", - "Body" : "{\"etag\":\"0Uc9CEnhMCTre2rUNNEZ8CalRBS\",\"key\":\"key43243-47\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "59bc645e-62f7-48fe-82d0-3c8f4a0b1485", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NTA=;sn=569550", + "x-ms-request-id" : "aa0b75b6-2ab4-4fe8-97f3-c03b5785e518", + "Body" : "{\"etag\":\"pOJ6lQvjJck2WA4EAsaiaxGwmal\",\"key\":\"key05071-5\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "0b0a940b-6348-41f4-8788-9627a34a1739", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-5?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-6?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "07e52000-065a-4fc2-9e2e-ba7653dd9b10", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4596edf8-cf8f-45cb-b0be-3c45152bcb90", "Content-Type" : "application/json" }, "Response" : { @@ -3047,29 +3047,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:16 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "adb2d648-566f-4c52-a6c7-c61cba03f885", + "x-ms-correlation-request-id" : "c3c70024-33ce-43b3-a9f8-5e862cafbee5", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"bw479gATs9lD3dVo6uOUBpm45Ig\"", + "ETag" : "\"rhc3FmcczheghbsidJu8fR1987A\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1Mzg=;sn=471538", - "x-ms-request-id" : "adb2d648-566f-4c52-a6c7-c61cba03f885", - "Body" : "{\"etag\":\"bw479gATs9lD3dVo6uOUBpm45Ig\",\"key\":\"key43243-5\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "07e52000-065a-4fc2-9e2e-ba7653dd9b10", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NTE=;sn=569551", + "x-ms-request-id" : "c3c70024-33ce-43b3-a9f8-5e862cafbee5", + "Body" : "{\"etag\":\"rhc3FmcczheghbsidJu8fR1987A\",\"key\":\"key05071-6\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "4596edf8-cf8f-45cb-b0be-3c45152bcb90", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-6?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-7?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1f4178a6-ce47-46bd-a71a-fcb4a336f01b", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "27468daf-b228-4793-b582-7c860120f3b1", "Content-Type" : "application/json" }, "Response" : { @@ -3078,29 +3078,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:16 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "9fa3df21-044e-49ab-a39c-5eae6b16c7c3", + "x-ms-correlation-request-id" : "6a18c98f-2d50-4794-9771-957c811153d6", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"FbqGyuSBtPeXtyQpz8y10rs0Yar\"", + "ETag" : "\"Y2xTS8gIlW6khobX9fy5Q54XpjN\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1Mzc=;sn=471537", - "x-ms-request-id" : "9fa3df21-044e-49ab-a39c-5eae6b16c7c3", - "Body" : "{\"etag\":\"FbqGyuSBtPeXtyQpz8y10rs0Yar\",\"key\":\"key43243-6\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "1f4178a6-ce47-46bd-a71a-fcb4a336f01b", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NTI=;sn=569552", + "x-ms-request-id" : "6a18c98f-2d50-4794-9771-957c811153d6", + "Body" : "{\"etag\":\"Y2xTS8gIlW6khobX9fy5Q54XpjN\",\"key\":\"key05071-7\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "27468daf-b228-4793-b582-7c860120f3b1", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-8?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-8?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "75cfeaf7-56ac-4a05-9e84-758acf2487d7", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "77a0d500-fbfc-4dba-ac46-30862fca9447", "Content-Type" : "application/json" }, "Response" : { @@ -3109,29 +3109,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:16 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "9b37c2ff-66ad-4cb3-bd3e-258e30d35d27", + "x-ms-correlation-request-id" : "74f677b5-87ae-4186-8650-7405d3add442", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"j81s2dcJzYr81sSesBb3Hfpxgcq\"", + "ETag" : "\"wAVsB8jr8tyDJ7jHKHFjwi0Ip19\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1Mzk=;sn=471539", - "x-ms-request-id" : "9b37c2ff-66ad-4cb3-bd3e-258e30d35d27", - "Body" : "{\"etag\":\"j81s2dcJzYr81sSesBb3Hfpxgcq\",\"key\":\"key43243-8\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "75cfeaf7-56ac-4a05-9e84-758acf2487d7", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NTM=;sn=569553", + "x-ms-request-id" : "74f677b5-87ae-4186-8650-7405d3add442", + "Body" : "{\"etag\":\"wAVsB8jr8tyDJ7jHKHFjwi0Ip19\",\"key\":\"key05071-8\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "77a0d500-fbfc-4dba-ac46-30862fca9447", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43243-9?label=b123a566", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key05071-9?label=5acf6d8b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0fd8b617-ddf4-4780-9f8e-b1603088391f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ed1888c5-b13b-4cf1-9dc6-c5de81991852", "Content-Type" : "application/json" }, "Response" : { @@ -3140,23 +3140,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:11 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:10 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:16 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "4b384210-6eab-4e01-99c7-920a15ced3b4", + "x-ms-correlation-request-id" : "9dde3103-a62b-4a9d-828e-6d8cf74fbc35", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"J9EWCOxPDZ3v9GUzNVqmjy5QA6F\"", + "ETag" : "\"bEqMH3RllqT0qTTMMwHNHggLzSu\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE1NDA=;sn=471540", - "x-ms-request-id" : "4b384210-6eab-4e01-99c7-920a15ced3b4", - "Body" : "{\"etag\":\"J9EWCOxPDZ3v9GUzNVqmjy5QA6F\",\"key\":\"key43243-9\",\"label\":\"b123a566\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:10+00:00\"}", - "x-ms-client-request-id" : "0fd8b617-ddf4-4780-9f8e-b1603088391f", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk1NTQ=;sn=569554", + "x-ms-request-id" : "9dde3103-a62b-4a9d-828e-6d8cf74fbc35", + "Body" : "{\"etag\":\"bEqMH3RllqT0qTTMMwHNHggLzSu\",\"key\":\"key05071-9\",\"label\":\"5acf6d8b\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:11+00:00\"}", + "x-ms-client-request-id" : "ed1888c5-b13b-4cf1-9dc6-c5de81991852", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key43243", "b123a566" ] + "variables" : [ "key05071", "5acf6d8b" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisions.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisions.json index 075539ad701c..c62eac57eb3f 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisions.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisions.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key10963556302", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62343172564?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cf376d90-75bc-459d-a949-045025dc6fb1", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7886e7b7-4df9-4fe4-890d-62492616b812", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:56 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:56 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "4708c797-0206-4df2-89c7-6d1faff83534", + "x-ms-correlation-request-id" : "bf8c46e6-7cbc-4f16-bbec-2b54cdb9dbda", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"8TH8dr2rGDzpV1QoENgB24BGBGg\"", + "ETag" : "\"1Pernewjlvu0WjX8yX9kol91dT5\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMzc=;sn=471337", - "x-ms-request-id" : "4708c797-0206-4df2-89c7-6d1faff83534", - "Body" : "{\"etag\":\"8TH8dr2rGDzpV1QoENgB24BGBGg\",\"key\":\"key10963556302\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:56+00:00\"}", - "x-ms-client-request-id" : "cf376d90-75bc-459d-a949-045025dc6fb1", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNTc=;sn=569357", + "x-ms-request-id" : "bf8c46e6-7cbc-4f16-bbec-2b54cdb9dbda", + "Body" : "{\"etag\":\"1Pernewjlvu0WjX8yX9kol91dT5\",\"key\":\"key62343172564\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:56+00:00\"}", + "x-ms-client-request-id" : "7886e7b7-4df9-4fe4-890d-62492616b812", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key10963556302", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62343172564?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "10fa075c-2561-4684-81df-2e488ab3b7c0", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8842e6ed-1261-4778-bdf6-c667fde8a579", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:56 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:56 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "21af238d-1caf-4cb1-80fd-a974108bf6ad", + "x-ms-correlation-request-id" : "2f3a7b50-40ed-4934-a261-7ede9738f707", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"KDl2OqXime6d369PAIbQK5Fjbbx\"", + "ETag" : "\"7jf1mKPLWOhkiyFQGATMLsd2lKJ\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMzg=;sn=471338", - "x-ms-request-id" : "21af238d-1caf-4cb1-80fd-a974108bf6ad", - "Body" : "{\"etag\":\"KDl2OqXime6d369PAIbQK5Fjbbx\",\"key\":\"key10963556302\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:56+00:00\"}", - "x-ms-client-request-id" : "10fa075c-2561-4684-81df-2e488ab3b7c0", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNTg=;sn=569358", + "x-ms-request-id" : "2f3a7b50-40ed-4934-a261-7ede9738f707", + "Body" : "{\"etag\":\"7jf1mKPLWOhkiyFQGATMLsd2lKJ\",\"key\":\"key62343172564\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:56+00:00\"}", + "x-ms-client-request-id" : "8842e6ed-1261-4778-bdf6-c667fde8a579", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key10963556302", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62343172564?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8f2110cc-db6a-41a3-b9b0-98c6122b0521", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bf76c53b-2353-4589-ac07-6adccfc8dbfa", "Content-Type" : "application/json" }, "Response" : { @@ -75,29 +75,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:56 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:56 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "55babfd4-4d94-47b0-a36a-86244e64d58b", + "x-ms-correlation-request-id" : "65845d13-89be-4679-a837-6346fd21f47c", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"GiVWaL1L2qzIBgf19IKhZv4GoCr\"", + "ETag" : "\"GswQjLetCefmekrRzANsDzt0pGq\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMzk=;sn=471339", - "x-ms-request-id" : "55babfd4-4d94-47b0-a36a-86244e64d58b", - "Body" : "{\"etag\":\"GiVWaL1L2qzIBgf19IKhZv4GoCr\",\"key\":\"key10963556302\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:56+00:00\"}", - "x-ms-client-request-id" : "8f2110cc-db6a-41a3-b9b0-98c6122b0521", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNTk=;sn=569359", + "x-ms-request-id" : "65845d13-89be-4679-a837-6346fd21f47c", + "Body" : "{\"etag\":\"GswQjLetCefmekrRzANsDzt0pGq\",\"key\":\"key62343172564\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:56+00:00\"}", + "x-ms-client-request-id" : "bf76c53b-2353-4589-ac07-6adccfc8dbfa", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key10963556302", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key62343172564&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7f218d3f-a6d7-4a57-93fa-a2e2554e44fe", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3541e371-6b63-41d3-947b-3fb7e976bcbc", "Content-Type" : "application/json" }, "Response" : { @@ -108,26 +108,26 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:56 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "617b5fef-2e4c-4657-b1dd-d9499a62fe42", + "x-ms-correlation-request-id" : "170dc270-4b48-4a1a-9d7c-983ffa7e5af6", "Accept-Ranges" : "items", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMzk=;sn=471339", - "x-ms-request-id" : "617b5fef-2e4c-4657-b1dd-d9499a62fe42", - "Body" : "{\"items\":[{\"etag\":\"GiVWaL1L2qzIBgf19IKhZv4GoCr\",\"key\":\"key10963556302\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:56+00:00\"},{\"etag\":\"KDl2OqXime6d369PAIbQK5Fjbbx\",\"key\":\"key10963556302\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:56+00:00\"},{\"etag\":\"8TH8dr2rGDzpV1QoENgB24BGBGg\",\"key\":\"key10963556302\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:56+00:00\"}]}", - "x-ms-client-request-id" : "7f218d3f-a6d7-4a57-93fa-a2e2554e44fe", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNTk=;sn=569359", + "x-ms-request-id" : "170dc270-4b48-4a1a-9d7c-983ffa7e5af6", + "Body" : "{\"items\":[{\"etag\":\"GswQjLetCefmekrRzANsDzt0pGq\",\"key\":\"key62343172564\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:56+00:00\"},{\"etag\":\"7jf1mKPLWOhkiyFQGATMLsd2lKJ\",\"key\":\"key62343172564\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:56+00:00\"},{\"etag\":\"1Pernewjlvu0WjX8yX9kol91dT5\",\"key\":\"key62343172564\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:56+00:00\"}]}", + "x-ms-client-request-id" : "3541e371-6b63-41d3-947b-3fb7e976bcbc", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key10963556302&$select=key%2cetag", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key62343172564&api-version=1.0&$select=key%2cetag", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1ba975ef-a342-4ce4-9fdb-b788c3fc2544", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "00e96b8d-8a42-417e-be1f-cd0af2379b76", "Content-Type" : "application/json" }, "Response" : { @@ -138,26 +138,26 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:56 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "d7cdcb1a-e7e9-453a-bc2c-b4fd7ac71205", + "x-ms-correlation-request-id" : "81f1578a-5c43-4d7d-ab63-8f357f968e7b", "Accept-Ranges" : "items", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMzk=;sn=471339", - "x-ms-request-id" : "d7cdcb1a-e7e9-453a-bc2c-b4fd7ac71205", - "Body" : "{\"items\":[{\"etag\":\"GiVWaL1L2qzIBgf19IKhZv4GoCr\",\"key\":\"key10963556302\"},{\"etag\":\"KDl2OqXime6d369PAIbQK5Fjbbx\",\"key\":\"key10963556302\"},{\"etag\":\"8TH8dr2rGDzpV1QoENgB24BGBGg\",\"key\":\"key10963556302\"}]}", - "x-ms-client-request-id" : "1ba975ef-a342-4ce4-9fdb-b788c3fc2544", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNTk=;sn=569359", + "x-ms-request-id" : "81f1578a-5c43-4d7d-ab63-8f357f968e7b", + "Body" : "{\"items\":[{\"etag\":\"GswQjLetCefmekrRzANsDzt0pGq\",\"key\":\"key62343172564\"},{\"etag\":\"7jf1mKPLWOhkiyFQGATMLsd2lKJ\",\"key\":\"key62343172564\"},{\"etag\":\"1Pernewjlvu0WjX8yX9kol91dT5\",\"key\":\"key62343172564\"}]}", + "x-ms-client-request-id" : "00e96b8d-8a42-417e-be1f-cd0af2379b76", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key10963%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key62343%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b20c48a8-b2ee-4055-b186-ef43c85220d0", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ce73bba2-c4c4-41d3-a174-5dd0b7ec4702", "Content-Type" : "application/json" }, "Response" : { @@ -168,25 +168,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:56 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "0c7494e3-f86e-4b0c-89f9-94c0b2c7905a", + "x-ms-correlation-request-id" : "572ade14-7daa-4f9c-a57d-6c06b96cabd8", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMzk=;sn=471339", - "x-ms-request-id" : "0c7494e3-f86e-4b0c-89f9-94c0b2c7905a", - "Body" : "{\"items\":[{\"etag\":\"GiVWaL1L2qzIBgf19IKhZv4GoCr\",\"key\":\"key10963556302\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:56+00:00\"}]}", - "x-ms-client-request-id" : "b20c48a8-b2ee-4055-b186-ef43c85220d0", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNTk=;sn=569359", + "x-ms-request-id" : "572ade14-7daa-4f9c-a57d-6c06b96cabd8", + "Body" : "{\"items\":[{\"etag\":\"GswQjLetCefmekrRzANsDzt0pGq\",\"key\":\"key62343172564\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:56+00:00\"}]}", + "x-ms-client-request-id" : "ce73bba2-c4c4-41d3-a174-5dd0b7ec4702", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key10963556302", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62343172564?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "05eec1a7-6564-4603-8cd5-47a251107cc4", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e3459d6d-8e8d-48af-99ff-296c49f9d6f7", "Content-Type" : "application/json" }, "Response" : { @@ -195,23 +195,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:56 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:56 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "3724a429-2aee-4183-8acd-f1a4f7a690a6", + "x-ms-correlation-request-id" : "08cc165a-e043-432e-bb08-cb482698f869", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"GiVWaL1L2qzIBgf19IKhZv4GoCr\"", + "ETag" : "\"GswQjLetCefmekrRzANsDzt0pGq\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNDA=;sn=471340", - "x-ms-request-id" : "3724a429-2aee-4183-8acd-f1a4f7a690a6", - "Body" : "{\"etag\":\"GiVWaL1L2qzIBgf19IKhZv4GoCr\",\"key\":\"key10963556302\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:56+00:00\"}", - "x-ms-client-request-id" : "05eec1a7-6564-4603-8cd5-47a251107cc4", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNjA=;sn=569360", + "x-ms-request-id" : "08cc165a-e043-432e-bb08-cb482698f869", + "Body" : "{\"etag\":\"GswQjLetCefmekrRzANsDzt0pGq\",\"key\":\"key62343172564\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:56+00:00\"}", + "x-ms-client-request-id" : "e3459d6d-8e8d-48af-99ff-296c49f9d6f7", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key10963", "4e9444b1", "key10963556302" ] + "variables" : [ "key62343", "dc64c40a", "key62343172564" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsAcceptDateTime.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsAcceptDateTime.json index 00ff32947f4d..187047d2ba73 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsAcceptDateTime.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsAcceptDateTime.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key4973614050f", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key45896734590?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "99c741da-ffd0-4db3-bd0c-9bec96391231", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cf1fc26c-5564-4558-a9af-d7fac345c9d4", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:05 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:04 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:03 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "622ff602-cad0-4c1f-8234-49b64e156dcf", + "x-ms-correlation-request-id" : "03809ddb-ac70-4f4b-b0c5-b7ae1b556d82", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"q6f5qH88AnIdPmqS7sDP0HhnXrx\"", + "ETag" : "\"3XmcSlRCiPgPFL0RQyMONKKYxXf\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MTM=;sn=471413", - "x-ms-request-id" : "622ff602-cad0-4c1f-8234-49b64e156dcf", - "Body" : "{\"etag\":\"q6f5qH88AnIdPmqS7sDP0HhnXrx\",\"key\":\"key4973614050f\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:05+00:00\"}", - "x-ms-client-request-id" : "99c741da-ffd0-4db3-bd0c-9bec96391231", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0Mjg=;sn=569428", + "x-ms-request-id" : "03809ddb-ac70-4f4b-b0c5-b7ae1b556d82", + "Body" : "{\"etag\":\"3XmcSlRCiPgPFL0RQyMONKKYxXf\",\"key\":\"key45896734590\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:04+00:00\"}", + "x-ms-client-request-id" : "cf1fc26c-5564-4558-a9af-d7fac345c9d4", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key4973614050f", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key45896734590?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "55f71bab-b41a-4888-83dc-df4095ec088e", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1db28792-26c3-4e56-b9c0-5c38d8dfc5f2", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:05 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:06 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:05 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "1419f454-8b5c-434d-b2af-6ccb6ec3bc9e", + "x-ms-correlation-request-id" : "2095257f-cc7e-424f-88ce-945ad7f60c7e", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"KPZzfvfIi1c0yIdUBmUMRl6QzmJ\"", + "ETag" : "\"jnVZ85CgoMAMSwHygeRz1LQ7QoM\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MTQ=;sn=471414", - "x-ms-request-id" : "1419f454-8b5c-434d-b2af-6ccb6ec3bc9e", - "Body" : "{\"etag\":\"KPZzfvfIi1c0yIdUBmUMRl6QzmJ\",\"key\":\"key4973614050f\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:05+00:00\"}", - "x-ms-client-request-id" : "55f71bab-b41a-4888-83dc-df4095ec088e", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0Mjk=;sn=569429", + "x-ms-request-id" : "2095257f-cc7e-424f-88ce-945ad7f60c7e", + "Body" : "{\"etag\":\"jnVZ85CgoMAMSwHygeRz1LQ7QoM\",\"key\":\"key45896734590\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:06+00:00\"}", + "x-ms-client-request-id" : "1db28792-26c3-4e56-b9c0-5c38d8dfc5f2", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key4973614050f", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key45896734590?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8bbd50eb-c382-49f5-91a9-edecc4c301fd", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3a8170f1-3a59-4233-87c2-ac051eedab2d", "Content-Type" : "application/json" }, "Response" : { @@ -75,29 +75,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:08 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:06 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:07 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "85a36759-c558-415e-b9a2-5312f40ea66b", + "x-ms-correlation-request-id" : "77defd5b-5492-4aac-bde6-0abb2541455a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"UOH8aT3rqbriahBGlNwMVCVa25t\"", + "ETag" : "\"Kx5BkpdQF33vPWGHKh8NgofG1SK\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MTY=;sn=471416", - "x-ms-request-id" : "85a36759-c558-415e-b9a2-5312f40ea66b", - "Body" : "{\"etag\":\"UOH8aT3rqbriahBGlNwMVCVa25t\",\"key\":\"key4973614050f\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:07+00:00\"}", - "x-ms-client-request-id" : "8bbd50eb-c382-49f5-91a9-edecc4c301fd", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MzA=;sn=569430", + "x-ms-request-id" : "77defd5b-5492-4aac-bde6-0abb2541455a", + "Body" : "{\"etag\":\"Kx5BkpdQF33vPWGHKh8NgofG1SK\",\"key\":\"key45896734590\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:08+00:00\"}", + "x-ms-client-request-id" : "3a8170f1-3a59-4233-87c2-ac051eedab2d", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key4973614050f", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key45896734590&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4c9daf17-fb91-4bb0-8549-c56cdb2e419d", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0735bab3-abe9-4c5f-9969-34dbb9a1f6ae", "Content-Type" : "application/json" }, "Response" : { @@ -108,58 +108,58 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:06 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:07 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "73837065-edb8-408f-94d6-fca1a96a3cd2", + "x-ms-correlation-request-id" : "ea9c5022-ca68-41bc-b3f4-c9411daa173d", "Accept-Ranges" : "items", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MTY=;sn=471416", - "x-ms-request-id" : "73837065-edb8-408f-94d6-fca1a96a3cd2", - "Body" : "{\"items\":[{\"etag\":\"UOH8aT3rqbriahBGlNwMVCVa25t\",\"key\":\"key4973614050f\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:07+00:00\"},{\"etag\":\"KPZzfvfIi1c0yIdUBmUMRl6QzmJ\",\"key\":\"key4973614050f\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:05+00:00\"},{\"etag\":\"q6f5qH88AnIdPmqS7sDP0HhnXrx\",\"key\":\"key4973614050f\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:05+00:00\"}]}", - "x-ms-client-request-id" : "4c9daf17-fb91-4bb0-8549-c56cdb2e419d", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MzA=;sn=569430", + "x-ms-request-id" : "ea9c5022-ca68-41bc-b3f4-c9411daa173d", + "Body" : "{\"items\":[{\"etag\":\"Kx5BkpdQF33vPWGHKh8NgofG1SK\",\"key\":\"key45896734590\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:08+00:00\"},{\"etag\":\"jnVZ85CgoMAMSwHygeRz1LQ7QoM\",\"key\":\"key45896734590\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:06+00:00\"},{\"etag\":\"3XmcSlRCiPgPFL0RQyMONKKYxXf\",\"key\":\"key45896734590\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:04+00:00\"}]}", + "x-ms-client-request-id" : "0735bab3-abe9-4c5f-9969-34dbb9a1f6ae", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key4973614050f", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key45896734590&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c4158da0-2c62-4110-8b1d-582ca2ebd44c", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c7501831-0796-45bf-92c2-8c6acc308d9d", "Content-Type" : "application/json" }, "Response" : { "Transfer-Encoding" : "chunked", "Server" : "openresty/1.15.8.1", - "Memento-Datetime" : "Thu, 24 Oct 2019 23:27:05 GMT", + "Memento-Datetime" : "Sun, 24 Nov 2019 16:06:06 GMT", "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:06 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:07 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "e26b1d32-5ed2-47e2-8d05-444312fbaa5f", + "x-ms-correlation-request-id" : "9538a64c-1949-4f59-b66d-85805665716e", "Accept-Ranges" : "items", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MTY=;sn=471416", - "x-ms-request-id" : "e26b1d32-5ed2-47e2-8d05-444312fbaa5f", - "Body" : "{\"items\":[{\"etag\":\"KPZzfvfIi1c0yIdUBmUMRl6QzmJ\",\"key\":\"key4973614050f\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:05+00:00\"},{\"etag\":\"q6f5qH88AnIdPmqS7sDP0HhnXrx\",\"key\":\"key4973614050f\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:05+00:00\"}]}", - "Link" : "; rel=\"original\"", - "x-ms-client-request-id" : "c4158da0-2c62-4110-8b1d-582ca2ebd44c", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MzA=;sn=569430", + "x-ms-request-id" : "9538a64c-1949-4f59-b66d-85805665716e", + "Body" : "{\"items\":[{\"etag\":\"jnVZ85CgoMAMSwHygeRz1LQ7QoM\",\"key\":\"key45896734590\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:06+00:00\"},{\"etag\":\"3XmcSlRCiPgPFL0RQyMONKKYxXf\",\"key\":\"key45896734590\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:04+00:00\"}]}", + "Link" : "; rel=\"original\"", + "x-ms-client-request-id" : "c7501831-0796-45bf-92c2-8c6acc308d9d", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key49736%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key45896%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "80467a88-2a9d-45d3-aafe-54e911808e80", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "76a74af5-c7fc-4e60-9f9f-29059567e6fc", "Content-Type" : "application/json" }, "Response" : { @@ -170,25 +170,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:06 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:07 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "75288bd2-3fcd-48a2-8fe7-0eff5d85ff99", + "x-ms-correlation-request-id" : "2d6c57e3-d119-46c7-bb09-170ca359afae", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MTY=;sn=471416", - "x-ms-request-id" : "75288bd2-3fcd-48a2-8fe7-0eff5d85ff99", - "Body" : "{\"items\":[{\"etag\":\"UOH8aT3rqbriahBGlNwMVCVa25t\",\"key\":\"key4973614050f\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:07+00:00\"}]}", - "x-ms-client-request-id" : "80467a88-2a9d-45d3-aafe-54e911808e80", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MzA=;sn=569430", + "x-ms-request-id" : "2d6c57e3-d119-46c7-bb09-170ca359afae", + "Body" : "{\"items\":[{\"etag\":\"Kx5BkpdQF33vPWGHKh8NgofG1SK\",\"key\":\"key45896734590\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:08+00:00\"}]}", + "x-ms-client-request-id" : "76a74af5-c7fc-4e60-9f9f-29059567e6fc", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key4973614050f", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key45896734590?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d8f3d5b7-947d-4ec6-9d29-f6397b1386bd", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e6b5b2b9-d87c-4105-bb9f-eb58aaba1019", "Content-Type" : "application/json" }, "Response" : { @@ -197,23 +197,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:07 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:08 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:06 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:07 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "8cb17514-00cc-4c5d-b788-102ada36be88", + "x-ms-correlation-request-id" : "fc3f3fa6-a313-420d-87c6-26ddab6e4b6a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"UOH8aT3rqbriahBGlNwMVCVa25t\"", + "ETag" : "\"Kx5BkpdQF33vPWGHKh8NgofG1SK\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MTc=;sn=471417", - "x-ms-request-id" : "8cb17514-00cc-4c5d-b788-102ada36be88", - "Body" : "{\"etag\":\"UOH8aT3rqbriahBGlNwMVCVa25t\",\"key\":\"key4973614050f\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:07+00:00\"}", - "x-ms-client-request-id" : "d8f3d5b7-947d-4ec6-9d29-f6397b1386bd", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MzE=;sn=569431", + "x-ms-request-id" : "fc3f3fa6-a313-420d-87c6-26ddab6e4b6a", + "Body" : "{\"etag\":\"Kx5BkpdQF33vPWGHKh8NgofG1SK\",\"key\":\"key45896734590\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:08+00:00\"}", + "x-ms-client-request-id" : "e6b5b2b9-d87c-4105-bb9f-eb58aaba1019", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key49736", "8561712c", "key4973614050f" ] + "variables" : [ "key45896", "bc639a25", "key45896734590" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithMultipleKeys.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithMultipleKeys.json index df7b3d435629..7294ad36435b 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithMultipleKeys.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithMultipleKeys.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key4336872663a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key7677827395e?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "798aa026-3b16-4c64-b6ad-a4399817f299", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "90455d31-6c08-4741-a172-fe6ec458dca6", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:10 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:10 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "81734f99-cf94-4456-9bab-decb5cff8c19", + "x-ms-correlation-request-id" : "f022cb98-7911-4274-a4d9-89353ca26c1b", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"pIgdgB2gCFS8O3AG7Ip9fhvmzf7\"", + "ETag" : "\"8C6xYfAew0VM6CBaw1ab6YN6ww5\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MzU=;sn=471435", - "x-ms-request-id" : "81734f99-cf94-4456-9bab-decb5cff8c19", - "Body" : "{\"etag\":\"pIgdgB2gCFS8O3AG7Ip9fhvmzf7\",\"key\":\"key4336872663a\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:09+00:00\"}", - "x-ms-client-request-id" : "798aa026-3b16-4c64-b6ad-a4399817f299", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NDk=;sn=569449", + "x-ms-request-id" : "f022cb98-7911-4274-a4d9-89353ca26c1b", + "Body" : "{\"etag\":\"8C6xYfAew0VM6CBaw1ab6YN6ww5\",\"key\":\"key7677827395e\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:10+00:00\"}", + "x-ms-client-request-id" : "90455d31-6c08-4741-a172-fe6ec458dca6", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key4336872663a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key7677827395e?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e865c895-ad50-44f7-a453-4b26e6d32525", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c1989489-75fa-425b-930c-f92e5a58abc2", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:10 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:10 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ed60d981-e841-4a8c-bae2-5148c0b64978", + "x-ms-correlation-request-id" : "300eec24-98a4-4d4b-a6b8-ce2c8d777966", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"5pGHxrMQFJcvg1TIGVvHVFoYNbj\"", + "ETag" : "\"88s5MmqGTyiBm16p0S8CUuKw1kd\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MzY=;sn=471436", - "x-ms-request-id" : "ed60d981-e841-4a8c-bae2-5148c0b64978", - "Body" : "{\"etag\":\"5pGHxrMQFJcvg1TIGVvHVFoYNbj\",\"key\":\"key4336872663a\",\"label\":null,\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:09+00:00\"}", - "x-ms-client-request-id" : "e865c895-ad50-44f7-a453-4b26e6d32525", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NTA=;sn=569450", + "x-ms-request-id" : "300eec24-98a4-4d4b-a6b8-ce2c8d777966", + "Body" : "{\"etag\":\"88s5MmqGTyiBm16p0S8CUuKw1kd\",\"key\":\"key7677827395e\",\"label\":null,\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:10+00:00\"}", + "x-ms-client-request-id" : "c1989489-75fa-425b-930c-f92e5a58abc2", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43368062730", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key7677845108c?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2a627156-e16b-4659-9da1-96fc93fff894", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0b57c57c-8c4a-4aab-98b9-0a4c6174d501", "Content-Type" : "application/json" }, "Response" : { @@ -75,29 +75,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:10 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:10 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "90cfa51e-7904-4a86-b4fa-3255d2ce6770", + "x-ms-correlation-request-id" : "fab5f2ef-e9c7-4e38-aba9-0a43a63bdc2e", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"e20CqKAzGERCKXiyE0bxuikQW89\"", + "ETag" : "\"xXoanqdromk77Hn4MuU8afX6ZfN\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0Mzc=;sn=471437", - "x-ms-request-id" : "90cfa51e-7904-4a86-b4fa-3255d2ce6770", - "Body" : "{\"etag\":\"e20CqKAzGERCKXiyE0bxuikQW89\",\"key\":\"key43368062730\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:09+00:00\"}", - "x-ms-client-request-id" : "2a627156-e16b-4659-9da1-96fc93fff894", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NTE=;sn=569451", + "x-ms-request-id" : "fab5f2ef-e9c7-4e38-aba9-0a43a63bdc2e", + "Body" : "{\"etag\":\"xXoanqdromk77Hn4MuU8afX6ZfN\",\"key\":\"key7677845108c\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:10+00:00\"}", + "x-ms-client-request-id" : "0b57c57c-8c4a-4aab-98b9-0a4c6174d501", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43368062730", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key7677845108c?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f60c4075-39a9-4c38-8d14-f62cf7143819", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "241c3c00-9f2e-4436-8771-87383630e100", "Content-Type" : "application/json" }, "Response" : { @@ -106,29 +106,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:10 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:10 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "979d1767-0e56-4cd6-b4e4-4578eaed0adc", + "x-ms-correlation-request-id" : "1acb6fb3-7b2d-499a-aa1d-106c2f04bb98", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"EYNYkKa0SyKgFrCnqF7VDOebSNm\"", + "ETag" : "\"FK2kgFD8A4zN9ajRiioXoF5avTc\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0Mzg=;sn=471438", - "x-ms-request-id" : "979d1767-0e56-4cd6-b4e4-4578eaed0adc", - "Body" : "{\"etag\":\"EYNYkKa0SyKgFrCnqF7VDOebSNm\",\"key\":\"key43368062730\",\"label\":null,\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:09+00:00\"}", - "x-ms-client-request-id" : "f60c4075-39a9-4c38-8d14-f62cf7143819", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NTI=;sn=569452", + "x-ms-request-id" : "1acb6fb3-7b2d-499a-aa1d-106c2f04bb98", + "Body" : "{\"etag\":\"FK2kgFD8A4zN9ajRiioXoF5avTc\",\"key\":\"key7677845108c\",\"label\":null,\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:10+00:00\"}", + "x-ms-client-request-id" : "241c3c00-9f2e-4436-8771-87383630e100", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key4336872663a%2ckey43368062730", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key7677827395e%2ckey7677845108c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2cd6e0b3-a517-49e6-971b-2214844722e2", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1c6b361c-492c-4909-ae1c-403e6f6a66a7", "Content-Type" : "application/json" }, "Response" : { @@ -139,26 +139,26 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:10 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "a6df76f5-89ef-49ea-bdfb-58ff225ed9cb", + "x-ms-correlation-request-id" : "8c887bdf-9210-485d-8447-5ee1a644226d", "Accept-Ranges" : "items", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0Mzg=;sn=471438", - "x-ms-request-id" : "a6df76f5-89ef-49ea-bdfb-58ff225ed9cb", - "Body" : "{\"items\":[{\"etag\":\"EYNYkKa0SyKgFrCnqF7VDOebSNm\",\"key\":\"key43368062730\",\"label\":null,\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:09+00:00\"},{\"etag\":\"e20CqKAzGERCKXiyE0bxuikQW89\",\"key\":\"key43368062730\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:09+00:00\"},{\"etag\":\"5pGHxrMQFJcvg1TIGVvHVFoYNbj\",\"key\":\"key4336872663a\",\"label\":null,\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:09+00:00\"},{\"etag\":\"pIgdgB2gCFS8O3AG7Ip9fhvmzf7\",\"key\":\"key4336872663a\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:09+00:00\"}]}", - "x-ms-client-request-id" : "2cd6e0b3-a517-49e6-971b-2214844722e2", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NTI=;sn=569452", + "x-ms-request-id" : "8c887bdf-9210-485d-8447-5ee1a644226d", + "Body" : "{\"items\":[{\"etag\":\"FK2kgFD8A4zN9ajRiioXoF5avTc\",\"key\":\"key7677845108c\",\"label\":null,\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:10+00:00\"},{\"etag\":\"xXoanqdromk77Hn4MuU8afX6ZfN\",\"key\":\"key7677845108c\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:10+00:00\"},{\"etag\":\"88s5MmqGTyiBm16p0S8CUuKw1kd\",\"key\":\"key7677827395e\",\"label\":null,\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:10+00:00\"},{\"etag\":\"8C6xYfAew0VM6CBaw1ab6YN6ww5\",\"key\":\"key7677827395e\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:10+00:00\"}]}", + "x-ms-client-request-id" : "1c6b361c-492c-4909-ae1c-403e6f6a66a7", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key43368%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key76778%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bfdee6df-f014-4bd3-925d-1d7c51fd9d78", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0fc2cbb2-22bb-4c0e-993f-6bb4acca389c", "Content-Type" : "application/json" }, "Response" : { @@ -169,25 +169,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:10 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "644a6168-bae0-4216-889f-15485fbdde2e", + "x-ms-correlation-request-id" : "1e4f9a3b-609a-4ec0-a118-807422a530b1", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0Mzg=;sn=471438", - "x-ms-request-id" : "644a6168-bae0-4216-889f-15485fbdde2e", - "Body" : "{\"items\":[{\"etag\":\"EYNYkKa0SyKgFrCnqF7VDOebSNm\",\"key\":\"key43368062730\",\"label\":null,\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:09+00:00\"},{\"etag\":\"5pGHxrMQFJcvg1TIGVvHVFoYNbj\",\"key\":\"key4336872663a\",\"label\":null,\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:09+00:00\"}]}", - "x-ms-client-request-id" : "bfdee6df-f014-4bd3-925d-1d7c51fd9d78", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NTI=;sn=569452", + "x-ms-request-id" : "1e4f9a3b-609a-4ec0-a118-807422a530b1", + "Body" : "{\"items\":[{\"etag\":\"88s5MmqGTyiBm16p0S8CUuKw1kd\",\"key\":\"key7677827395e\",\"label\":null,\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:10+00:00\"},{\"etag\":\"FK2kgFD8A4zN9ajRiioXoF5avTc\",\"key\":\"key7677845108c\",\"label\":null,\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:10+00:00\"}]}", + "x-ms-client-request-id" : "0fc2cbb2-22bb-4c0e-993f-6bb4acca389c", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key4336872663a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key7677827395e?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b2b65cea-c650-48ba-8291-4885c2d91ec1", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d824d54d-266a-452c-9216-7e3e79a72fb5", "Content-Type" : "application/json" }, "Response" : { @@ -196,29 +196,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:10 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:10 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "9d98138e-8cfe-46f8-b8b2-1430182c0672", + "x-ms-correlation-request-id" : "d3bb09a7-5456-43b8-a4b6-5bb52972bc89", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"5pGHxrMQFJcvg1TIGVvHVFoYNbj\"", + "ETag" : "\"88s5MmqGTyiBm16p0S8CUuKw1kd\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0Mzk=;sn=471439", - "x-ms-request-id" : "9d98138e-8cfe-46f8-b8b2-1430182c0672", - "Body" : "{\"etag\":\"5pGHxrMQFJcvg1TIGVvHVFoYNbj\",\"key\":\"key4336872663a\",\"label\":null,\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:09+00:00\"}", - "x-ms-client-request-id" : "b2b65cea-c650-48ba-8291-4885c2d91ec1", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NTM=;sn=569453", + "x-ms-request-id" : "d3bb09a7-5456-43b8-a4b6-5bb52972bc89", + "Body" : "{\"etag\":\"88s5MmqGTyiBm16p0S8CUuKw1kd\",\"key\":\"key7677827395e\",\"label\":null,\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:10+00:00\"}", + "x-ms-client-request-id" : "d824d54d-266a-452c-9216-7e3e79a72fb5", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key43368062730", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key7677845108c?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0f28a294-2027-4da0-9535-dac344c7e160", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bca0b21e-fc7b-4131-aca2-65aacc3873f9", "Content-Type" : "application/json" }, "Response" : { @@ -227,23 +227,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:10 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:10 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "a476b012-6f73-4d3e-929b-ad65d496e553", + "x-ms-correlation-request-id" : "c75ffda3-1523-46d0-bdd3-aa5d8ab3a7e2", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"EYNYkKa0SyKgFrCnqF7VDOebSNm\"", + "ETag" : "\"FK2kgFD8A4zN9ajRiioXoF5avTc\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0NDA=;sn=471440", - "x-ms-request-id" : "a476b012-6f73-4d3e-929b-ad65d496e553", - "Body" : "{\"etag\":\"EYNYkKa0SyKgFrCnqF7VDOebSNm\",\"key\":\"key43368062730\",\"label\":null,\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:09+00:00\"}", - "x-ms-client-request-id" : "0f28a294-2027-4da0-9535-dac344c7e160", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NTQ=;sn=569454", + "x-ms-request-id" : "c75ffda3-1523-46d0-bdd3-aa5d8ab3a7e2", + "Body" : "{\"etag\":\"FK2kgFD8A4zN9ajRiioXoF5avTc\",\"key\":\"key7677845108c\",\"label\":null,\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:10+00:00\"}", + "x-ms-client-request-id" : "bca0b21e-fc7b-4131-aca2-65aacc3873f9", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key43368", "4ee54ecd", "key4336872663a", "key43368062730" ] + "variables" : [ "key76778", "7fbcd105", "key7677827395e", "key7677845108c" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithMultipleLabels.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithMultipleLabels.json index 812ef18f0c68..a1dfff9bf8dd 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithMultipleLabels.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithMultipleLabels.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key55710525158?label=96762a2e506229", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key68664477116?label=b73cbb4284041c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d2c6702a-d46b-447a-81ce-960eb9e97716", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5a606629-12f5-4d04-a9de-d28f38d8dc8d", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:41 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:41 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:41 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:41 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "d934c617-e4d2-4a16-91a9-676ba57d0a62", + "x-ms-correlation-request-id" : "877b8ba7-5fe5-4f9b-9b32-fb9ba7277198", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"tMGckiZZBCH7v5dMddztDMdLAJK\"", + "ETag" : "\"lAZz3baH4poQX2jskuvmHzZXo2V\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzExODM=;sn=471183", - "x-ms-request-id" : "d934c617-e4d2-4a16-91a9-676ba57d0a62", - "Body" : "{\"etag\":\"tMGckiZZBCH7v5dMddztDMdLAJK\",\"key\":\"key55710525158\",\"label\":\"96762a2e506229\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:41+00:00\"}", - "x-ms-client-request-id" : "d2c6702a-d46b-447a-81ce-960eb9e97716", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMDc=;sn=569207", + "x-ms-request-id" : "877b8ba7-5fe5-4f9b-9b32-fb9ba7277198", + "Body" : "{\"etag\":\"lAZz3baH4poQX2jskuvmHzZXo2V\",\"key\":\"key68664477116\",\"label\":\"b73cbb4284041c\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:41+00:00\"}", + "x-ms-client-request-id" : "5a606629-12f5-4d04-a9de-d28f38d8dc8d", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key55710525158?label=96762a2e506229", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key68664477116?label=b73cbb4284041c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "702874a7-9270-4312-8954-9d898ca069aa", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c659d530-7235-49c8-9937-0fdc0ba25c2c", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:41 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:41 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:41 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:41 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "55731d09-f29e-472c-a729-3ba181612bc7", + "x-ms-correlation-request-id" : "99fcf517-0fc1-4461-bc76-97f54d3c7996", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"rHpexBztEJdXKwbZx7sHkNROCc7\"", + "ETag" : "\"Bt8ZCz7SS2H2TCV2ec0Lq6kZPAl\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzExODQ=;sn=471184", - "x-ms-request-id" : "55731d09-f29e-472c-a729-3ba181612bc7", - "Body" : "{\"etag\":\"rHpexBztEJdXKwbZx7sHkNROCc7\",\"key\":\"key55710525158\",\"label\":\"96762a2e506229\",\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:41+00:00\"}", - "x-ms-client-request-id" : "702874a7-9270-4312-8954-9d898ca069aa", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMDg=;sn=569208", + "x-ms-request-id" : "99fcf517-0fc1-4461-bc76-97f54d3c7996", + "Body" : "{\"etag\":\"Bt8ZCz7SS2H2TCV2ec0Lq6kZPAl\",\"key\":\"key68664477116\",\"label\":\"b73cbb4284041c\",\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:41+00:00\"}", + "x-ms-client-request-id" : "c659d530-7235-49c8-9937-0fdc0ba25c2c", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key55710525158?label=96762a2e84207d", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key68664477116?label=b73cbb4292356b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6fc3a287-371f-478d-a318-406bdbca3bc5", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "03fea9c7-fc1d-4623-bc93-0812b4bba6ce", "Content-Type" : "application/json" }, "Response" : { @@ -75,29 +75,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:41 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:41 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:41 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:41 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "eb3f7948-2db0-4287-a2f2-4b46db236d9b", + "x-ms-correlation-request-id" : "7ffb2868-2e90-4253-9750-ab8d86d7bd21", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"Kfir5NXDlt71Wig97arpnr61mJD\"", + "ETag" : "\"Wr5ekmloFiuy6SIluxH5Y4f1rBK\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzExODU=;sn=471185", - "x-ms-request-id" : "eb3f7948-2db0-4287-a2f2-4b46db236d9b", - "Body" : "{\"etag\":\"Kfir5NXDlt71Wig97arpnr61mJD\",\"key\":\"key55710525158\",\"label\":\"96762a2e84207d\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:41+00:00\"}", - "x-ms-client-request-id" : "6fc3a287-371f-478d-a318-406bdbca3bc5", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMDk=;sn=569209", + "x-ms-request-id" : "7ffb2868-2e90-4253-9750-ab8d86d7bd21", + "Body" : "{\"etag\":\"Wr5ekmloFiuy6SIluxH5Y4f1rBK\",\"key\":\"key68664477116\",\"label\":\"b73cbb4292356b\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:41+00:00\"}", + "x-ms-client-request-id" : "03fea9c7-fc1d-4623-bc93-0812b4bba6ce", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key55710525158?label=96762a2e84207d", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key68664477116?label=b73cbb4292356b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7f023a86-aeb9-44cf-91b5-5347f9f0361b", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fe3b6512-27b8-457d-a3af-25d4aebca58f", "Content-Type" : "application/json" }, "Response" : { @@ -106,29 +106,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:41 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:41 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:41 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:41 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "66f3aaed-6747-431b-a75c-1f722f79e987", + "x-ms-correlation-request-id" : "28e77408-28d5-4e63-88d1-eb51eb8e4ad0", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"cmOWYb3MjzK3atV8LIxdw7MBysz\"", + "ETag" : "\"zhuguIySkIj4PxVFHw49tjNSKqq\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzExODY=;sn=471186", - "x-ms-request-id" : "66f3aaed-6747-431b-a75c-1f722f79e987", - "Body" : "{\"etag\":\"cmOWYb3MjzK3atV8LIxdw7MBysz\",\"key\":\"key55710525158\",\"label\":\"96762a2e84207d\",\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:41+00:00\"}", - "x-ms-client-request-id" : "7f023a86-aeb9-44cf-91b5-5347f9f0361b", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMTA=;sn=569210", + "x-ms-request-id" : "28e77408-28d5-4e63-88d1-eb51eb8e4ad0", + "Body" : "{\"etag\":\"zhuguIySkIj4PxVFHw49tjNSKqq\",\"key\":\"key68664477116\",\"label\":\"b73cbb4292356b\",\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:41+00:00\"}", + "x-ms-client-request-id" : "fe3b6512-27b8-457d-a3af-25d4aebca58f", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key55710525158&label=96762a2e506229%2c96762a2e84207d", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key68664477116&label=b73cbb4284041c%2cb73cbb4292356b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3b1b502b-67e6-4c10-85d0-6df198337441", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a36bcb71-0cb0-4074-93c0-391e50771a66", "Content-Type" : "application/json" }, "Response" : { @@ -139,26 +139,26 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:41 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:41 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "17bde01b-35ca-483b-96a8-289825d44f31", + "x-ms-correlation-request-id" : "b27713b5-35b2-4481-bb56-f8e13542405b", "Accept-Ranges" : "items", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzExODY=;sn=471186", - "x-ms-request-id" : "17bde01b-35ca-483b-96a8-289825d44f31", - "Body" : "{\"items\":[{\"etag\":\"cmOWYb3MjzK3atV8LIxdw7MBysz\",\"key\":\"key55710525158\",\"label\":\"96762a2e84207d\",\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:41+00:00\"},{\"etag\":\"Kfir5NXDlt71Wig97arpnr61mJD\",\"key\":\"key55710525158\",\"label\":\"96762a2e84207d\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:41+00:00\"},{\"etag\":\"rHpexBztEJdXKwbZx7sHkNROCc7\",\"key\":\"key55710525158\",\"label\":\"96762a2e506229\",\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:41+00:00\"},{\"etag\":\"tMGckiZZBCH7v5dMddztDMdLAJK\",\"key\":\"key55710525158\",\"label\":\"96762a2e506229\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:41+00:00\"}]}", - "x-ms-client-request-id" : "3b1b502b-67e6-4c10-85d0-6df198337441", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMTA=;sn=569210", + "x-ms-request-id" : "b27713b5-35b2-4481-bb56-f8e13542405b", + "Body" : "{\"items\":[{\"etag\":\"zhuguIySkIj4PxVFHw49tjNSKqq\",\"key\":\"key68664477116\",\"label\":\"b73cbb4292356b\",\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:41+00:00\"},{\"etag\":\"Wr5ekmloFiuy6SIluxH5Y4f1rBK\",\"key\":\"key68664477116\",\"label\":\"b73cbb4292356b\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:41+00:00\"},{\"etag\":\"Bt8ZCz7SS2H2TCV2ec0Lq6kZPAl\",\"key\":\"key68664477116\",\"label\":\"b73cbb4284041c\",\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:41+00:00\"},{\"etag\":\"lAZz3baH4poQX2jskuvmHzZXo2V\",\"key\":\"key68664477116\",\"label\":\"b73cbb4284041c\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:41+00:00\"}]}", + "x-ms-client-request-id" : "a36bcb71-0cb0-4074-93c0-391e50771a66", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key55710%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key68664%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "95e5a248-e669-4656-9aa6-c54862bb753f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8d6e057b-fb8d-4d9e-aa51-1a2ba47b02b6", "Content-Type" : "application/json" }, "Response" : { @@ -169,25 +169,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:41 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:41 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "fa54e348-bbd2-42d0-b89a-8cdc0e4608c6", + "x-ms-correlation-request-id" : "51db94e3-79f1-4c4b-a377-a5bec0a7f87e", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzExODY=;sn=471186", - "x-ms-request-id" : "fa54e348-bbd2-42d0-b89a-8cdc0e4608c6", - "Body" : "{\"items\":[{\"etag\":\"rHpexBztEJdXKwbZx7sHkNROCc7\",\"key\":\"key55710525158\",\"label\":\"96762a2e506229\",\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:41+00:00\"},{\"etag\":\"cmOWYb3MjzK3atV8LIxdw7MBysz\",\"key\":\"key55710525158\",\"label\":\"96762a2e84207d\",\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:41+00:00\"}]}", - "x-ms-client-request-id" : "95e5a248-e669-4656-9aa6-c54862bb753f", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMTA=;sn=569210", + "x-ms-request-id" : "51db94e3-79f1-4c4b-a377-a5bec0a7f87e", + "Body" : "{\"items\":[{\"etag\":\"Bt8ZCz7SS2H2TCV2ec0Lq6kZPAl\",\"key\":\"key68664477116\",\"label\":\"b73cbb4284041c\",\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:41+00:00\"},{\"etag\":\"zhuguIySkIj4PxVFHw49tjNSKqq\",\"key\":\"key68664477116\",\"label\":\"b73cbb4292356b\",\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:41+00:00\"}]}", + "x-ms-client-request-id" : "8d6e057b-fb8d-4d9e-aa51-1a2ba47b02b6", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key55710525158?label=96762a2e84207d", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key68664477116?label=b73cbb4284041c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b6d41cd4-5149-45fc-9516-cbcc8d806920", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d864faa1-9583-47a7-adbe-338257dd5b31", "Content-Type" : "application/json" }, "Response" : { @@ -196,29 +196,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:41 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:41 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:41 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:41 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "8c84e9f2-5b6d-4932-9f67-d8184b2ba8fb", + "x-ms-correlation-request-id" : "807c745c-e5e6-4852-9674-ac9d4170dfcb", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"cmOWYb3MjzK3atV8LIxdw7MBysz\"", + "ETag" : "\"Bt8ZCz7SS2H2TCV2ec0Lq6kZPAl\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzExODc=;sn=471187", - "x-ms-request-id" : "8c84e9f2-5b6d-4932-9f67-d8184b2ba8fb", - "Body" : "{\"etag\":\"cmOWYb3MjzK3atV8LIxdw7MBysz\",\"key\":\"key55710525158\",\"label\":\"96762a2e84207d\",\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:41+00:00\"}", - "x-ms-client-request-id" : "b6d41cd4-5149-45fc-9516-cbcc8d806920", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMTE=;sn=569211", + "x-ms-request-id" : "807c745c-e5e6-4852-9674-ac9d4170dfcb", + "Body" : "{\"etag\":\"Bt8ZCz7SS2H2TCV2ec0Lq6kZPAl\",\"key\":\"key68664477116\",\"label\":\"b73cbb4284041c\",\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:41+00:00\"}", + "x-ms-client-request-id" : "d864faa1-9583-47a7-adbe-338257dd5b31", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key55710525158?label=96762a2e506229", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key68664477116?label=b73cbb4292356b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1c0f9146-403e-4941-a099-93f54f2899c5", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2374cb14-5b97-44c7-8a51-e12c0179da1f", "Content-Type" : "application/json" }, "Response" : { @@ -227,23 +227,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:41 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:41 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:41 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:41 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "8aac39e5-d39d-4012-aad5-43c518d65a9f", + "x-ms-correlation-request-id" : "27ac5722-e7a9-4983-b062-343d581f2e69", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"rHpexBztEJdXKwbZx7sHkNROCc7\"", + "ETag" : "\"zhuguIySkIj4PxVFHw49tjNSKqq\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzExODg=;sn=471188", - "x-ms-request-id" : "8aac39e5-d39d-4012-aad5-43c518d65a9f", - "Body" : "{\"etag\":\"rHpexBztEJdXKwbZx7sHkNROCc7\",\"key\":\"key55710525158\",\"label\":\"96762a2e506229\",\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:41+00:00\"}", - "x-ms-client-request-id" : "1c0f9146-403e-4941-a099-93f54f2899c5", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMTI=;sn=569212", + "x-ms-request-id" : "27ac5722-e7a9-4983-b062-343d581f2e69", + "Body" : "{\"etag\":\"zhuguIySkIj4PxVFHw49tjNSKqq\",\"key\":\"key68664477116\",\"label\":\"b73cbb4292356b\",\"content_type\":null,\"value\":\"updatedValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:41+00:00\"}", + "x-ms-client-request-id" : "2374cb14-5b97-44c7-8a51-e12c0179da1f", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key55710", "96762a2e", "key55710525158", "96762a2e506229", "96762a2e84207d" ] + "variables" : [ "key68664", "b73cbb42", "key68664477116", "b73cbb4284041c", "b73cbb4292356b" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithPagination.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithPagination.json index f28b9ed64972..4d429eb93344 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithPagination.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithPagination.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cdb7aab9-39e9-45b3-b4cd-631e830f83eb", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "438039b4-61fb-4a8d-be18-fded0628819b", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:43 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:42 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "f50a1bd8-8f2c-45ab-bf4d-54429531b25f", + "x-ms-correlation-request-id" : "abb981dc-857b-4b5a-bcc4-0f20907db354", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"wYkQCt1oEu9xNe5P9lPcYM0KAcj\"", + "ETag" : "\"ngSVjggdSYu5deYC1iv6yeNCqtr\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzExOTc=;sn=471197", - "x-ms-request-id" : "f50a1bd8-8f2c-45ab-bf4d-54429531b25f", - "Body" : "{\"etag\":\"wYkQCt1oEu9xNe5P9lPcYM0KAcj\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue0\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "cdb7aab9-39e9-45b3-b4cd-631e830f83eb", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMjE=;sn=569221", + "x-ms-request-id" : "abb981dc-857b-4b5a-bcc4-0f20907db354", + "Body" : "{\"etag\":\"ngSVjggdSYu5deYC1iv6yeNCqtr\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue0\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"}", + "x-ms-client-request-id" : "438039b4-61fb-4a8d-be18-fded0628819b", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "47bccc4e-b22a-453f-9b7d-99458e6c1732", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "977e028e-62d7-4046-bf37-6fae0cb720b3", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:43 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:42 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "29b56eb2-4b2e-4eaa-9fe8-ecba4588d5cd", + "x-ms-correlation-request-id" : "9d55735c-f262-48d0-a69a-39d41487313e", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"EsSiEYDAcwflnWAtQ5vEd4vZmLZ\"", + "ETag" : "\"J8yscVOAIYY7m8GeSeQB9jco2jJ\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzExOTg=;sn=471198", - "x-ms-request-id" : "29b56eb2-4b2e-4eaa-9fe8-ecba4588d5cd", - "Body" : "{\"etag\":\"EsSiEYDAcwflnWAtQ5vEd4vZmLZ\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "47bccc4e-b22a-453f-9b7d-99458e6c1732", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMjI=;sn=569222", + "x-ms-request-id" : "9d55735c-f262-48d0-a69a-39d41487313e", + "Body" : "{\"etag\":\"J8yscVOAIYY7m8GeSeQB9jco2jJ\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue1\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"}", + "x-ms-client-request-id" : "977e028e-62d7-4046-bf37-6fae0cb720b3", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "898516b9-02ba-4aa6-b0f2-d18eb8690f05", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d42918fe-ba65-4861-8f00-035b97bf5ed3", "Content-Type" : "application/json" }, "Response" : { @@ -75,29 +75,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:43 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:42 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "36ece2e1-b537-4ff6-a1aa-5c805a935df2", + "x-ms-correlation-request-id" : "0c2fb8a4-65a1-4254-8d00-505a471e1cc6", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"CjJQo4PLATOBrOayFHZnS05YQzx\"", + "ETag" : "\"qRDpzhPyrO5rggGl2Z78S9kDyC4\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzExOTk=;sn=471199", - "x-ms-request-id" : "36ece2e1-b537-4ff6-a1aa-5c805a935df2", - "Body" : "{\"etag\":\"CjJQo4PLATOBrOayFHZnS05YQzx\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue22\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "898516b9-02ba-4aa6-b0f2-d18eb8690f05", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMjM=;sn=569223", + "x-ms-request-id" : "0c2fb8a4-65a1-4254-8d00-505a471e1cc6", + "Body" : "{\"etag\":\"qRDpzhPyrO5rggGl2Z78S9kDyC4\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"}", + "x-ms-client-request-id" : "d42918fe-ba65-4861-8f00-035b97bf5ed3", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "12efe842-a310-40f1-81b8-38fed03d641f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fcbce99e-b921-4737-b86c-672e7fd5002e", "Content-Type" : "application/json" }, "Response" : { @@ -106,29 +106,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:43 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:42 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "b74ad3d0-3909-493f-8527-9ef67a942eab", + "x-ms-correlation-request-id" : "33309fcb-3be7-4413-8ae0-c3167bc9b3fb", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"Kd0Bu4FBb9a7kkkeBIDxeki1sXw\"", + "ETag" : "\"szgsfrL91Z56K0BT6cQX2vphbdC\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMDA=;sn=471200", - "x-ms-request-id" : "b74ad3d0-3909-493f-8527-9ef67a942eab", - "Body" : "{\"etag\":\"Kd0Bu4FBb9a7kkkeBIDxeki1sXw\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue14\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "12efe842-a310-40f1-81b8-38fed03d641f", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMjQ=;sn=569224", + "x-ms-request-id" : "33309fcb-3be7-4413-8ae0-c3167bc9b3fb", + "Body" : "{\"etag\":\"szgsfrL91Z56K0BT6cQX2vphbdC\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue3\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"}", + "x-ms-client-request-id" : "fcbce99e-b921-4737-b86c-672e7fd5002e", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "20ae1729-6ca5-4137-bdb6-6f4076d58ef1", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6c6deaea-95fc-4070-b1f1-729256b318c0", "Content-Type" : "application/json" }, "Response" : { @@ -137,29 +137,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:43 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:42 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "7c18b8e4-8b01-4626-8e95-eea0ad9850ab", + "x-ms-correlation-request-id" : "ab9e6d3a-f7f9-402d-b290-0615cd49e30f", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"4AuunmfXSiebP8mBRaR9oRXgejC\"", + "ETag" : "\"4uXW8zxs6pyi90X5fekXv18tZrO\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMDE=;sn=471201", - "x-ms-request-id" : "7c18b8e4-8b01-4626-8e95-eea0ad9850ab", - "Body" : "{\"etag\":\"4AuunmfXSiebP8mBRaR9oRXgejC\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue37\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "20ae1729-6ca5-4137-bdb6-6f4076d58ef1", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMjU=;sn=569225", + "x-ms-request-id" : "ab9e6d3a-f7f9-402d-b290-0615cd49e30f", + "Body" : "{\"etag\":\"4uXW8zxs6pyi90X5fekXv18tZrO\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue4\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"}", + "x-ms-client-request-id" : "6c6deaea-95fc-4070-b1f1-729256b318c0", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "50e7e530-4ad2-4a0a-9bfd-dd8b29ee5378", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "de075749-063a-4de5-aa82-689df40ac34a", "Content-Type" : "application/json" }, "Response" : { @@ -168,29 +168,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:43 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:43 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "32810fa9-914f-4085-bf6d-45ec34446cd3", + "x-ms-correlation-request-id" : "e4830b3d-193d-4855-9cce-9217dff88011", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"e6YHJHOrkMwQJHcPg7BtJlpgCQ8\"", + "ETag" : "\"4jVshEzYg564oLmIpqQnwzpAd9E\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMDI=;sn=471202", - "x-ms-request-id" : "32810fa9-914f-4085-bf6d-45ec34446cd3", - "Body" : "{\"etag\":\"e6YHJHOrkMwQJHcPg7BtJlpgCQ8\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue9\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "50e7e530-4ad2-4a0a-9bfd-dd8b29ee5378", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMjY=;sn=569226", + "x-ms-request-id" : "e4830b3d-193d-4855-9cce-9217dff88011", + "Body" : "{\"etag\":\"4jVshEzYg564oLmIpqQnwzpAd9E\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue5\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"}", + "x-ms-client-request-id" : "de075749-063a-4de5-aa82-689df40ac34a", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9bf698b3-1770-49db-b045-b020f21d8008", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "23f7f14b-23ac-40c5-b52c-61b349606841", "Content-Type" : "application/json" }, "Response" : { @@ -199,29 +199,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:43 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:43 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "48413124-8131-451f-b6c1-0408e0be653a", + "x-ms-correlation-request-id" : "bf39c038-8252-4469-8ae2-c2e1d1a45b27", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"dKxf26u02eM5V3braZ8WlGNJZVa\"", + "ETag" : "\"i8WUfvwjAog1oML3Pa6iAoUoGOX\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMDM=;sn=471203", - "x-ms-request-id" : "48413124-8131-451f-b6c1-0408e0be653a", - "Body" : "{\"etag\":\"dKxf26u02eM5V3braZ8WlGNJZVa\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue17\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "9bf698b3-1770-49db-b045-b020f21d8008", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMjc=;sn=569227", + "x-ms-request-id" : "bf39c038-8252-4469-8ae2-c2e1d1a45b27", + "Body" : "{\"etag\":\"i8WUfvwjAog1oML3Pa6iAoUoGOX\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue6\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"}", + "x-ms-client-request-id" : "23f7f14b-23ac-40c5-b52c-61b349606841", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a3f0be61-0668-4407-bcea-e31b5c9561bd", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7756e67e-abef-4e49-bb1f-792bb514174e", "Content-Type" : "application/json" }, "Response" : { @@ -230,29 +230,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:43 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:43 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "3a164fe9-64c3-4f94-9d2b-760513f31318", + "x-ms-correlation-request-id" : "0b35194d-5e72-4489-9305-675559e27953", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"xYd6FEkL1cDGDqXyRrSqrR0vQKl\"", + "ETag" : "\"omBY3NmwdQ3JpJhwXX2gCxw15ih\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMDQ=;sn=471204", - "x-ms-request-id" : "3a164fe9-64c3-4f94-9d2b-760513f31318", - "Body" : "{\"etag\":\"xYd6FEkL1cDGDqXyRrSqrR0vQKl\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue6\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "a3f0be61-0668-4407-bcea-e31b5c9561bd", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMjg=;sn=569228", + "x-ms-request-id" : "0b35194d-5e72-4489-9305-675559e27953", + "Body" : "{\"etag\":\"omBY3NmwdQ3JpJhwXX2gCxw15ih\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue7\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"}", + "x-ms-client-request-id" : "7756e67e-abef-4e49-bb1f-792bb514174e", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f2809003-4296-4f9b-a82b-49e965adb10f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4e8db00c-a906-408e-9615-7ad9a5a32a78", "Content-Type" : "application/json" }, "Response" : { @@ -261,29 +261,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:43 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:43 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "74fe252e-51a1-4b7a-8ce4-7416c61891f2", + "x-ms-correlation-request-id" : "1a1a777e-115c-4ed9-b21c-e4edbb847365", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"cvGZbAk2GnZw2IkCc7lw8LeFTXN\"", + "ETag" : "\"GoTYvGaXYCaZVKgjTe0tNQr3hzB\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMDU=;sn=471205", - "x-ms-request-id" : "74fe252e-51a1-4b7a-8ce4-7416c61891f2", - "Body" : "{\"etag\":\"cvGZbAk2GnZw2IkCc7lw8LeFTXN\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue3\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "f2809003-4296-4f9b-a82b-49e965adb10f", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMjk=;sn=569229", + "x-ms-request-id" : "1a1a777e-115c-4ed9-b21c-e4edbb847365", + "Body" : "{\"etag\":\"GoTYvGaXYCaZVKgjTe0tNQr3hzB\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue8\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"}", + "x-ms-client-request-id" : "4e8db00c-a906-408e-9615-7ad9a5a32a78", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7eeaf7f7-dbca-4da5-ae8f-dd4e4d1ad17b", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f41622ce-5b5c-4d06-b734-45868f12ea35", "Content-Type" : "application/json" }, "Response" : { @@ -292,29 +292,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:43 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:43 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "61bbeb86-92fe-47b2-b3fd-2f426816369f", + "x-ms-correlation-request-id" : "9483965c-c139-45d7-a166-26a793af3a0a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"TZmYKwbftUrScASSkG4C2k8bNCQ\"", + "ETag" : "\"euHbwkCqVcOUa16Y5QK6ndVoIRM\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMDY=;sn=471206", - "x-ms-request-id" : "61bbeb86-92fe-47b2-b3fd-2f426816369f", - "Body" : "{\"etag\":\"TZmYKwbftUrScASSkG4C2k8bNCQ\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue4\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "7eeaf7f7-dbca-4da5-ae8f-dd4e4d1ad17b", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMzA=;sn=569230", + "x-ms-request-id" : "9483965c-c139-45d7-a166-26a793af3a0a", + "Body" : "{\"etag\":\"euHbwkCqVcOUa16Y5QK6ndVoIRM\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue9\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"}", + "x-ms-client-request-id" : "f41622ce-5b5c-4d06-b734-45868f12ea35", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9c6e33dc-a350-4550-b6d7-0f9de29de3bb", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5edad623-ce50-4d00-8a2b-f584a838aa01", "Content-Type" : "application/json" }, "Response" : { @@ -323,29 +323,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:43 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:43 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "b2df85bc-7655-4370-aa92-a10cc305485d", + "x-ms-correlation-request-id" : "6febf6e9-b33d-4901-8a7f-8256896ddadb", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"dLk7Kwm4wrITk2d1aF7DA13ZIUT\"", + "ETag" : "\"OZqF2CBW9FeMm1J2FsD584NYqEM\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMDc=;sn=471207", - "x-ms-request-id" : "b2df85bc-7655-4370-aa92-a10cc305485d", - "Body" : "{\"etag\":\"dLk7Kwm4wrITk2d1aF7DA13ZIUT\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue11\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "9c6e33dc-a350-4550-b6d7-0f9de29de3bb", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMzE=;sn=569231", + "x-ms-request-id" : "6febf6e9-b33d-4901-8a7f-8256896ddadb", + "Body" : "{\"etag\":\"OZqF2CBW9FeMm1J2FsD584NYqEM\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue10\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"}", + "x-ms-client-request-id" : "5edad623-ce50-4d00-8a2b-f584a838aa01", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a243fb28-3c47-42e4-9eee-fe38d67f1acc", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1f9d773b-904f-4e2d-bbac-84a474c2acdd", "Content-Type" : "application/json" }, "Response" : { @@ -354,29 +354,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:43 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:43 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "5d342704-d086-4ba7-b07e-1c616093e78b", + "x-ms-correlation-request-id" : "d79013f6-4c30-4c4e-857a-066c6e6e3489", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"1WKFhvq0iCgN41Qi12z6L6qkWkU\"", + "ETag" : "\"EULbv8H9sCTxv1pjPAPkmoSvjaJ\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMDg=;sn=471208", - "x-ms-request-id" : "5d342704-d086-4ba7-b07e-1c616093e78b", - "Body" : "{\"etag\":\"1WKFhvq0iCgN41Qi12z6L6qkWkU\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue13\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "a243fb28-3c47-42e4-9eee-fe38d67f1acc", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMzI=;sn=569232", + "x-ms-request-id" : "d79013f6-4c30-4c4e-857a-066c6e6e3489", + "Body" : "{\"etag\":\"EULbv8H9sCTxv1pjPAPkmoSvjaJ\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue11\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"}", + "x-ms-client-request-id" : "1f9d773b-904f-4e2d-bbac-84a474c2acdd", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1c2eeb0b-7086-49bb-8739-5e4b242fb1e7", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c43f31f2-ba8d-431a-b451-e6ea47be7749", "Content-Type" : "application/json" }, "Response" : { @@ -385,29 +385,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:43 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:43 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "9373434e-7f79-4368-9d37-2090ad5ea7eb", + "x-ms-correlation-request-id" : "539b3ca3-9877-4a40-afa2-70cee1d8ba97", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"auYqnIQ8H6NapSib7SREuJ4WJJV\"", + "ETag" : "\"PoPSnLd0ZTVJOMKeMKdfsDH8pxj\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMDk=;sn=471209", - "x-ms-request-id" : "9373434e-7f79-4368-9d37-2090ad5ea7eb", - "Body" : "{\"etag\":\"auYqnIQ8H6NapSib7SREuJ4WJJV\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue15\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "1c2eeb0b-7086-49bb-8739-5e4b242fb1e7", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMzM=;sn=569233", + "x-ms-request-id" : "539b3ca3-9877-4a40-afa2-70cee1d8ba97", + "Body" : "{\"etag\":\"PoPSnLd0ZTVJOMKeMKdfsDH8pxj\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue12\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"}", + "x-ms-client-request-id" : "c43f31f2-ba8d-431a-b451-e6ea47be7749", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cb11f3f2-e199-492b-9cb7-c4f60ff472f5", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0605c9f7-5d4f-4a01-bb29-df3d4b470ecf", "Content-Type" : "application/json" }, "Response" : { @@ -416,29 +416,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:43 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:43 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "998dd8ea-cc2e-415b-ade9-4d2fa5b31e4c", + "x-ms-correlation-request-id" : "00e491bc-5ca4-4b75-ac60-eca7a5381860", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"4YMSUkVdfvoHYvwCsiZ6Vu8r5GO\"", + "ETag" : "\"zu6UJCk4YcFMSjwnmwebvkuBs6l\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMTA=;sn=471210", - "x-ms-request-id" : "998dd8ea-cc2e-415b-ade9-4d2fa5b31e4c", - "Body" : "{\"etag\":\"4YMSUkVdfvoHYvwCsiZ6Vu8r5GO\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue21\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "cb11f3f2-e199-492b-9cb7-c4f60ff472f5", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMzQ=;sn=569234", + "x-ms-request-id" : "00e491bc-5ca4-4b75-ac60-eca7a5381860", + "Body" : "{\"etag\":\"zu6UJCk4YcFMSjwnmwebvkuBs6l\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue13\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"}", + "x-ms-client-request-id" : "0605c9f7-5d4f-4a01-bb29-df3d4b470ecf", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5d5a2860-3a50-4331-8dbf-d1b315c78abc", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "16e28f27-2102-4965-bedc-3a37942e4c5f", "Content-Type" : "application/json" }, "Response" : { @@ -447,29 +447,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:44 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:43 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "abb2243e-09f1-4dc6-8d70-e18db99a6e7b", + "x-ms-correlation-request-id" : "2b91318f-7304-4a60-9799-4ee602db8eef", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"mUPgEzoPj47yYcfSHmXn8SH43q4\"", + "ETag" : "\"bUWOV2GL3wIL1dacvz7rmuIf0E0\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMTE=;sn=471211", - "x-ms-request-id" : "abb2243e-09f1-4dc6-8d70-e18db99a6e7b", - "Body" : "{\"etag\":\"mUPgEzoPj47yYcfSHmXn8SH43q4\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue20\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "5d5a2860-3a50-4331-8dbf-d1b315c78abc", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMzU=;sn=569235", + "x-ms-request-id" : "2b91318f-7304-4a60-9799-4ee602db8eef", + "Body" : "{\"etag\":\"bUWOV2GL3wIL1dacvz7rmuIf0E0\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue14\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"}", + "x-ms-client-request-id" : "16e28f27-2102-4965-bedc-3a37942e4c5f", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b87f9efd-db42-400a-8c2f-67290092feb8", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "28c31543-cf48-42ed-ae08-00f9629d3743", "Content-Type" : "application/json" }, "Response" : { @@ -478,29 +478,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:44 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:43 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "2c6b445f-c34b-4952-ab1b-3d9fbca990b3", + "x-ms-correlation-request-id" : "39a89f81-d1bb-457e-b55e-07184d636553", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"qeJETYIj2RV8kTm4ztleBme9u7Y\"", + "ETag" : "\"tPkhp1ppkKKos7WBH881Pj8Qt3V\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMTI=;sn=471212", - "x-ms-request-id" : "2c6b445f-c34b-4952-ab1b-3d9fbca990b3", - "Body" : "{\"etag\":\"qeJETYIj2RV8kTm4ztleBme9u7Y\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue25\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "b87f9efd-db42-400a-8c2f-67290092feb8", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMzY=;sn=569236", + "x-ms-request-id" : "39a89f81-d1bb-457e-b55e-07184d636553", + "Body" : "{\"etag\":\"tPkhp1ppkKKos7WBH881Pj8Qt3V\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue15\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"}", + "x-ms-client-request-id" : "28c31543-cf48-42ed-ae08-00f9629d3743", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "50540505-ed5d-4715-ac56-27b43851fa29", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ba11d4ec-be9f-44da-bd0f-8a50ce76aa32", "Content-Type" : "application/json" }, "Response" : { @@ -509,29 +509,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:44 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:43 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "40c06d4d-5798-413f-956c-38facac8dd2e", + "x-ms-correlation-request-id" : "5871a889-5d99-4e2c-a173-08c859deed72", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"RlfVqY6cqlaENTSP5OAJ64CafUM\"", + "ETag" : "\"biKGjBSshbuHuJ0IVwyRLrrNQif\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMTM=;sn=471213", - "x-ms-request-id" : "40c06d4d-5798-413f-956c-38facac8dd2e", - "Body" : "{\"etag\":\"RlfVqY6cqlaENTSP5OAJ64CafUM\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue24\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "50540505-ed5d-4715-ac56-27b43851fa29", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMzc=;sn=569237", + "x-ms-request-id" : "5871a889-5d99-4e2c-a173-08c859deed72", + "Body" : "{\"etag\":\"biKGjBSshbuHuJ0IVwyRLrrNQif\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue16\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"}", + "x-ms-client-request-id" : "ba11d4ec-be9f-44da-bd0f-8a50ce76aa32", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a5178526-60c1-43c1-a34f-44091dac6302", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5bc15f76-efb2-48b3-bebd-ae6ff388af61", "Content-Type" : "application/json" }, "Response" : { @@ -540,29 +540,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:44 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:43 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "62340677-76a9-45f5-83f3-b88c8ff53395", + "x-ms-correlation-request-id" : "26e8f76a-2650-4377-9c75-ccaacf843206", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"h13eG23Gwr8PhHPbh1D5vNVnue8\"", + "ETag" : "\"4w1uwK2Qi81mGHuYmgNX09nG4HF\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMTQ=;sn=471214", - "x-ms-request-id" : "62340677-76a9-45f5-83f3-b88c8ff53395", - "Body" : "{\"etag\":\"h13eG23Gwr8PhHPbh1D5vNVnue8\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue46\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "a5178526-60c1-43c1-a34f-44091dac6302", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMzg=;sn=569238", + "x-ms-request-id" : "26e8f76a-2650-4377-9c75-ccaacf843206", + "Body" : "{\"etag\":\"4w1uwK2Qi81mGHuYmgNX09nG4HF\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue17\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"}", + "x-ms-client-request-id" : "5bc15f76-efb2-48b3-bebd-ae6ff388af61", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "53c6c11d-57ee-4b02-b617-997d196111b7", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "aa232927-0785-4a82-9b09-ba12da8171e0", "Content-Type" : "application/json" }, "Response" : { @@ -571,29 +571,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:44 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:43 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "968b6311-8db6-451d-9cea-0b1f034df2a0", + "x-ms-correlation-request-id" : "e754c613-46d7-4d66-8fb1-8f8180adb440", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"i9XCRdar1LTTNm09bxQ9ZNHwZUk\"", + "ETag" : "\"LjH3aTqEkgYImIpahFMeYj3IgVs\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMTU=;sn=471215", - "x-ms-request-id" : "968b6311-8db6-451d-9cea-0b1f034df2a0", - "Body" : "{\"etag\":\"i9XCRdar1LTTNm09bxQ9ZNHwZUk\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue31\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "53c6c11d-57ee-4b02-b617-997d196111b7", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMzk=;sn=569239", + "x-ms-request-id" : "e754c613-46d7-4d66-8fb1-8f8180adb440", + "Body" : "{\"etag\":\"LjH3aTqEkgYImIpahFMeYj3IgVs\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue18\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"}", + "x-ms-client-request-id" : "aa232927-0785-4a82-9b09-ba12da8171e0", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1d90f67e-9ff0-4c10-8dee-2a8635910756", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c3b0cf3c-4259-46b5-a0c1-070adcd8fac9", "Content-Type" : "application/json" }, "Response" : { @@ -602,29 +602,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:44 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:43 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "94dfe824-5c0e-43d0-a0dd-6e58367b7c65", + "x-ms-correlation-request-id" : "4401df76-cfb7-495e-9850-42b08d29dde1", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"miDRni7UpExC24nxaIjUMA63wEf\"", + "ETag" : "\"HnHFrAdR22wTJpIxcbaNMSou7P4\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMTY=;sn=471216", - "x-ms-request-id" : "94dfe824-5c0e-43d0-a0dd-6e58367b7c65", - "Body" : "{\"etag\":\"miDRni7UpExC24nxaIjUMA63wEf\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue26\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "1d90f67e-9ff0-4c10-8dee-2a8635910756", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNDA=;sn=569240", + "x-ms-request-id" : "4401df76-cfb7-495e-9850-42b08d29dde1", + "Body" : "{\"etag\":\"HnHFrAdR22wTJpIxcbaNMSou7P4\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue19\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"}", + "x-ms-client-request-id" : "c3b0cf3c-4259-46b5-a0c1-070adcd8fac9", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "88dc15e0-4fe9-409f-b53e-1e92a7e2a556", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "60cc5872-cffd-4f26-9368-d3ddc76be90f", "Content-Type" : "application/json" }, "Response" : { @@ -633,29 +633,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:44 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:43 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "88c33f67-a1a3-44c7-bac1-eb0216283f11", + "x-ms-correlation-request-id" : "52d1ea16-c1c0-494c-9162-70b5d7d042a2", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"VNbUkRFDRjSQO3DsuY8f18BLjc8\"", + "ETag" : "\"AOxxouFRomi5tmDEQvJlA0I3pnQ\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMTc=;sn=471217", - "x-ms-request-id" : "88c33f67-a1a3-44c7-bac1-eb0216283f11", - "Body" : "{\"etag\":\"VNbUkRFDRjSQO3DsuY8f18BLjc8\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue36\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "88dc15e0-4fe9-409f-b53e-1e92a7e2a556", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNDE=;sn=569241", + "x-ms-request-id" : "52d1ea16-c1c0-494c-9162-70b5d7d042a2", + "Body" : "{\"etag\":\"AOxxouFRomi5tmDEQvJlA0I3pnQ\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue20\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"}", + "x-ms-client-request-id" : "60cc5872-cffd-4f26-9368-d3ddc76be90f", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "34e54c21-919c-48c0-a528-8ad1b4795789", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4e3d7124-30ce-482d-bb5f-c9a9a8ecc53d", "Content-Type" : "application/json" }, "Response" : { @@ -664,29 +664,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:44 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:43 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "dabbdfc6-b939-4cac-9d61-280db2f3aabf", + "x-ms-correlation-request-id" : "b169df50-9b7e-41a8-850f-b38afa0fa24c", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"8G2LXiCJvIK87aObR7xRBrjDkfX\"", + "ETag" : "\"Cwgzj5WWKdackj1ydSYQR6ZHqTN\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMTg=;sn=471218", - "x-ms-request-id" : "dabbdfc6-b939-4cac-9d61-280db2f3aabf", - "Body" : "{\"etag\":\"8G2LXiCJvIK87aObR7xRBrjDkfX\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue42\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "34e54c21-919c-48c0-a528-8ad1b4795789", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNDI=;sn=569242", + "x-ms-request-id" : "b169df50-9b7e-41a8-850f-b38afa0fa24c", + "Body" : "{\"etag\":\"Cwgzj5WWKdackj1ydSYQR6ZHqTN\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue21\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"}", + "x-ms-client-request-id" : "4e3d7124-30ce-482d-bb5f-c9a9a8ecc53d", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "da54402b-ccc0-4cf2-b063-ecb021133bc3", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "77005331-abb0-4823-93b7-3140d53a9e6b", "Content-Type" : "application/json" }, "Response" : { @@ -695,29 +695,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:44 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:44 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "04555b84-6703-44e0-8af1-29666137289a", + "x-ms-correlation-request-id" : "9fccad7e-9281-4006-9d72-8568143d455e", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"OWawSXaJuOqoRrKBzuEUg7GD8wF\"", + "ETag" : "\"LzGQ9kmQw2VN7hraR21HnSZ0JEF\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMTk=;sn=471219", - "x-ms-request-id" : "04555b84-6703-44e0-8af1-29666137289a", - "Body" : "{\"etag\":\"OWawSXaJuOqoRrKBzuEUg7GD8wF\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue18\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "da54402b-ccc0-4cf2-b063-ecb021133bc3", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNDM=;sn=569243", + "x-ms-request-id" : "9fccad7e-9281-4006-9d72-8568143d455e", + "Body" : "{\"etag\":\"LzGQ9kmQw2VN7hraR21HnSZ0JEF\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue22\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"}", + "x-ms-client-request-id" : "77005331-abb0-4823-93b7-3140d53a9e6b", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "66864230-8ba6-4cf0-bd8f-5facfeb1efa6", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "12b9dc51-c983-4174-a1e9-9d4646e2d2f1", "Content-Type" : "application/json" }, "Response" : { @@ -726,29 +726,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:44 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:44 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "35133091-5c7c-43aa-80b0-3234e3fb5156", + "x-ms-correlation-request-id" : "970aa9c8-f335-4169-bd59-7e4f52d42393", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"fvTHDki1eK8aAt9sYMTH1t3jT59\"", + "ETag" : "\"9uPtT5y5iP47dAU5Y1YCsfBMzLt\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMjA=;sn=471220", - "x-ms-request-id" : "35133091-5c7c-43aa-80b0-3234e3fb5156", - "Body" : "{\"etag\":\"fvTHDki1eK8aAt9sYMTH1t3jT59\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue23\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "66864230-8ba6-4cf0-bd8f-5facfeb1efa6", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNDQ=;sn=569244", + "x-ms-request-id" : "970aa9c8-f335-4169-bd59-7e4f52d42393", + "Body" : "{\"etag\":\"9uPtT5y5iP47dAU5Y1YCsfBMzLt\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue23\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"}", + "x-ms-client-request-id" : "12b9dc51-c983-4174-a1e9-9d4646e2d2f1", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "148563b6-1fba-461d-8ac4-d1ae422547ff", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c6ba7d30-fa81-4bd8-93a3-e5bfae4a5531", "Content-Type" : "application/json" }, "Response" : { @@ -757,29 +757,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:44 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:44 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "e5e0933a-d526-445a-8f5a-3a98de4f27f6", + "x-ms-correlation-request-id" : "e96f73de-cd1e-4b61-a375-42d41ee425ee", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"COWHBHiJzlwUkJFkXQvVwMTcXc1\"", + "ETag" : "\"caTXad3SHrsqTKgd3z2argKPFZG\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMjE=;sn=471221", - "x-ms-request-id" : "e5e0933a-d526-445a-8f5a-3a98de4f27f6", - "Body" : "{\"etag\":\"COWHBHiJzlwUkJFkXQvVwMTcXc1\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue34\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "148563b6-1fba-461d-8ac4-d1ae422547ff", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNDU=;sn=569245", + "x-ms-request-id" : "e96f73de-cd1e-4b61-a375-42d41ee425ee", + "Body" : "{\"etag\":\"caTXad3SHrsqTKgd3z2argKPFZG\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue24\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"}", + "x-ms-client-request-id" : "c6ba7d30-fa81-4bd8-93a3-e5bfae4a5531", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f867ef51-279e-46e7-8837-e6c62ed8c265", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "38cde738-438c-40ee-9f77-79f6d6f8f3a0", "Content-Type" : "application/json" }, "Response" : { @@ -788,29 +788,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:44 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:44 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "286bf8ad-58ae-43e5-9f1d-be2ccb887fae", + "x-ms-correlation-request-id" : "6429fbef-85a3-452f-a4f6-c1cc0c06ceaa", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"B6zpt3oG2VaRcA2wqLk5hQop9hm\"", + "ETag" : "\"ZSuq9pyL8vEyyhn2f9SQ0bLum4k\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMjI=;sn=471222", - "x-ms-request-id" : "286bf8ad-58ae-43e5-9f1d-be2ccb887fae", - "Body" : "{\"etag\":\"B6zpt3oG2VaRcA2wqLk5hQop9hm\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue29\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "f867ef51-279e-46e7-8837-e6c62ed8c265", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNDY=;sn=569246", + "x-ms-request-id" : "6429fbef-85a3-452f-a4f6-c1cc0c06ceaa", + "Body" : "{\"etag\":\"ZSuq9pyL8vEyyhn2f9SQ0bLum4k\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue25\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"}", + "x-ms-client-request-id" : "38cde738-438c-40ee-9f77-79f6d6f8f3a0", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "20865ec8-51bc-4827-8602-996e45d6f6f1", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "addf6ba8-1fc6-46ea-ab8a-de3c4d865e92", "Content-Type" : "application/json" }, "Response" : { @@ -819,29 +819,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:44 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:44 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "757ff69b-d5ce-45e4-96da-30e2a44b4292", + "x-ms-correlation-request-id" : "284c0d63-049a-41f8-bb31-afd02755cf67", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"sCckFwmgXrpa1DR0WjkmijQR0Yg\"", + "ETag" : "\"yNpeQ1z2rDtIRd5i4X36a7LNcn6\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMjM=;sn=471223", - "x-ms-request-id" : "757ff69b-d5ce-45e4-96da-30e2a44b4292", - "Body" : "{\"etag\":\"sCckFwmgXrpa1DR0WjkmijQR0Yg\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue44\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "20865ec8-51bc-4827-8602-996e45d6f6f1", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNDc=;sn=569247", + "x-ms-request-id" : "284c0d63-049a-41f8-bb31-afd02755cf67", + "Body" : "{\"etag\":\"yNpeQ1z2rDtIRd5i4X36a7LNcn6\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue26\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"}", + "x-ms-client-request-id" : "addf6ba8-1fc6-46ea-ab8a-de3c4d865e92", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2180ed2c-a154-424f-9e6a-2dc6bb343f2d", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "13f65fdc-83c0-4764-9b02-aa605a42b5c7", "Content-Type" : "application/json" }, "Response" : { @@ -850,29 +850,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:44 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:44 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "89fa8de3-2cb4-4e4b-8939-711fc54037e0", + "x-ms-correlation-request-id" : "211e8f1c-6c90-4a8b-809d-be516baf05f4", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"qkpYH9ijxIEUaL5FSLn21pTvyVN\"", + "ETag" : "\"AVFdbqC4iqr6IMyu11lgdP7IgWw\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMjQ=;sn=471224", - "x-ms-request-id" : "89fa8de3-2cb4-4e4b-8939-711fc54037e0", - "Body" : "{\"etag\":\"qkpYH9ijxIEUaL5FSLn21pTvyVN\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue43\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "2180ed2c-a154-424f-9e6a-2dc6bb343f2d", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNDg=;sn=569248", + "x-ms-request-id" : "211e8f1c-6c90-4a8b-809d-be516baf05f4", + "Body" : "{\"etag\":\"AVFdbqC4iqr6IMyu11lgdP7IgWw\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue27\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"}", + "x-ms-client-request-id" : "13f65fdc-83c0-4764-9b02-aa605a42b5c7", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "50ac2a49-6ba0-4427-8f25-8b1a97c65131", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e4bac0c6-ff11-4d2e-ba35-0f22049c9c92", "Content-Type" : "application/json" }, "Response" : { @@ -881,29 +881,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:44 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:44 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "08d55d32-d073-4bfb-9755-7f9143da53a2", + "x-ms-correlation-request-id" : "662f1379-e0fc-4c26-8eca-1b9e674030d0", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"ouHUk0op4bbqeKiJtliAc0CJOKC\"", + "ETag" : "\"ACuS5yvi9scxoA5iBmMTYe8WprC\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMjU=;sn=471225", - "x-ms-request-id" : "08d55d32-d073-4bfb-9755-7f9143da53a2", - "Body" : "{\"etag\":\"ouHUk0op4bbqeKiJtliAc0CJOKC\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue28\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "50ac2a49-6ba0-4427-8f25-8b1a97c65131", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNDk=;sn=569249", + "x-ms-request-id" : "662f1379-e0fc-4c26-8eca-1b9e674030d0", + "Body" : "{\"etag\":\"ACuS5yvi9scxoA5iBmMTYe8WprC\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue28\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"}", + "x-ms-client-request-id" : "e4bac0c6-ff11-4d2e-ba35-0f22049c9c92", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ad8156fc-1e2e-4cfa-a798-f48493a47331", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a3d4d685-5b27-4030-a51a-f20a2bd8d65c", "Content-Type" : "application/json" }, "Response" : { @@ -912,29 +912,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:45 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:44 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "90b5fbbf-0c27-4982-8739-dbe9ce3b2ee7", + "x-ms-correlation-request-id" : "c25cdf53-8900-44c5-adac-2fa06e8e597b", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"UCchQjPNA2o2UviGEx68h2womRq\"", + "ETag" : "\"qrOYXYW3NUAMvHgpHsmYAOKGgZr\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMjY=;sn=471226", - "x-ms-request-id" : "90b5fbbf-0c27-4982-8739-dbe9ce3b2ee7", - "Body" : "{\"etag\":\"UCchQjPNA2o2UviGEx68h2womRq\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue40\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "ad8156fc-1e2e-4cfa-a798-f48493a47331", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNTA=;sn=569250", + "x-ms-request-id" : "c25cdf53-8900-44c5-adac-2fa06e8e597b", + "Body" : "{\"etag\":\"qrOYXYW3NUAMvHgpHsmYAOKGgZr\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue29\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"}", + "x-ms-client-request-id" : "a3d4d685-5b27-4030-a51a-f20a2bd8d65c", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ca489e59-b5fd-4f44-85eb-22d6a9d191c0", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6c63cd46-90c7-4a74-8ddd-91fa5253d8e5", "Content-Type" : "application/json" }, "Response" : { @@ -943,29 +943,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:45 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:44 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "720475a9-96ff-4726-aabe-f75663e22de7", + "x-ms-correlation-request-id" : "15f0afe4-98f5-4355-84b2-47a79577ffe2", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"F4w92iFqRyeinzm2cjURAuehPws\"", + "ETag" : "\"fUJwfx9WNPiNJRvmvNCOliYkHLe\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMjc=;sn=471227", - "x-ms-request-id" : "720475a9-96ff-4726-aabe-f75663e22de7", - "Body" : "{\"etag\":\"F4w92iFqRyeinzm2cjURAuehPws\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue27\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}", - "x-ms-client-request-id" : "ca489e59-b5fd-4f44-85eb-22d6a9d191c0", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNTE=;sn=569251", + "x-ms-request-id" : "15f0afe4-98f5-4355-84b2-47a79577ffe2", + "Body" : "{\"etag\":\"fUJwfx9WNPiNJRvmvNCOliYkHLe\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue30\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"}", + "x-ms-client-request-id" : "6c63cd46-90c7-4a74-8ddd-91fa5253d8e5", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2553a165-9ea4-4c41-9d23-f2a8d9750e69", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d90779fd-dbae-4103-95ba-5577dbe45145", "Content-Type" : "application/json" }, "Response" : { @@ -974,29 +974,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:44 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:45 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:44 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "5047835e-88c3-4615-af40-2e19870bcd32", + "x-ms-correlation-request-id" : "3f55a974-af41-4913-8d64-48fa0b142b84", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"nu1sxUYbmdoY6geGo9C9dQcOgLY\"", + "ETag" : "\"bPaaLgx2HAeUckpKEcL9LweyHbP\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMjg=;sn=471228", - "x-ms-request-id" : "5047835e-88c3-4615-af40-2e19870bcd32", - "Body" : "{\"etag\":\"nu1sxUYbmdoY6geGo9C9dQcOgLY\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue1\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"}", - "x-ms-client-request-id" : "2553a165-9ea4-4c41-9d23-f2a8d9750e69", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNTI=;sn=569252", + "x-ms-request-id" : "3f55a974-af41-4913-8d64-48fa0b142b84", + "Body" : "{\"etag\":\"bPaaLgx2HAeUckpKEcL9LweyHbP\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue31\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"}", + "x-ms-client-request-id" : "d90779fd-dbae-4103-95ba-5577dbe45145", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0ad829cd-2e55-4501-b3a9-56681b0917fa", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "646836e2-164f-44a5-b1f0-184b8f6c3964", "Content-Type" : "application/json" }, "Response" : { @@ -1005,29 +1005,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:44 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:45 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:44 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "1f0697c9-5aec-4f04-9294-6e742e47078b", + "x-ms-correlation-request-id" : "ccb3d9ca-148b-4af5-b441-77eced8e2615", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"sppwkL0w1RIrC0AjedQC6sNVc20\"", + "ETag" : "\"mHlmLh97Deob7ZKr7Dp22sO2hiq\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMjk=;sn=471229", - "x-ms-request-id" : "1f0697c9-5aec-4f04-9294-6e742e47078b", - "Body" : "{\"etag\":\"sppwkL0w1RIrC0AjedQC6sNVc20\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue10\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"}", - "x-ms-client-request-id" : "0ad829cd-2e55-4501-b3a9-56681b0917fa", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNTM=;sn=569253", + "x-ms-request-id" : "ccb3d9ca-148b-4af5-b441-77eced8e2615", + "Body" : "{\"etag\":\"mHlmLh97Deob7ZKr7Dp22sO2hiq\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue32\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"}", + "x-ms-client-request-id" : "646836e2-164f-44a5-b1f0-184b8f6c3964", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0d0763d6-1e1c-43ac-91b8-18b08882e95b", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "80d80fd5-70c1-4813-a506-c8841b5ecc77", "Content-Type" : "application/json" }, "Response" : { @@ -1036,29 +1036,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:44 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:45 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:44 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "b51230d8-6496-45b4-8885-bd6d90e9b00b", + "x-ms-correlation-request-id" : "fa25b9d2-a229-4589-a26c-32b19355eb63", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"0WVeedpcUpwS6iK4u1Ww9ZWPG5f\"", + "ETag" : "\"2brN8vBUASlrW3XBXxZMjFc3dLS\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMzA=;sn=471230", - "x-ms-request-id" : "b51230d8-6496-45b4-8885-bd6d90e9b00b", - "Body" : "{\"etag\":\"0WVeedpcUpwS6iK4u1Ww9ZWPG5f\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue5\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"}", - "x-ms-client-request-id" : "0d0763d6-1e1c-43ac-91b8-18b08882e95b", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNTQ=;sn=569254", + "x-ms-request-id" : "fa25b9d2-a229-4589-a26c-32b19355eb63", + "Body" : "{\"etag\":\"2brN8vBUASlrW3XBXxZMjFc3dLS\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue33\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"}", + "x-ms-client-request-id" : "80d80fd5-70c1-4813-a506-c8841b5ecc77", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8ae5cf54-6858-40da-9aa4-e0e4daf30785", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6b9f0f45-7023-4c41-af39-a530504fe7ba", "Content-Type" : "application/json" }, "Response" : { @@ -1067,29 +1067,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:44 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:45 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:44 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "aa6f4415-170c-456d-817c-b6f72ad4e7ec", + "x-ms-correlation-request-id" : "14264c2b-2615-4f5c-8294-10f279bf906b", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"Oxu5SQ9jsjjG7LVXeaZs8QQbNEQ\"", + "ETag" : "\"nmwMYlssXvpIBlGgwtYTyrRRTtn\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMzE=;sn=471231", - "x-ms-request-id" : "aa6f4415-170c-456d-817c-b6f72ad4e7ec", - "Body" : "{\"etag\":\"Oxu5SQ9jsjjG7LVXeaZs8QQbNEQ\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue12\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"}", - "x-ms-client-request-id" : "8ae5cf54-6858-40da-9aa4-e0e4daf30785", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNTU=;sn=569255", + "x-ms-request-id" : "14264c2b-2615-4f5c-8294-10f279bf906b", + "Body" : "{\"etag\":\"nmwMYlssXvpIBlGgwtYTyrRRTtn\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue34\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"}", + "x-ms-client-request-id" : "6b9f0f45-7023-4c41-af39-a530504fe7ba", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "65d6bc96-4914-46c4-b6a6-6f4aa2abe3dc", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c4ad06f9-54ae-49e1-b085-c495f1b0f0ff", "Content-Type" : "application/json" }, "Response" : { @@ -1098,29 +1098,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:44 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:45 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:44 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "6ec2997a-f8d4-4693-8735-1a347a8bf53b", + "x-ms-correlation-request-id" : "1e13bf41-d788-43fe-91e5-49f9effd807a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"HumovSsLyjPlcpX7Fy8t0UHbgVk\"", + "ETag" : "\"CqvTLDN1Vy40w1W1hO16XYua18X\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMzI=;sn=471232", - "x-ms-request-id" : "6ec2997a-f8d4-4693-8735-1a347a8bf53b", - "Body" : "{\"etag\":\"HumovSsLyjPlcpX7Fy8t0UHbgVk\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue8\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"}", - "x-ms-client-request-id" : "65d6bc96-4914-46c4-b6a6-6f4aa2abe3dc", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNTY=;sn=569256", + "x-ms-request-id" : "1e13bf41-d788-43fe-91e5-49f9effd807a", + "Body" : "{\"etag\":\"CqvTLDN1Vy40w1W1hO16XYua18X\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue35\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"}", + "x-ms-client-request-id" : "c4ad06f9-54ae-49e1-b085-c495f1b0f0ff", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9e2bb943-77ed-4de7-a209-a5dedeed24a0", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dc8f744d-6858-492e-93db-65b4b5c4274d", "Content-Type" : "application/json" }, "Response" : { @@ -1129,29 +1129,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:44 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:45 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:45 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ed5a0f84-ce8e-4f16-8c1a-1d4085d516ff", + "x-ms-correlation-request-id" : "78554845-efae-4914-a911-c139cf35b12a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"ZvGknXtLCCQw2lV2hjoJVagqRlf\"", + "ETag" : "\"8rrh7W9GkBomu4jzJoiNIo7jb4m\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMzM=;sn=471233", - "x-ms-request-id" : "ed5a0f84-ce8e-4f16-8c1a-1d4085d516ff", - "Body" : "{\"etag\":\"ZvGknXtLCCQw2lV2hjoJVagqRlf\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue19\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"}", - "x-ms-client-request-id" : "9e2bb943-77ed-4de7-a209-a5dedeed24a0", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNTc=;sn=569257", + "x-ms-request-id" : "78554845-efae-4914-a911-c139cf35b12a", + "Body" : "{\"etag\":\"8rrh7W9GkBomu4jzJoiNIo7jb4m\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue36\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"}", + "x-ms-client-request-id" : "dc8f744d-6858-492e-93db-65b4b5c4274d", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1b74ae4c-5144-439d-9ebf-b1f9cb552194", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ab48122d-63bf-48cb-ba2e-c1947a05db4a", "Content-Type" : "application/json" }, "Response" : { @@ -1160,29 +1160,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:44 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:45 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:45 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "544d74bb-e4f9-4b5e-838b-dacd98f2f48a", + "x-ms-correlation-request-id" : "ee399ecd-df3b-4463-ba9f-b9689baa74ae", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"aFLlkXAqsBn2uDR6p1UBGdLmtjq\"", + "ETag" : "\"SLNCFdT10c1bGmTLXbyYmweNrVY\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMzQ=;sn=471234", - "x-ms-request-id" : "544d74bb-e4f9-4b5e-838b-dacd98f2f48a", - "Body" : "{\"etag\":\"aFLlkXAqsBn2uDR6p1UBGdLmtjq\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue16\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"}", - "x-ms-client-request-id" : "1b74ae4c-5144-439d-9ebf-b1f9cb552194", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNTg=;sn=569258", + "x-ms-request-id" : "ee399ecd-df3b-4463-ba9f-b9689baa74ae", + "Body" : "{\"etag\":\"SLNCFdT10c1bGmTLXbyYmweNrVY\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue37\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"}", + "x-ms-client-request-id" : "ab48122d-63bf-48cb-ba2e-c1947a05db4a", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "15c63ceb-5611-408b-8e67-b1e967d0d582", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "adfbd84c-2ab3-4f83-8b58-ae2c288babff", "Content-Type" : "application/json" }, "Response" : { @@ -1191,29 +1191,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:44 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:45 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:45 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ad31e9b0-b7d6-4f3c-8665-89de40913102", + "x-ms-correlation-request-id" : "fa198128-2b37-466f-bd42-0e6881329959", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"l4sB5rKQjBLMD4KQrcjiMgbQokV\"", + "ETag" : "\"WgvBNCbGNP2bsr5V7FwhnOWrcXH\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMzU=;sn=471235", - "x-ms-request-id" : "ad31e9b0-b7d6-4f3c-8665-89de40913102", - "Body" : "{\"etag\":\"l4sB5rKQjBLMD4KQrcjiMgbQokV\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue35\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"}", - "x-ms-client-request-id" : "15c63ceb-5611-408b-8e67-b1e967d0d582", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNTk=;sn=569259", + "x-ms-request-id" : "fa198128-2b37-466f-bd42-0e6881329959", + "Body" : "{\"etag\":\"WgvBNCbGNP2bsr5V7FwhnOWrcXH\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue38\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"}", + "x-ms-client-request-id" : "adfbd84c-2ab3-4f83-8b58-ae2c288babff", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "152e55ad-7f92-4c73-a4ff-534ee393f5c6", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3d159d9c-85f4-4524-a359-883354bd572f", "Content-Type" : "application/json" }, "Response" : { @@ -1222,29 +1222,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:44 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:45 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:45 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "6398c7d8-f334-4edf-8e08-7daa71e1257e", + "x-ms-correlation-request-id" : "dd1a9bb3-253c-4879-9518-21223bfbccbd", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"JPT0vmDRfCM98sZvkcbSF8hQUT9\"", + "ETag" : "\"Rd6zp3WBqQNQyW4GECPMRYy9alj\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMzY=;sn=471236", - "x-ms-request-id" : "6398c7d8-f334-4edf-8e08-7daa71e1257e", - "Body" : "{\"etag\":\"JPT0vmDRfCM98sZvkcbSF8hQUT9\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue49\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"}", - "x-ms-client-request-id" : "152e55ad-7f92-4c73-a4ff-534ee393f5c6", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNjA=;sn=569260", + "x-ms-request-id" : "dd1a9bb3-253c-4879-9518-21223bfbccbd", + "Body" : "{\"etag\":\"Rd6zp3WBqQNQyW4GECPMRYy9alj\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue39\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"}", + "x-ms-client-request-id" : "3d159d9c-85f4-4524-a359-883354bd572f", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "427941e6-5038-4beb-9fbf-dbb61425511d", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0ec749a1-fa00-498a-9873-8e1c79931186", "Content-Type" : "application/json" }, "Response" : { @@ -1253,29 +1253,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:44 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:45 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:45 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "3261656a-1b7c-401c-ade9-acd4fccd54cb", + "x-ms-correlation-request-id" : "c64bd944-100e-4a44-8b9f-9ffb113400ba", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"npGEQDnMAm2jTpju3zRsTQkFwSP\"", + "ETag" : "\"jlu9QGkbqNUYP0WuzDjWHyuuuOh\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMzc=;sn=471237", - "x-ms-request-id" : "3261656a-1b7c-401c-ade9-acd4fccd54cb", - "Body" : "{\"etag\":\"npGEQDnMAm2jTpju3zRsTQkFwSP\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue33\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"}", - "x-ms-client-request-id" : "427941e6-5038-4beb-9fbf-dbb61425511d", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNjE=;sn=569261", + "x-ms-request-id" : "c64bd944-100e-4a44-8b9f-9ffb113400ba", + "Body" : "{\"etag\":\"jlu9QGkbqNUYP0WuzDjWHyuuuOh\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue40\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"}", + "x-ms-client-request-id" : "0ec749a1-fa00-498a-9873-8e1c79931186", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8dc2af08-25d8-4039-bb45-197909eb3dc1", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7546d060-61e1-4f47-90cb-09e794b910fc", "Content-Type" : "application/json" }, "Response" : { @@ -1284,29 +1284,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:44 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:45 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:45 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "032baa5d-9032-434f-9e05-0e772bfb1791", + "x-ms-correlation-request-id" : "17c88a9a-aad5-4036-9687-d0fb996f153a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"kA36g3Q6XRaXv37nly5hLjqaXQL\"", + "ETag" : "\"89rY5N9UZrSR5gfkwxIaYYN8bV9\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMzg=;sn=471238", - "x-ms-request-id" : "032baa5d-9032-434f-9e05-0e772bfb1791", - "Body" : "{\"etag\":\"kA36g3Q6XRaXv37nly5hLjqaXQL\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue45\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"}", - "x-ms-client-request-id" : "8dc2af08-25d8-4039-bb45-197909eb3dc1", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNjI=;sn=569262", + "x-ms-request-id" : "17c88a9a-aad5-4036-9687-d0fb996f153a", + "Body" : "{\"etag\":\"89rY5N9UZrSR5gfkwxIaYYN8bV9\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue41\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"}", + "x-ms-client-request-id" : "7546d060-61e1-4f47-90cb-09e794b910fc", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9bcb20a0-09e5-4fc5-8462-e7cc6bae2af7", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e4717b2c-30e2-4022-8048-900113939e00", "Content-Type" : "application/json" }, "Response" : { @@ -1315,29 +1315,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:44 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:45 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:45 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ed62de75-8d84-4962-b602-61331e1c38ac", + "x-ms-correlation-request-id" : "a5fa77a4-6c9e-4d18-8fb5-1e64bcb698a2", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"RCvOSOTK91gNIORwGKzPA9qJqh1\"", + "ETag" : "\"zuZD1JJEHMWpzIydHSFWtap4Rq9\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyMzk=;sn=471239", - "x-ms-request-id" : "ed62de75-8d84-4962-b602-61331e1c38ac", - "Body" : "{\"etag\":\"RCvOSOTK91gNIORwGKzPA9qJqh1\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue47\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"}", - "x-ms-client-request-id" : "9bcb20a0-09e5-4fc5-8462-e7cc6bae2af7", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNjM=;sn=569263", + "x-ms-request-id" : "a5fa77a4-6c9e-4d18-8fb5-1e64bcb698a2", + "Body" : "{\"etag\":\"zuZD1JJEHMWpzIydHSFWtap4Rq9\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue42\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"}", + "x-ms-client-request-id" : "e4717b2c-30e2-4022-8048-900113939e00", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "52299f0e-45bc-4c03-8efb-c93f9aa1f9d4", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "54ba5a79-c40b-413d-8456-dd9a76079a12", "Content-Type" : "application/json" }, "Response" : { @@ -1346,29 +1346,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:44 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:45 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:43 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:45 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "b5f48f49-7999-47c2-a692-45b9796ddb14", + "x-ms-correlation-request-id" : "9147fcc1-21b2-4e7c-958d-c680e2761a54", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"cbvjZGhyRx1FIz9Ano1Q5iaMx6n\"", + "ETag" : "\"FCx8BJwg3AiUBx2rHCMQrjByIS1\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNDA=;sn=471240", - "x-ms-request-id" : "b5f48f49-7999-47c2-a692-45b9796ddb14", - "Body" : "{\"etag\":\"cbvjZGhyRx1FIz9Ano1Q5iaMx6n\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue41\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"}", - "x-ms-client-request-id" : "52299f0e-45bc-4c03-8efb-c93f9aa1f9d4", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNjQ=;sn=569264", + "x-ms-request-id" : "9147fcc1-21b2-4e7c-958d-c680e2761a54", + "Body" : "{\"etag\":\"FCx8BJwg3AiUBx2rHCMQrjByIS1\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue43\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"}", + "x-ms-client-request-id" : "54ba5a79-c40b-413d-8456-dd9a76079a12", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e08bd2bd-ecb4-4fc8-85e2-0ae6e242e074", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cc32dcc8-2493-4411-aed8-9346258dedf9", "Content-Type" : "application/json" }, "Response" : { @@ -1377,29 +1377,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:44 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:46 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:44 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:45 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "edba1dc8-0504-4346-8c97-bad7d35fdb7c", + "x-ms-correlation-request-id" : "0b7edbae-5877-4d92-b36b-f009dcc90499", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"4HdD9RRephozYUqjnE0so0AHko7\"", + "ETag" : "\"xhzRfj9zVHrhGO0lGTOZEQh9vC4\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNDE=;sn=471241", - "x-ms-request-id" : "edba1dc8-0504-4346-8c97-bad7d35fdb7c", - "Body" : "{\"etag\":\"4HdD9RRephozYUqjnE0so0AHko7\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue32\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"}", - "x-ms-client-request-id" : "e08bd2bd-ecb4-4fc8-85e2-0ae6e242e074", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNjU=;sn=569265", + "x-ms-request-id" : "0b7edbae-5877-4d92-b36b-f009dcc90499", + "Body" : "{\"etag\":\"xhzRfj9zVHrhGO0lGTOZEQh9vC4\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue44\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:46+00:00\"}", + "x-ms-client-request-id" : "cc32dcc8-2493-4411-aed8-9346258dedf9", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f26ec8b2-9cfe-47c1-9e28-8bcfb050a589", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a568ad6c-2179-4add-bcae-98f021ac1ba2", "Content-Type" : "application/json" }, "Response" : { @@ -1408,29 +1408,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:44 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:46 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:44 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:45 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "b4beba41-de9a-4720-87fd-ef368e9934ce", + "x-ms-correlation-request-id" : "380833b7-bc6a-4c06-b31a-c1cac4161a5b", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"a7ZHEKM2ESXOC52FdXzZCCvCoIo\"", + "ETag" : "\"w09w1qscwPjLwyDx0WDV3j5cUWt\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNDI=;sn=471242", - "x-ms-request-id" : "b4beba41-de9a-4720-87fd-ef368e9934ce", - "Body" : "{\"etag\":\"a7ZHEKM2ESXOC52FdXzZCCvCoIo\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue38\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"}", - "x-ms-client-request-id" : "f26ec8b2-9cfe-47c1-9e28-8bcfb050a589", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNjY=;sn=569266", + "x-ms-request-id" : "380833b7-bc6a-4c06-b31a-c1cac4161a5b", + "Body" : "{\"etag\":\"w09w1qscwPjLwyDx0WDV3j5cUWt\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue45\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:46+00:00\"}", + "x-ms-client-request-id" : "a568ad6c-2179-4add-bcae-98f021ac1ba2", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f1fa5ae6-7299-40a8-bf3d-66016b58a764", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "57054caf-b9eb-441d-b7fd-5ceba7058641", "Content-Type" : "application/json" }, "Response" : { @@ -1439,29 +1439,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:46 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:46 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:45 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:45 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ba573e68-2848-486f-a0cf-2c950c72daeb", + "x-ms-correlation-request-id" : "fae0d497-8bea-407e-9714-b8b3bff6cd94", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"CYPUsoTxV1ogej6UutVpmOoKAzv\"", + "ETag" : "\"qd0Ob8yvLSRZhLsiI8GxjuX6CaW\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNDM=;sn=471243", - "x-ms-request-id" : "ba573e68-2848-486f-a0cf-2c950c72daeb", - "Body" : "{\"etag\":\"CYPUsoTxV1ogej6UutVpmOoKAzv\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue7\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:46+00:00\"}", - "x-ms-client-request-id" : "f1fa5ae6-7299-40a8-bf3d-66016b58a764", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNjc=;sn=569267", + "x-ms-request-id" : "fae0d497-8bea-407e-9714-b8b3bff6cd94", + "Body" : "{\"etag\":\"qd0Ob8yvLSRZhLsiI8GxjuX6CaW\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue46\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:46+00:00\"}", + "x-ms-client-request-id" : "57054caf-b9eb-441d-b7fd-5ceba7058641", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a1e8b07f-e140-4ff2-b205-d4fc31bf447d", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cdb93ae2-0188-4ba4-b87d-f7bdab459681", "Content-Type" : "application/json" }, "Response" : { @@ -1470,29 +1470,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:46 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:46 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:45 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:45 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "dfe40376-c9f3-4769-a663-3392a7b21014", + "x-ms-correlation-request-id" : "f35a9a84-1d87-4913-9e9c-bf642b378ed2", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"J7sce1CvNmeNYokSYtV1oQgt5ik\"", + "ETag" : "\"b2VWU1rnbHIQxEKPopLrfD0kUh2\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNDQ=;sn=471244", - "x-ms-request-id" : "dfe40376-c9f3-4769-a663-3392a7b21014", - "Body" : "{\"etag\":\"J7sce1CvNmeNYokSYtV1oQgt5ik\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue30\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:46+00:00\"}", - "x-ms-client-request-id" : "a1e8b07f-e140-4ff2-b205-d4fc31bf447d", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNjg=;sn=569268", + "x-ms-request-id" : "f35a9a84-1d87-4913-9e9c-bf642b378ed2", + "Body" : "{\"etag\":\"b2VWU1rnbHIQxEKPopLrfD0kUh2\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue47\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:46+00:00\"}", + "x-ms-client-request-id" : "cdb93ae2-0188-4ba4-b87d-f7bdab459681", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0676b506-5935-4446-822b-37743155d23f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "81fe18a6-c682-40dc-afdd-a17bb8b6b0ad", "Content-Type" : "application/json" }, "Response" : { @@ -1501,29 +1501,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:46 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:46 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:45 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:45 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "9675d3ec-9b4f-4075-a6b7-6093d73f8e5e", + "x-ms-correlation-request-id" : "9e9b6ca8-322b-4d78-a638-6c204f4d5760", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"qnuAAOZ4bFUsBeaOXZN3ewvLSbG\"", + "ETag" : "\"avBYpnu9YSD5YzvM0cZHMKRv3jv\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNDU=;sn=471245", - "x-ms-request-id" : "9675d3ec-9b4f-4075-a6b7-6093d73f8e5e", - "Body" : "{\"etag\":\"qnuAAOZ4bFUsBeaOXZN3ewvLSbG\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue39\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:46+00:00\"}", - "x-ms-client-request-id" : "0676b506-5935-4446-822b-37743155d23f", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNjk=;sn=569269", + "x-ms-request-id" : "9e9b6ca8-322b-4d78-a638-6c204f4d5760", + "Body" : "{\"etag\":\"avBYpnu9YSD5YzvM0cZHMKRv3jv\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue48\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:46+00:00\"}", + "x-ms-client-request-id" : "81fe18a6-c682-40dc-afdd-a17bb8b6b0ad", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1a846db6-3828-432c-9d1f-c0b261fc18c8", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8af6cec8-62a0-4a06-8410-ce9fa53f29ac", "Content-Type" : "application/json" }, "Response" : { @@ -1532,29 +1532,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:46 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:46 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:45 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:45 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "7c136bb0-8607-40e5-ab9e-527ef82f220c", + "x-ms-correlation-request-id" : "7c06a904-8349-420d-b2e6-02e00c6231c3", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"tHEss6fmgjPw7QjlNZnHvrssIZ6\"", + "ETag" : "\"Yq9kJtt0BVWKz4m6Tf0U03Mdqrq\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNDY=;sn=471246", - "x-ms-request-id" : "7c136bb0-8607-40e5-ab9e-527ef82f220c", - "Body" : "{\"etag\":\"tHEss6fmgjPw7QjlNZnHvrssIZ6\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue48\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:46+00:00\"}", - "x-ms-client-request-id" : "1a846db6-3828-432c-9d1f-c0b261fc18c8", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNzA=;sn=569270", + "x-ms-request-id" : "7c06a904-8349-420d-b2e6-02e00c6231c3", + "Body" : "{\"etag\":\"Yq9kJtt0BVWKz4m6Tf0U03Mdqrq\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue49\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:46+00:00\"}", + "x-ms-client-request-id" : "8af6cec8-62a0-4a06-8410-ce9fa53f29ac", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key27728&label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key02042&label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "607ac969-80db-4632-8e5a-337b51653bb9", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "65504cfd-369c-46b1-b841-8ce6525dc2b3", "Content-Type" : "application/json" }, "Response" : { @@ -1565,26 +1565,26 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:46 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:45 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "e682ea4a-0ce6-458a-8a5c-0198b929f448", + "x-ms-correlation-request-id" : "46e0f687-26e6-4e01-aadc-96c7cf08f4b2", "Accept-Ranges" : "items", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNDY=;sn=471246", - "x-ms-request-id" : "e682ea4a-0ce6-458a-8a5c-0198b929f448", - "Body" : "{\"items\":[{\"etag\":\"tHEss6fmgjPw7QjlNZnHvrssIZ6\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue48\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:46+00:00\"},{\"etag\":\"qnuAAOZ4bFUsBeaOXZN3ewvLSbG\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue39\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:46+00:00\"},{\"etag\":\"J7sce1CvNmeNYokSYtV1oQgt5ik\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue30\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:46+00:00\"},{\"etag\":\"CYPUsoTxV1ogej6UutVpmOoKAzv\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue7\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:46+00:00\"},{\"etag\":\"a7ZHEKM2ESXOC52FdXzZCCvCoIo\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue38\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"},{\"etag\":\"4HdD9RRephozYUqjnE0so0AHko7\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue32\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"},{\"etag\":\"cbvjZGhyRx1FIz9Ano1Q5iaMx6n\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue41\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"},{\"etag\":\"RCvOSOTK91gNIORwGKzPA9qJqh1\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue47\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"},{\"etag\":\"kA36g3Q6XRaXv37nly5hLjqaXQL\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue45\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"},{\"etag\":\"npGEQDnMAm2jTpju3zRsTQkFwSP\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue33\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"},{\"etag\":\"JPT0vmDRfCM98sZvkcbSF8hQUT9\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue49\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"},{\"etag\":\"l4sB5rKQjBLMD4KQrcjiMgbQokV\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue35\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"},{\"etag\":\"aFLlkXAqsBn2uDR6p1UBGdLmtjq\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue16\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"},{\"etag\":\"ZvGknXtLCCQw2lV2hjoJVagqRlf\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue19\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"},{\"etag\":\"HumovSsLyjPlcpX7Fy8t0UHbgVk\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue8\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"},{\"etag\":\"Oxu5SQ9jsjjG7LVXeaZs8QQbNEQ\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue12\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"},{\"etag\":\"0WVeedpcUpwS6iK4u1Ww9ZWPG5f\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue5\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"},{\"etag\":\"sppwkL0w1RIrC0AjedQC6sNVc20\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue10\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"},{\"etag\":\"nu1sxUYbmdoY6geGo9C9dQcOgLY\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue1\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:44+00:00\"},{\"etag\":\"F4w92iFqRyeinzm2cjURAuehPws\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue27\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"UCchQjPNA2o2UviGEx68h2womRq\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue40\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"ouHUk0op4bbqeKiJtliAc0CJOKC\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue28\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"qkpYH9ijxIEUaL5FSLn21pTvyVN\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue43\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"sCckFwmgXrpa1DR0WjkmijQR0Yg\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue44\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"B6zpt3oG2VaRcA2wqLk5hQop9hm\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue29\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"COWHBHiJzlwUkJFkXQvVwMTcXc1\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue34\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"fvTHDki1eK8aAt9sYMTH1t3jT59\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue23\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"OWawSXaJuOqoRrKBzuEUg7GD8wF\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue18\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"8G2LXiCJvIK87aObR7xRBrjDkfX\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue42\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"VNbUkRFDRjSQO3DsuY8f18BLjc8\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue36\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"miDRni7UpExC24nxaIjUMA63wEf\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue26\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"i9XCRdar1LTTNm09bxQ9ZNHwZUk\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue31\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"h13eG23Gwr8PhHPbh1D5vNVnue8\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue46\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"RlfVqY6cqlaENTSP5OAJ64CafUM\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue24\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"qeJETYIj2RV8kTm4ztleBme9u7Y\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue25\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"mUPgEzoPj47yYcfSHmXn8SH43q4\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue20\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"4YMSUkVdfvoHYvwCsiZ6Vu8r5GO\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue21\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"auYqnIQ8H6NapSib7SREuJ4WJJV\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue15\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"1WKFhvq0iCgN41Qi12z6L6qkWkU\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue13\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"dLk7Kwm4wrITk2d1aF7DA13ZIUT\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue11\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"TZmYKwbftUrScASSkG4C2k8bNCQ\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue4\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"cvGZbAk2GnZw2IkCc7lw8LeFTXN\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue3\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"xYd6FEkL1cDGDqXyRrSqrR0vQKl\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue6\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"dKxf26u02eM5V3braZ8WlGNJZVa\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue17\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"e6YHJHOrkMwQJHcPg7BtJlpgCQ8\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue9\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"4AuunmfXSiebP8mBRaR9oRXgejC\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue37\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"Kd0Bu4FBb9a7kkkeBIDxeki1sXw\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue14\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"CjJQo4PLATOBrOayFHZnS05YQzx\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue22\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"EsSiEYDAcwflnWAtQ5vEd4vZmLZ\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"},{\"etag\":\"wYkQCt1oEu9xNe5P9lPcYM0KAcj\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue0\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:43+00:00\"}]}", - "x-ms-client-request-id" : "607ac969-80db-4632-8e5a-337b51653bb9", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNzA=;sn=569270", + "x-ms-request-id" : "46e0f687-26e6-4e01-aadc-96c7cf08f4b2", + "Body" : "{\"items\":[{\"etag\":\"Yq9kJtt0BVWKz4m6Tf0U03Mdqrq\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue49\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:46+00:00\"},{\"etag\":\"avBYpnu9YSD5YzvM0cZHMKRv3jv\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue48\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:46+00:00\"},{\"etag\":\"b2VWU1rnbHIQxEKPopLrfD0kUh2\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue47\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:46+00:00\"},{\"etag\":\"qd0Ob8yvLSRZhLsiI8GxjuX6CaW\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue46\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:46+00:00\"},{\"etag\":\"w09w1qscwPjLwyDx0WDV3j5cUWt\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue45\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:46+00:00\"},{\"etag\":\"xhzRfj9zVHrhGO0lGTOZEQh9vC4\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue44\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:46+00:00\"},{\"etag\":\"FCx8BJwg3AiUBx2rHCMQrjByIS1\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue43\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"},{\"etag\":\"zuZD1JJEHMWpzIydHSFWtap4Rq9\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue42\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"},{\"etag\":\"89rY5N9UZrSR5gfkwxIaYYN8bV9\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue41\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"},{\"etag\":\"jlu9QGkbqNUYP0WuzDjWHyuuuOh\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue40\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"},{\"etag\":\"Rd6zp3WBqQNQyW4GECPMRYy9alj\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue39\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"},{\"etag\":\"WgvBNCbGNP2bsr5V7FwhnOWrcXH\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue38\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"},{\"etag\":\"SLNCFdT10c1bGmTLXbyYmweNrVY\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue37\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"},{\"etag\":\"8rrh7W9GkBomu4jzJoiNIo7jb4m\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue36\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"},{\"etag\":\"CqvTLDN1Vy40w1W1hO16XYua18X\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue35\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"},{\"etag\":\"nmwMYlssXvpIBlGgwtYTyrRRTtn\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue34\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"},{\"etag\":\"2brN8vBUASlrW3XBXxZMjFc3dLS\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue33\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"},{\"etag\":\"mHlmLh97Deob7ZKr7Dp22sO2hiq\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue32\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"},{\"etag\":\"bPaaLgx2HAeUckpKEcL9LweyHbP\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue31\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"},{\"etag\":\"fUJwfx9WNPiNJRvmvNCOliYkHLe\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue30\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"},{\"etag\":\"qrOYXYW3NUAMvHgpHsmYAOKGgZr\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue29\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:45+00:00\"},{\"etag\":\"ACuS5yvi9scxoA5iBmMTYe8WprC\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue28\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"},{\"etag\":\"AVFdbqC4iqr6IMyu11lgdP7IgWw\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue27\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"},{\"etag\":\"yNpeQ1z2rDtIRd5i4X36a7LNcn6\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue26\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"},{\"etag\":\"ZSuq9pyL8vEyyhn2f9SQ0bLum4k\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue25\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"},{\"etag\":\"caTXad3SHrsqTKgd3z2argKPFZG\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue24\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"},{\"etag\":\"9uPtT5y5iP47dAU5Y1YCsfBMzLt\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue23\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"},{\"etag\":\"LzGQ9kmQw2VN7hraR21HnSZ0JEF\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue22\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"},{\"etag\":\"Cwgzj5WWKdackj1ydSYQR6ZHqTN\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue21\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"},{\"etag\":\"AOxxouFRomi5tmDEQvJlA0I3pnQ\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue20\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"},{\"etag\":\"HnHFrAdR22wTJpIxcbaNMSou7P4\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue19\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"},{\"etag\":\"LjH3aTqEkgYImIpahFMeYj3IgVs\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue18\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"},{\"etag\":\"4w1uwK2Qi81mGHuYmgNX09nG4HF\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue17\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"},{\"etag\":\"biKGjBSshbuHuJ0IVwyRLrrNQif\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue16\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"},{\"etag\":\"tPkhp1ppkKKos7WBH881Pj8Qt3V\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue15\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"},{\"etag\":\"bUWOV2GL3wIL1dacvz7rmuIf0E0\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue14\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:44+00:00\"},{\"etag\":\"zu6UJCk4YcFMSjwnmwebvkuBs6l\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue13\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"},{\"etag\":\"PoPSnLd0ZTVJOMKeMKdfsDH8pxj\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue12\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"},{\"etag\":\"EULbv8H9sCTxv1pjPAPkmoSvjaJ\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue11\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"},{\"etag\":\"OZqF2CBW9FeMm1J2FsD584NYqEM\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue10\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"},{\"etag\":\"euHbwkCqVcOUa16Y5QK6ndVoIRM\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue9\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"},{\"etag\":\"GoTYvGaXYCaZVKgjTe0tNQr3hzB\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue8\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"},{\"etag\":\"omBY3NmwdQ3JpJhwXX2gCxw15ih\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue7\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"},{\"etag\":\"i8WUfvwjAog1oML3Pa6iAoUoGOX\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue6\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"},{\"etag\":\"4jVshEzYg564oLmIpqQnwzpAd9E\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue5\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"},{\"etag\":\"4uXW8zxs6pyi90X5fekXv18tZrO\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue4\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"},{\"etag\":\"szgsfrL91Z56K0BT6cQX2vphbdC\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue3\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"},{\"etag\":\"qRDpzhPyrO5rggGl2Z78S9kDyC4\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"},{\"etag\":\"J8yscVOAIYY7m8GeSeQB9jco2jJ\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue1\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"},{\"etag\":\"ngSVjggdSYu5deYC1iv6yeNCqtr\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue0\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:43+00:00\"}]}", + "x-ms-client-request-id" : "65504cfd-369c-46b1-b841-8ce6525dc2b3", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key27728%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key02042%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a5db479a-ac0b-499a-8fcf-8f1fa07b2a20", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7e6f3a3c-e437-4827-b5b3-98022e8a1ea5", "Content-Type" : "application/json" }, "Response" : { @@ -1595,25 +1595,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:46 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:46 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "99b1826c-762e-45a0-a9ca-3b5369344c96", + "x-ms-correlation-request-id" : "43380513-4529-4d9d-bc39-64de8040855a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNDY=;sn=471246", - "x-ms-request-id" : "99b1826c-762e-45a0-a9ca-3b5369344c96", - "Body" : "{\"items\":[{\"etag\":\"tHEss6fmgjPw7QjlNZnHvrssIZ6\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue48\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:46+00:00\"}]}", - "x-ms-client-request-id" : "a5db479a-ac0b-499a-8fcf-8f1fa07b2a20", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNzA=;sn=569270", + "x-ms-request-id" : "43380513-4529-4d9d-bc39-64de8040855a", + "Body" : "{\"items\":[{\"etag\":\"Yq9kJtt0BVWKz4m6Tf0U03Mdqrq\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue49\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:46+00:00\"}]}", + "x-ms-client-request-id" : "7e6f3a3c-e437-4827-b5b3-98022e8a1ea5", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key27728?label=b30262cf", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02042?label=d0db716c&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "325e5d64-b91a-4ddb-8218-5b4b263ec6a4", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "37313812-9831-429d-b1f9-f3e96e129363", "Content-Type" : "application/json" }, "Response" : { @@ -1622,23 +1622,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:46 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:46 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:46 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:46 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "e0c7d6eb-e33f-4129-aee9-b917ddd1346f", + "x-ms-correlation-request-id" : "1015ea0d-cab0-430a-8e96-db2aff3b0c63", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"tHEss6fmgjPw7QjlNZnHvrssIZ6\"", + "ETag" : "\"Yq9kJtt0BVWKz4m6Tf0U03Mdqrq\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNDc=;sn=471247", - "x-ms-request-id" : "e0c7d6eb-e33f-4129-aee9-b917ddd1346f", - "Body" : "{\"etag\":\"tHEss6fmgjPw7QjlNZnHvrssIZ6\",\"key\":\"key27728\",\"label\":\"b30262cf\",\"content_type\":null,\"value\":\"myValue48\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:46+00:00\"}", - "x-ms-client-request-id" : "325e5d64-b91a-4ddb-8218-5b4b263ec6a4", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNzE=;sn=569271", + "x-ms-request-id" : "1015ea0d-cab0-430a-8e96-db2aff3b0c63", + "Body" : "{\"etag\":\"Yq9kJtt0BVWKz4m6Tf0U03Mdqrq\",\"key\":\"key02042\",\"label\":\"d0db716c\",\"content_type\":null,\"value\":\"myValue49\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:46+00:00\"}", + "x-ms-client-request-id" : "37313812-9831-429d-b1f9-f3e96e129363", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key27728", "b30262cf" ] + "variables" : [ "key02042", "d0db716c" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithPaginationAndRepeatIterator.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithPaginationAndRepeatIterator.json index 85601abcc80d..3ff35a5abdc9 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithPaginationAndRepeatIterator.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithPaginationAndRepeatIterator.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e377c39a-06b3-4204-b6c6-8da30a0a4ee4", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8e92523b-17e8-46c7-96db-2f619a8d4a29", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:57 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:56 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "55e6a4c8-21e5-402c-b1bb-73546cf7c72a", + "x-ms-correlation-request-id" : "c9def433-f36b-4f0a-9b2d-aa8e6442a3de", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"r0oxbhCgjGeq9nxjyE2wSKdq1O7\"", + "ETag" : "\"OZ5u7ubqtqpRmgc4p1VpjfLhB7J\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNDU=;sn=471345", - "x-ms-request-id" : "55e6a4c8-21e5-402c-b1bb-73546cf7c72a", - "Body" : "{\"etag\":\"r0oxbhCgjGeq9nxjyE2wSKdq1O7\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue0\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "e377c39a-06b3-4204-b6c6-8da30a0a4ee4", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNjU=;sn=569365", + "x-ms-request-id" : "c9def433-f36b-4f0a-9b2d-aa8e6442a3de", + "Body" : "{\"etag\":\"OZ5u7ubqtqpRmgc4p1VpjfLhB7J\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue0\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"}", + "x-ms-client-request-id" : "8e92523b-17e8-46c7-96db-2f619a8d4a29", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "81a7b63e-27ba-4e39-adc8-e1f82c62db7c", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0671f573-4b4b-4bef-b5a5-7e99387850f1", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:57 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:57 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "de41e45d-5f4f-450f-be10-8b2676382c5d", + "x-ms-correlation-request-id" : "f265c1b3-c38a-47ca-920e-2a6ec43bd90e", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"D1NAKdHRpJdmvKnDBggf30vKzN7\"", + "ETag" : "\"fdExoEoFhvl1q4mkUYAReStvFUP\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNDY=;sn=471346", - "x-ms-request-id" : "de41e45d-5f4f-450f-be10-8b2676382c5d", - "Body" : "{\"etag\":\"D1NAKdHRpJdmvKnDBggf30vKzN7\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue4\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "81a7b63e-27ba-4e39-adc8-e1f82c62db7c", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNjY=;sn=569366", + "x-ms-request-id" : "f265c1b3-c38a-47ca-920e-2a6ec43bd90e", + "Body" : "{\"etag\":\"fdExoEoFhvl1q4mkUYAReStvFUP\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue1\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"}", + "x-ms-client-request-id" : "0671f573-4b4b-4bef-b5a5-7e99387850f1", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "46f4dce2-9ecf-4bd5-8743-42a226ce8086", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9440b088-cfc0-43a3-a462-34462b97bc10", "Content-Type" : "application/json" }, "Response" : { @@ -75,29 +75,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:57 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:57 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ffcc8343-ca97-44be-a0c1-a4fabb4fb252", + "x-ms-correlation-request-id" : "89893239-f280-4ace-9759-11d749ed6aca", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"eFv2QplNjamKz2uBun0Owz6VhmA\"", + "ETag" : "\"eYdlsSkXPcdQtvzU9QwE2U9gYtc\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNDc=;sn=471347", - "x-ms-request-id" : "ffcc8343-ca97-44be-a0c1-a4fabb4fb252", - "Body" : "{\"etag\":\"eFv2QplNjamKz2uBun0Owz6VhmA\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue5\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "46f4dce2-9ecf-4bd5-8743-42a226ce8086", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNjc=;sn=569367", + "x-ms-request-id" : "89893239-f280-4ace-9759-11d749ed6aca", + "Body" : "{\"etag\":\"eYdlsSkXPcdQtvzU9QwE2U9gYtc\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"}", + "x-ms-client-request-id" : "9440b088-cfc0-43a3-a462-34462b97bc10", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a80d092a-dcf6-4a13-8c1f-9152b1d24c6f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0101d989-1f54-4458-91c3-d937124e5ed3", "Content-Type" : "application/json" }, "Response" : { @@ -106,29 +106,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:57 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:57 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "9a624745-df03-4efe-86db-f3c161cec2e7", + "x-ms-correlation-request-id" : "02b602e6-9d96-41a7-a181-58de2768091a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"AVw2p64FKGBe0cTgiF8WyjixQvM\"", + "ETag" : "\"y8a4GJvSb3ODwrYRWQgPPIXfb40\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNDg=;sn=471348", - "x-ms-request-id" : "9a624745-df03-4efe-86db-f3c161cec2e7", - "Body" : "{\"etag\":\"AVw2p64FKGBe0cTgiF8WyjixQvM\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue17\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "a80d092a-dcf6-4a13-8c1f-9152b1d24c6f", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNjg=;sn=569368", + "x-ms-request-id" : "02b602e6-9d96-41a7-a181-58de2768091a", + "Body" : "{\"etag\":\"y8a4GJvSb3ODwrYRWQgPPIXfb40\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue3\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"}", + "x-ms-client-request-id" : "0101d989-1f54-4458-91c3-d937124e5ed3", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "44c12284-3b1d-489f-8dce-4b50a222ddbc", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d912485e-6ec8-4408-a3fc-853205d275bd", "Content-Type" : "application/json" }, "Response" : { @@ -137,29 +137,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:57 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:57 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "b09bfcba-5ab9-4a91-b06a-38c8573b3a39", + "x-ms-correlation-request-id" : "4932fbca-784e-4fa5-a5f9-7b16b7dcf219", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"1IxsKXVl1HAaHy2hZIndkPlg0ok\"", + "ETag" : "\"yZLj3OTMwqotKl2IGAKPt4rQWO4\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNDk=;sn=471349", - "x-ms-request-id" : "b09bfcba-5ab9-4a91-b06a-38c8573b3a39", - "Body" : "{\"etag\":\"1IxsKXVl1HAaHy2hZIndkPlg0ok\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue8\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "44c12284-3b1d-489f-8dce-4b50a222ddbc", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNjk=;sn=569369", + "x-ms-request-id" : "4932fbca-784e-4fa5-a5f9-7b16b7dcf219", + "Body" : "{\"etag\":\"yZLj3OTMwqotKl2IGAKPt4rQWO4\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue4\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"}", + "x-ms-client-request-id" : "d912485e-6ec8-4408-a3fc-853205d275bd", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1d81c0b6-7655-43c8-a9ba-f1d1e3bf5834", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a86c2b31-c284-4c1c-a123-9cc93b9f1205", "Content-Type" : "application/json" }, "Response" : { @@ -168,29 +168,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:57 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:57 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "a5cb86ee-a765-4883-b11d-11e64957c6b5", + "x-ms-correlation-request-id" : "a9977f63-12e8-4d3b-a0d3-b12cc7d9b047", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"PSGCq23rQfbjK7xwRjTbYbphKrs\"", + "ETag" : "\"rMMgcMU0DA9MtaZzUvbGIjIeu1u\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNTA=;sn=471350", - "x-ms-request-id" : "a5cb86ee-a765-4883-b11d-11e64957c6b5", - "Body" : "{\"etag\":\"PSGCq23rQfbjK7xwRjTbYbphKrs\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue24\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "1d81c0b6-7655-43c8-a9ba-f1d1e3bf5834", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNzA=;sn=569370", + "x-ms-request-id" : "a9977f63-12e8-4d3b-a0d3-b12cc7d9b047", + "Body" : "{\"etag\":\"rMMgcMU0DA9MtaZzUvbGIjIeu1u\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue5\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"}", + "x-ms-client-request-id" : "a86c2b31-c284-4c1c-a123-9cc93b9f1205", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b679bb57-f416-49ab-ab54-6cc607979d67", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "84e4643c-4787-4af8-81d2-677f9f31dcdb", "Content-Type" : "application/json" }, "Response" : { @@ -199,29 +199,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:57 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:57 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "21c07ddb-dcb2-437e-928c-677e1a4de73d", + "x-ms-correlation-request-id" : "f6ed0553-6290-4219-a0ff-fe1908d0ffb6", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"E8xfFfEZz0eenDxOEwXSwUOYb5a\"", + "ETag" : "\"af3Qkll1jx5J3nqCJsWTK3tTEiD\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNTE=;sn=471351", - "x-ms-request-id" : "21c07ddb-dcb2-437e-928c-677e1a4de73d", - "Body" : "{\"etag\":\"E8xfFfEZz0eenDxOEwXSwUOYb5a\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue25\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "b679bb57-f416-49ab-ab54-6cc607979d67", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNzE=;sn=569371", + "x-ms-request-id" : "f6ed0553-6290-4219-a0ff-fe1908d0ffb6", + "Body" : "{\"etag\":\"af3Qkll1jx5J3nqCJsWTK3tTEiD\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue6\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"}", + "x-ms-client-request-id" : "84e4643c-4787-4af8-81d2-677f9f31dcdb", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "84ea6d3f-9bf5-46cd-955a-fa78b7ddd50a", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f5338293-6842-4349-8f39-147639b80dc7", "Content-Type" : "application/json" }, "Response" : { @@ -230,29 +230,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:57 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:57 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "b1c053b0-5643-4a03-b4b5-a1f4a92da8a9", + "x-ms-correlation-request-id" : "7803500e-531f-4dca-9bdf-1208982a8dcf", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"B4W0roDXIiKzFlvYobMtOgYmxFV\"", + "ETag" : "\"n1w5HKTaBEHCRU9GKtWNNNVO8p0\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNTI=;sn=471352", - "x-ms-request-id" : "b1c053b0-5643-4a03-b4b5-a1f4a92da8a9", - "Body" : "{\"etag\":\"B4W0roDXIiKzFlvYobMtOgYmxFV\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue27\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "84ea6d3f-9bf5-46cd-955a-fa78b7ddd50a", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNzI=;sn=569372", + "x-ms-request-id" : "7803500e-531f-4dca-9bdf-1208982a8dcf", + "Body" : "{\"etag\":\"n1w5HKTaBEHCRU9GKtWNNNVO8p0\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue7\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"}", + "x-ms-client-request-id" : "f5338293-6842-4349-8f39-147639b80dc7", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "948f4cdc-10a4-4693-8a46-1b46fdeb6bb3", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "babfc112-bed5-4ed9-a924-4cf481414517", "Content-Type" : "application/json" }, "Response" : { @@ -261,29 +261,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:57 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:57 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "1ba0b481-4071-44f4-bf54-f366eaf316d6", + "x-ms-correlation-request-id" : "bf714de5-2d85-4b82-9259-a6830a1748eb", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"amdoryenHqd78DeaCmcv3woXqXY\"", + "ETag" : "\"HtiINfYIcCra3HjF1ltr808rHxl\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNTM=;sn=471353", - "x-ms-request-id" : "1ba0b481-4071-44f4-bf54-f366eaf316d6", - "Body" : "{\"etag\":\"amdoryenHqd78DeaCmcv3woXqXY\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue29\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "948f4cdc-10a4-4693-8a46-1b46fdeb6bb3", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNzM=;sn=569373", + "x-ms-request-id" : "bf714de5-2d85-4b82-9259-a6830a1748eb", + "Body" : "{\"etag\":\"HtiINfYIcCra3HjF1ltr808rHxl\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue8\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"}", + "x-ms-client-request-id" : "babfc112-bed5-4ed9-a924-4cf481414517", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "27812953-08da-49f9-a999-0a4c91f8ae29", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "de9e6545-11fe-4281-828b-8442338ed6bc", "Content-Type" : "application/json" }, "Response" : { @@ -292,29 +292,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:58 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:57 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "04eb7bc9-7caa-4f51-b503-257f3d1a4f44", + "x-ms-correlation-request-id" : "50aac04a-fa7d-403a-8707-304f15b05e08", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"MYguUJne3DaI5sgyMhfl7jMvP1Z\"", + "ETag" : "\"SqSUJCEW0ParbM0HFKUDYiM6kIx\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNTQ=;sn=471354", - "x-ms-request-id" : "04eb7bc9-7caa-4f51-b503-257f3d1a4f44", - "Body" : "{\"etag\":\"MYguUJne3DaI5sgyMhfl7jMvP1Z\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue36\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "27812953-08da-49f9-a999-0a4c91f8ae29", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNzQ=;sn=569374", + "x-ms-request-id" : "50aac04a-fa7d-403a-8707-304f15b05e08", + "Body" : "{\"etag\":\"SqSUJCEW0ParbM0HFKUDYiM6kIx\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue9\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"}", + "x-ms-client-request-id" : "de9e6545-11fe-4281-828b-8442338ed6bc", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "94094948-5423-454a-b239-a762304fc1ff", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fb9cf2ea-a418-4869-8407-fefab51b6a8a", "Content-Type" : "application/json" }, "Response" : { @@ -323,29 +323,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:58 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:57 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ebdd0f47-abea-4685-a323-b3f96d79f244", + "x-ms-correlation-request-id" : "429cf507-d0db-4b4b-a0fc-9d71e871c9c6", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"lNrhDaw7ZB9xfCkG6HG0J13P4sK\"", + "ETag" : "\"uOJFt8NqNdobIMIgG3FwDsL3j6n\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNTU=;sn=471355", - "x-ms-request-id" : "ebdd0f47-abea-4685-a323-b3f96d79f244", - "Body" : "{\"etag\":\"lNrhDaw7ZB9xfCkG6HG0J13P4sK\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue48\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "94094948-5423-454a-b239-a762304fc1ff", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNzU=;sn=569375", + "x-ms-request-id" : "429cf507-d0db-4b4b-a0fc-9d71e871c9c6", + "Body" : "{\"etag\":\"uOJFt8NqNdobIMIgG3FwDsL3j6n\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue10\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"}", + "x-ms-client-request-id" : "fb9cf2ea-a418-4869-8407-fefab51b6a8a", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6eb952b8-e380-4e59-8653-40a1c4429d69", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "abb7e1a2-4137-4520-b327-dafdccdc3f37", "Content-Type" : "application/json" }, "Response" : { @@ -354,29 +354,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:58 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:57 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "3c5fed3c-6601-4631-90ef-eb8f452af6f3", + "x-ms-correlation-request-id" : "cea47e14-fe29-4eea-a789-9c71eee5632b", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"OFCCyqmBxVtMgA9BSepBhYfFXyk\"", + "ETag" : "\"bjJuvel3Id021mpIAdojudeIxH6\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNTY=;sn=471356", - "x-ms-request-id" : "3c5fed3c-6601-4631-90ef-eb8f452af6f3", - "Body" : "{\"etag\":\"OFCCyqmBxVtMgA9BSepBhYfFXyk\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue23\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "6eb952b8-e380-4e59-8653-40a1c4429d69", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNzY=;sn=569376", + "x-ms-request-id" : "cea47e14-fe29-4eea-a789-9c71eee5632b", + "Body" : "{\"etag\":\"bjJuvel3Id021mpIAdojudeIxH6\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue11\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"}", + "x-ms-client-request-id" : "abb7e1a2-4137-4520-b327-dafdccdc3f37", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "476fbf73-3162-40b8-8253-5d8657689db7", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e06d7bb7-1450-4bbf-b9ea-9af101b9ce64", "Content-Type" : "application/json" }, "Response" : { @@ -385,29 +385,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:58 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:57 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "0ed7ee5a-fa8a-44eb-b06d-cac7e18c718d", + "x-ms-correlation-request-id" : "38d316a8-ddfe-488e-9bec-6efb239fe1d0", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"gzAoEP1qUmFpL41Vuosa5ml2L98\"", + "ETag" : "\"e4RrfrQ3NoFzR8Dt2rlz7NKDEU1\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNTc=;sn=471357", - "x-ms-request-id" : "0ed7ee5a-fa8a-44eb-b06d-cac7e18c718d", - "Body" : "{\"etag\":\"gzAoEP1qUmFpL41Vuosa5ml2L98\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue7\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "476fbf73-3162-40b8-8253-5d8657689db7", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNzc=;sn=569377", + "x-ms-request-id" : "38d316a8-ddfe-488e-9bec-6efb239fe1d0", + "Body" : "{\"etag\":\"e4RrfrQ3NoFzR8Dt2rlz7NKDEU1\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue12\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"}", + "x-ms-client-request-id" : "e06d7bb7-1450-4bbf-b9ea-9af101b9ce64", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "21ccbc9e-12f2-49a9-b4d1-a55653687320", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "33321e55-1d52-4d1f-b581-1365c6d64ae3", "Content-Type" : "application/json" }, "Response" : { @@ -416,29 +416,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:58 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:57 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "e25889ef-9efc-478d-a008-044f2cca4dd4", + "x-ms-correlation-request-id" : "4b40223b-751b-4e63-8345-164e36743540", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"q9oznz6UDXW36g0CyFKRPgbDCMF\"", + "ETag" : "\"nxHkirp3A1c5Kp74YSUxvIGzUMC\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNTg=;sn=471358", - "x-ms-request-id" : "e25889ef-9efc-478d-a008-044f2cca4dd4", - "Body" : "{\"etag\":\"q9oznz6UDXW36g0CyFKRPgbDCMF\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue11\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "21ccbc9e-12f2-49a9-b4d1-a55653687320", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNzg=;sn=569378", + "x-ms-request-id" : "4b40223b-751b-4e63-8345-164e36743540", + "Body" : "{\"etag\":\"nxHkirp3A1c5Kp74YSUxvIGzUMC\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue13\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"}", + "x-ms-client-request-id" : "33321e55-1d52-4d1f-b581-1365c6d64ae3", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "903096eb-f0ed-4b75-bd02-c7723d20b538", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4db1a5ea-defb-4289-b458-21f9ea470d2b", "Content-Type" : "application/json" }, "Response" : { @@ -447,29 +447,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:58 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:57 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "42d769fe-cdee-4471-91c7-55e1bd511bee", + "x-ms-correlation-request-id" : "3a1e0a16-fcde-4d42-85cb-4eb58686f3b1", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"zbg9EigCtQ2MneB39eo0YsmPUG9\"", + "ETag" : "\"hdnqRP88Oz85g8SpAbI3yfU7Ooj\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNTk=;sn=471359", - "x-ms-request-id" : "42d769fe-cdee-4471-91c7-55e1bd511bee", - "Body" : "{\"etag\":\"zbg9EigCtQ2MneB39eo0YsmPUG9\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue12\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "903096eb-f0ed-4b75-bd02-c7723d20b538", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNzk=;sn=569379", + "x-ms-request-id" : "3a1e0a16-fcde-4d42-85cb-4eb58686f3b1", + "Body" : "{\"etag\":\"hdnqRP88Oz85g8SpAbI3yfU7Ooj\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue14\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"}", + "x-ms-client-request-id" : "4db1a5ea-defb-4289-b458-21f9ea470d2b", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b2271a7d-5626-4768-b4fd-fb9e887c02e7", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "08f90588-ab46-462a-83a4-4be738d5ad5e", "Content-Type" : "application/json" }, "Response" : { @@ -478,29 +478,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:58 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:57 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "74ef853d-9ccf-45f3-b0a6-e2915a6fd2b6", + "x-ms-correlation-request-id" : "d09891b2-6c46-439e-ade4-359d54169e52", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"BuXwrB207AjbxCaXlfuBnc2uHum\"", + "ETag" : "\"7XLpNTeOj9xS6TZDfJNRJUk3HcK\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNjA=;sn=471360", - "x-ms-request-id" : "74ef853d-9ccf-45f3-b0a6-e2915a6fd2b6", - "Body" : "{\"etag\":\"BuXwrB207AjbxCaXlfuBnc2uHum\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue15\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "b2271a7d-5626-4768-b4fd-fb9e887c02e7", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzODA=;sn=569380", + "x-ms-request-id" : "d09891b2-6c46-439e-ade4-359d54169e52", + "Body" : "{\"etag\":\"7XLpNTeOj9xS6TZDfJNRJUk3HcK\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue15\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"}", + "x-ms-client-request-id" : "08f90588-ab46-462a-83a4-4be738d5ad5e", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "65d606b1-2229-4688-89c8-03cd8c425f81", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9598316b-0a52-4ecf-8936-483ef4c450f6", "Content-Type" : "application/json" }, "Response" : { @@ -509,29 +509,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:58 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:57 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "a5590a7a-6050-4e3e-8b0b-3fb494c4999b", + "x-ms-correlation-request-id" : "12649bb5-8cd3-40c2-9916-63015f53341f", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"1HaTkrkd1TVbbaEfvOysALd4zVY\"", + "ETag" : "\"4AyPx8yoIApe3KTVg9BVD39CISw\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNjE=;sn=471361", - "x-ms-request-id" : "a5590a7a-6050-4e3e-8b0b-3fb494c4999b", - "Body" : "{\"etag\":\"1HaTkrkd1TVbbaEfvOysALd4zVY\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue19\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "65d606b1-2229-4688-89c8-03cd8c425f81", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzODE=;sn=569381", + "x-ms-request-id" : "12649bb5-8cd3-40c2-9916-63015f53341f", + "Body" : "{\"etag\":\"4AyPx8yoIApe3KTVg9BVD39CISw\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue16\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"}", + "x-ms-client-request-id" : "9598316b-0a52-4ecf-8936-483ef4c450f6", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5f5fb931-de14-405b-94ee-a2dc6dd2b5db", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6e96d2f2-f952-4e7b-a9b5-83d136a9f862", "Content-Type" : "application/json" }, "Response" : { @@ -540,29 +540,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:58 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:58 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "dc65d478-6422-4808-996a-dbc930970211", + "x-ms-correlation-request-id" : "1a058797-55b7-4354-953f-7ec3c788910e", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"5vvsV7QY8zT2tXh82vxSiQ2MNrl\"", + "ETag" : "\"gp3CEfNFxL1K6OHypvl1NY3PVPY\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNjI=;sn=471362", - "x-ms-request-id" : "dc65d478-6422-4808-996a-dbc930970211", - "Body" : "{\"etag\":\"5vvsV7QY8zT2tXh82vxSiQ2MNrl\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue18\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "5f5fb931-de14-405b-94ee-a2dc6dd2b5db", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzODI=;sn=569382", + "x-ms-request-id" : "1a058797-55b7-4354-953f-7ec3c788910e", + "Body" : "{\"etag\":\"gp3CEfNFxL1K6OHypvl1NY3PVPY\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue17\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"}", + "x-ms-client-request-id" : "6e96d2f2-f952-4e7b-a9b5-83d136a9f862", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "de949602-e9d4-487f-b273-00355e06660d", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "be0b3e4d-22d6-4115-9646-2ba74d985390", "Content-Type" : "application/json" }, "Response" : { @@ -571,29 +571,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:58 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:58 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "aa56505a-16ce-4956-aeab-7cb857c609a6", + "x-ms-correlation-request-id" : "f40a829e-50a6-452b-82dd-231870978872", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"PoMZpHHRXZBe1r3JWT9dSbuHZ3h\"", + "ETag" : "\"YMO3YH5UucyPADMc3wi2CBCH4v8\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNjM=;sn=471363", - "x-ms-request-id" : "aa56505a-16ce-4956-aeab-7cb857c609a6", - "Body" : "{\"etag\":\"PoMZpHHRXZBe1r3JWT9dSbuHZ3h\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue20\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "de949602-e9d4-487f-b273-00355e06660d", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzODM=;sn=569383", + "x-ms-request-id" : "f40a829e-50a6-452b-82dd-231870978872", + "Body" : "{\"etag\":\"YMO3YH5UucyPADMc3wi2CBCH4v8\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue18\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"}", + "x-ms-client-request-id" : "be0b3e4d-22d6-4115-9646-2ba74d985390", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7a281bd6-1e67-419b-a133-148d3704f18d", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5a22de2e-03b1-41d7-96ac-d9e2225559b4", "Content-Type" : "application/json" }, "Response" : { @@ -602,29 +602,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:58 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:58 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "e9bdda49-8902-42d0-bf9a-60cadb38f536", + "x-ms-correlation-request-id" : "55d33342-2ddd-4daf-baca-98c44976ab67", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"ajvuKIVRH4xXiLVKXmY6RBLn4FH\"", + "ETag" : "\"ib85jDD3pYI7I1KLm64pzxzvDYE\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNjQ=;sn=471364", - "x-ms-request-id" : "e9bdda49-8902-42d0-bf9a-60cadb38f536", - "Body" : "{\"etag\":\"ajvuKIVRH4xXiLVKXmY6RBLn4FH\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue22\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "7a281bd6-1e67-419b-a133-148d3704f18d", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzODQ=;sn=569384", + "x-ms-request-id" : "55d33342-2ddd-4daf-baca-98c44976ab67", + "Body" : "{\"etag\":\"ib85jDD3pYI7I1KLm64pzxzvDYE\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue19\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"}", + "x-ms-client-request-id" : "5a22de2e-03b1-41d7-96ac-d9e2225559b4", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f764382c-f46f-4d82-9073-09829f9a48e4", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "41074775-3fc7-4044-b32c-9e5f87653be5", "Content-Type" : "application/json" }, "Response" : { @@ -633,29 +633,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:58 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:58 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "fcf27777-959e-4740-8e6c-e224d3eeb5b4", + "x-ms-correlation-request-id" : "4e5d0828-bc39-4c40-96ed-228a51f04f35", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"slRLsLw6kgPPzJKoacin7zK3Bte\"", + "ETag" : "\"9Qo1BiyBMAIJl4NojMO9EAyiNkO\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNjU=;sn=471365", - "x-ms-request-id" : "fcf27777-959e-4740-8e6c-e224d3eeb5b4", - "Body" : "{\"etag\":\"slRLsLw6kgPPzJKoacin7zK3Bte\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue43\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "f764382c-f46f-4d82-9073-09829f9a48e4", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzODU=;sn=569385", + "x-ms-request-id" : "4e5d0828-bc39-4c40-96ed-228a51f04f35", + "Body" : "{\"etag\":\"9Qo1BiyBMAIJl4NojMO9EAyiNkO\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue20\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"}", + "x-ms-client-request-id" : "41074775-3fc7-4044-b32c-9e5f87653be5", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "879fb589-1d3d-4103-bd09-634c49af4755", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "54d17156-7a15-4b5a-bb4a-38446a30be70", "Content-Type" : "application/json" }, "Response" : { @@ -664,29 +664,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:58 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:58 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "9f0322ed-f71c-4b33-82d7-61c933bedc27", + "x-ms-correlation-request-id" : "78965ece-dceb-441d-b993-633fbfbf5d20", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"mvAAU38TpwTggTobkkem4HIosCA\"", + "ETag" : "\"OkxrPFFT8c5mdvfpDQvnpqLm2Wr\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNjY=;sn=471366", - "x-ms-request-id" : "9f0322ed-f71c-4b33-82d7-61c933bedc27", - "Body" : "{\"etag\":\"mvAAU38TpwTggTobkkem4HIosCA\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue47\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "879fb589-1d3d-4103-bd09-634c49af4755", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzODY=;sn=569386", + "x-ms-request-id" : "78965ece-dceb-441d-b993-633fbfbf5d20", + "Body" : "{\"etag\":\"OkxrPFFT8c5mdvfpDQvnpqLm2Wr\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue21\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"}", + "x-ms-client-request-id" : "54d17156-7a15-4b5a-bb4a-38446a30be70", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cff3c8dd-efb7-4f8d-841c-01e4e1437bc2", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8c5cb039-48be-4cfd-bf6b-204783e8c143", "Content-Type" : "application/json" }, "Response" : { @@ -695,29 +695,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:58 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:58 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "934a57fa-dfb2-4ebd-9b71-c92247bdfee1", + "x-ms-correlation-request-id" : "ec31d4c9-e395-4562-81d2-81b3aba56668", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"PVRZK6JExU3siN0kfJHqNxsX0Uf\"", + "ETag" : "\"OKmantEhHVPUh73ZTNOy2ECKrP6\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNjc=;sn=471367", - "x-ms-request-id" : "934a57fa-dfb2-4ebd-9b71-c92247bdfee1", - "Body" : "{\"etag\":\"PVRZK6JExU3siN0kfJHqNxsX0Uf\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue42\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "cff3c8dd-efb7-4f8d-841c-01e4e1437bc2", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzODc=;sn=569387", + "x-ms-request-id" : "ec31d4c9-e395-4562-81d2-81b3aba56668", + "Body" : "{\"etag\":\"OKmantEhHVPUh73ZTNOy2ECKrP6\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue22\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"}", + "x-ms-client-request-id" : "8c5cb039-48be-4cfd-bf6b-204783e8c143", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "eb160fd2-2d15-42eb-9c7a-8998eb4c36a1", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d5c19753-0e12-447a-b251-30cc894fd904", "Content-Type" : "application/json" }, "Response" : { @@ -726,29 +726,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:58 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:58 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "e43aca0e-87ee-4dee-8164-732ccd199a5f", + "x-ms-correlation-request-id" : "ceadfed2-ce2b-4516-bdcb-10fa5c2a42d4", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"fuan3u5MjaIGgOYfuCmhbLQPKXM\"", + "ETag" : "\"UatJkgP479t1hsrWixboP2GeqiY\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNjg=;sn=471368", - "x-ms-request-id" : "e43aca0e-87ee-4dee-8164-732ccd199a5f", - "Body" : "{\"etag\":\"fuan3u5MjaIGgOYfuCmhbLQPKXM\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue49\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "eb160fd2-2d15-42eb-9c7a-8998eb4c36a1", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzODg=;sn=569388", + "x-ms-request-id" : "ceadfed2-ce2b-4516-bdcb-10fa5c2a42d4", + "Body" : "{\"etag\":\"UatJkgP479t1hsrWixboP2GeqiY\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue23\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"}", + "x-ms-client-request-id" : "d5c19753-0e12-447a-b251-30cc894fd904", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "109fbffa-a683-4ee0-bcf0-1d076d749907", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "08087834-e28b-4d75-872e-b35581ac7ea6", "Content-Type" : "application/json" }, "Response" : { @@ -757,29 +757,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:58 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:58 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "8fef6206-0eaa-4e0a-9cd9-ceeace8fecc1", + "x-ms-correlation-request-id" : "66d30afc-f8a6-41d4-ae24-edc862c2c564", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"3VnZqsnra95zhTv2aLvsIKNc6Vz\"", + "ETag" : "\"m6woYcShjThZ1RZONd1hifPWYwy\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNjk=;sn=471369", - "x-ms-request-id" : "8fef6206-0eaa-4e0a-9cd9-ceeace8fecc1", - "Body" : "{\"etag\":\"3VnZqsnra95zhTv2aLvsIKNc6Vz\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue31\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "109fbffa-a683-4ee0-bcf0-1d076d749907", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzODk=;sn=569389", + "x-ms-request-id" : "66d30afc-f8a6-41d4-ae24-edc862c2c564", + "Body" : "{\"etag\":\"m6woYcShjThZ1RZONd1hifPWYwy\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue24\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"}", + "x-ms-client-request-id" : "08087834-e28b-4d75-872e-b35581ac7ea6", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a9d442b3-e076-45cf-8b67-e4332a058948", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "36d83ea8-fbe1-4c7a-8b99-c10dea58a64e", "Content-Type" : "application/json" }, "Response" : { @@ -788,29 +788,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:58 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:58 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "21f80a60-99cc-4ea2-acb7-bb2acd5af562", + "x-ms-correlation-request-id" : "92b8599c-503f-4ef0-96fc-835b8ecd5c07", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"PrUGRRlMZLzFOMnBaMijzj8JlmM\"", + "ETag" : "\"QGgRRTRppH5tu8JeAXsq0NuGOfp\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNzA=;sn=471370", - "x-ms-request-id" : "21f80a60-99cc-4ea2-acb7-bb2acd5af562", - "Body" : "{\"etag\":\"PrUGRRlMZLzFOMnBaMijzj8JlmM\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue33\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "a9d442b3-e076-45cf-8b67-e4332a058948", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzOTA=;sn=569390", + "x-ms-request-id" : "92b8599c-503f-4ef0-96fc-835b8ecd5c07", + "Body" : "{\"etag\":\"QGgRRTRppH5tu8JeAXsq0NuGOfp\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue25\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"}", + "x-ms-client-request-id" : "36d83ea8-fbe1-4c7a-8b99-c10dea58a64e", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4f1d374b-f72c-48c6-bceb-f3ff51aedadb", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a33af060-1439-44b2-931b-fe708807ed6d", "Content-Type" : "application/json" }, "Response" : { @@ -819,29 +819,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:59 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:58 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "3b182c78-4885-4c54-a481-0b380edfe741", + "x-ms-correlation-request-id" : "1ee41338-439f-4a45-9c53-4623aafefe35", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"1d1NYLBlNwYBqXUURBFC7RAPm1B\"", + "ETag" : "\"QbUKtwZxZIxhn6986r8cJoLC99s\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNzE=;sn=471371", - "x-ms-request-id" : "3b182c78-4885-4c54-a481-0b380edfe741", - "Body" : "{\"etag\":\"1d1NYLBlNwYBqXUURBFC7RAPm1B\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue40\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "4f1d374b-f72c-48c6-bceb-f3ff51aedadb", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzOTE=;sn=569391", + "x-ms-request-id" : "1ee41338-439f-4a45-9c53-4623aafefe35", + "Body" : "{\"etag\":\"QbUKtwZxZIxhn6986r8cJoLC99s\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue26\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"}", + "x-ms-client-request-id" : "a33af060-1439-44b2-931b-fe708807ed6d", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3560b3d6-8014-407d-8748-056a25f85779", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "49dc92d3-faf0-4610-8983-f72925d4276e", "Content-Type" : "application/json" }, "Response" : { @@ -850,29 +850,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:59 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:58 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "21eaa9e0-f802-4d43-b481-5290e386d51a", + "x-ms-correlation-request-id" : "9f8866ca-ef8f-4622-a16c-1d8f77f5c051", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"piVc4DctBMPhbnNO836ddRm2Qbq\"", + "ETag" : "\"nxsmgOifrXCzXIJiuCw8z5a7nct\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNzI=;sn=471372", - "x-ms-request-id" : "21eaa9e0-f802-4d43-b481-5290e386d51a", - "Body" : "{\"etag\":\"piVc4DctBMPhbnNO836ddRm2Qbq\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue34\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "3560b3d6-8014-407d-8748-056a25f85779", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzOTI=;sn=569392", + "x-ms-request-id" : "9f8866ca-ef8f-4622-a16c-1d8f77f5c051", + "Body" : "{\"etag\":\"nxsmgOifrXCzXIJiuCw8z5a7nct\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue27\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"}", + "x-ms-client-request-id" : "49dc92d3-faf0-4610-8983-f72925d4276e", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3dc7347d-bf39-4cab-96c4-2ff3e8ecb358", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ca4a6500-6d0d-4712-8dc5-827252bd9be8", "Content-Type" : "application/json" }, "Response" : { @@ -881,29 +881,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:58 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:59 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:58 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "2348728a-2ac6-42f7-b51c-1f49757f3888", + "x-ms-correlation-request-id" : "f87b1ca7-6716-4fb9-993f-f01d6bfc8d60", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"JyAz3rH6ODDFWry19i881RS7xvk\"", + "ETag" : "\"OcoNHZvKi8vAP6tjCb0Lf6ROv2o\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNzQ=;sn=471374", - "x-ms-request-id" : "2348728a-2ac6-42f7-b51c-1f49757f3888", - "Body" : "{\"etag\":\"JyAz3rH6ODDFWry19i881RS7xvk\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"}", - "x-ms-client-request-id" : "3dc7347d-bf39-4cab-96c4-2ff3e8ecb358", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzOTM=;sn=569393", + "x-ms-request-id" : "f87b1ca7-6716-4fb9-993f-f01d6bfc8d60", + "Body" : "{\"etag\":\"OcoNHZvKi8vAP6tjCb0Lf6ROv2o\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue28\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"}", + "x-ms-client-request-id" : "ca4a6500-6d0d-4712-8dc5-827252bd9be8", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "559bf7ab-4e15-401c-af71-4a5772305666", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3a81ab0e-4451-4fcb-a8cd-b9ff009e54bf", "Content-Type" : "application/json" }, "Response" : { @@ -912,29 +912,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:58 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:59 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:58 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "1571e4aa-72a4-4c80-a97f-d60ac80d3dc7", + "x-ms-correlation-request-id" : "62e1ffe8-ba55-4298-9e6f-707296ea48cc", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"nAjFY0gJh1FXagzCBw7tCx7aUkF\"", + "ETag" : "\"cdqobYj0oycdbexKdVGz7soHPPq\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNzU=;sn=471375", - "x-ms-request-id" : "1571e4aa-72a4-4c80-a97f-d60ac80d3dc7", - "Body" : "{\"etag\":\"nAjFY0gJh1FXagzCBw7tCx7aUkF\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue3\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"}", - "x-ms-client-request-id" : "559bf7ab-4e15-401c-af71-4a5772305666", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzOTQ=;sn=569394", + "x-ms-request-id" : "62e1ffe8-ba55-4298-9e6f-707296ea48cc", + "Body" : "{\"etag\":\"cdqobYj0oycdbexKdVGz7soHPPq\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue29\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"}", + "x-ms-client-request-id" : "3a81ab0e-4451-4fcb-a8cd-b9ff009e54bf", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a2de9a5a-1a06-4bcb-8449-cebf793bc4a4", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8d19475f-b97d-4762-a2f0-d113eba2e81d", "Content-Type" : "application/json" }, "Response" : { @@ -943,29 +943,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:58 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:59 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:58 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "64a4ba53-a4ab-4254-a163-39c7de3915f1", + "x-ms-correlation-request-id" : "275e1e94-a3e6-41cd-9506-6c521d0d4678", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"69mfDvTbDWEtq1kRYUOSTli9QCO\"", + "ETag" : "\"kMRLjBZaAfCG1mxcLWdF5HkKAep\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNzY=;sn=471376", - "x-ms-request-id" : "64a4ba53-a4ab-4254-a163-39c7de3915f1", - "Body" : "{\"etag\":\"69mfDvTbDWEtq1kRYUOSTli9QCO\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue6\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"}", - "x-ms-client-request-id" : "a2de9a5a-1a06-4bcb-8449-cebf793bc4a4", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzOTU=;sn=569395", + "x-ms-request-id" : "275e1e94-a3e6-41cd-9506-6c521d0d4678", + "Body" : "{\"etag\":\"kMRLjBZaAfCG1mxcLWdF5HkKAep\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue30\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"}", + "x-ms-client-request-id" : "8d19475f-b97d-4762-a2f0-d113eba2e81d", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "98b5bd68-a97e-4bcf-97f6-9c3668dbee87", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f0f50104-1107-4357-892e-6f3a2bb22176", "Content-Type" : "application/json" }, "Response" : { @@ -974,29 +974,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:58 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:59 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:58 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "8e21e4cb-f418-43e4-9f49-ad7b766259b4", + "x-ms-correlation-request-id" : "b14b3637-3ede-4ab0-a6e7-36ee0f69121d", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"oIaoxiI8PNcA9wJRA3MOrQMO2dU\"", + "ETag" : "\"IhxXwZRtlvd3nl2V4AQijNDhdUI\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNzc=;sn=471377", - "x-ms-request-id" : "8e21e4cb-f418-43e4-9f49-ad7b766259b4", - "Body" : "{\"etag\":\"oIaoxiI8PNcA9wJRA3MOrQMO2dU\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue10\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"}", - "x-ms-client-request-id" : "98b5bd68-a97e-4bcf-97f6-9c3668dbee87", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzOTY=;sn=569396", + "x-ms-request-id" : "b14b3637-3ede-4ab0-a6e7-36ee0f69121d", + "Body" : "{\"etag\":\"IhxXwZRtlvd3nl2V4AQijNDhdUI\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue31\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"}", + "x-ms-client-request-id" : "f0f50104-1107-4357-892e-6f3a2bb22176", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "99ca72e6-2352-46c1-9fee-4ada565ca77f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3b41e04d-a37d-4d99-8d08-3254f7f86d38", "Content-Type" : "application/json" }, "Response" : { @@ -1005,29 +1005,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:58 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:59 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:58 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "a6866ee4-e4d7-4546-aeac-add5a7ba1b42", + "x-ms-correlation-request-id" : "1990e5bd-c18b-467d-87f8-08d0f9995c54", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"qfOw1b7WalUNnnVEaYRQiLZTVdl\"", + "ETag" : "\"ZPD5zoTI0yMXXlFyZenD266nfSG\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNzg=;sn=471378", - "x-ms-request-id" : "a6866ee4-e4d7-4546-aeac-add5a7ba1b42", - "Body" : "{\"etag\":\"qfOw1b7WalUNnnVEaYRQiLZTVdl\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue9\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"}", - "x-ms-client-request-id" : "99ca72e6-2352-46c1-9fee-4ada565ca77f", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzOTc=;sn=569397", + "x-ms-request-id" : "1990e5bd-c18b-467d-87f8-08d0f9995c54", + "Body" : "{\"etag\":\"ZPD5zoTI0yMXXlFyZenD266nfSG\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue32\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"}", + "x-ms-client-request-id" : "3b41e04d-a37d-4d99-8d08-3254f7f86d38", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0a1e9a69-f171-4a5d-8419-ffd639a01680", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e65d39b9-b4d6-45f2-9111-aeca051d4bf7", "Content-Type" : "application/json" }, "Response" : { @@ -1036,29 +1036,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:58 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:59 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:58 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ce0db1b5-c69c-4adc-a567-1d41c74efde1", + "x-ms-correlation-request-id" : "79455eab-122d-41a8-84e4-b46dc7e8c19c", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"TZpxR5Qbf7Mkkm3IqXxvKUX9whb\"", + "ETag" : "\"G4wIVMCWJleE1FZCDPSW0eBErTD\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNzk=;sn=471379", - "x-ms-request-id" : "ce0db1b5-c69c-4adc-a567-1d41c74efde1", - "Body" : "{\"etag\":\"TZpxR5Qbf7Mkkm3IqXxvKUX9whb\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue14\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"}", - "x-ms-client-request-id" : "0a1e9a69-f171-4a5d-8419-ffd639a01680", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzOTg=;sn=569398", + "x-ms-request-id" : "79455eab-122d-41a8-84e4-b46dc7e8c19c", + "Body" : "{\"etag\":\"G4wIVMCWJleE1FZCDPSW0eBErTD\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue33\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"}", + "x-ms-client-request-id" : "e65d39b9-b4d6-45f2-9111-aeca051d4bf7", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1f2ca9cd-4b2a-4ad8-9e5b-4cc3018b1506", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f371e30a-fcb2-417a-adcc-7b288062a217", "Content-Type" : "application/json" }, "Response" : { @@ -1067,29 +1067,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:58 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:59 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:59 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "b4ec47a5-6659-49c1-9f6b-271ce221fffe", + "x-ms-correlation-request-id" : "44d21d17-6618-4faf-91a4-fbf87f8bd804", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"5O2kzPvgoYqvdbmdYu66qBbBloi\"", + "ETag" : "\"LkJPzuoY6EikGZkeueAjpgZCADj\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzODA=;sn=471380", - "x-ms-request-id" : "b4ec47a5-6659-49c1-9f6b-271ce221fffe", - "Body" : "{\"etag\":\"5O2kzPvgoYqvdbmdYu66qBbBloi\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue26\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"}", - "x-ms-client-request-id" : "1f2ca9cd-4b2a-4ad8-9e5b-4cc3018b1506", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzOTk=;sn=569399", + "x-ms-request-id" : "44d21d17-6618-4faf-91a4-fbf87f8bd804", + "Body" : "{\"etag\":\"LkJPzuoY6EikGZkeueAjpgZCADj\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue34\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"}", + "x-ms-client-request-id" : "f371e30a-fcb2-417a-adcc-7b288062a217", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8f6b2457-5383-4f27-b3a6-1612a6272e60", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f1805502-86d1-4e72-9b81-989a7439441b", "Content-Type" : "application/json" }, "Response" : { @@ -1098,29 +1098,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:58 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:59 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:59 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "6f892a09-d81a-4f68-9eaa-12196652bd0b", + "x-ms-correlation-request-id" : "d1d266c4-20cd-4fff-82f6-2b3122e9ffef", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"tQLTdgyLcsXhpqmqtRYxlZVXuod\"", + "ETag" : "\"LQs5vhh8iKq1BvNBC8I5fTiGLM4\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzODE=;sn=471381", - "x-ms-request-id" : "6f892a09-d81a-4f68-9eaa-12196652bd0b", - "Body" : "{\"etag\":\"tQLTdgyLcsXhpqmqtRYxlZVXuod\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue30\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"}", - "x-ms-client-request-id" : "8f6b2457-5383-4f27-b3a6-1612a6272e60", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MDA=;sn=569400", + "x-ms-request-id" : "d1d266c4-20cd-4fff-82f6-2b3122e9ffef", + "Body" : "{\"etag\":\"LQs5vhh8iKq1BvNBC8I5fTiGLM4\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue35\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"}", + "x-ms-client-request-id" : "f1805502-86d1-4e72-9b81-989a7439441b", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "57fd38dc-0219-4859-8e7b-e11727aa8db7", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ba7731b4-96a8-4070-ba0d-431200620577", "Content-Type" : "application/json" }, "Response" : { @@ -1129,29 +1129,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:58 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:59 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:59 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "0b4c25a0-4e4a-4ec1-8d70-3ffadca3562a", + "x-ms-correlation-request-id" : "fa38523a-ba18-4ea0-b7fe-ec872d8d995a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"5hyEikFEk3MYL0kUCcLAheZjpRn\"", + "ETag" : "\"K9gD860qdeCA6zyuQQmp4SrAzHy\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzODI=;sn=471382", - "x-ms-request-id" : "0b4c25a0-4e4a-4ec1-8d70-3ffadca3562a", - "Body" : "{\"etag\":\"5hyEikFEk3MYL0kUCcLAheZjpRn\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue37\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"}", - "x-ms-client-request-id" : "57fd38dc-0219-4859-8e7b-e11727aa8db7", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MDE=;sn=569401", + "x-ms-request-id" : "fa38523a-ba18-4ea0-b7fe-ec872d8d995a", + "Body" : "{\"etag\":\"K9gD860qdeCA6zyuQQmp4SrAzHy\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue36\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"}", + "x-ms-client-request-id" : "ba7731b4-96a8-4070-ba0d-431200620577", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2cbcaf99-cecc-428e-89ba-3027211da0fe", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a147f3d2-3a48-41ad-878b-07895b1ab6fd", "Content-Type" : "application/json" }, "Response" : { @@ -1160,29 +1160,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:58 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:59 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:59 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "33adcab6-b684-4931-97c8-3bde9141a1c6", + "x-ms-correlation-request-id" : "c714d0e8-aeef-4496-af8e-476f59d06a9b", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"Fdg5IrSU73gIZCONg7pUlSBMZtc\"", + "ETag" : "\"vkTamOlvdXPnSf6RuvyRaFgnw4V\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzODM=;sn=471383", - "x-ms-request-id" : "33adcab6-b684-4931-97c8-3bde9141a1c6", - "Body" : "{\"etag\":\"Fdg5IrSU73gIZCONg7pUlSBMZtc\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue41\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"}", - "x-ms-client-request-id" : "2cbcaf99-cecc-428e-89ba-3027211da0fe", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MDI=;sn=569402", + "x-ms-request-id" : "c714d0e8-aeef-4496-af8e-476f59d06a9b", + "Body" : "{\"etag\":\"vkTamOlvdXPnSf6RuvyRaFgnw4V\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue37\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"}", + "x-ms-client-request-id" : "a147f3d2-3a48-41ad-878b-07895b1ab6fd", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f7ae541f-8bef-4a97-a4d3-985d8f6fc294", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "565a4c2a-778a-4f9b-a6c8-e23e39f9cbb0", "Content-Type" : "application/json" }, "Response" : { @@ -1191,29 +1191,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:58 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:59 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:59 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "0e5f60b3-68f2-42fa-a65b-cd7096492051", + "x-ms-correlation-request-id" : "cb8d46d5-193a-4126-aaeb-357e6b461415", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"1LiBgnAUN9b8WclqHLTM4FhHUdf\"", + "ETag" : "\"TnSCGsBtuw7U4Zs22xPXKvMmsS0\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzODQ=;sn=471384", - "x-ms-request-id" : "0e5f60b3-68f2-42fa-a65b-cd7096492051", - "Body" : "{\"etag\":\"1LiBgnAUN9b8WclqHLTM4FhHUdf\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue44\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"}", - "x-ms-client-request-id" : "f7ae541f-8bef-4a97-a4d3-985d8f6fc294", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MDM=;sn=569403", + "x-ms-request-id" : "cb8d46d5-193a-4126-aaeb-357e6b461415", + "Body" : "{\"etag\":\"TnSCGsBtuw7U4Zs22xPXKvMmsS0\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue38\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"}", + "x-ms-client-request-id" : "565a4c2a-778a-4f9b-a6c8-e23e39f9cbb0", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4ce98848-417e-4ef7-9b2e-0c5c217b6c51", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8205453e-067a-45a0-a75f-38d41fc126e8", "Content-Type" : "application/json" }, "Response" : { @@ -1222,29 +1222,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:58 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:59 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:59 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "a6760b90-fd54-46bc-b9c9-8b6bb848fd3a", + "x-ms-correlation-request-id" : "ef820c0b-62b0-4b2d-9af7-5b0b43facfc7", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"bBAIQYX1IwLtwHRDWDjIe9iE8RN\"", + "ETag" : "\"Kc3AFeCZWGq5ySB5mROQH6KjvzW\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzODU=;sn=471385", - "x-ms-request-id" : "a6760b90-fd54-46bc-b9c9-8b6bb848fd3a", - "Body" : "{\"etag\":\"bBAIQYX1IwLtwHRDWDjIe9iE8RN\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue46\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"}", - "x-ms-client-request-id" : "4ce98848-417e-4ef7-9b2e-0c5c217b6c51", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MDQ=;sn=569404", + "x-ms-request-id" : "ef820c0b-62b0-4b2d-9af7-5b0b43facfc7", + "Body" : "{\"etag\":\"Kc3AFeCZWGq5ySB5mROQH6KjvzW\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue39\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"}", + "x-ms-client-request-id" : "8205453e-067a-45a0-a75f-38d41fc126e8", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "96acea80-5d55-4295-a614-664e10a4df64", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "06456eab-d9ab-409e-8c74-4a59a7a73180", "Content-Type" : "application/json" }, "Response" : { @@ -1253,29 +1253,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:00 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:59 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:59 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:59 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "314b10c7-641e-43d4-a13e-b44c0f624069", + "x-ms-correlation-request-id" : "61770c91-61a1-4c01-af20-9cd8314964f0", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"9F48LJnyeEGawYaxGTLPHEbgHUk\"", + "ETag" : "\"oGWGBpD94rLnKVVcBbR8ickkDHj\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzODY=;sn=471386", - "x-ms-request-id" : "314b10c7-641e-43d4-a13e-b44c0f624069", - "Body" : "{\"etag\":\"9F48LJnyeEGawYaxGTLPHEbgHUk\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue1\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"}", - "x-ms-client-request-id" : "96acea80-5d55-4295-a614-664e10a4df64", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MDU=;sn=569405", + "x-ms-request-id" : "61770c91-61a1-4c01-af20-9cd8314964f0", + "Body" : "{\"etag\":\"oGWGBpD94rLnKVVcBbR8ickkDHj\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue40\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"}", + "x-ms-client-request-id" : "06456eab-d9ab-409e-8c74-4a59a7a73180", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2d8a3c72-845b-4e13-9441-31be3812a33a", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1592bbdc-ed3f-477f-ba98-d1b65c49fa3d", "Content-Type" : "application/json" }, "Response" : { @@ -1284,29 +1284,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:00 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:59 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:59 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:59 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "bc97c6b8-607d-4808-bff4-6c6e0b6e39ba", + "x-ms-correlation-request-id" : "a56da881-14e4-4d79-89c4-857d7a919a30", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"Ja3PUlYIEH5qeWB6yEZx3gx27mC\"", + "ETag" : "\"jKfWWC96Zwr4T9VmoSAbK5fXxef\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzODc=;sn=471387", - "x-ms-request-id" : "bc97c6b8-607d-4808-bff4-6c6e0b6e39ba", - "Body" : "{\"etag\":\"Ja3PUlYIEH5qeWB6yEZx3gx27mC\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue13\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"}", - "x-ms-client-request-id" : "2d8a3c72-845b-4e13-9441-31be3812a33a", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MDY=;sn=569406", + "x-ms-request-id" : "a56da881-14e4-4d79-89c4-857d7a919a30", + "Body" : "{\"etag\":\"jKfWWC96Zwr4T9VmoSAbK5fXxef\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue41\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"}", + "x-ms-client-request-id" : "1592bbdc-ed3f-477f-ba98-d1b65c49fa3d", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "79c32057-23d2-4ea3-83b4-63cf4762e4a4", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2c528e9c-f5d2-49ae-a0aa-f1038ff34502", "Content-Type" : "application/json" }, "Response" : { @@ -1315,29 +1315,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:00 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:59 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:59 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:59 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "d40e0c22-74b2-42d0-8be7-827e980cfb1f", + "x-ms-correlation-request-id" : "4a37f0f1-b4e0-4f86-8369-7553c22615c1", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"R7RCWxHfZBvjUhF0eGTp9SZxYEo\"", + "ETag" : "\"dPbv631dIXA2hljpCk5CcS5ToRM\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzODg=;sn=471388", - "x-ms-request-id" : "d40e0c22-74b2-42d0-8be7-827e980cfb1f", - "Body" : "{\"etag\":\"R7RCWxHfZBvjUhF0eGTp9SZxYEo\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue16\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"}", - "x-ms-client-request-id" : "79c32057-23d2-4ea3-83b4-63cf4762e4a4", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MDc=;sn=569407", + "x-ms-request-id" : "4a37f0f1-b4e0-4f86-8369-7553c22615c1", + "Body" : "{\"etag\":\"dPbv631dIXA2hljpCk5CcS5ToRM\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue42\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"}", + "x-ms-client-request-id" : "2c528e9c-f5d2-49ae-a0aa-f1038ff34502", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a8be52d1-6ce6-45fc-b4d2-c2f182bc4e4a", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e4d98822-3130-449a-a913-70f1f78ee126", "Content-Type" : "application/json" }, "Response" : { @@ -1346,29 +1346,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:00 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:00 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:59 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:59 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "353dcc1c-782a-4424-a2cb-c10de05010eb", + "x-ms-correlation-request-id" : "e73c521f-3525-4206-904d-0111626f9088", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"76pm3Vx4rwc6HmgEudcabWPwDqR\"", + "ETag" : "\"d6vn57NYR20EqOIOuG824YLnsqH\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzODk=;sn=471389", - "x-ms-request-id" : "353dcc1c-782a-4424-a2cb-c10de05010eb", - "Body" : "{\"etag\":\"76pm3Vx4rwc6HmgEudcabWPwDqR\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue21\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"}", - "x-ms-client-request-id" : "a8be52d1-6ce6-45fc-b4d2-c2f182bc4e4a", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MDg=;sn=569408", + "x-ms-request-id" : "e73c521f-3525-4206-904d-0111626f9088", + "Body" : "{\"etag\":\"d6vn57NYR20EqOIOuG824YLnsqH\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue43\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"}", + "x-ms-client-request-id" : "e4d98822-3130-449a-a913-70f1f78ee126", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7bc5f111-d7d8-427d-b7fe-7e26dfbf55f5", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "fd0ceb78-feeb-4480-b14d-c69bd2b03aef", "Content-Type" : "application/json" }, "Response" : { @@ -1377,29 +1377,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:00 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:00 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:59 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:59 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "1c211f34-c78a-4b6d-b39d-9ad31bbab989", + "x-ms-correlation-request-id" : "67484329-040f-47b4-be70-17f95d06615a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"XWpmy8pW0VIwnXAlVWUfEDRCMB2\"", + "ETag" : "\"mhihpPq6zUwxyncV5ewQFOiNgGG\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzOTA=;sn=471390", - "x-ms-request-id" : "1c211f34-c78a-4b6d-b39d-9ad31bbab989", - "Body" : "{\"etag\":\"XWpmy8pW0VIwnXAlVWUfEDRCMB2\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue28\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"}", - "x-ms-client-request-id" : "7bc5f111-d7d8-427d-b7fe-7e26dfbf55f5", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MDk=;sn=569409", + "x-ms-request-id" : "67484329-040f-47b4-be70-17f95d06615a", + "Body" : "{\"etag\":\"mhihpPq6zUwxyncV5ewQFOiNgGG\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue44\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"}", + "x-ms-client-request-id" : "fd0ceb78-feeb-4480-b14d-c69bd2b03aef", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5acb6bca-550f-4ed4-b356-d5de97eebc40", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "381dcc42-cf3c-42b2-92cf-93ad3f5cd3ba", "Content-Type" : "application/json" }, "Response" : { @@ -1408,29 +1408,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:00 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:00 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:59 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:59 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "49a1c93f-79a4-4923-805f-f32ddf45d755", + "x-ms-correlation-request-id" : "ec6e3109-5109-44a2-9a65-c766e3472c04", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"ycYJM9Ql56Po8hJqNM9yDNsAc5Q\"", + "ETag" : "\"MoHL0cOoVSgSdnkcKRzmE7lDQlQ\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzOTE=;sn=471391", - "x-ms-request-id" : "49a1c93f-79a4-4923-805f-f32ddf45d755", - "Body" : "{\"etag\":\"ycYJM9Ql56Po8hJqNM9yDNsAc5Q\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue32\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"}", - "x-ms-client-request-id" : "5acb6bca-550f-4ed4-b356-d5de97eebc40", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MTA=;sn=569410", + "x-ms-request-id" : "ec6e3109-5109-44a2-9a65-c766e3472c04", + "Body" : "{\"etag\":\"MoHL0cOoVSgSdnkcKRzmE7lDQlQ\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue45\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"}", + "x-ms-client-request-id" : "381dcc42-cf3c-42b2-92cf-93ad3f5cd3ba", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "19d29218-9f3e-4b00-98d1-a7a9d9f6ede0", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9ab5bf3d-fa42-49e2-9797-7e136a635658", "Content-Type" : "application/json" }, "Response" : { @@ -1439,29 +1439,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:00 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:00 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:59 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:59 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "5b021b31-e7af-43c6-a9fc-c33ebf6b170f", + "x-ms-correlation-request-id" : "ad08902f-2395-403e-964c-58878a8c1070", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"UQMBAAZaZ3fq6TGctClfxvYp1RE\"", + "ETag" : "\"bjxbDYj6goHNUpaDyZr8VQmwnf2\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzOTI=;sn=471392", - "x-ms-request-id" : "5b021b31-e7af-43c6-a9fc-c33ebf6b170f", - "Body" : "{\"etag\":\"UQMBAAZaZ3fq6TGctClfxvYp1RE\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue38\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"}", - "x-ms-client-request-id" : "19d29218-9f3e-4b00-98d1-a7a9d9f6ede0", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MTE=;sn=569411", + "x-ms-request-id" : "ad08902f-2395-403e-964c-58878a8c1070", + "Body" : "{\"etag\":\"bjxbDYj6goHNUpaDyZr8VQmwnf2\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue46\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"}", + "x-ms-client-request-id" : "9ab5bf3d-fa42-49e2-9797-7e136a635658", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0e4e4420-0c62-41b1-8cde-efc7a6a6c8f2", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e466f560-ec64-48d4-a2a7-d624b1c4df57", "Content-Type" : "application/json" }, "Response" : { @@ -1470,29 +1470,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:00 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:00 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:59 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:59 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "f54843e1-df5c-4a65-ae44-a92d3d38c2f1", + "x-ms-correlation-request-id" : "a02340b7-29d8-4934-be59-6f861f88a914", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"yu33ThVpND8RzjjWqoiDmFKgjuR\"", + "ETag" : "\"D5MoQ22WxTXIBZAAOYwi4e2gf1U\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzOTM=;sn=471393", - "x-ms-request-id" : "f54843e1-df5c-4a65-ae44-a92d3d38c2f1", - "Body" : "{\"etag\":\"yu33ThVpND8RzjjWqoiDmFKgjuR\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue45\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"}", - "x-ms-client-request-id" : "0e4e4420-0c62-41b1-8cde-efc7a6a6c8f2", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MTI=;sn=569412", + "x-ms-request-id" : "a02340b7-29d8-4934-be59-6f861f88a914", + "Body" : "{\"etag\":\"D5MoQ22WxTXIBZAAOYwi4e2gf1U\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue47\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"}", + "x-ms-client-request-id" : "e466f560-ec64-48d4-a2a7-d624b1c4df57", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "da871aec-b10d-40f5-8cc9-6e7fa4b75e7a", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4b42cb2d-bae0-464f-9707-b86147840336", "Content-Type" : "application/json" }, "Response" : { @@ -1501,29 +1501,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:02 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:00 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:01 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:59 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "442ed066-8199-4c5e-b5c8-47d1040bd00d", + "x-ms-correlation-request-id" : "df4285c1-2760-4a73-9686-f5daa33b3bf6", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"mDDHm5tsM8plXmTOZJU4Z7RnWOZ\"", + "ETag" : "\"EK1rZjloSuKi5VCBGa5A80Smf1O\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzOTQ=;sn=471394", - "x-ms-request-id" : "442ed066-8199-4c5e-b5c8-47d1040bd00d", - "Body" : "{\"etag\":\"mDDHm5tsM8plXmTOZJU4Z7RnWOZ\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue35\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:02+00:00\"}", - "x-ms-client-request-id" : "da871aec-b10d-40f5-8cc9-6e7fa4b75e7a", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MTM=;sn=569413", + "x-ms-request-id" : "df4285c1-2760-4a73-9686-f5daa33b3bf6", + "Body" : "{\"etag\":\"EK1rZjloSuKi5VCBGa5A80Smf1O\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue48\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"}", + "x-ms-client-request-id" : "4b42cb2d-bae0-464f-9707-b86147840336", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "fe3cde19-b1d2-4f40-838d-6e5f7368ef3d", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a4dec44c-5b8d-4875-92dd-4662b199b39e", "Content-Type" : "application/json" }, "Response" : { @@ -1532,29 +1532,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:00 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:02 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:59 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "c5833535-4441-4576-9dae-af0a735de168", + "x-ms-correlation-request-id" : "52a09dbf-3786-4ac2-a3f6-39bbde1df3ef", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"csU46sDV45AxCcuDaavXT5kLpsh\"", + "ETag" : "\"7kIXz2FZJdieSazX1ORsW286UQw\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzOTU=;sn=471395", - "x-ms-request-id" : "c5833535-4441-4576-9dae-af0a735de168", - "Body" : "{\"etag\":\"csU46sDV45AxCcuDaavXT5kLpsh\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue39\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:03+00:00\"}", - "x-ms-client-request-id" : "fe3cde19-b1d2-4f40-838d-6e5f7368ef3d", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MTQ=;sn=569414", + "x-ms-request-id" : "52a09dbf-3786-4ac2-a3f6-39bbde1df3ef", + "Body" : "{\"etag\":\"7kIXz2FZJdieSazX1ORsW286UQw\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue49\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"}", + "x-ms-client-request-id" : "a4dec44c-5b8d-4875-92dd-4662b199b39e", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key38572&label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key36840&label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c5086af1-99b1-4762-889c-f15d309d39e4", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2094a183-8655-438d-9068-a2cf7472bd09", "Content-Type" : "application/json" }, "Response" : { @@ -1565,26 +1565,26 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:59 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "13eab2e4-3d7f-4e3c-a1f3-6c82a6d14a9e", + "x-ms-correlation-request-id" : "5684e5a0-7e40-41b4-ac17-67094c96f13a", "Accept-Ranges" : "items", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzOTU=;sn=471395", - "x-ms-request-id" : "13eab2e4-3d7f-4e3c-a1f3-6c82a6d14a9e", - "Body" : "{\"items\":[{\"etag\":\"csU46sDV45AxCcuDaavXT5kLpsh\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue39\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:03+00:00\"},{\"etag\":\"mDDHm5tsM8plXmTOZJU4Z7RnWOZ\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue35\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:02+00:00\"},{\"etag\":\"yu33ThVpND8RzjjWqoiDmFKgjuR\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue45\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"},{\"etag\":\"UQMBAAZaZ3fq6TGctClfxvYp1RE\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue38\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"},{\"etag\":\"ycYJM9Ql56Po8hJqNM9yDNsAc5Q\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue32\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"},{\"etag\":\"XWpmy8pW0VIwnXAlVWUfEDRCMB2\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue28\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"},{\"etag\":\"76pm3Vx4rwc6HmgEudcabWPwDqR\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue21\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"},{\"etag\":\"R7RCWxHfZBvjUhF0eGTp9SZxYEo\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue16\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"},{\"etag\":\"Ja3PUlYIEH5qeWB6yEZx3gx27mC\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue13\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"},{\"etag\":\"9F48LJnyeEGawYaxGTLPHEbgHUk\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue1\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"},{\"etag\":\"bBAIQYX1IwLtwHRDWDjIe9iE8RN\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue46\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"1LiBgnAUN9b8WclqHLTM4FhHUdf\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue44\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"Fdg5IrSU73gIZCONg7pUlSBMZtc\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue41\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"5hyEikFEk3MYL0kUCcLAheZjpRn\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue37\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"tQLTdgyLcsXhpqmqtRYxlZVXuod\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue30\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"5O2kzPvgoYqvdbmdYu66qBbBloi\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue26\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"TZpxR5Qbf7Mkkm3IqXxvKUX9whb\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue14\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"qfOw1b7WalUNnnVEaYRQiLZTVdl\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue9\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"oIaoxiI8PNcA9wJRA3MOrQMO2dU\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue10\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"69mfDvTbDWEtq1kRYUOSTli9QCO\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue6\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"nAjFY0gJh1FXagzCBw7tCx7aUkF\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue3\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"JyAz3rH6ODDFWry19i881RS7xvk\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"piVc4DctBMPhbnNO836ddRm2Qbq\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue34\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"1d1NYLBlNwYBqXUURBFC7RAPm1B\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue40\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"PrUGRRlMZLzFOMnBaMijzj8JlmM\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue33\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"3VnZqsnra95zhTv2aLvsIKNc6Vz\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue31\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"fuan3u5MjaIGgOYfuCmhbLQPKXM\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue49\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"PVRZK6JExU3siN0kfJHqNxsX0Uf\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue42\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"mvAAU38TpwTggTobkkem4HIosCA\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue47\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"slRLsLw6kgPPzJKoacin7zK3Bte\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue43\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"ajvuKIVRH4xXiLVKXmY6RBLn4FH\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue22\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"PoMZpHHRXZBe1r3JWT9dSbuHZ3h\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue20\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"5vvsV7QY8zT2tXh82vxSiQ2MNrl\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue18\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"1HaTkrkd1TVbbaEfvOysALd4zVY\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue19\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"BuXwrB207AjbxCaXlfuBnc2uHum\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue15\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"zbg9EigCtQ2MneB39eo0YsmPUG9\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue12\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"q9oznz6UDXW36g0CyFKRPgbDCMF\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue11\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"gzAoEP1qUmFpL41Vuosa5ml2L98\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue7\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"OFCCyqmBxVtMgA9BSepBhYfFXyk\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue23\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"lNrhDaw7ZB9xfCkG6HG0J13P4sK\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue48\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"MYguUJne3DaI5sgyMhfl7jMvP1Z\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue36\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"amdoryenHqd78DeaCmcv3woXqXY\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue29\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"B4W0roDXIiKzFlvYobMtOgYmxFV\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue27\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"E8xfFfEZz0eenDxOEwXSwUOYb5a\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue25\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"PSGCq23rQfbjK7xwRjTbYbphKrs\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue24\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"1IxsKXVl1HAaHy2hZIndkPlg0ok\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue8\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"AVw2p64FKGBe0cTgiF8WyjixQvM\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue17\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"eFv2QplNjamKz2uBun0Owz6VhmA\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue5\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"D1NAKdHRpJdmvKnDBggf30vKzN7\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue4\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"r0oxbhCgjGeq9nxjyE2wSKdq1O7\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue0\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}]}", - "x-ms-client-request-id" : "c5086af1-99b1-4762-889c-f15d309d39e4", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MTQ=;sn=569414", + "x-ms-request-id" : "5684e5a0-7e40-41b4-ac17-67094c96f13a", + "Body" : "{\"items\":[{\"etag\":\"7kIXz2FZJdieSazX1ORsW286UQw\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue49\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"},{\"etag\":\"EK1rZjloSuKi5VCBGa5A80Smf1O\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue48\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"},{\"etag\":\"D5MoQ22WxTXIBZAAOYwi4e2gf1U\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue47\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"},{\"etag\":\"bjxbDYj6goHNUpaDyZr8VQmwnf2\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue46\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"},{\"etag\":\"MoHL0cOoVSgSdnkcKRzmE7lDQlQ\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue45\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"},{\"etag\":\"mhihpPq6zUwxyncV5ewQFOiNgGG\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue44\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"},{\"etag\":\"d6vn57NYR20EqOIOuG824YLnsqH\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue43\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"},{\"etag\":\"dPbv631dIXA2hljpCk5CcS5ToRM\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue42\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"jKfWWC96Zwr4T9VmoSAbK5fXxef\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue41\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"oGWGBpD94rLnKVVcBbR8ickkDHj\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue40\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"Kc3AFeCZWGq5ySB5mROQH6KjvzW\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue39\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"TnSCGsBtuw7U4Zs22xPXKvMmsS0\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue38\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"vkTamOlvdXPnSf6RuvyRaFgnw4V\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue37\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"K9gD860qdeCA6zyuQQmp4SrAzHy\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue36\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"LQs5vhh8iKq1BvNBC8I5fTiGLM4\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue35\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"LkJPzuoY6EikGZkeueAjpgZCADj\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue34\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"G4wIVMCWJleE1FZCDPSW0eBErTD\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue33\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"ZPD5zoTI0yMXXlFyZenD266nfSG\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue32\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"IhxXwZRtlvd3nl2V4AQijNDhdUI\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue31\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"kMRLjBZaAfCG1mxcLWdF5HkKAep\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue30\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"cdqobYj0oycdbexKdVGz7soHPPq\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue29\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"OcoNHZvKi8vAP6tjCb0Lf6ROv2o\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue28\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"nxsmgOifrXCzXIJiuCw8z5a7nct\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue27\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"QbUKtwZxZIxhn6986r8cJoLC99s\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue26\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"QGgRRTRppH5tu8JeAXsq0NuGOfp\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue25\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"m6woYcShjThZ1RZONd1hifPWYwy\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue24\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"UatJkgP479t1hsrWixboP2GeqiY\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue23\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"OKmantEhHVPUh73ZTNOy2ECKrP6\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue22\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"OkxrPFFT8c5mdvfpDQvnpqLm2Wr\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue21\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"9Qo1BiyBMAIJl4NojMO9EAyiNkO\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue20\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"ib85jDD3pYI7I1KLm64pzxzvDYE\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue19\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"YMO3YH5UucyPADMc3wi2CBCH4v8\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue18\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"gp3CEfNFxL1K6OHypvl1NY3PVPY\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue17\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"4AyPx8yoIApe3KTVg9BVD39CISw\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue16\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"7XLpNTeOj9xS6TZDfJNRJUk3HcK\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue15\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"hdnqRP88Oz85g8SpAbI3yfU7Ooj\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue14\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"nxHkirp3A1c5Kp74YSUxvIGzUMC\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue13\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"e4RrfrQ3NoFzR8Dt2rlz7NKDEU1\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue12\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"bjJuvel3Id021mpIAdojudeIxH6\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue11\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"uOJFt8NqNdobIMIgG3FwDsL3j6n\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue10\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"SqSUJCEW0ParbM0HFKUDYiM6kIx\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue9\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"HtiINfYIcCra3HjF1ltr808rHxl\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue8\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"},{\"etag\":\"n1w5HKTaBEHCRU9GKtWNNNVO8p0\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue7\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"},{\"etag\":\"af3Qkll1jx5J3nqCJsWTK3tTEiD\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue6\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"},{\"etag\":\"rMMgcMU0DA9MtaZzUvbGIjIeu1u\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue5\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"},{\"etag\":\"yZLj3OTMwqotKl2IGAKPt4rQWO4\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue4\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"},{\"etag\":\"y8a4GJvSb3ODwrYRWQgPPIXfb40\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue3\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"},{\"etag\":\"eYdlsSkXPcdQtvzU9QwE2U9gYtc\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"},{\"etag\":\"fdExoEoFhvl1q4mkUYAReStvFUP\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue1\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"},{\"etag\":\"OZ5u7ubqtqpRmgc4p1VpjfLhB7J\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue0\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"}]}", + "x-ms-client-request-id" : "2094a183-8655-438d-9068-a2cf7472bd09", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key38572&label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key36840&label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "51daea41-ec45-48b0-b4c8-e8422e49aafd", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "812364eb-dae3-41c0-917e-c99326ec473d", "Content-Type" : "application/json" }, "Response" : { @@ -1595,26 +1595,26 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:00 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "71f4ecb2-0052-45fc-b68f-23b45429ecda", + "x-ms-correlation-request-id" : "88d90cfe-314c-4cb5-afe1-be26089e19b7", "Accept-Ranges" : "items", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzOTU=;sn=471395", - "x-ms-request-id" : "71f4ecb2-0052-45fc-b68f-23b45429ecda", - "Body" : "{\"items\":[{\"etag\":\"csU46sDV45AxCcuDaavXT5kLpsh\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue39\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:03+00:00\"},{\"etag\":\"mDDHm5tsM8plXmTOZJU4Z7RnWOZ\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue35\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:02+00:00\"},{\"etag\":\"yu33ThVpND8RzjjWqoiDmFKgjuR\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue45\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"},{\"etag\":\"UQMBAAZaZ3fq6TGctClfxvYp1RE\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue38\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"},{\"etag\":\"ycYJM9Ql56Po8hJqNM9yDNsAc5Q\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue32\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"},{\"etag\":\"XWpmy8pW0VIwnXAlVWUfEDRCMB2\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue28\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"},{\"etag\":\"76pm3Vx4rwc6HmgEudcabWPwDqR\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue21\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"},{\"etag\":\"R7RCWxHfZBvjUhF0eGTp9SZxYEo\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue16\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"},{\"etag\":\"Ja3PUlYIEH5qeWB6yEZx3gx27mC\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue13\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"},{\"etag\":\"9F48LJnyeEGawYaxGTLPHEbgHUk\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue1\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:00+00:00\"},{\"etag\":\"bBAIQYX1IwLtwHRDWDjIe9iE8RN\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue46\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"1LiBgnAUN9b8WclqHLTM4FhHUdf\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue44\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"Fdg5IrSU73gIZCONg7pUlSBMZtc\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue41\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"5hyEikFEk3MYL0kUCcLAheZjpRn\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue37\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"tQLTdgyLcsXhpqmqtRYxlZVXuod\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue30\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"5O2kzPvgoYqvdbmdYu66qBbBloi\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue26\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"TZpxR5Qbf7Mkkm3IqXxvKUX9whb\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue14\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"qfOw1b7WalUNnnVEaYRQiLZTVdl\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue9\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"oIaoxiI8PNcA9wJRA3MOrQMO2dU\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue10\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"69mfDvTbDWEtq1kRYUOSTli9QCO\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue6\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"nAjFY0gJh1FXagzCBw7tCx7aUkF\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue3\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"JyAz3rH6ODDFWry19i881RS7xvk\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:58+00:00\"},{\"etag\":\"piVc4DctBMPhbnNO836ddRm2Qbq\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue34\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"1d1NYLBlNwYBqXUURBFC7RAPm1B\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue40\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"PrUGRRlMZLzFOMnBaMijzj8JlmM\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue33\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"3VnZqsnra95zhTv2aLvsIKNc6Vz\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue31\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"fuan3u5MjaIGgOYfuCmhbLQPKXM\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue49\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"PVRZK6JExU3siN0kfJHqNxsX0Uf\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue42\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"mvAAU38TpwTggTobkkem4HIosCA\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue47\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"slRLsLw6kgPPzJKoacin7zK3Bte\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue43\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"ajvuKIVRH4xXiLVKXmY6RBLn4FH\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue22\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"PoMZpHHRXZBe1r3JWT9dSbuHZ3h\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue20\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"5vvsV7QY8zT2tXh82vxSiQ2MNrl\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue18\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"1HaTkrkd1TVbbaEfvOysALd4zVY\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue19\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"BuXwrB207AjbxCaXlfuBnc2uHum\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue15\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"zbg9EigCtQ2MneB39eo0YsmPUG9\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue12\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"q9oznz6UDXW36g0CyFKRPgbDCMF\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue11\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"gzAoEP1qUmFpL41Vuosa5ml2L98\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue7\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"OFCCyqmBxVtMgA9BSepBhYfFXyk\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue23\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"lNrhDaw7ZB9xfCkG6HG0J13P4sK\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue48\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"MYguUJne3DaI5sgyMhfl7jMvP1Z\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue36\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"amdoryenHqd78DeaCmcv3woXqXY\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue29\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"B4W0roDXIiKzFlvYobMtOgYmxFV\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue27\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"E8xfFfEZz0eenDxOEwXSwUOYb5a\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue25\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"PSGCq23rQfbjK7xwRjTbYbphKrs\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue24\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"1IxsKXVl1HAaHy2hZIndkPlg0ok\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue8\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"AVw2p64FKGBe0cTgiF8WyjixQvM\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue17\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"eFv2QplNjamKz2uBun0Owz6VhmA\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue5\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"D1NAKdHRpJdmvKnDBggf30vKzN7\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue4\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"r0oxbhCgjGeq9nxjyE2wSKdq1O7\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue0\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}]}", - "x-ms-client-request-id" : "51daea41-ec45-48b0-b4c8-e8422e49aafd", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MTQ=;sn=569414", + "x-ms-request-id" : "88d90cfe-314c-4cb5-afe1-be26089e19b7", + "Body" : "{\"items\":[{\"etag\":\"7kIXz2FZJdieSazX1ORsW286UQw\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue49\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"},{\"etag\":\"EK1rZjloSuKi5VCBGa5A80Smf1O\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue48\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"},{\"etag\":\"D5MoQ22WxTXIBZAAOYwi4e2gf1U\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue47\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"},{\"etag\":\"bjxbDYj6goHNUpaDyZr8VQmwnf2\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue46\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"},{\"etag\":\"MoHL0cOoVSgSdnkcKRzmE7lDQlQ\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue45\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"},{\"etag\":\"mhihpPq6zUwxyncV5ewQFOiNgGG\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue44\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"},{\"etag\":\"d6vn57NYR20EqOIOuG824YLnsqH\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue43\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"},{\"etag\":\"dPbv631dIXA2hljpCk5CcS5ToRM\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue42\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"jKfWWC96Zwr4T9VmoSAbK5fXxef\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue41\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"oGWGBpD94rLnKVVcBbR8ickkDHj\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue40\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"Kc3AFeCZWGq5ySB5mROQH6KjvzW\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue39\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"TnSCGsBtuw7U4Zs22xPXKvMmsS0\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue38\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"vkTamOlvdXPnSf6RuvyRaFgnw4V\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue37\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"K9gD860qdeCA6zyuQQmp4SrAzHy\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue36\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"LQs5vhh8iKq1BvNBC8I5fTiGLM4\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue35\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"LkJPzuoY6EikGZkeueAjpgZCADj\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue34\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"G4wIVMCWJleE1FZCDPSW0eBErTD\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue33\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"ZPD5zoTI0yMXXlFyZenD266nfSG\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue32\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"IhxXwZRtlvd3nl2V4AQijNDhdUI\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue31\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"kMRLjBZaAfCG1mxcLWdF5HkKAep\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue30\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"cdqobYj0oycdbexKdVGz7soHPPq\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue29\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"OcoNHZvKi8vAP6tjCb0Lf6ROv2o\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue28\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"nxsmgOifrXCzXIJiuCw8z5a7nct\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue27\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"QbUKtwZxZIxhn6986r8cJoLC99s\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue26\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:59+00:00\"},{\"etag\":\"QGgRRTRppH5tu8JeAXsq0NuGOfp\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue25\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"m6woYcShjThZ1RZONd1hifPWYwy\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue24\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"UatJkgP479t1hsrWixboP2GeqiY\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue23\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"OKmantEhHVPUh73ZTNOy2ECKrP6\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue22\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"OkxrPFFT8c5mdvfpDQvnpqLm2Wr\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue21\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"9Qo1BiyBMAIJl4NojMO9EAyiNkO\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue20\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"ib85jDD3pYI7I1KLm64pzxzvDYE\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue19\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"YMO3YH5UucyPADMc3wi2CBCH4v8\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue18\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"gp3CEfNFxL1K6OHypvl1NY3PVPY\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue17\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"4AyPx8yoIApe3KTVg9BVD39CISw\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue16\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"7XLpNTeOj9xS6TZDfJNRJUk3HcK\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue15\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"hdnqRP88Oz85g8SpAbI3yfU7Ooj\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue14\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"nxHkirp3A1c5Kp74YSUxvIGzUMC\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue13\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"e4RrfrQ3NoFzR8Dt2rlz7NKDEU1\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue12\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"bjJuvel3Id021mpIAdojudeIxH6\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue11\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"uOJFt8NqNdobIMIgG3FwDsL3j6n\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue10\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"SqSUJCEW0ParbM0HFKUDYiM6kIx\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue9\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:58+00:00\"},{\"etag\":\"HtiINfYIcCra3HjF1ltr808rHxl\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue8\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"},{\"etag\":\"n1w5HKTaBEHCRU9GKtWNNNVO8p0\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue7\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"},{\"etag\":\"af3Qkll1jx5J3nqCJsWTK3tTEiD\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue6\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"},{\"etag\":\"rMMgcMU0DA9MtaZzUvbGIjIeu1u\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue5\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"},{\"etag\":\"yZLj3OTMwqotKl2IGAKPt4rQWO4\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue4\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"},{\"etag\":\"y8a4GJvSb3ODwrYRWQgPPIXfb40\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue3\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"},{\"etag\":\"eYdlsSkXPcdQtvzU9QwE2U9gYtc\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"},{\"etag\":\"fdExoEoFhvl1q4mkUYAReStvFUP\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue1\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"},{\"etag\":\"OZ5u7ubqtqpRmgc4p1VpjfLhB7J\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue0\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"}]}", + "x-ms-client-request-id" : "812364eb-dae3-41c0-917e-c99326ec473d", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key38572%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key36840%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a4a90c1a-943e-4be0-a07e-6a149e847275", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "73c7a964-6195-472c-a87b-62ddd6df751e", "Content-Type" : "application/json" }, "Response" : { @@ -1625,25 +1625,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:00 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "eb7e3aca-56af-404a-b268-807726ab8f7b", + "x-ms-correlation-request-id" : "f150d5ec-8f78-4291-9124-6347ccf8bf3b", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzOTU=;sn=471395", - "x-ms-request-id" : "eb7e3aca-56af-404a-b268-807726ab8f7b", - "Body" : "{\"items\":[{\"etag\":\"csU46sDV45AxCcuDaavXT5kLpsh\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue39\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:03+00:00\"}]}", - "x-ms-client-request-id" : "a4a90c1a-943e-4be0-a07e-6a149e847275", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MTQ=;sn=569414", + "x-ms-request-id" : "f150d5ec-8f78-4291-9124-6347ccf8bf3b", + "Body" : "{\"items\":[{\"etag\":\"7kIXz2FZJdieSazX1ORsW286UQw\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue49\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"}]}", + "x-ms-client-request-id" : "73c7a964-6195-472c-a87b-62ddd6df751e", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38572?label=b3c2975c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key36840?label=e382ea7d&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "02701033-3a72-4003-972c-4f17b82a17fd", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f0733731-3afe-4b61-91b5-f288908c6dcf", "Content-Type" : "application/json" }, "Response" : { @@ -1652,23 +1652,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:00 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:00 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "61d12998-52c5-4e66-ae2c-5777565afe49", + "x-ms-correlation-request-id" : "00b08472-710e-42b8-8a83-35300e3706b8", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"csU46sDV45AxCcuDaavXT5kLpsh\"", + "ETag" : "\"7kIXz2FZJdieSazX1ORsW286UQw\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzOTY=;sn=471396", - "x-ms-request-id" : "61d12998-52c5-4e66-ae2c-5777565afe49", - "Body" : "{\"etag\":\"csU46sDV45AxCcuDaavXT5kLpsh\",\"key\":\"key38572\",\"label\":\"b3c2975c\",\"content_type\":null,\"value\":\"myValue39\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:03+00:00\"}", - "x-ms-client-request-id" : "02701033-3a72-4003-972c-4f17b82a17fd", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MTU=;sn=569415", + "x-ms-request-id" : "00b08472-710e-42b8-8a83-35300e3706b8", + "Body" : "{\"etag\":\"7kIXz2FZJdieSazX1ORsW286UQw\",\"key\":\"key36840\",\"label\":\"e382ea7d\",\"content_type\":null,\"value\":\"myValue49\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"}", + "x-ms-client-request-id" : "f0733731-3afe-4b61-91b5-f288908c6dcf", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key38572", "b3c2975c" ] + "variables" : [ "key36840", "e382ea7d" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithPaginationAndRepeatStream.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithPaginationAndRepeatStream.json index 54ee819ba1f5..d06fe812afaa 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithPaginationAndRepeatStream.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithPaginationAndRepeatStream.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "43c32d4f-1b4d-49df-af16-b1662c4632d8", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "272cbc94-e93c-4988-9e48-a4312367345a", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:53 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:52 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "15ce6281-3e56-4612-b43a-e92f456035e7", + "x-ms-correlation-request-id" : "fe91a39e-0985-47dc-b09c-0d61e1ec5587", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"SoJ1VsX5tQCdnhmRvx8F8TUkhfD\"", + "ETag" : "\"Uo3XsM7IufHKlj4v9GhPRJuDn8m\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyODI=;sn=471282", - "x-ms-request-id" : "15ce6281-3e56-4612-b43a-e92f456035e7", - "Body" : "{\"etag\":\"SoJ1VsX5tQCdnhmRvx8F8TUkhfD\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue0\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "43c32d4f-1b4d-49df-af16-b1662c4632d8", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMDI=;sn=569302", + "x-ms-request-id" : "fe91a39e-0985-47dc-b09c-0d61e1ec5587", + "Body" : "{\"etag\":\"Uo3XsM7IufHKlj4v9GhPRJuDn8m\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue0\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"}", + "x-ms-client-request-id" : "272cbc94-e93c-4988-9e48-a4312367345a", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "91692f6f-e4dc-45e8-9800-4ef2ce1cdc67", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a0b921a7-aac7-40f2-85c7-4fd469fa5c19", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:53 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:52 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "de50aa85-362a-44e0-a752-e6c23243e493", + "x-ms-correlation-request-id" : "5035415c-3957-4394-996e-43c7078dbaee", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"SqdJ23s4pkJ8BDxpg718Nw9KmyX\"", + "ETag" : "\"ZboXOzlePy7Rd5z56aSYxWEZlKV\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyODM=;sn=471283", - "x-ms-request-id" : "de50aa85-362a-44e0-a752-e6c23243e493", - "Body" : "{\"etag\":\"SqdJ23s4pkJ8BDxpg718Nw9KmyX\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "91692f6f-e4dc-45e8-9800-4ef2ce1cdc67", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMDM=;sn=569303", + "x-ms-request-id" : "5035415c-3957-4394-996e-43c7078dbaee", + "Body" : "{\"etag\":\"ZboXOzlePy7Rd5z56aSYxWEZlKV\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue1\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"}", + "x-ms-client-request-id" : "a0b921a7-aac7-40f2-85c7-4fd469fa5c19", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c0b29909-2553-41f8-8c32-3da8bd1e8961", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6b3a40c6-6984-4f7f-ab98-5e8c741ef6ed", "Content-Type" : "application/json" }, "Response" : { @@ -75,29 +75,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:53 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:52 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "3bc1630d-74b0-47c5-8282-683c8818e718", + "x-ms-correlation-request-id" : "c3335050-375d-4059-851e-3da2e4044e80", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"LjYDDIrFPC3EfuIQxhVjrlVNR66\"", + "ETag" : "\"MOUlmTfb08WaDi5aKCO5HVQ8gHv\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyODQ=;sn=471284", - "x-ms-request-id" : "3bc1630d-74b0-47c5-8282-683c8818e718", - "Body" : "{\"etag\":\"LjYDDIrFPC3EfuIQxhVjrlVNR66\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue5\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "c0b29909-2553-41f8-8c32-3da8bd1e8961", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMDQ=;sn=569304", + "x-ms-request-id" : "c3335050-375d-4059-851e-3da2e4044e80", + "Body" : "{\"etag\":\"MOUlmTfb08WaDi5aKCO5HVQ8gHv\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"}", + "x-ms-client-request-id" : "6b3a40c6-6984-4f7f-ab98-5e8c741ef6ed", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cf60e9e7-1738-4260-93f5-c41ad8f14afb", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "197eb48b-4434-4ec9-ba01-f15b48092b15", "Content-Type" : "application/json" }, "Response" : { @@ -106,29 +106,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:53 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:52 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "45dec01a-d614-4fd5-bf12-5d5d4018361e", + "x-ms-correlation-request-id" : "aa4f8a68-e408-4857-9e2d-a5f708d242c7", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"hFadOelB1R6YDxkUU3VR95WJhnB\"", + "ETag" : "\"Li3hKI4izX1gOVIOIqbPqHvL8E2\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyODU=;sn=471285", - "x-ms-request-id" : "45dec01a-d614-4fd5-bf12-5d5d4018361e", - "Body" : "{\"etag\":\"hFadOelB1R6YDxkUU3VR95WJhnB\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue7\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "cf60e9e7-1738-4260-93f5-c41ad8f14afb", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMDU=;sn=569305", + "x-ms-request-id" : "aa4f8a68-e408-4857-9e2d-a5f708d242c7", + "Body" : "{\"etag\":\"Li3hKI4izX1gOVIOIqbPqHvL8E2\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue3\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"}", + "x-ms-client-request-id" : "197eb48b-4434-4ec9-ba01-f15b48092b15", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3bb9095f-557c-4b37-94d9-72fdd59f0923", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ff535cdf-ef77-4fea-b8cc-6a5e1491e13c", "Content-Type" : "application/json" }, "Response" : { @@ -137,29 +137,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:53 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:52 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "d22b3cdf-2fe7-4a72-8b9e-427acc224782", + "x-ms-correlation-request-id" : "638ffcc7-2308-4bbf-872f-9046de163c2a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"FXZqCLWJzuOUi3ZSAjJwI9KHOVo\"", + "ETag" : "\"7VPgoLNOZ5DFeHpU6THhT274pIE\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyODY=;sn=471286", - "x-ms-request-id" : "d22b3cdf-2fe7-4a72-8b9e-427acc224782", - "Body" : "{\"etag\":\"FXZqCLWJzuOUi3ZSAjJwI9KHOVo\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue17\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "3bb9095f-557c-4b37-94d9-72fdd59f0923", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMDY=;sn=569306", + "x-ms-request-id" : "638ffcc7-2308-4bbf-872f-9046de163c2a", + "Body" : "{\"etag\":\"7VPgoLNOZ5DFeHpU6THhT274pIE\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue4\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"}", + "x-ms-client-request-id" : "ff535cdf-ef77-4fea-b8cc-6a5e1491e13c", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5eb56f14-0e62-46fb-b98d-cd665ab3a14f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d0ea08c3-92da-4068-8e6c-e2be46994a9b", "Content-Type" : "application/json" }, "Response" : { @@ -168,29 +168,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:53 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:52 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "3c627940-64b7-4a46-aab1-d9147578caea", + "x-ms-correlation-request-id" : "8f4ac6ed-64ce-4290-bf2b-ce25424f3b11", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"GBBV8ZbfN19TYkHRXbhicznIMaX\"", + "ETag" : "\"GYhKXBgEH3dEnpfGp3Tbx4zlI3h\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyODc=;sn=471287", - "x-ms-request-id" : "3c627940-64b7-4a46-aab1-d9147578caea", - "Body" : "{\"etag\":\"GBBV8ZbfN19TYkHRXbhicznIMaX\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue19\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "5eb56f14-0e62-46fb-b98d-cd665ab3a14f", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMDc=;sn=569307", + "x-ms-request-id" : "8f4ac6ed-64ce-4290-bf2b-ce25424f3b11", + "Body" : "{\"etag\":\"GYhKXBgEH3dEnpfGp3Tbx4zlI3h\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue5\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"}", + "x-ms-client-request-id" : "d0ea08c3-92da-4068-8e6c-e2be46994a9b", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4ccfea48-d117-42f2-8975-f6e792d8bf4b", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9c469788-972a-4ac5-8ade-d4a49340b8a6", "Content-Type" : "application/json" }, "Response" : { @@ -199,29 +199,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:53 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:53 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "4c0e52a1-3c95-4a26-85f5-4034bb9e362a", + "x-ms-correlation-request-id" : "0028c4f8-7863-4377-b430-3b810b195b5a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"MjGYdzDhovtCxXUl7GOHPpzWjRT\"", + "ETag" : "\"WtkGGP4qGEtVnGV2HM1933lFtrs\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyODg=;sn=471288", - "x-ms-request-id" : "4c0e52a1-3c95-4a26-85f5-4034bb9e362a", - "Body" : "{\"etag\":\"MjGYdzDhovtCxXUl7GOHPpzWjRT\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue20\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "4ccfea48-d117-42f2-8975-f6e792d8bf4b", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMDg=;sn=569308", + "x-ms-request-id" : "0028c4f8-7863-4377-b430-3b810b195b5a", + "Body" : "{\"etag\":\"WtkGGP4qGEtVnGV2HM1933lFtrs\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue6\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"}", + "x-ms-client-request-id" : "9c469788-972a-4ac5-8ade-d4a49340b8a6", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d4ee2cf6-0218-46ab-9891-4564182ab607", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "505aeaab-2542-4480-af56-ffdd4719e674", "Content-Type" : "application/json" }, "Response" : { @@ -230,29 +230,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:53 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:53 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "fcbfd4ff-6a46-4d75-9f04-439e8e67aeaa", + "x-ms-correlation-request-id" : "e49b69ab-540e-4763-a214-c47a847dd8c0", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"TiqUMAm6Oy92xzKwSq8uCYWXDlt\"", + "ETag" : "\"TcamPPLi9seUjDppvWce8MPfiUF\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyODk=;sn=471289", - "x-ms-request-id" : "fcbfd4ff-6a46-4d75-9f04-439e8e67aeaa", - "Body" : "{\"etag\":\"TiqUMAm6Oy92xzKwSq8uCYWXDlt\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue22\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "d4ee2cf6-0218-46ab-9891-4564182ab607", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMDk=;sn=569309", + "x-ms-request-id" : "e49b69ab-540e-4763-a214-c47a847dd8c0", + "Body" : "{\"etag\":\"TcamPPLi9seUjDppvWce8MPfiUF\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue7\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"}", + "x-ms-client-request-id" : "505aeaab-2542-4480-af56-ffdd4719e674", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f87c0581-8743-45e1-bb1d-ba84345b2027", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "cf1c1131-9b94-40ef-886f-31612cbdae4f", "Content-Type" : "application/json" }, "Response" : { @@ -261,29 +261,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:53 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:53 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "2d528c09-9e9a-4e93-838c-8306e778211c", + "x-ms-correlation-request-id" : "e5a1823f-d6cd-4cb6-a872-cfa92e9f3cf7", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"rT4rUbN8M6EI9zGBqdBNchVxxIR\"", + "ETag" : "\"puBezQDUtz1XTpZddPYGGO0DEVt\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyOTA=;sn=471290", - "x-ms-request-id" : "2d528c09-9e9a-4e93-838c-8306e778211c", - "Body" : "{\"etag\":\"rT4rUbN8M6EI9zGBqdBNchVxxIR\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue24\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "f87c0581-8743-45e1-bb1d-ba84345b2027", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMTA=;sn=569310", + "x-ms-request-id" : "e5a1823f-d6cd-4cb6-a872-cfa92e9f3cf7", + "Body" : "{\"etag\":\"puBezQDUtz1XTpZddPYGGO0DEVt\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue8\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"}", + "x-ms-client-request-id" : "cf1c1131-9b94-40ef-886f-31612cbdae4f", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b67a706e-aa75-4a57-9bfd-ff593ecc30a8", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e305d704-e6ae-41b3-9568-0d019b6e79f2", "Content-Type" : "application/json" }, "Response" : { @@ -292,29 +292,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:53 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:53 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "c4bfee70-f972-4ef1-8d70-f208641a1397", + "x-ms-correlation-request-id" : "8a551619-c5d8-4a34-a218-0b3974d4a970", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"jzBbi98X0GyvxyaFVidtRh9BNK4\"", + "ETag" : "\"eHI2EMsHL3nRSO2op8AjMUrPb97\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyOTE=;sn=471291", - "x-ms-request-id" : "c4bfee70-f972-4ef1-8d70-f208641a1397", - "Body" : "{\"etag\":\"jzBbi98X0GyvxyaFVidtRh9BNK4\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue23\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "b67a706e-aa75-4a57-9bfd-ff593ecc30a8", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMTE=;sn=569311", + "x-ms-request-id" : "8a551619-c5d8-4a34-a218-0b3974d4a970", + "Body" : "{\"etag\":\"eHI2EMsHL3nRSO2op8AjMUrPb97\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue9\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"}", + "x-ms-client-request-id" : "e305d704-e6ae-41b3-9568-0d019b6e79f2", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "7b69c2d9-ea0c-4367-9315-15600cbda78d", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8329c080-0531-4581-9aa9-348fda12c3b4", "Content-Type" : "application/json" }, "Response" : { @@ -323,29 +323,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:53 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:53 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "205ce5e4-bf2e-4409-a513-b4f3982cb5c3", + "x-ms-correlation-request-id" : "be85653c-b408-4284-9f03-f71cbb47219a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"2zj80TsklZfXalRVEpLuCZNVFwc\"", + "ETag" : "\"JOPc2gL1bhs0Mk1FmR8hVnrVIOe\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyOTI=;sn=471292", - "x-ms-request-id" : "205ce5e4-bf2e-4409-a513-b4f3982cb5c3", - "Body" : "{\"etag\":\"2zj80TsklZfXalRVEpLuCZNVFwc\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue11\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "7b69c2d9-ea0c-4367-9315-15600cbda78d", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMTI=;sn=569312", + "x-ms-request-id" : "be85653c-b408-4284-9f03-f71cbb47219a", + "Body" : "{\"etag\":\"JOPc2gL1bhs0Mk1FmR8hVnrVIOe\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue10\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"}", + "x-ms-client-request-id" : "8329c080-0531-4581-9aa9-348fda12c3b4", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "a38df036-d939-4017-a48b-3422943e2058", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "45fc8043-f4e7-4afe-a116-da72f14cc3c4", "Content-Type" : "application/json" }, "Response" : { @@ -354,29 +354,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:53 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:53 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "5520ed33-0d9b-4f2d-b9a6-6e567988b253", + "x-ms-correlation-request-id" : "6c062dd4-9695-4891-9238-f9206aa70a8d", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"K0q34Ktc2I0VEtgNGWgqwJuXsJG\"", + "ETag" : "\"KQj70o1JSmkHsk6ebDpqL3WdtYO\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyOTM=;sn=471293", - "x-ms-request-id" : "5520ed33-0d9b-4f2d-b9a6-6e567988b253", - "Body" : "{\"etag\":\"K0q34Ktc2I0VEtgNGWgqwJuXsJG\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue36\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "a38df036-d939-4017-a48b-3422943e2058", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMTM=;sn=569313", + "x-ms-request-id" : "6c062dd4-9695-4891-9238-f9206aa70a8d", + "Body" : "{\"etag\":\"KQj70o1JSmkHsk6ebDpqL3WdtYO\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue11\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"}", + "x-ms-client-request-id" : "45fc8043-f4e7-4afe-a116-da72f14cc3c4", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b4f51d6d-3b4b-4350-8f29-a7ca34d24c1b", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a1418eb6-2b4b-4cba-9b0a-77844f9c6682", "Content-Type" : "application/json" }, "Response" : { @@ -385,29 +385,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:53 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:53 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "e4b24239-472e-4f7c-ae10-3ce47fff5ca7", + "x-ms-correlation-request-id" : "9d594791-c822-4b4e-b2c0-1f86f8dccf18", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"YdAzGkIe17qQsjcPzuNWJINqyoR\"", + "ETag" : "\"NdUMLaRsGUAYXcmGlISB9mMkZJZ\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyOTQ=;sn=471294", - "x-ms-request-id" : "e4b24239-472e-4f7c-ae10-3ce47fff5ca7", - "Body" : "{\"etag\":\"YdAzGkIe17qQsjcPzuNWJINqyoR\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue45\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "b4f51d6d-3b4b-4350-8f29-a7ca34d24c1b", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMTQ=;sn=569314", + "x-ms-request-id" : "9d594791-c822-4b4e-b2c0-1f86f8dccf18", + "Body" : "{\"etag\":\"NdUMLaRsGUAYXcmGlISB9mMkZJZ\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue12\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"}", + "x-ms-client-request-id" : "a1418eb6-2b4b-4cba-9b0a-77844f9c6682", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1c4d5e69-f16e-449a-8d0a-2540c55b3134", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3c51dd14-259c-4017-a82f-4fcefd2ce946", "Content-Type" : "application/json" }, "Response" : { @@ -416,29 +416,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:53 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:53 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "8caa4bc6-6d5c-46d9-a454-1be30250ee5e", + "x-ms-correlation-request-id" : "dea71472-b197-46e2-afed-cf5c78242ce3", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"01WXLZp3X4LpkVyOXa06YJVffFw\"", + "ETag" : "\"rgBciIJyGGTfZonAc3hgciGHHvO\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyOTU=;sn=471295", - "x-ms-request-id" : "8caa4bc6-6d5c-46d9-a454-1be30250ee5e", - "Body" : "{\"etag\":\"01WXLZp3X4LpkVyOXa06YJVffFw\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue43\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "1c4d5e69-f16e-449a-8d0a-2540c55b3134", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMTU=;sn=569315", + "x-ms-request-id" : "dea71472-b197-46e2-afed-cf5c78242ce3", + "Body" : "{\"etag\":\"rgBciIJyGGTfZonAc3hgciGHHvO\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue13\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"}", + "x-ms-client-request-id" : "3c51dd14-259c-4017-a82f-4fcefd2ce946", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "41470f1a-f084-4ffb-a1c0-404a6aa0e153", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "27ae4f79-ae21-49a0-8eb5-d96d6d5481a3", "Content-Type" : "application/json" }, "Response" : { @@ -447,29 +447,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:53 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:53 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "cfc21e10-f6ef-4f32-89d1-eee974933c6f", + "x-ms-correlation-request-id" : "9c2a8a67-1012-40bd-be4b-2a97c82446ec", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"I5Nl1tAqlllgpMscBWxpo4pphUx\"", + "ETag" : "\"Lbea0Rs7mDoDf6cMMLiv4jf3s7B\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyOTY=;sn=471296", - "x-ms-request-id" : "cfc21e10-f6ef-4f32-89d1-eee974933c6f", - "Body" : "{\"etag\":\"I5Nl1tAqlllgpMscBWxpo4pphUx\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue46\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "41470f1a-f084-4ffb-a1c0-404a6aa0e153", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMTY=;sn=569316", + "x-ms-request-id" : "9c2a8a67-1012-40bd-be4b-2a97c82446ec", + "Body" : "{\"etag\":\"Lbea0Rs7mDoDf6cMMLiv4jf3s7B\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue14\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"}", + "x-ms-client-request-id" : "27ae4f79-ae21-49a0-8eb5-d96d6d5481a3", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "012f917c-40c4-4334-a7a2-32ff06638186", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b952b81e-95a6-4a07-a548-af58c6e2a185", "Content-Type" : "application/json" }, "Response" : { @@ -478,29 +478,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:54 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:53 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "f775376c-c8d1-4ff3-9439-faa311d33d4b", + "x-ms-correlation-request-id" : "aaad9d16-dc9a-4163-8006-670356d0c0bf", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"pvTrqRz9D3W2P7SI0q60fXT264j\"", + "ETag" : "\"20RvyLvK8zKgt5AMXRYDUfCJme6\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyOTc=;sn=471297", - "x-ms-request-id" : "f775376c-c8d1-4ff3-9439-faa311d33d4b", - "Body" : "{\"etag\":\"pvTrqRz9D3W2P7SI0q60fXT264j\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue48\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "012f917c-40c4-4334-a7a2-32ff06638186", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMTc=;sn=569317", + "x-ms-request-id" : "aaad9d16-dc9a-4163-8006-670356d0c0bf", + "Body" : "{\"etag\":\"20RvyLvK8zKgt5AMXRYDUfCJme6\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue15\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"}", + "x-ms-client-request-id" : "b952b81e-95a6-4a07-a548-af58c6e2a185", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d6d39815-7123-4be7-b5df-6068e99f16eb", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "bc238257-728a-4c2a-8adb-31328c11697b", "Content-Type" : "application/json" }, "Response" : { @@ -509,29 +509,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:54 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:53 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ed1b65fc-55e6-4124-b0dc-d5a00ab00f67", + "x-ms-correlation-request-id" : "ee290d9c-c210-4a55-824e-b32140bed13c", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"dzaA7LsmPGhJtHtxRFJCkc6xz0m\"", + "ETag" : "\"IjAo4gJKc2KiIEk94QA2MautzTn\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyOTg=;sn=471298", - "x-ms-request-id" : "ed1b65fc-55e6-4124-b0dc-d5a00ab00f67", - "Body" : "{\"etag\":\"dzaA7LsmPGhJtHtxRFJCkc6xz0m\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue34\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "d6d39815-7123-4be7-b5df-6068e99f16eb", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMTg=;sn=569318", + "x-ms-request-id" : "ee290d9c-c210-4a55-824e-b32140bed13c", + "Body" : "{\"etag\":\"IjAo4gJKc2KiIEk94QA2MautzTn\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue16\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"}", + "x-ms-client-request-id" : "bc238257-728a-4c2a-8adb-31328c11697b", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e44888c9-8e0c-45cb-85a4-b7109bffc95f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9aac0669-9135-4f2b-96c8-84554a911b2f", "Content-Type" : "application/json" }, "Response" : { @@ -540,29 +540,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:54 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:53 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "7ebae803-9a83-4fdc-b0e3-512d74b010df", + "x-ms-correlation-request-id" : "10d7e57a-cc99-4819-8df7-8470986acc30", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"7GhvRPSOw0y2ZM8s7bB3bFxguQU\"", + "ETag" : "\"bgAnTIH6sazstMP8WesQHehnPDT\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyOTk=;sn=471299", - "x-ms-request-id" : "7ebae803-9a83-4fdc-b0e3-512d74b010df", - "Body" : "{\"etag\":\"7GhvRPSOw0y2ZM8s7bB3bFxguQU\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue37\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "e44888c9-8e0c-45cb-85a4-b7109bffc95f", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMTk=;sn=569319", + "x-ms-request-id" : "10d7e57a-cc99-4819-8df7-8470986acc30", + "Body" : "{\"etag\":\"bgAnTIH6sazstMP8WesQHehnPDT\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue17\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"}", + "x-ms-client-request-id" : "9aac0669-9135-4f2b-96c8-84554a911b2f", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6f843ef9-c293-48c3-8abb-397a205b291c", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8d821c8f-fe0f-44e2-b4a4-1aefdee0d7c7", "Content-Type" : "application/json" }, "Response" : { @@ -571,29 +571,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:54 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:53 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "33575a76-7a50-4ea5-b06b-b4d02901612d", + "x-ms-correlation-request-id" : "ca951c77-8a0d-468f-8c69-9ecaaac583e2", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"7JeiPlkz2uoWgrJPpeAwhvKYDro\"", + "ETag" : "\"b3KyW9ofiSH4oddJD9p0QqDD2eC\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMDA=;sn=471300", - "x-ms-request-id" : "33575a76-7a50-4ea5-b06b-b4d02901612d", - "Body" : "{\"etag\":\"7JeiPlkz2uoWgrJPpeAwhvKYDro\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue40\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "6f843ef9-c293-48c3-8abb-397a205b291c", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMjA=;sn=569320", + "x-ms-request-id" : "ca951c77-8a0d-468f-8c69-9ecaaac583e2", + "Body" : "{\"etag\":\"b3KyW9ofiSH4oddJD9p0QqDD2eC\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue18\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"}", + "x-ms-client-request-id" : "8d821c8f-fe0f-44e2-b4a4-1aefdee0d7c7", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "11f1d027-8c1b-424a-ab74-f1341b764b26", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "396a458c-0dcf-4fbf-88dc-902326cc379d", "Content-Type" : "application/json" }, "Response" : { @@ -602,29 +602,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:54 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:53 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "b617fd47-b0e7-4da3-9463-a1a620c772ef", + "x-ms-correlation-request-id" : "e3a3879e-7395-4bad-813e-1c99df103631", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"qU3OTYXUYFi6WBrBiS6JBUR2KAy\"", + "ETag" : "\"CJytcFdG7DqjxxTR7XWImhouCCf\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMDE=;sn=471301", - "x-ms-request-id" : "b617fd47-b0e7-4da3-9463-a1a620c772ef", - "Body" : "{\"etag\":\"qU3OTYXUYFi6WBrBiS6JBUR2KAy\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue31\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "11f1d027-8c1b-424a-ab74-f1341b764b26", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMjE=;sn=569321", + "x-ms-request-id" : "e3a3879e-7395-4bad-813e-1c99df103631", + "Body" : "{\"etag\":\"CJytcFdG7DqjxxTR7XWImhouCCf\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue19\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"}", + "x-ms-client-request-id" : "396a458c-0dcf-4fbf-88dc-902326cc379d", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "19eb62de-e0af-4f58-818c-36c0844651e2", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "765dd942-09af-4454-89ab-533f979b455d", "Content-Type" : "application/json" }, "Response" : { @@ -633,29 +633,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:54 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:53 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ff4278a6-bb26-4f72-a75d-d3c175f36e69", + "x-ms-correlation-request-id" : "00b9afba-c9dd-450f-b8fd-173ec8c0c306", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"RBjcET6uXKr65prU1KjCBg554FQ\"", + "ETag" : "\"QVokuPr7esSYhuLC0qe41zpUvY5\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMDI=;sn=471302", - "x-ms-request-id" : "ff4278a6-bb26-4f72-a75d-d3c175f36e69", - "Body" : "{\"etag\":\"RBjcET6uXKr65prU1KjCBg554FQ\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue13\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"}", - "x-ms-client-request-id" : "19eb62de-e0af-4f58-818c-36c0844651e2", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMjI=;sn=569322", + "x-ms-request-id" : "00b9afba-c9dd-450f-b8fd-173ec8c0c306", + "Body" : "{\"etag\":\"QVokuPr7esSYhuLC0qe41zpUvY5\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue20\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"}", + "x-ms-client-request-id" : "765dd942-09af-4454-89ab-533f979b455d", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "364f30df-d117-47ff-8e9d-50631e3f0775", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "48c71734-a7b5-4bf0-9023-8a1420aaed38", "Content-Type" : "application/json" }, "Response" : { @@ -664,29 +664,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:54 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:53 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "0b1eab6c-d6e4-4123-b318-54b9c4353167", + "x-ms-correlation-request-id" : "a89c2617-1bd7-472b-a1cf-58e8bec04918", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"tkYHVPMizi6zjZOqNd6nUrjeibk\"", + "ETag" : "\"A1UUPnzOcc1OFbOeVu8tmlf4bT2\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMDM=;sn=471303", - "x-ms-request-id" : "0b1eab6c-d6e4-4123-b318-54b9c4353167", - "Body" : "{\"etag\":\"tkYHVPMizi6zjZOqNd6nUrjeibk\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue30\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"}", - "x-ms-client-request-id" : "364f30df-d117-47ff-8e9d-50631e3f0775", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMjM=;sn=569323", + "x-ms-request-id" : "a89c2617-1bd7-472b-a1cf-58e8bec04918", + "Body" : "{\"etag\":\"A1UUPnzOcc1OFbOeVu8tmlf4bT2\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue21\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"}", + "x-ms-client-request-id" : "48c71734-a7b5-4bf0-9023-8a1420aaed38", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "009f8d71-82b0-4d69-a635-e15c000262bd", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1882200d-fec8-4f0f-90ba-cc8d7c1caf0a", "Content-Type" : "application/json" }, "Response" : { @@ -695,29 +695,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:54 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:53 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "b761e7dd-46f5-4577-9238-950a3387dcdc", + "x-ms-correlation-request-id" : "6a07e943-2ac7-41d7-8df3-e889b8e0df87", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"gdmT1tNJxwImLoBdat8qwma0RNQ\"", + "ETag" : "\"6CvGHVD4WbiBaWCapNuv81O5egN\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMDQ=;sn=471304", - "x-ms-request-id" : "b761e7dd-46f5-4577-9238-950a3387dcdc", - "Body" : "{\"etag\":\"gdmT1tNJxwImLoBdat8qwma0RNQ\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue32\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"}", - "x-ms-client-request-id" : "009f8d71-82b0-4d69-a635-e15c000262bd", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMjQ=;sn=569324", + "x-ms-request-id" : "6a07e943-2ac7-41d7-8df3-e889b8e0df87", + "Body" : "{\"etag\":\"6CvGHVD4WbiBaWCapNuv81O5egN\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue22\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"}", + "x-ms-client-request-id" : "1882200d-fec8-4f0f-90ba-cc8d7c1caf0a", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "420865bd-024b-4971-b480-dec0f4db01da", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8394f873-5d70-4d73-b1d4-a46af0e4e105", "Content-Type" : "application/json" }, "Response" : { @@ -726,29 +726,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:54 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:54 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "c0aa9979-5dbb-4d26-a2a8-8f4902a352b7", + "x-ms-correlation-request-id" : "e68ac982-cd00-4b66-bd1e-3a1d9363af9b", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"kogS6whcyoeSsz2pFXOsFBM5JEt\"", + "ETag" : "\"EJgUmdtS7jZCivJL5Ka5U4FBNBI\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMDU=;sn=471305", - "x-ms-request-id" : "c0aa9979-5dbb-4d26-a2a8-8f4902a352b7", - "Body" : "{\"etag\":\"kogS6whcyoeSsz2pFXOsFBM5JEt\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue15\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"}", - "x-ms-client-request-id" : "420865bd-024b-4971-b480-dec0f4db01da", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMjU=;sn=569325", + "x-ms-request-id" : "e68ac982-cd00-4b66-bd1e-3a1d9363af9b", + "Body" : "{\"etag\":\"EJgUmdtS7jZCivJL5Ka5U4FBNBI\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue23\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"}", + "x-ms-client-request-id" : "8394f873-5d70-4d73-b1d4-a46af0e4e105", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f6af49f4-a4c8-49ac-b30b-2ed5e1c28926", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "05620718-7f59-40e7-be3f-9e133171fce8", "Content-Type" : "application/json" }, "Response" : { @@ -757,29 +757,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:54 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:54 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "4a4da33e-35b2-4392-a4f4-655ee1b28351", + "x-ms-correlation-request-id" : "acfef4ea-2c46-4ef3-b205-babf94d37579", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"uF9GpMX75xXKmYJSFbxpKRTK8Wl\"", + "ETag" : "\"qahhOwkOpGFA8PlxG4RKR6nrDa1\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMDY=;sn=471306", - "x-ms-request-id" : "4a4da33e-35b2-4392-a4f4-655ee1b28351", - "Body" : "{\"etag\":\"uF9GpMX75xXKmYJSFbxpKRTK8Wl\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue1\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"}", - "x-ms-client-request-id" : "f6af49f4-a4c8-49ac-b30b-2ed5e1c28926", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMjY=;sn=569326", + "x-ms-request-id" : "acfef4ea-2c46-4ef3-b205-babf94d37579", + "Body" : "{\"etag\":\"qahhOwkOpGFA8PlxG4RKR6nrDa1\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue24\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"}", + "x-ms-client-request-id" : "05620718-7f59-40e7-be3f-9e133171fce8", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4d396cfe-115b-48f0-a44f-d2d0c63ad35a", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "26f34fbe-f628-4664-aa7b-6c494cde2b3c", "Content-Type" : "application/json" }, "Response" : { @@ -788,29 +788,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:54 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:54 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ccb696a4-e704-4721-b01b-ba039e6b0b37", + "x-ms-correlation-request-id" : "afedcf74-4741-4d09-943d-7396025130f9", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"apcpdWOZraF3KwUQFp5BP265J8F\"", + "ETag" : "\"kDe42ducXVFyJHEmDU7LR5esYSj\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMDc=;sn=471307", - "x-ms-request-id" : "ccb696a4-e704-4721-b01b-ba039e6b0b37", - "Body" : "{\"etag\":\"apcpdWOZraF3KwUQFp5BP265J8F\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue3\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"}", - "x-ms-client-request-id" : "4d396cfe-115b-48f0-a44f-d2d0c63ad35a", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMjc=;sn=569327", + "x-ms-request-id" : "afedcf74-4741-4d09-943d-7396025130f9", + "Body" : "{\"etag\":\"kDe42ducXVFyJHEmDU7LR5esYSj\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue25\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"}", + "x-ms-client-request-id" : "26f34fbe-f628-4664-aa7b-6c494cde2b3c", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f32eb4cf-e719-4f46-98a8-9cd045f5865c", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7117687b-cf40-4de4-9aaf-cdb79b73bc26", "Content-Type" : "application/json" }, "Response" : { @@ -819,29 +819,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:54 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:54 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "d1b5960d-bade-4e48-8711-bb126c5208e9", + "x-ms-correlation-request-id" : "8cbb366f-dd16-4f2f-a941-91921a30b635", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"0qiALhRaziz72aulP68asxAamD5\"", + "ETag" : "\"8hDgTnA8kNxLGXQOASwdLRwUp4m\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMDg=;sn=471308", - "x-ms-request-id" : "d1b5960d-bade-4e48-8711-bb126c5208e9", - "Body" : "{\"etag\":\"0qiALhRaziz72aulP68asxAamD5\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue9\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"}", - "x-ms-client-request-id" : "f32eb4cf-e719-4f46-98a8-9cd045f5865c", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMjg=;sn=569328", + "x-ms-request-id" : "8cbb366f-dd16-4f2f-a941-91921a30b635", + "Body" : "{\"etag\":\"8hDgTnA8kNxLGXQOASwdLRwUp4m\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue26\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"}", + "x-ms-client-request-id" : "7117687b-cf40-4de4-9aaf-cdb79b73bc26", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d40eb6e8-426b-409a-80d4-d3b3e809e71b", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2a813dbc-eb68-4cc8-b047-37e543a4f02d", "Content-Type" : "application/json" }, "Response" : { @@ -850,29 +850,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:54 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:54 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "2f16d66c-c6ca-4ebd-b77c-02166b0c2f67", + "x-ms-correlation-request-id" : "746729c1-cec0-4e04-9004-31ea00369efc", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"iTpUmM17xqkS8stH3WdRSGiMg7x\"", + "ETag" : "\"B8X56VYoe8reFPuPgLbqxkBKiIx\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMDk=;sn=471309", - "x-ms-request-id" : "2f16d66c-c6ca-4ebd-b77c-02166b0c2f67", - "Body" : "{\"etag\":\"iTpUmM17xqkS8stH3WdRSGiMg7x\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue16\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"}", - "x-ms-client-request-id" : "d40eb6e8-426b-409a-80d4-d3b3e809e71b", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMjk=;sn=569329", + "x-ms-request-id" : "746729c1-cec0-4e04-9004-31ea00369efc", + "Body" : "{\"etag\":\"B8X56VYoe8reFPuPgLbqxkBKiIx\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue27\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"}", + "x-ms-client-request-id" : "2a813dbc-eb68-4cc8-b047-37e543a4f02d", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d0711412-26f3-4719-908e-400f8b4e26a4", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "03eafda4-557a-4ce7-9cec-c16a1e89a5e6", "Content-Type" : "application/json" }, "Response" : { @@ -881,29 +881,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:54 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:54 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "c3ef24f0-cd37-4920-aa25-7c7162011709", + "x-ms-correlation-request-id" : "886bfa47-1829-4dce-9816-a983524ebe18", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"wG3ckV8XWPq14VsRLCNhkwVvHOI\"", + "ETag" : "\"72duMkkwW8AvRdOr9zyVd4zt4SC\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMTA=;sn=471310", - "x-ms-request-id" : "c3ef24f0-cd37-4920-aa25-7c7162011709", - "Body" : "{\"etag\":\"wG3ckV8XWPq14VsRLCNhkwVvHOI\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue8\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"}", - "x-ms-client-request-id" : "d0711412-26f3-4719-908e-400f8b4e26a4", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMzA=;sn=569330", + "x-ms-request-id" : "886bfa47-1829-4dce-9816-a983524ebe18", + "Body" : "{\"etag\":\"72duMkkwW8AvRdOr9zyVd4zt4SC\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue28\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"}", + "x-ms-client-request-id" : "03eafda4-557a-4ce7-9cec-c16a1e89a5e6", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "febc685c-cbe8-4bae-8162-3c0b7d4a52a0", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "356b0162-cbe9-4fa8-a2da-b9f03b323c69", "Content-Type" : "application/json" }, "Response" : { @@ -912,29 +912,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:54 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:54 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "7d5e9017-3a95-4b09-bdfb-0fde68aafd04", + "x-ms-correlation-request-id" : "a1ed4507-c68b-4405-ab7f-8a6d2a1ec6c5", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"8kXuKFXO23Nh4UDns5CUBC5eqhi\"", + "ETag" : "\"Y4uDa74HwlHOkX96cmdW7KQENO8\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMTE=;sn=471311", - "x-ms-request-id" : "7d5e9017-3a95-4b09-bdfb-0fde68aafd04", - "Body" : "{\"etag\":\"8kXuKFXO23Nh4UDns5CUBC5eqhi\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue18\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"}", - "x-ms-client-request-id" : "febc685c-cbe8-4bae-8162-3c0b7d4a52a0", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMzE=;sn=569331", + "x-ms-request-id" : "a1ed4507-c68b-4405-ab7f-8a6d2a1ec6c5", + "Body" : "{\"etag\":\"Y4uDa74HwlHOkX96cmdW7KQENO8\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue29\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"}", + "x-ms-client-request-id" : "356b0162-cbe9-4fa8-a2da-b9f03b323c69", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "558eb793-3e91-4852-a92f-4689f3587d95", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9e49ca1d-ad5a-4663-8195-dda190867cd4", "Content-Type" : "application/json" }, "Response" : { @@ -943,29 +943,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:54 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:54 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "e6c373a2-19c4-4184-a98c-82d9726227a3", + "x-ms-correlation-request-id" : "dadd8e52-450a-408c-850a-772d175609d2", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"tbCmGg1Mfz0Uf0MJGNY77MqITAv\"", + "ETag" : "\"L34EuJtGKei9NU6EyEkwrIH1PE0\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMTI=;sn=471312", - "x-ms-request-id" : "e6c373a2-19c4-4184-a98c-82d9726227a3", - "Body" : "{\"etag\":\"tbCmGg1Mfz0Uf0MJGNY77MqITAv\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue21\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"}", - "x-ms-client-request-id" : "558eb793-3e91-4852-a92f-4689f3587d95", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMzI=;sn=569332", + "x-ms-request-id" : "dadd8e52-450a-408c-850a-772d175609d2", + "Body" : "{\"etag\":\"L34EuJtGKei9NU6EyEkwrIH1PE0\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue30\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"}", + "x-ms-client-request-id" : "9e49ca1d-ad5a-4663-8195-dda190867cd4", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8034fb2c-4a3c-4e85-b55e-f8ccf63cae26", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1462439c-2e95-4825-8d03-32b23b8f3571", "Content-Type" : "application/json" }, "Response" : { @@ -974,29 +974,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:54 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:54 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "a7403f13-4f62-45a0-a993-a629f7d6944f", + "x-ms-correlation-request-id" : "36a07241-23c3-42ed-9a05-6a0d63190e2b", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"xFtaM7olztFGvWgwTZS6pclbJmW\"", + "ETag" : "\"quvZZ8mjuQPGKhpAR5LrUhUlY2i\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMTM=;sn=471313", - "x-ms-request-id" : "a7403f13-4f62-45a0-a993-a629f7d6944f", - "Body" : "{\"etag\":\"xFtaM7olztFGvWgwTZS6pclbJmW\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue29\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"}", - "x-ms-client-request-id" : "8034fb2c-4a3c-4e85-b55e-f8ccf63cae26", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMzM=;sn=569333", + "x-ms-request-id" : "36a07241-23c3-42ed-9a05-6a0d63190e2b", + "Body" : "{\"etag\":\"quvZZ8mjuQPGKhpAR5LrUhUlY2i\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue31\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"}", + "x-ms-client-request-id" : "1462439c-2e95-4825-8d03-32b23b8f3571", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "140dcbd8-298d-40fc-8e6e-3fcd9fea985c", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "32e40316-c2fc-440f-a424-551eb9a56366", "Content-Type" : "application/json" }, "Response" : { @@ -1005,29 +1005,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:55 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:54 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "3c9cc905-16a7-46b4-ac40-c8a5eea10f3c", + "x-ms-correlation-request-id" : "4604d78b-0df7-4611-9510-4408ce0154e9", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"uRHmb0Q0NoZFlK1ToszfTE9flZa\"", + "ETag" : "\"EdJYoWvvYH7Qx3vOJ4pIEP0Kd4z\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMTQ=;sn=471314", - "x-ms-request-id" : "3c9cc905-16a7-46b4-ac40-c8a5eea10f3c", - "Body" : "{\"etag\":\"uRHmb0Q0NoZFlK1ToszfTE9flZa\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue28\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"}", - "x-ms-client-request-id" : "140dcbd8-298d-40fc-8e6e-3fcd9fea985c", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMzQ=;sn=569334", + "x-ms-request-id" : "4604d78b-0df7-4611-9510-4408ce0154e9", + "Body" : "{\"etag\":\"EdJYoWvvYH7Qx3vOJ4pIEP0Kd4z\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue32\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"}", + "x-ms-client-request-id" : "32e40316-c2fc-440f-a424-551eb9a56366", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0ce40908-8261-4af4-baee-fbb01c9af8ed", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "38267dcf-9dfd-40bf-9c86-388f27f933b6", "Content-Type" : "application/json" }, "Response" : { @@ -1036,29 +1036,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:55 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:54 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "1c1dd857-ec1e-4732-9142-b3360d0ff1bd", + "x-ms-correlation-request-id" : "51778447-d623-4e1d-ab1b-e8de3e861798", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"3IniQQ3DlyFlqbZHJSByf30xUKM\"", + "ETag" : "\"3wW4mIEkFNeihpQNim0WnX7cQL7\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMTU=;sn=471315", - "x-ms-request-id" : "1c1dd857-ec1e-4732-9142-b3360d0ff1bd", - "Body" : "{\"etag\":\"3IniQQ3DlyFlqbZHJSByf30xUKM\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue27\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"}", - "x-ms-client-request-id" : "0ce40908-8261-4af4-baee-fbb01c9af8ed", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMzU=;sn=569335", + "x-ms-request-id" : "51778447-d623-4e1d-ab1b-e8de3e861798", + "Body" : "{\"etag\":\"3wW4mIEkFNeihpQNim0WnX7cQL7\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue33\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"}", + "x-ms-client-request-id" : "38267dcf-9dfd-40bf-9c86-388f27f933b6", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2a034dbc-1280-4362-ba80-3699fc9818e2", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "36bf24aa-4d8f-4705-afa9-2f8c0cd0850d", "Content-Type" : "application/json" }, "Response" : { @@ -1067,29 +1067,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:55 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:54 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "7c1c643e-ee68-49bd-b8e0-a120a07c2c2e", + "x-ms-correlation-request-id" : "a20bbe3f-8e40-4d86-9bab-e4f41448e3bd", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"XsQ69RQQPu1lWt8ceivHx32ACYH\"", + "ETag" : "\"FZ5xiaszDnPjRMSIXsTJ7u7QRnz\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMTY=;sn=471316", - "x-ms-request-id" : "7c1c643e-ee68-49bd-b8e0-a120a07c2c2e", - "Body" : "{\"etag\":\"XsQ69RQQPu1lWt8ceivHx32ACYH\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue42\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"}", - "x-ms-client-request-id" : "2a034dbc-1280-4362-ba80-3699fc9818e2", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMzY=;sn=569336", + "x-ms-request-id" : "a20bbe3f-8e40-4d86-9bab-e4f41448e3bd", + "Body" : "{\"etag\":\"FZ5xiaszDnPjRMSIXsTJ7u7QRnz\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue34\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"}", + "x-ms-client-request-id" : "36bf24aa-4d8f-4705-afa9-2f8c0cd0850d", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "d9228044-1250-4910-82ef-1b88936c417e", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4804cc0e-47d7-467f-b3cc-a12c7f0bedfc", "Content-Type" : "application/json" }, "Response" : { @@ -1098,29 +1098,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:55 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:54 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "bd7d71bf-4287-4808-a3f3-b6579793ed7e", + "x-ms-correlation-request-id" : "6a1a4938-86cf-4215-bc85-64997940a7a6", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"63a0NFKlT3Tkfq9V7Iks5CK8P70\"", + "ETag" : "\"Q7c5LpI3iAmk4AZy7aIEALzxfQ4\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMTc=;sn=471317", - "x-ms-request-id" : "bd7d71bf-4287-4808-a3f3-b6579793ed7e", - "Body" : "{\"etag\":\"63a0NFKlT3Tkfq9V7Iks5CK8P70\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue38\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"}", - "x-ms-client-request-id" : "d9228044-1250-4910-82ef-1b88936c417e", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMzc=;sn=569337", + "x-ms-request-id" : "6a1a4938-86cf-4215-bc85-64997940a7a6", + "Body" : "{\"etag\":\"Q7c5LpI3iAmk4AZy7aIEALzxfQ4\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue35\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"}", + "x-ms-client-request-id" : "4804cc0e-47d7-467f-b3cc-a12c7f0bedfc", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3dd466d2-ef65-461b-9fd2-311cc1963b06", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ccc95dce-fa6e-4c11-b481-d0e98da7985c", "Content-Type" : "application/json" }, "Response" : { @@ -1129,29 +1129,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:55 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:54 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "23e6e7ac-ead6-4fab-84b1-78c8e5ff9967", + "x-ms-correlation-request-id" : "b08bc909-732d-4cee-8947-cc46a1d28a99", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"pZgTiShxGjmMIt7qInYxSbsaFH2\"", + "ETag" : "\"4hOZCXQfDdQJM4axpn5HJqaj18h\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMTg=;sn=471318", - "x-ms-request-id" : "23e6e7ac-ead6-4fab-84b1-78c8e5ff9967", - "Body" : "{\"etag\":\"pZgTiShxGjmMIt7qInYxSbsaFH2\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue47\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"}", - "x-ms-client-request-id" : "3dd466d2-ef65-461b-9fd2-311cc1963b06", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMzg=;sn=569338", + "x-ms-request-id" : "b08bc909-732d-4cee-8947-cc46a1d28a99", + "Body" : "{\"etag\":\"4hOZCXQfDdQJM4axpn5HJqaj18h\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue36\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"}", + "x-ms-client-request-id" : "ccc95dce-fa6e-4c11-b481-d0e98da7985c", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "26709abd-abf1-4bd1-9b6e-542d6758af12", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d080bee7-fae8-41fb-9972-07fecdf2092e", "Content-Type" : "application/json" }, "Response" : { @@ -1160,29 +1160,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:55 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:54 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "f27aafde-b27d-4b68-804c-8d1fd74eb6e1", + "x-ms-correlation-request-id" : "1a59be8e-1bba-4f38-b283-574d6f6b3fa2", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"KVoxaSYx7B6RsRYzG5fP8rNoIJj\"", + "ETag" : "\"ldnMklBqiwOnzBtnSNNSWae8AHQ\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMTk=;sn=471319", - "x-ms-request-id" : "f27aafde-b27d-4b68-804c-8d1fd74eb6e1", - "Body" : "{\"etag\":\"KVoxaSYx7B6RsRYzG5fP8rNoIJj\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue49\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"}", - "x-ms-client-request-id" : "26709abd-abf1-4bd1-9b6e-542d6758af12", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzMzk=;sn=569339", + "x-ms-request-id" : "1a59be8e-1bba-4f38-b283-574d6f6b3fa2", + "Body" : "{\"etag\":\"ldnMklBqiwOnzBtnSNNSWae8AHQ\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue37\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"}", + "x-ms-client-request-id" : "d080bee7-fae8-41fb-9972-07fecdf2092e", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2c7e19a7-de53-4777-9ad3-45d3c944af32", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a5c117ca-3035-45e1-974f-0d19d649f7a0", "Content-Type" : "application/json" }, "Response" : { @@ -1191,29 +1191,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:52 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:55 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:51 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:54 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "f320c960-b7ca-4781-9439-e93ee3d34b9b", + "x-ms-correlation-request-id" : "3051c166-af79-4cc4-a4b8-f36f344633af", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"yJnSUArL2hi23YSnqNiPYfRtajA\"", + "ETag" : "\"cPIqrLFG3n9UzIoGEM5zFaRFS5N\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMjA=;sn=471320", - "x-ms-request-id" : "f320c960-b7ca-4781-9439-e93ee3d34b9b", - "Body" : "{\"etag\":\"yJnSUArL2hi23YSnqNiPYfRtajA\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue26\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:52+00:00\"}", - "x-ms-client-request-id" : "2c7e19a7-de53-4777-9ad3-45d3c944af32", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNDA=;sn=569340", + "x-ms-request-id" : "3051c166-af79-4cc4-a4b8-f36f344633af", + "Body" : "{\"etag\":\"cPIqrLFG3n9UzIoGEM5zFaRFS5N\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue38\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"}", + "x-ms-client-request-id" : "a5c117ca-3035-45e1-974f-0d19d649f7a0", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "623215d7-ff25-439f-98b2-4545ad25bada", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3ef911a9-47c8-4351-beb8-eb35e4eab407", "Content-Type" : "application/json" }, "Response" : { @@ -1222,29 +1222,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:53 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:55 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:53 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:54 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "a13cdb12-e434-4d5b-a139-65cb2142f8ba", + "x-ms-correlation-request-id" : "3a6c0b9c-1fb6-44ac-a18e-1586df0c7208", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"moGrgKgup9FbhwpD7KGSJfW6jNp\"", + "ETag" : "\"uDR0iLGiuyvpYyaCDH5tQIvycmp\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMjE=;sn=471321", - "x-ms-request-id" : "a13cdb12-e434-4d5b-a139-65cb2142f8ba", - "Body" : "{\"etag\":\"moGrgKgup9FbhwpD7KGSJfW6jNp\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue4\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"}", - "x-ms-client-request-id" : "623215d7-ff25-439f-98b2-4545ad25bada", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNDE=;sn=569341", + "x-ms-request-id" : "3a6c0b9c-1fb6-44ac-a18e-1586df0c7208", + "Body" : "{\"etag\":\"uDR0iLGiuyvpYyaCDH5tQIvycmp\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue39\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"}", + "x-ms-client-request-id" : "3ef911a9-47c8-4351-beb8-eb35e4eab407", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3280d555-d5a0-4c08-94ae-72a2be7ec58c", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dfcd7c40-a74f-4cb2-9470-41200e645a12", "Content-Type" : "application/json" }, "Response" : { @@ -1253,29 +1253,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:53 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:55 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:53 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:55 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "e1b17aae-6b62-48c1-8501-4e9dc3cc3b91", + "x-ms-correlation-request-id" : "daa3ca87-8cf4-4b54-a6b4-406bc7a76fb6", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"xbmKbK5mOms3lZUAU2g05KSsRuw\"", + "ETag" : "\"sLP9pt2vLQg23thDHs84xSioytI\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMjI=;sn=471322", - "x-ms-request-id" : "e1b17aae-6b62-48c1-8501-4e9dc3cc3b91", - "Body" : "{\"etag\":\"xbmKbK5mOms3lZUAU2g05KSsRuw\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue10\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"}", - "x-ms-client-request-id" : "3280d555-d5a0-4c08-94ae-72a2be7ec58c", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNDI=;sn=569342", + "x-ms-request-id" : "daa3ca87-8cf4-4b54-a6b4-406bc7a76fb6", + "Body" : "{\"etag\":\"sLP9pt2vLQg23thDHs84xSioytI\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue40\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"}", + "x-ms-client-request-id" : "dfcd7c40-a74f-4cb2-9470-41200e645a12", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "673bbbf4-1be9-4b69-9441-efddb9fae081", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "06acfb91-c6e1-4e46-a532-850278c3257f", "Content-Type" : "application/json" }, "Response" : { @@ -1284,29 +1284,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:53 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:55 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:53 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:55 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "7d4e12ec-8878-4678-9cea-68328109d0ae", + "x-ms-correlation-request-id" : "8d8a433a-2221-4df4-b66c-c6b1124498a9", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"CFs4aPmjOldZwhiAkP3XhV9jI3p\"", + "ETag" : "\"9KZbUIgJFhFkMFBTEnqj3USdqSM\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMjM=;sn=471323", - "x-ms-request-id" : "7d4e12ec-8878-4678-9cea-68328109d0ae", - "Body" : "{\"etag\":\"CFs4aPmjOldZwhiAkP3XhV9jI3p\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue6\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"}", - "x-ms-client-request-id" : "673bbbf4-1be9-4b69-9441-efddb9fae081", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNDM=;sn=569343", + "x-ms-request-id" : "8d8a433a-2221-4df4-b66c-c6b1124498a9", + "Body" : "{\"etag\":\"9KZbUIgJFhFkMFBTEnqj3USdqSM\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue41\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"}", + "x-ms-client-request-id" : "06acfb91-c6e1-4e46-a532-850278c3257f", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c928edcd-239f-4749-8187-f8b1af73f277", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a0d64f18-49d9-4b57-b5ef-f9f0bfada13e", "Content-Type" : "application/json" }, "Response" : { @@ -1315,29 +1315,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:53 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:55 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:53 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:55 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "203bdd8e-46dc-4440-bd6a-890c5c65b581", + "x-ms-correlation-request-id" : "902aae2d-f483-4f54-9a02-143d8ca44b6a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"N3cNwiajbjsLcrrqGRRhQ4sevtB\"", + "ETag" : "\"LXFUIBRuoMVDLRfTstRv3gB7hIA\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMjQ=;sn=471324", - "x-ms-request-id" : "203bdd8e-46dc-4440-bd6a-890c5c65b581", - "Body" : "{\"etag\":\"N3cNwiajbjsLcrrqGRRhQ4sevtB\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue25\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"}", - "x-ms-client-request-id" : "c928edcd-239f-4749-8187-f8b1af73f277", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNDQ=;sn=569344", + "x-ms-request-id" : "902aae2d-f483-4f54-9a02-143d8ca44b6a", + "Body" : "{\"etag\":\"LXFUIBRuoMVDLRfTstRv3gB7hIA\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue42\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"}", + "x-ms-client-request-id" : "a0d64f18-49d9-4b57-b5ef-f9f0bfada13e", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "62a576bc-5fbf-4477-ae46-3b5e26ed2c2c", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ec8b5ede-4135-41ba-b197-1f05fc5f0ae0", "Content-Type" : "application/json" }, "Response" : { @@ -1346,29 +1346,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:53 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:55 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:53 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:55 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ac859f83-628e-437a-a25c-f1a5168a1c8d", + "x-ms-correlation-request-id" : "03c43269-fd2d-455d-981e-78260037b2f8", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"Hr7doOPspHE7wbsEZr9nWhNaZbk\"", + "ETag" : "\"YkouNfBbNHsWu60J3Yx6zFCC3QP\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMjU=;sn=471325", - "x-ms-request-id" : "ac859f83-628e-437a-a25c-f1a5168a1c8d", - "Body" : "{\"etag\":\"Hr7doOPspHE7wbsEZr9nWhNaZbk\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue33\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"}", - "x-ms-client-request-id" : "62a576bc-5fbf-4477-ae46-3b5e26ed2c2c", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNDU=;sn=569345", + "x-ms-request-id" : "03c43269-fd2d-455d-981e-78260037b2f8", + "Body" : "{\"etag\":\"YkouNfBbNHsWu60J3Yx6zFCC3QP\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue43\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"}", + "x-ms-client-request-id" : "ec8b5ede-4135-41ba-b197-1f05fc5f0ae0", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5b94347f-d857-45ea-b204-c8331953cb65", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5f59bc34-f383-40f5-951e-b96a1cec73a5", "Content-Type" : "application/json" }, "Response" : { @@ -1377,29 +1377,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:53 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:55 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:53 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:55 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "cbf817ba-c920-42c5-b8fb-34af7732bd3b", + "x-ms-correlation-request-id" : "e41bb50e-f83f-44de-86bc-97807138486a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"C43B2bVpwtL3AojxvzfGUHf5oNk\"", + "ETag" : "\"hg228dwhLD6hn7CEPdp9dB0wCZs\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMjY=;sn=471326", - "x-ms-request-id" : "cbf817ba-c920-42c5-b8fb-34af7732bd3b", - "Body" : "{\"etag\":\"C43B2bVpwtL3AojxvzfGUHf5oNk\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue12\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"}", - "x-ms-client-request-id" : "5b94347f-d857-45ea-b204-c8331953cb65", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNDY=;sn=569346", + "x-ms-request-id" : "e41bb50e-f83f-44de-86bc-97807138486a", + "Body" : "{\"etag\":\"hg228dwhLD6hn7CEPdp9dB0wCZs\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue44\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"}", + "x-ms-client-request-id" : "5f59bc34-f383-40f5-951e-b96a1cec73a5", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6b870720-7987-423a-8919-72476e9ece3a", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "855f6447-f6d6-41ed-98cf-88c56f01aae9", "Content-Type" : "application/json" }, "Response" : { @@ -1408,29 +1408,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:53 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:55 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:53 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:55 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "abe47fa2-3acd-494f-9210-cbf18d76673f", + "x-ms-correlation-request-id" : "0dce8a58-c33e-40b7-80b9-985ccf4c6c8b", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"f4PNJ455c67RQDCWI85sQNTeN1I\"", + "ETag" : "\"z9Q5VqIzJsettvpdVGu45s5PSd5\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMjc=;sn=471327", - "x-ms-request-id" : "abe47fa2-3acd-494f-9210-cbf18d76673f", - "Body" : "{\"etag\":\"f4PNJ455c67RQDCWI85sQNTeN1I\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue39\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"}", - "x-ms-client-request-id" : "6b870720-7987-423a-8919-72476e9ece3a", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNDc=;sn=569347", + "x-ms-request-id" : "0dce8a58-c33e-40b7-80b9-985ccf4c6c8b", + "Body" : "{\"etag\":\"z9Q5VqIzJsettvpdVGu45s5PSd5\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue45\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"}", + "x-ms-client-request-id" : "855f6447-f6d6-41ed-98cf-88c56f01aae9", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2755dd2a-e104-49ff-b603-8740c3eba651", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "be079b71-3591-417f-a9f7-4832a1f80327", "Content-Type" : "application/json" }, "Response" : { @@ -1439,29 +1439,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:53 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:55 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:53 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:55 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "fcd57642-2577-496c-83eb-53cd6e37adfc", + "x-ms-correlation-request-id" : "5329d732-2481-445a-9ef8-e91e967f6397", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"IFAAaUFJ6IQXFmBP6fr3qL4vI40\"", + "ETag" : "\"W85PrcPrSqdLeYxUERaLyQTvIpI\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMjg=;sn=471328", - "x-ms-request-id" : "fcd57642-2577-496c-83eb-53cd6e37adfc", - "Body" : "{\"etag\":\"IFAAaUFJ6IQXFmBP6fr3qL4vI40\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue14\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"}", - "x-ms-client-request-id" : "2755dd2a-e104-49ff-b603-8740c3eba651", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNDg=;sn=569348", + "x-ms-request-id" : "5329d732-2481-445a-9ef8-e91e967f6397", + "Body" : "{\"etag\":\"W85PrcPrSqdLeYxUERaLyQTvIpI\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue46\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"}", + "x-ms-client-request-id" : "be079b71-3591-417f-a9f7-4832a1f80327", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b358a584-dff2-4544-8491-b102a578d025", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "91d78b20-5ee0-42ec-a723-3d8319881a1c", "Content-Type" : "application/json" }, "Response" : { @@ -1470,29 +1470,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:54 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:55 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:53 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:55 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "105381bc-c343-4ccb-b020-31d77c4488bf", + "x-ms-correlation-request-id" : "05ad8750-2fa1-4cef-bd08-5cc4c96623b0", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"BVDiUj4RKdpYcLdlREI9l6KNvR4\"", + "ETag" : "\"6suyDtmoVdKUIDdj2rN6ZFc2SU9\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMjk=;sn=471329", - "x-ms-request-id" : "105381bc-c343-4ccb-b020-31d77c4488bf", - "Body" : "{\"etag\":\"BVDiUj4RKdpYcLdlREI9l6KNvR4\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue41\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:54+00:00\"}", - "x-ms-client-request-id" : "b358a584-dff2-4544-8491-b102a578d025", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNDk=;sn=569349", + "x-ms-request-id" : "05ad8750-2fa1-4cef-bd08-5cc4c96623b0", + "Body" : "{\"etag\":\"6suyDtmoVdKUIDdj2rN6ZFc2SU9\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue47\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"}", + "x-ms-client-request-id" : "91d78b20-5ee0-42ec-a723-3d8319881a1c", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9010eca8-763a-4b41-a08a-1dd860e8b6c5", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "e1da27ae-45c2-4bde-9117-cc47dc266111", "Content-Type" : "application/json" }, "Response" : { @@ -1501,29 +1501,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:54 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:56 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:53 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:55 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "8fac49fd-42ed-408f-b341-4b361c184680", + "x-ms-correlation-request-id" : "95a7f751-43fa-48b7-8b3c-e6ab7af5e9ff", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"I8RzuVQFIr3kDuwOSz6gvjUwRWC\"", + "ETag" : "\"1dvPLvFwvh122UYOiHXPiXH7zHG\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMzA=;sn=471330", - "x-ms-request-id" : "8fac49fd-42ed-408f-b341-4b361c184680", - "Body" : "{\"etag\":\"I8RzuVQFIr3kDuwOSz6gvjUwRWC\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue35\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:54+00:00\"}", - "x-ms-client-request-id" : "9010eca8-763a-4b41-a08a-1dd860e8b6c5", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNTA=;sn=569350", + "x-ms-request-id" : "95a7f751-43fa-48b7-8b3c-e6ab7af5e9ff", + "Body" : "{\"etag\":\"1dvPLvFwvh122UYOiHXPiXH7zHG\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue48\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:56+00:00\"}", + "x-ms-client-request-id" : "e1da27ae-45c2-4bde-9117-cc47dc266111", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "53de74bd-12ac-4937-8e0c-044440476621", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3ee24a11-5d5e-4f1e-8fce-e6c67dee712c", "Content-Type" : "application/json" }, "Response" : { @@ -1532,29 +1532,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:55 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:56 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:55 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:55 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "a1779cd3-0201-4453-873e-205f81a55d0d", + "x-ms-correlation-request-id" : "3fa37ee7-3b43-4ba4-bac3-618a0d6f3377", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"XrJYJgbCDUwZVhk9gBisCYHqHt2\"", + "ETag" : "\"4UhxAYEtK5Cb7geqY48frX7wobw\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMzE=;sn=471331", - "x-ms-request-id" : "a1779cd3-0201-4453-873e-205f81a55d0d", - "Body" : "{\"etag\":\"XrJYJgbCDUwZVhk9gBisCYHqHt2\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue44\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:55+00:00\"}", - "x-ms-client-request-id" : "53de74bd-12ac-4937-8e0c-044440476621", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNTE=;sn=569351", + "x-ms-request-id" : "3fa37ee7-3b43-4ba4-bac3-618a0d6f3377", + "Body" : "{\"etag\":\"4UhxAYEtK5Cb7geqY48frX7wobw\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue49\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:56+00:00\"}", + "x-ms-client-request-id" : "3ee24a11-5d5e-4f1e-8fce-e6c67dee712c", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key64147&label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key62602&label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c5fce526-6da8-4b35-a634-9be77c8cca0e", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5f0ee0c3-7feb-48c2-860b-69929f468a63", "Content-Type" : "application/json" }, "Response" : { @@ -1565,26 +1565,26 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:55 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:55 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "5848d4c6-38b8-436d-899b-a710cd32a93c", + "x-ms-correlation-request-id" : "08fbbf39-c007-460d-acdf-eed857939db0", "Accept-Ranges" : "items", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMzE=;sn=471331", - "x-ms-request-id" : "5848d4c6-38b8-436d-899b-a710cd32a93c", - "Body" : "{\"items\":[{\"etag\":\"XrJYJgbCDUwZVhk9gBisCYHqHt2\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue44\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:55+00:00\"},{\"etag\":\"I8RzuVQFIr3kDuwOSz6gvjUwRWC\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue35\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:54+00:00\"},{\"etag\":\"BVDiUj4RKdpYcLdlREI9l6KNvR4\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue41\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:54+00:00\"},{\"etag\":\"IFAAaUFJ6IQXFmBP6fr3qL4vI40\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue14\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"},{\"etag\":\"f4PNJ455c67RQDCWI85sQNTeN1I\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue39\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"},{\"etag\":\"C43B2bVpwtL3AojxvzfGUHf5oNk\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue12\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"},{\"etag\":\"Hr7doOPspHE7wbsEZr9nWhNaZbk\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue33\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"},{\"etag\":\"N3cNwiajbjsLcrrqGRRhQ4sevtB\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue25\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"},{\"etag\":\"CFs4aPmjOldZwhiAkP3XhV9jI3p\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue6\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"},{\"etag\":\"xbmKbK5mOms3lZUAU2g05KSsRuw\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue10\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"},{\"etag\":\"moGrgKgup9FbhwpD7KGSJfW6jNp\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue4\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"},{\"etag\":\"yJnSUArL2hi23YSnqNiPYfRtajA\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue26\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:52+00:00\"},{\"etag\":\"KVoxaSYx7B6RsRYzG5fP8rNoIJj\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue49\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"pZgTiShxGjmMIt7qInYxSbsaFH2\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue47\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"63a0NFKlT3Tkfq9V7Iks5CK8P70\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue38\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"XsQ69RQQPu1lWt8ceivHx32ACYH\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue42\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"3IniQQ3DlyFlqbZHJSByf30xUKM\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue27\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"uRHmb0Q0NoZFlK1ToszfTE9flZa\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue28\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"xFtaM7olztFGvWgwTZS6pclbJmW\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue29\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"tbCmGg1Mfz0Uf0MJGNY77MqITAv\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue21\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"8kXuKFXO23Nh4UDns5CUBC5eqhi\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue18\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"wG3ckV8XWPq14VsRLCNhkwVvHOI\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue8\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"iTpUmM17xqkS8stH3WdRSGiMg7x\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue16\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"0qiALhRaziz72aulP68asxAamD5\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue9\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"apcpdWOZraF3KwUQFp5BP265J8F\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue3\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"uF9GpMX75xXKmYJSFbxpKRTK8Wl\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue1\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"kogS6whcyoeSsz2pFXOsFBM5JEt\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue15\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"gdmT1tNJxwImLoBdat8qwma0RNQ\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue32\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"tkYHVPMizi6zjZOqNd6nUrjeibk\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue30\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"RBjcET6uXKr65prU1KjCBg554FQ\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue13\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"qU3OTYXUYFi6WBrBiS6JBUR2KAy\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue31\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"7JeiPlkz2uoWgrJPpeAwhvKYDro\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue40\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"7GhvRPSOw0y2ZM8s7bB3bFxguQU\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue37\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"dzaA7LsmPGhJtHtxRFJCkc6xz0m\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue34\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"pvTrqRz9D3W2P7SI0q60fXT264j\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue48\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"I5Nl1tAqlllgpMscBWxpo4pphUx\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue46\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"01WXLZp3X4LpkVyOXa06YJVffFw\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue43\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"YdAzGkIe17qQsjcPzuNWJINqyoR\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue45\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"K0q34Ktc2I0VEtgNGWgqwJuXsJG\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue36\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"2zj80TsklZfXalRVEpLuCZNVFwc\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue11\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"jzBbi98X0GyvxyaFVidtRh9BNK4\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue23\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"rT4rUbN8M6EI9zGBqdBNchVxxIR\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue24\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"TiqUMAm6Oy92xzKwSq8uCYWXDlt\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue22\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"MjGYdzDhovtCxXUl7GOHPpzWjRT\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue20\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"GBBV8ZbfN19TYkHRXbhicznIMaX\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue19\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"FXZqCLWJzuOUi3ZSAjJwI9KHOVo\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue17\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"hFadOelB1R6YDxkUU3VR95WJhnB\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue7\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"LjYDDIrFPC3EfuIQxhVjrlVNR66\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue5\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"SqdJ23s4pkJ8BDxpg718Nw9KmyX\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"SoJ1VsX5tQCdnhmRvx8F8TUkhfD\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue0\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}]}", - "x-ms-client-request-id" : "c5fce526-6da8-4b35-a634-9be77c8cca0e", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNTE=;sn=569351", + "x-ms-request-id" : "08fbbf39-c007-460d-acdf-eed857939db0", + "Body" : "{\"items\":[{\"etag\":\"4UhxAYEtK5Cb7geqY48frX7wobw\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue49\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:56+00:00\"},{\"etag\":\"1dvPLvFwvh122UYOiHXPiXH7zHG\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue48\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:56+00:00\"},{\"etag\":\"6suyDtmoVdKUIDdj2rN6ZFc2SU9\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue47\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"W85PrcPrSqdLeYxUERaLyQTvIpI\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue46\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"z9Q5VqIzJsettvpdVGu45s5PSd5\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue45\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"hg228dwhLD6hn7CEPdp9dB0wCZs\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue44\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"YkouNfBbNHsWu60J3Yx6zFCC3QP\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue43\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"LXFUIBRuoMVDLRfTstRv3gB7hIA\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue42\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"9KZbUIgJFhFkMFBTEnqj3USdqSM\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue41\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"sLP9pt2vLQg23thDHs84xSioytI\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue40\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"uDR0iLGiuyvpYyaCDH5tQIvycmp\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue39\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"cPIqrLFG3n9UzIoGEM5zFaRFS5N\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue38\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"ldnMklBqiwOnzBtnSNNSWae8AHQ\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue37\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"4hOZCXQfDdQJM4axpn5HJqaj18h\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue36\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"Q7c5LpI3iAmk4AZy7aIEALzxfQ4\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue35\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"FZ5xiaszDnPjRMSIXsTJ7u7QRnz\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue34\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"3wW4mIEkFNeihpQNim0WnX7cQL7\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue33\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"EdJYoWvvYH7Qx3vOJ4pIEP0Kd4z\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue32\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"quvZZ8mjuQPGKhpAR5LrUhUlY2i\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue31\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"L34EuJtGKei9NU6EyEkwrIH1PE0\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue30\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"Y4uDa74HwlHOkX96cmdW7KQENO8\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue29\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"72duMkkwW8AvRdOr9zyVd4zt4SC\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue28\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"B8X56VYoe8reFPuPgLbqxkBKiIx\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue27\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"8hDgTnA8kNxLGXQOASwdLRwUp4m\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue26\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"kDe42ducXVFyJHEmDU7LR5esYSj\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue25\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"qahhOwkOpGFA8PlxG4RKR6nrDa1\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue24\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"EJgUmdtS7jZCivJL5Ka5U4FBNBI\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue23\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"6CvGHVD4WbiBaWCapNuv81O5egN\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue22\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"A1UUPnzOcc1OFbOeVu8tmlf4bT2\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue21\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"QVokuPr7esSYhuLC0qe41zpUvY5\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue20\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"CJytcFdG7DqjxxTR7XWImhouCCf\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue19\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"b3KyW9ofiSH4oddJD9p0QqDD2eC\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue18\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"bgAnTIH6sazstMP8WesQHehnPDT\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue17\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"IjAo4gJKc2KiIEk94QA2MautzTn\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue16\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"20RvyLvK8zKgt5AMXRYDUfCJme6\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue15\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"Lbea0Rs7mDoDf6cMMLiv4jf3s7B\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue14\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"rgBciIJyGGTfZonAc3hgciGHHvO\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue13\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"NdUMLaRsGUAYXcmGlISB9mMkZJZ\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue12\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"KQj70o1JSmkHsk6ebDpqL3WdtYO\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue11\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"JOPc2gL1bhs0Mk1FmR8hVnrVIOe\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue10\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"eHI2EMsHL3nRSO2op8AjMUrPb97\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue9\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"puBezQDUtz1XTpZddPYGGO0DEVt\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue8\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"TcamPPLi9seUjDppvWce8MPfiUF\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue7\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"WtkGGP4qGEtVnGV2HM1933lFtrs\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue6\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"GYhKXBgEH3dEnpfGp3Tbx4zlI3h\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue5\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"7VPgoLNOZ5DFeHpU6THhT274pIE\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue4\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"Li3hKI4izX1gOVIOIqbPqHvL8E2\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue3\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"MOUlmTfb08WaDi5aKCO5HVQ8gHv\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"ZboXOzlePy7Rd5z56aSYxWEZlKV\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue1\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"Uo3XsM7IufHKlj4v9GhPRJuDn8m\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue0\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"}]}", + "x-ms-client-request-id" : "5f0ee0c3-7feb-48c2-860b-69929f468a63", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key64147&label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key62602&label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b8414654-635e-4d33-a7d3-bb4d98619d5f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "b98b6cb8-9667-40c9-b4da-2fb42f8f5021", "Content-Type" : "application/json" }, "Response" : { @@ -1595,26 +1595,26 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:55 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:55 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "bf03443d-4ea1-41a3-8f9a-9936328cdbee", + "x-ms-correlation-request-id" : "e8632537-d947-4bc6-8eb6-8032ccbff94e", "Accept-Ranges" : "items", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMzE=;sn=471331", - "x-ms-request-id" : "bf03443d-4ea1-41a3-8f9a-9936328cdbee", - "Body" : "{\"items\":[{\"etag\":\"XrJYJgbCDUwZVhk9gBisCYHqHt2\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue44\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:55+00:00\"},{\"etag\":\"I8RzuVQFIr3kDuwOSz6gvjUwRWC\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue35\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:54+00:00\"},{\"etag\":\"BVDiUj4RKdpYcLdlREI9l6KNvR4\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue41\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:54+00:00\"},{\"etag\":\"IFAAaUFJ6IQXFmBP6fr3qL4vI40\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue14\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"},{\"etag\":\"f4PNJ455c67RQDCWI85sQNTeN1I\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue39\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"},{\"etag\":\"C43B2bVpwtL3AojxvzfGUHf5oNk\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue12\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"},{\"etag\":\"Hr7doOPspHE7wbsEZr9nWhNaZbk\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue33\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"},{\"etag\":\"N3cNwiajbjsLcrrqGRRhQ4sevtB\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue25\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"},{\"etag\":\"CFs4aPmjOldZwhiAkP3XhV9jI3p\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue6\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"},{\"etag\":\"xbmKbK5mOms3lZUAU2g05KSsRuw\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue10\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"},{\"etag\":\"moGrgKgup9FbhwpD7KGSJfW6jNp\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue4\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:53+00:00\"},{\"etag\":\"yJnSUArL2hi23YSnqNiPYfRtajA\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue26\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:52+00:00\"},{\"etag\":\"KVoxaSYx7B6RsRYzG5fP8rNoIJj\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue49\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"pZgTiShxGjmMIt7qInYxSbsaFH2\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue47\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"63a0NFKlT3Tkfq9V7Iks5CK8P70\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue38\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"XsQ69RQQPu1lWt8ceivHx32ACYH\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue42\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"3IniQQ3DlyFlqbZHJSByf30xUKM\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue27\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"uRHmb0Q0NoZFlK1ToszfTE9flZa\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue28\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"xFtaM7olztFGvWgwTZS6pclbJmW\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue29\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"tbCmGg1Mfz0Uf0MJGNY77MqITAv\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue21\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"8kXuKFXO23Nh4UDns5CUBC5eqhi\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue18\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"wG3ckV8XWPq14VsRLCNhkwVvHOI\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue8\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"iTpUmM17xqkS8stH3WdRSGiMg7x\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue16\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"0qiALhRaziz72aulP68asxAamD5\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue9\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"apcpdWOZraF3KwUQFp5BP265J8F\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue3\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"uF9GpMX75xXKmYJSFbxpKRTK8Wl\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue1\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"kogS6whcyoeSsz2pFXOsFBM5JEt\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue15\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"gdmT1tNJxwImLoBdat8qwma0RNQ\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue32\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"tkYHVPMizi6zjZOqNd6nUrjeibk\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue30\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"RBjcET6uXKr65prU1KjCBg554FQ\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue13\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:51+00:00\"},{\"etag\":\"qU3OTYXUYFi6WBrBiS6JBUR2KAy\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue31\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"7JeiPlkz2uoWgrJPpeAwhvKYDro\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue40\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"7GhvRPSOw0y2ZM8s7bB3bFxguQU\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue37\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"dzaA7LsmPGhJtHtxRFJCkc6xz0m\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue34\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"pvTrqRz9D3W2P7SI0q60fXT264j\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue48\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"I5Nl1tAqlllgpMscBWxpo4pphUx\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue46\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"01WXLZp3X4LpkVyOXa06YJVffFw\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue43\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"YdAzGkIe17qQsjcPzuNWJINqyoR\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue45\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"K0q34Ktc2I0VEtgNGWgqwJuXsJG\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue36\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"2zj80TsklZfXalRVEpLuCZNVFwc\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue11\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"jzBbi98X0GyvxyaFVidtRh9BNK4\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue23\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"rT4rUbN8M6EI9zGBqdBNchVxxIR\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue24\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"TiqUMAm6Oy92xzKwSq8uCYWXDlt\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue22\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"MjGYdzDhovtCxXUl7GOHPpzWjRT\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue20\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"GBBV8ZbfN19TYkHRXbhicznIMaX\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue19\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"FXZqCLWJzuOUi3ZSAjJwI9KHOVo\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue17\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"hFadOelB1R6YDxkUU3VR95WJhnB\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue7\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"LjYDDIrFPC3EfuIQxhVjrlVNR66\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue5\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"SqdJ23s4pkJ8BDxpg718Nw9KmyX\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"},{\"etag\":\"SoJ1VsX5tQCdnhmRvx8F8TUkhfD\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue0\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}]}", - "x-ms-client-request-id" : "b8414654-635e-4d33-a7d3-bb4d98619d5f", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNTE=;sn=569351", + "x-ms-request-id" : "e8632537-d947-4bc6-8eb6-8032ccbff94e", + "Body" : "{\"items\":[{\"etag\":\"4UhxAYEtK5Cb7geqY48frX7wobw\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue49\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:56+00:00\"},{\"etag\":\"1dvPLvFwvh122UYOiHXPiXH7zHG\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue48\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:56+00:00\"},{\"etag\":\"6suyDtmoVdKUIDdj2rN6ZFc2SU9\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue47\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"W85PrcPrSqdLeYxUERaLyQTvIpI\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue46\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"z9Q5VqIzJsettvpdVGu45s5PSd5\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue45\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"hg228dwhLD6hn7CEPdp9dB0wCZs\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue44\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"YkouNfBbNHsWu60J3Yx6zFCC3QP\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue43\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"LXFUIBRuoMVDLRfTstRv3gB7hIA\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue42\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"9KZbUIgJFhFkMFBTEnqj3USdqSM\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue41\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"sLP9pt2vLQg23thDHs84xSioytI\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue40\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"uDR0iLGiuyvpYyaCDH5tQIvycmp\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue39\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"cPIqrLFG3n9UzIoGEM5zFaRFS5N\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue38\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"ldnMklBqiwOnzBtnSNNSWae8AHQ\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue37\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"4hOZCXQfDdQJM4axpn5HJqaj18h\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue36\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"Q7c5LpI3iAmk4AZy7aIEALzxfQ4\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue35\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"FZ5xiaszDnPjRMSIXsTJ7u7QRnz\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue34\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"3wW4mIEkFNeihpQNim0WnX7cQL7\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue33\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"EdJYoWvvYH7Qx3vOJ4pIEP0Kd4z\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue32\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:55+00:00\"},{\"etag\":\"quvZZ8mjuQPGKhpAR5LrUhUlY2i\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue31\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"L34EuJtGKei9NU6EyEkwrIH1PE0\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue30\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"Y4uDa74HwlHOkX96cmdW7KQENO8\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue29\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"72duMkkwW8AvRdOr9zyVd4zt4SC\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue28\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"B8X56VYoe8reFPuPgLbqxkBKiIx\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue27\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"8hDgTnA8kNxLGXQOASwdLRwUp4m\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue26\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"kDe42ducXVFyJHEmDU7LR5esYSj\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue25\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"qahhOwkOpGFA8PlxG4RKR6nrDa1\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue24\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"EJgUmdtS7jZCivJL5Ka5U4FBNBI\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue23\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"6CvGHVD4WbiBaWCapNuv81O5egN\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue22\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"A1UUPnzOcc1OFbOeVu8tmlf4bT2\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue21\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"QVokuPr7esSYhuLC0qe41zpUvY5\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue20\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"CJytcFdG7DqjxxTR7XWImhouCCf\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue19\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"b3KyW9ofiSH4oddJD9p0QqDD2eC\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue18\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"bgAnTIH6sazstMP8WesQHehnPDT\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue17\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"IjAo4gJKc2KiIEk94QA2MautzTn\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue16\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"20RvyLvK8zKgt5AMXRYDUfCJme6\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue15\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:54+00:00\"},{\"etag\":\"Lbea0Rs7mDoDf6cMMLiv4jf3s7B\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue14\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"rgBciIJyGGTfZonAc3hgciGHHvO\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue13\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"NdUMLaRsGUAYXcmGlISB9mMkZJZ\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue12\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"KQj70o1JSmkHsk6ebDpqL3WdtYO\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue11\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"JOPc2gL1bhs0Mk1FmR8hVnrVIOe\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue10\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"eHI2EMsHL3nRSO2op8AjMUrPb97\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue9\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"puBezQDUtz1XTpZddPYGGO0DEVt\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue8\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"TcamPPLi9seUjDppvWce8MPfiUF\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue7\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"WtkGGP4qGEtVnGV2HM1933lFtrs\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue6\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"GYhKXBgEH3dEnpfGp3Tbx4zlI3h\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue5\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"7VPgoLNOZ5DFeHpU6THhT274pIE\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue4\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"Li3hKI4izX1gOVIOIqbPqHvL8E2\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue3\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"MOUlmTfb08WaDi5aKCO5HVQ8gHv\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"ZboXOzlePy7Rd5z56aSYxWEZlKV\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue1\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"},{\"etag\":\"Uo3XsM7IufHKlj4v9GhPRJuDn8m\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue0\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:53+00:00\"}]}", + "x-ms-client-request-id" : "b98b6cb8-9667-40c9-b4da-2fb42f8f5021", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key64147%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key62602%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c34e6f22-4b7e-44ee-a03c-37b9c405fd73", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d5f22a37-6c58-47ee-b00e-67218b7b875b", "Content-Type" : "application/json" }, "Response" : { @@ -1625,25 +1625,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:55 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:55 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "8336ff86-ea9a-4785-92b4-dd55b45dfefd", + "x-ms-correlation-request-id" : "3ba33463-ba77-45bf-843d-c7d5428ed014", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMzE=;sn=471331", - "x-ms-request-id" : "8336ff86-ea9a-4785-92b4-dd55b45dfefd", - "Body" : "{\"items\":[{\"etag\":\"XrJYJgbCDUwZVhk9gBisCYHqHt2\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue44\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:55+00:00\"}]}", - "x-ms-client-request-id" : "c34e6f22-4b7e-44ee-a03c-37b9c405fd73", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNTE=;sn=569351", + "x-ms-request-id" : "3ba33463-ba77-45bf-843d-c7d5428ed014", + "Body" : "{\"items\":[{\"etag\":\"4UhxAYEtK5Cb7geqY48frX7wobw\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue49\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:56+00:00\"}]}", + "x-ms-client-request-id" : "d5f22a37-6c58-47ee-b00e-67218b7b875b", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key64147?label=d809b289", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key62602?label=380bd1b0&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6503d57c-e61f-47ea-b417-4f57dc4992d0", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3706f20b-bae6-4d0a-9ad8-faa9bab23a70", "Content-Type" : "application/json" }, "Response" : { @@ -1652,23 +1652,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:55 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:56 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:55 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:55 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "326d493f-ca02-4fce-b5f7-1761e33ead6e", + "x-ms-correlation-request-id" : "a27b733f-eaa6-403e-a6a4-ff1b9afca92e", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"XrJYJgbCDUwZVhk9gBisCYHqHt2\"", + "ETag" : "\"4UhxAYEtK5Cb7geqY48frX7wobw\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzMzI=;sn=471332", - "x-ms-request-id" : "326d493f-ca02-4fce-b5f7-1761e33ead6e", - "Body" : "{\"etag\":\"XrJYJgbCDUwZVhk9gBisCYHqHt2\",\"key\":\"key64147\",\"label\":\"d809b289\",\"content_type\":null,\"value\":\"myValue44\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:55+00:00\"}", - "x-ms-client-request-id" : "6503d57c-e61f-47ea-b417-4f57dc4992d0", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNTI=;sn=569352", + "x-ms-request-id" : "a27b733f-eaa6-403e-a6a4-ff1b9afca92e", + "Body" : "{\"etag\":\"4UhxAYEtK5Cb7geqY48frX7wobw\",\"key\":\"key62602\",\"label\":\"380bd1b0\",\"content_type\":null,\"value\":\"myValue49\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:56+00:00\"}", + "x-ms-client-request-id" : "3706f20b-bae6-4d0a-9ad8-faa9bab23a70", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key64147", "d809b289" ] + "variables" : [ "key62602", "380bd1b0" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithRange.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithRange.json deleted file mode 100644 index 2dee94fc4197..000000000000 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listRevisionsWithRange.json +++ /dev/null @@ -1,188 +0,0 @@ -{ - "networkCallRecords" : [ { - "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key1858213325c", - "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "810dd197-a139-4f57-be7a-0a05cc17f07b", - "Content-Type" : "application/json" - }, - "Response" : { - "Transfer-Encoding" : "chunked", - "Server" : "openresty/1.15.8.1", - "Access-Control-Allow-Origin" : "*", - "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", - "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:47 GMT", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:46 GMT", - "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "7e3eb414-cceb-4faf-ba5b-16863e268106", - "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", - "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"ZFp4GUE8FPgsv8aRt7NNjoA0Zod\"", - "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNTI=;sn=471252", - "x-ms-request-id" : "7e3eb414-cceb-4faf-ba5b-16863e268106", - "Body" : "{\"etag\":\"ZFp4GUE8FPgsv8aRt7NNjoA0Zod\",\"key\":\"key1858213325c\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:47+00:00\"}", - "x-ms-client-request-id" : "810dd197-a139-4f57-be7a-0a05cc17f07b", - "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key1858213325c", - "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "80a65a30-3b5d-46d3-8cdf-f40e4cd42b7d", - "Content-Type" : "application/json" - }, - "Response" : { - "Transfer-Encoding" : "chunked", - "Server" : "openresty/1.15.8.1", - "Access-Control-Allow-Origin" : "*", - "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", - "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:47 GMT", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:46 GMT", - "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "d07c93a1-211d-4bd2-b907-a086e413ea32", - "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", - "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"2jrEZoKM4c1zCqOvnHkLkTJGGY6\"", - "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNTM=;sn=471253", - "x-ms-request-id" : "d07c93a1-211d-4bd2-b907-a086e413ea32", - "Body" : "{\"etag\":\"2jrEZoKM4c1zCqOvnHkLkTJGGY6\",\"key\":\"key1858213325c\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:47+00:00\"}", - "x-ms-client-request-id" : "80a65a30-3b5d-46d3-8cdf-f40e4cd42b7d", - "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key1858213325c", - "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6e2989f2-419d-4cdc-b4cf-7e8b80cc5024", - "Content-Type" : "application/json" - }, - "Response" : { - "Transfer-Encoding" : "chunked", - "Server" : "openresty/1.15.8.1", - "Access-Control-Allow-Origin" : "*", - "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", - "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:47 GMT", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:46 GMT", - "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "a999fab3-e485-44c9-8b83-a7f473ec6932", - "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", - "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"l6yIgoYCYFava1CNyqbbR9jX1nI\"", - "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNTQ=;sn=471254", - "x-ms-request-id" : "a999fab3-e485-44c9-8b83-a7f473ec6932", - "Body" : "{\"etag\":\"l6yIgoYCYFava1CNyqbbR9jX1nI\",\"key\":\"key1858213325c\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:47+00:00\"}", - "x-ms-client-request-id" : "6e2989f2-419d-4cdc-b4cf-7e8b80cc5024", - "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/revisions?key=key1858213325c", - "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "2de22ef8-fbd2-4a60-9262-ff6fa5264e5f", - "Content-Type" : "application/json" - }, - "Response" : { - "Transfer-Encoding" : "chunked", - "Server" : "openresty/1.15.8.1", - "Access-Control-Allow-Origin" : "*", - "Content-Range" : "items 1-2/3", - "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", - "Connection" : "keep-alive", - "retry-after" : "0", - "StatusCode" : "206", - "Date" : "Thu, 24 Oct 2019 23:26:46 GMT", - "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "b648c788-6a39-4bd7-8b8e-7bcd8b6a5e81", - "Accept-Ranges" : "items", - "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", - "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNTQ=;sn=471254", - "x-ms-request-id" : "b648c788-6a39-4bd7-8b8e-7bcd8b6a5e81", - "Body" : "{\"items\":[{\"etag\":\"2jrEZoKM4c1zCqOvnHkLkTJGGY6\",\"key\":\"key1858213325c\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:47+00:00\"},{\"etag\":\"ZFp4GUE8FPgsv8aRt7NNjoA0Zod\",\"key\":\"key1858213325c\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:47+00:00\"}]}", - "x-ms-client-request-id" : "2de22ef8-fbd2-4a60-9262-ff6fa5264e5f", - "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key18582%2a", - "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3459e1e9-b729-47d9-be5a-4dd54c725b18", - "Content-Type" : "application/json" - }, - "Response" : { - "Transfer-Encoding" : "chunked", - "Server" : "openresty/1.15.8.1", - "Access-Control-Allow-Origin" : "*", - "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", - "Connection" : "keep-alive", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:46 GMT", - "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "d9233040-d678-4d69-b16c-5793ddcd79a8", - "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", - "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNTQ=;sn=471254", - "x-ms-request-id" : "d9233040-d678-4d69-b16c-5793ddcd79a8", - "Body" : "{\"items\":[{\"etag\":\"l6yIgoYCYFava1CNyqbbR9jX1nI\",\"key\":\"key1858213325c\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:47+00:00\"}]}", - "x-ms-client-request-id" : "3459e1e9-b729-47d9-be5a-4dd54c725b18", - "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" - }, - "Exception" : null - }, { - "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key1858213325c", - "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f1f5c75a-5692-4c9a-942a-f647f1eb5303", - "Content-Type" : "application/json" - }, - "Response" : { - "Transfer-Encoding" : "chunked", - "Server" : "openresty/1.15.8.1", - "Access-Control-Allow-Origin" : "*", - "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", - "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:47 GMT", - "retry-after" : "0", - "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:46 GMT", - "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "fc8018a7-dadf-4a10-a49a-a61abe3ded41", - "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", - "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"l6yIgoYCYFava1CNyqbbR9jX1nI\"", - "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNTU=;sn=471255", - "x-ms-request-id" : "fc8018a7-dadf-4a10-a49a-a61abe3ded41", - "Body" : "{\"etag\":\"l6yIgoYCYFava1CNyqbbR9jX1nI\",\"key\":\"key1858213325c\",\"label\":null,\"content_type\":null,\"value\":\"anotherValue2\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:47+00:00\"}", - "x-ms-client-request-id" : "f1f5c75a-5692-4c9a-942a-f647f1eb5303", - "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" - }, - "Exception" : null - } ], - "variables" : [ "key18582", "5142bab2", "key1858213325c" ] -} \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listWithKeyAndLabel.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listWithKeyAndLabel.json index 3cc2853c6a73..481add7f0839 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listWithKeyAndLabel.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listWithKeyAndLabel.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key9180695492e?label=lbl14497", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key98219458700?label=fa29c36b837490&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f4c1369f-76aa-4f15-9e89-bd1d2c357c35", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "82d6b3c7-2178-41e0-858c-b90490b890f6", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:01 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:00 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "63c638e8-1553-46de-8634-29f6ac889e3b", + "x-ms-correlation-request-id" : "33a1ea01-b54a-4746-a6ec-3727eaf6eb8a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"nX8Ik81QnLKrvZKSHB0a9mOyc97\"", + "ETag" : "\"y7MuuDTL5lJyTURG65EF9i5pap4\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MDE=;sn=471401", - "x-ms-request-id" : "63c638e8-1553-46de-8634-29f6ac889e3b", - "Body" : "{\"etag\":\"nX8Ik81QnLKrvZKSHB0a9mOyc97\",\"key\":\"key9180695492e\",\"label\":\"lbl14497\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:04+00:00\"}", - "x-ms-client-request-id" : "f4c1369f-76aa-4f15-9e89-bd1d2c357c35", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MjA=;sn=569420", + "x-ms-request-id" : "33a1ea01-b54a-4746-a6ec-3727eaf6eb8a", + "Body" : "{\"etag\":\"y7MuuDTL5lJyTURG65EF9i5pap4\",\"key\":\"key98219458700\",\"label\":\"fa29c36b837490\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:01+00:00\"}", + "x-ms-client-request-id" : "82d6b3c7-2178-41e0-858c-b90490b890f6", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key9180695492e&label=lbl14497", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key98219458700&label=fa29c36b837490&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "707d5958-0cdf-4c8c-b4be-e469f9ebe6aa", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1b6e7912-8ab3-4c67-a6cd-d2a1e65b906c", "Content-Type" : "application/json" }, "Response" : { @@ -46,25 +46,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:00 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "8f0f4d13-b7b5-4bbb-9698-980d0b57472d", + "x-ms-correlation-request-id" : "ea89b19a-27ba-4815-acfe-7f29d3253ae6", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MDE=;sn=471401", - "x-ms-request-id" : "8f0f4d13-b7b5-4bbb-9698-980d0b57472d", - "Body" : "{\"items\":[{\"etag\":\"nX8Ik81QnLKrvZKSHB0a9mOyc97\",\"key\":\"key9180695492e\",\"label\":\"lbl14497\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:04+00:00\"}]}", - "x-ms-client-request-id" : "707d5958-0cdf-4c8c-b4be-e469f9ebe6aa", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MjA=;sn=569420", + "x-ms-request-id" : "ea89b19a-27ba-4815-acfe-7f29d3253ae6", + "Body" : "{\"items\":[{\"etag\":\"y7MuuDTL5lJyTURG65EF9i5pap4\",\"key\":\"key98219458700\",\"label\":\"fa29c36b837490\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:01+00:00\"}]}", + "x-ms-client-request-id" : "1b6e7912-8ab3-4c67-a6cd-d2a1e65b906c", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key9180695492e", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key98219458700&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "837bb95a-7d11-4bd5-8d49-ae24036c4b92", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6c27d085-a139-45f3-a1d3-e91c9cc17767", "Content-Type" : "application/json" }, "Response" : { @@ -75,25 +75,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:00 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "bd411067-6cdd-41aa-9abb-734740f8ab0e", + "x-ms-correlation-request-id" : "1402af23-c879-47dc-90b8-cb2464eb969f", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MDE=;sn=471401", - "x-ms-request-id" : "bd411067-6cdd-41aa-9abb-734740f8ab0e", - "Body" : "{\"items\":[{\"etag\":\"nX8Ik81QnLKrvZKSHB0a9mOyc97\",\"key\":\"key9180695492e\",\"label\":\"lbl14497\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:04+00:00\"}]}", - "x-ms-client-request-id" : "837bb95a-7d11-4bd5-8d49-ae24036c4b92", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MjA=;sn=569420", + "x-ms-request-id" : "1402af23-c879-47dc-90b8-cb2464eb969f", + "Body" : "{\"items\":[{\"etag\":\"y7MuuDTL5lJyTURG65EF9i5pap4\",\"key\":\"key98219458700\",\"label\":\"fa29c36b837490\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:01+00:00\"}]}", + "x-ms-client-request-id" : "6c27d085-a139-45f3-a1d3-e91c9cc17767", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key91806%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key98219%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6c62b077-37aa-4786-a849-41b5ba3015a2", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f9d4976a-82e9-43f7-833f-dba02977c3bd", "Content-Type" : "application/json" }, "Response" : { @@ -104,25 +104,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:00 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "83a06063-60ef-48cd-8888-705d487c1718", + "x-ms-correlation-request-id" : "07bfa8fb-9701-4f33-809d-fa0b5096fd9d", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MDE=;sn=471401", - "x-ms-request-id" : "83a06063-60ef-48cd-8888-705d487c1718", - "Body" : "{\"items\":[{\"etag\":\"nX8Ik81QnLKrvZKSHB0a9mOyc97\",\"key\":\"key9180695492e\",\"label\":\"lbl14497\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:04+00:00\"}]}", - "x-ms-client-request-id" : "6c62b077-37aa-4786-a849-41b5ba3015a2", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MjA=;sn=569420", + "x-ms-request-id" : "07bfa8fb-9701-4f33-809d-fa0b5096fd9d", + "Body" : "{\"items\":[{\"etag\":\"y7MuuDTL5lJyTURG65EF9i5pap4\",\"key\":\"key98219458700\",\"label\":\"fa29c36b837490\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:01+00:00\"}]}", + "x-ms-client-request-id" : "f9d4976a-82e9-43f7-833f-dba02977c3bd", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key9180695492e?label=lbl14497", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key98219458700?label=fa29c36b837490&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ffdd1cdf-7195-44ff-b303-f440eaee687b", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "5c93cb9b-0144-4fdc-bc3b-9a21bff8027d", "Content-Type" : "application/json" }, "Response" : { @@ -131,23 +131,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:01 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:00 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "afc5e438-5fe3-41a1-9d91-aaea2866b464", + "x-ms-correlation-request-id" : "48be6fcb-8920-4576-92b1-d177034208df", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"nX8Ik81QnLKrvZKSHB0a9mOyc97\"", + "ETag" : "\"y7MuuDTL5lJyTURG65EF9i5pap4\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MDI=;sn=471402", - "x-ms-request-id" : "afc5e438-5fe3-41a1-9d91-aaea2866b464", - "Body" : "{\"etag\":\"nX8Ik81QnLKrvZKSHB0a9mOyc97\",\"key\":\"key9180695492e\",\"label\":\"lbl14497\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:04+00:00\"}", - "x-ms-client-request-id" : "ffdd1cdf-7195-44ff-b303-f440eaee687b", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MjE=;sn=569421", + "x-ms-request-id" : "48be6fcb-8920-4576-92b1-d177034208df", + "Body" : "{\"etag\":\"y7MuuDTL5lJyTURG65EF9i5pap4\",\"key\":\"key98219458700\",\"label\":\"fa29c36b837490\",\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:01+00:00\"}", + "x-ms-client-request-id" : "5c93cb9b-0144-4fdc-bc3b-9a21bff8027d", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key91806", "f50c4422", "key9180695492e", "lbl14497" ] + "variables" : [ "key98219", "fa29c36b", "key98219458700", "fa29c36b837490" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listWithMultipleKeys.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listWithMultipleKeys.json index 8c1e1c5e9861..25813f562fc7 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listWithMultipleKeys.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listWithMultipleKeys.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key47277648160", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key7369705266a?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ecaf0e50-3be2-4df9-b293-af630f637ec7", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1a2c42cf-5d02-4adf-acce-c4463c2ad0b7", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:46 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:46 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:46 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:46 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "c5776c7f-4a8e-4bd8-a188-948a7a96b7bc", + "x-ms-correlation-request-id" : "89bc4172-6ee4-429f-bd35-a896e6a244ba", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"fv86VmcJYOEC07UwfVM4e4R7Moe\"", + "ETag" : "\"xpRfz2Zm2QQ7yEgumkqi6mjIjEv\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNDg=;sn=471248", - "x-ms-request-id" : "c5776c7f-4a8e-4bd8-a188-948a7a96b7bc", - "Body" : "{\"etag\":\"fv86VmcJYOEC07UwfVM4e4R7Moe\",\"key\":\"key47277648160\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:46+00:00\"}", - "x-ms-client-request-id" : "ecaf0e50-3be2-4df9-b293-af630f637ec7", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNzI=;sn=569272", + "x-ms-request-id" : "89bc4172-6ee4-429f-bd35-a896e6a244ba", + "Body" : "{\"etag\":\"xpRfz2Zm2QQ7yEgumkqi6mjIjEv\",\"key\":\"key7369705266a\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:46+00:00\"}", + "x-ms-client-request-id" : "1a2c42cf-5d02-4adf-acce-c4463c2ad0b7", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key4727729161f", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key73697608997?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "5841c73b-5fa4-4f53-93cb-0e148d56a15c", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a20604a3-63c5-4ea8-ba02-653277e3bec1", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:46 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:46 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:46 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:46 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "c48348eb-7e36-4b5f-8bd7-3687757b6aa2", + "x-ms-correlation-request-id" : "43665e3a-59cf-46aa-a818-e4394cb8f834", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"H2sbXESwx2eyhaDVoL6PSZp7oFI\"", + "ETag" : "\"ErzhAGttntuPtQb6Ncso19GqLLs\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNDk=;sn=471249", - "x-ms-request-id" : "c48348eb-7e36-4b5f-8bd7-3687757b6aa2", - "Body" : "{\"etag\":\"H2sbXESwx2eyhaDVoL6PSZp7oFI\",\"key\":\"key4727729161f\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:46+00:00\"}", - "x-ms-client-request-id" : "5841c73b-5fa4-4f53-93cb-0e148d56a15c", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNzM=;sn=569273", + "x-ms-request-id" : "43665e3a-59cf-46aa-a818-e4394cb8f834", + "Body" : "{\"etag\":\"ErzhAGttntuPtQb6Ncso19GqLLs\",\"key\":\"key73697608997\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:46+00:00\"}", + "x-ms-client-request-id" : "a20604a3-63c5-4ea8-ba02-653277e3bec1", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key47277648160%2ckey4727729161f", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key7369705266a%2ckey73697608997&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1c6272a0-7a4a-4d6c-b9c7-5fbbc12d3da1", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f2594c8f-b0fe-45a0-bc7a-933a0b1d9830", "Content-Type" : "application/json" }, "Response" : { @@ -77,25 +77,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:46 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:46 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "a19f3ef6-b86c-4545-bd98-8297baaa473d", + "x-ms-correlation-request-id" : "c4a3ee03-1c9a-4d7e-a0df-9b2e7977e325", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNDk=;sn=471249", - "x-ms-request-id" : "a19f3ef6-b86c-4545-bd98-8297baaa473d", - "Body" : "{\"items\":[{\"etag\":\"H2sbXESwx2eyhaDVoL6PSZp7oFI\",\"key\":\"key4727729161f\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:46+00:00\"},{\"etag\":\"fv86VmcJYOEC07UwfVM4e4R7Moe\",\"key\":\"key47277648160\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:46+00:00\"}]}", - "x-ms-client-request-id" : "1c6272a0-7a4a-4d6c-b9c7-5fbbc12d3da1", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNzM=;sn=569273", + "x-ms-request-id" : "c4a3ee03-1c9a-4d7e-a0df-9b2e7977e325", + "Body" : "{\"items\":[{\"etag\":\"xpRfz2Zm2QQ7yEgumkqi6mjIjEv\",\"key\":\"key7369705266a\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:46+00:00\"},{\"etag\":\"ErzhAGttntuPtQb6Ncso19GqLLs\",\"key\":\"key73697608997\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:46+00:00\"}]}", + "x-ms-client-request-id" : "f2594c8f-b0fe-45a0-bc7a-933a0b1d9830", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key47277%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key73697%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "86a525a0-04e3-47a0-ab9d-bf99e9bb6aee", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8900f137-80d5-40b3-8cb6-ddf0d72a8c4d", "Content-Type" : "application/json" }, "Response" : { @@ -106,25 +106,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:46 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:46 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "83565a3c-6c78-4886-ad47-7bbd4a29cdea", + "x-ms-correlation-request-id" : "30a2c25e-62ac-488a-9ca9-d671278dbf93", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNDk=;sn=471249", - "x-ms-request-id" : "83565a3c-6c78-4886-ad47-7bbd4a29cdea", - "Body" : "{\"items\":[{\"etag\":\"H2sbXESwx2eyhaDVoL6PSZp7oFI\",\"key\":\"key4727729161f\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:46+00:00\"},{\"etag\":\"fv86VmcJYOEC07UwfVM4e4R7Moe\",\"key\":\"key47277648160\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:46+00:00\"}]}", - "x-ms-client-request-id" : "86a525a0-04e3-47a0-ab9d-bf99e9bb6aee", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNzM=;sn=569273", + "x-ms-request-id" : "30a2c25e-62ac-488a-9ca9-d671278dbf93", + "Body" : "{\"items\":[{\"etag\":\"xpRfz2Zm2QQ7yEgumkqi6mjIjEv\",\"key\":\"key7369705266a\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:46+00:00\"},{\"etag\":\"ErzhAGttntuPtQb6Ncso19GqLLs\",\"key\":\"key73697608997\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:46+00:00\"}]}", + "x-ms-client-request-id" : "8900f137-80d5-40b3-8cb6-ddf0d72a8c4d", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key47277648160", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key7369705266a?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f80fb926-4254-4bbc-b1de-59e9cc45b532", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f5f8a9aa-8f04-45d6-b548-d8961ccf46c7", "Content-Type" : "application/json" }, "Response" : { @@ -133,29 +133,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:46 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:46 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:46 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:46 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "99153055-a514-43b2-aca7-4bfe1c2386e1", + "x-ms-correlation-request-id" : "46963462-2df7-49ab-b3b8-bd8b4b006daf", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"fv86VmcJYOEC07UwfVM4e4R7Moe\"", + "ETag" : "\"xpRfz2Zm2QQ7yEgumkqi6mjIjEv\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNTE=;sn=471251", - "x-ms-request-id" : "99153055-a514-43b2-aca7-4bfe1c2386e1", - "Body" : "{\"etag\":\"fv86VmcJYOEC07UwfVM4e4R7Moe\",\"key\":\"key47277648160\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:46+00:00\"}", - "x-ms-client-request-id" : "f80fb926-4254-4bbc-b1de-59e9cc45b532", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNzQ=;sn=569274", + "x-ms-request-id" : "46963462-2df7-49ab-b3b8-bd8b4b006daf", + "Body" : "{\"etag\":\"xpRfz2Zm2QQ7yEgumkqi6mjIjEv\",\"key\":\"key7369705266a\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:46+00:00\"}", + "x-ms-client-request-id" : "f5f8a9aa-8f04-45d6-b548-d8961ccf46c7", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key4727729161f", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key73697608997?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "31cb32ca-a6b7-4e12-9f85-358d2664eca1", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0810f7ca-baf2-48c2-b450-89fad27de548", "Content-Type" : "application/json" }, "Response" : { @@ -164,23 +164,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:46 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:46 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:46 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:46 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "55394705-d0da-49f5-82b0-ea379d741892", + "x-ms-correlation-request-id" : "191d4545-e2c3-4f60-ae25-085d928673cf", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"H2sbXESwx2eyhaDVoL6PSZp7oFI\"", + "ETag" : "\"ErzhAGttntuPtQb6Ncso19GqLLs\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNTA=;sn=471250", - "x-ms-request-id" : "55394705-d0da-49f5-82b0-ea379d741892", - "Body" : "{\"etag\":\"H2sbXESwx2eyhaDVoL6PSZp7oFI\",\"key\":\"key4727729161f\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:46+00:00\"}", - "x-ms-client-request-id" : "31cb32ca-a6b7-4e12-9f85-358d2664eca1", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyNzU=;sn=569275", + "x-ms-request-id" : "191d4545-e2c3-4f60-ae25-085d928673cf", + "Body" : "{\"etag\":\"ErzhAGttntuPtQb6Ncso19GqLLs\",\"key\":\"key73697608997\",\"label\":null,\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:46+00:00\"}", + "x-ms-client-request-id" : "0810f7ca-baf2-48c2-b450-89fad27de548", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key47277", "6a8d5ea6", "key47277648160", "key4727729161f" ] + "variables" : [ "key73697", "29d5688c", "key7369705266a", "key73697608997" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listWithMultipleLabels.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listWithMultipleLabels.json index 90ff2ab6d1d9..d50159cf2914 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listWithMultipleLabels.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/listWithMultipleLabels.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key95601876023?label=737c091962260a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key41963693305?label=df52a31c26731b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "93b6e1c7-7291-4f2d-9998-de64bfe585e0", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0ca7a407-d036-4413-9f4d-b7e6af4e1f02", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:42 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:42 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "99f84097-432c-498a-a095-afe2d6e55a34", + "x-ms-correlation-request-id" : "11f5d988-d64e-4f82-a8bb-a4b23c217f05", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"gNnlHQyBCkoZT4cEWChmsMSKNua\"", + "ETag" : "\"Co35F80wXuTs7ghiuAb5WHtqO6U\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzExOTM=;sn=471193", - "x-ms-request-id" : "99f84097-432c-498a-a095-afe2d6e55a34", - "Body" : "{\"etag\":\"gNnlHQyBCkoZT4cEWChmsMSKNua\",\"key\":\"key95601876023\",\"label\":\"737c091962260a\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:42+00:00\"}", - "x-ms-client-request-id" : "93b6e1c7-7291-4f2d-9998-de64bfe585e0", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMTc=;sn=569217", + "x-ms-request-id" : "11f5d988-d64e-4f82-a8bb-a4b23c217f05", + "Body" : "{\"etag\":\"Co35F80wXuTs7ghiuAb5WHtqO6U\",\"key\":\"key41963693305\",\"label\":\"df52a31c26731b\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:42+00:00\"}", + "x-ms-client-request-id" : "0ca7a407-d036-4413-9f4d-b7e6af4e1f02", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key95601876023?label=737c091961062c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key41963693305?label=df52a31c622481&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4d52e5c5-ddba-4800-89a2-ef84c761daa9", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3649038a-e678-4d46-a884-2e10a459082c", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:42 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:42 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "04526a2e-91df-4752-b6f6-8714ffbbde6d", + "x-ms-correlation-request-id" : "fa5a82a7-805d-4897-8dc2-ec90bdb209f9", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"16SiInaCSpKHZPKXv2Oz2z2WLRG\"", + "ETag" : "\"0kK5rI7OkJe9ieoEPPf7ZkPE0lE\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzExOTQ=;sn=471194", - "x-ms-request-id" : "04526a2e-91df-4752-b6f6-8714ffbbde6d", - "Body" : "{\"etag\":\"16SiInaCSpKHZPKXv2Oz2z2WLRG\",\"key\":\"key95601876023\",\"label\":\"737c091961062c\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:42+00:00\"}", - "x-ms-client-request-id" : "4d52e5c5-ddba-4800-89a2-ef84c761daa9", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMTg=;sn=569218", + "x-ms-request-id" : "fa5a82a7-805d-4897-8dc2-ec90bdb209f9", + "Body" : "{\"etag\":\"0kK5rI7OkJe9ieoEPPf7ZkPE0lE\",\"key\":\"key41963693305\",\"label\":\"df52a31c622481\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:42+00:00\"}", + "x-ms-client-request-id" : "3649038a-e678-4d46-a884-2e10a459082c", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key95601876023&label=737c091962260a%2c737c091961062c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key41963693305&label=df52a31c26731b%2cdf52a31c622481&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "362172ff-1455-4483-9473-cffefcd8ded4", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ed788241-8194-4fb2-b2b8-efa0cd79278e", "Content-Type" : "application/json" }, "Response" : { @@ -77,25 +77,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:42 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "e6765b9e-d4e8-4836-b2fb-2014755bfacf", + "x-ms-correlation-request-id" : "859fff53-049a-4d56-af7c-b0ae8b0a290c", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzExOTQ=;sn=471194", - "x-ms-request-id" : "e6765b9e-d4e8-4836-b2fb-2014755bfacf", - "Body" : "{\"items\":[{\"etag\":\"16SiInaCSpKHZPKXv2Oz2z2WLRG\",\"key\":\"key95601876023\",\"label\":\"737c091961062c\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:42+00:00\"},{\"etag\":\"gNnlHQyBCkoZT4cEWChmsMSKNua\",\"key\":\"key95601876023\",\"label\":\"737c091962260a\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:42+00:00\"}]}", - "x-ms-client-request-id" : "362172ff-1455-4483-9473-cffefcd8ded4", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMTg=;sn=569218", + "x-ms-request-id" : "859fff53-049a-4d56-af7c-b0ae8b0a290c", + "Body" : "{\"items\":[{\"etag\":\"Co35F80wXuTs7ghiuAb5WHtqO6U\",\"key\":\"key41963693305\",\"label\":\"df52a31c26731b\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:42+00:00\"},{\"etag\":\"0kK5rI7OkJe9ieoEPPf7ZkPE0lE\",\"key\":\"key41963693305\",\"label\":\"df52a31c622481\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:42+00:00\"}]}", + "x-ms-client-request-id" : "ed788241-8194-4fb2-b2b8-efa0cd79278e", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key95601%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key41963%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3bbbe467-265f-4dfb-8f6b-5a97629d5275", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2fe71db4-d3ec-4484-a692-82f31ef252fb", "Content-Type" : "application/json" }, "Response" : { @@ -106,25 +106,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:42 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "7cf7e35f-2ae4-44b6-9cd7-a229d57ff092", + "x-ms-correlation-request-id" : "58c9babd-966a-4dcc-bb75-0a0f9cfef1b2", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzExOTQ=;sn=471194", - "x-ms-request-id" : "7cf7e35f-2ae4-44b6-9cd7-a229d57ff092", - "Body" : "{\"items\":[{\"etag\":\"16SiInaCSpKHZPKXv2Oz2z2WLRG\",\"key\":\"key95601876023\",\"label\":\"737c091961062c\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:42+00:00\"},{\"etag\":\"gNnlHQyBCkoZT4cEWChmsMSKNua\",\"key\":\"key95601876023\",\"label\":\"737c091962260a\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:42+00:00\"}]}", - "x-ms-client-request-id" : "3bbbe467-265f-4dfb-8f6b-5a97629d5275", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMTg=;sn=569218", + "x-ms-request-id" : "58c9babd-966a-4dcc-bb75-0a0f9cfef1b2", + "Body" : "{\"items\":[{\"etag\":\"Co35F80wXuTs7ghiuAb5WHtqO6U\",\"key\":\"key41963693305\",\"label\":\"df52a31c26731b\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:42+00:00\"},{\"etag\":\"0kK5rI7OkJe9ieoEPPf7ZkPE0lE\",\"key\":\"key41963693305\",\"label\":\"df52a31c622481\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:42+00:00\"}]}", + "x-ms-client-request-id" : "2fe71db4-d3ec-4484-a692-82f31ef252fb", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key95601876023?label=737c091961062c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key41963693305?label=df52a31c26731b&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "05cfd6ea-166e-4009-8491-ea9ae35b086a", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ffd60272-b860-4c48-a23f-ea7932b0d136", "Content-Type" : "application/json" }, "Response" : { @@ -133,29 +133,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:42 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:42 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "ca5362d1-900b-4dee-8805-f9918ece174d", + "x-ms-correlation-request-id" : "65952e33-483d-4478-a46f-e40d7002c348", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"16SiInaCSpKHZPKXv2Oz2z2WLRG\"", + "ETag" : "\"Co35F80wXuTs7ghiuAb5WHtqO6U\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzExOTU=;sn=471195", - "x-ms-request-id" : "ca5362d1-900b-4dee-8805-f9918ece174d", - "Body" : "{\"etag\":\"16SiInaCSpKHZPKXv2Oz2z2WLRG\",\"key\":\"key95601876023\",\"label\":\"737c091961062c\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:42+00:00\"}", - "x-ms-client-request-id" : "05cfd6ea-166e-4009-8491-ea9ae35b086a", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMTk=;sn=569219", + "x-ms-request-id" : "65952e33-483d-4478-a46f-e40d7002c348", + "Body" : "{\"etag\":\"Co35F80wXuTs7ghiuAb5WHtqO6U\",\"key\":\"key41963693305\",\"label\":\"df52a31c26731b\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:42+00:00\"}", + "x-ms-client-request-id" : "ffd60272-b860-4c48-a23f-ea7932b0d136", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key95601876023?label=737c091962260a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key41963693305?label=df52a31c622481&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "1c11a57e-b481-4134-b531-89cbe2fddf7e", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "064705ed-6f35-4bcd-bdaf-661f248cbf12", "Content-Type" : "application/json" }, "Response" : { @@ -164,23 +164,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:42 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:42 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:42 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "63cba20e-a85a-48be-916a-189d249f5122", + "x-ms-correlation-request-id" : "dbc793e7-a641-4a33-94ec-0678f4b5fd52", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"gNnlHQyBCkoZT4cEWChmsMSKNua\"", + "ETag" : "\"0kK5rI7OkJe9ieoEPPf7ZkPE0lE\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzExOTY=;sn=471196", - "x-ms-request-id" : "63cba20e-a85a-48be-916a-189d249f5122", - "Body" : "{\"etag\":\"gNnlHQyBCkoZT4cEWChmsMSKNua\",\"key\":\"key95601876023\",\"label\":\"737c091962260a\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:42+00:00\"}", - "x-ms-client-request-id" : "1c11a57e-b481-4134-b531-89cbe2fddf7e", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyMjA=;sn=569220", + "x-ms-request-id" : "dbc793e7-a641-4a33-94ec-0678f4b5fd52", + "Body" : "{\"etag\":\"0kK5rI7OkJe9ieoEPPf7ZkPE0lE\",\"key\":\"key41963693305\",\"label\":\"df52a31c622481\",\"content_type\":null,\"value\":\"value\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:42+00:00\"}", + "x-ms-client-request-id" : "064705ed-6f35-4bcd-bdaf-661f248cbf12", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key95601", "737c0919", "key95601876023", "737c091962260a", "737c091961062c" ] + "variables" : [ "key41963", "df52a31c", "key41963693305", "df52a31c26731b", "df52a31c622481" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setConfigurationSetting.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setConfigurationSetting.json index 99129de9e02c..2efc28169974 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setConfigurationSetting.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setConfigurationSetting.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key4970900887c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key73508986870?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "579d03a3-24f7-420a-86b7-205da388a184", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "08c25dcc-9a4e-45ea-a734-1609b4e869eb", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:57 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:56 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "32321717-cfca-4b2e-befa-9673059e9d86", + "x-ms-correlation-request-id" : "88450733-dd97-404e-823e-567accf7dd55", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"x3yrzLVeM4xCGzMGt9HyzM6nS1U\"", + "ETag" : "\"j9AGc5jbQbX83d9yaGk3UT6kUnD\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNDE=;sn=471341", - "x-ms-request-id" : "32321717-cfca-4b2e-befa-9673059e9d86", - "Body" : "{\"etag\":\"x3yrzLVeM4xCGzMGt9HyzM6nS1U\",\"key\":\"key4970900887c\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "579d03a3-24f7-420a-86b7-205da388a184", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNjE=;sn=569361", + "x-ms-request-id" : "88450733-dd97-404e-823e-567accf7dd55", + "Body" : "{\"etag\":\"j9AGc5jbQbX83d9yaGk3UT6kUnD\",\"key\":\"key73508986870\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"}", + "x-ms-client-request-id" : "08c25dcc-9a4e-45ea-a734-1609b4e869eb", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key4970900887c?label=5b1ad5cc224410", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key73508986870?label=f107a408022389&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "638f968a-2bbf-485c-a29a-f545b561bc1b", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8c496e8a-e9c9-4976-a19f-af18dbb25957", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:57 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:56 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "48ab3fa6-b81e-457f-95f7-21a24adc683c", + "x-ms-correlation-request-id" : "19c96ba6-e4a6-42cb-b8fa-4c3d63cc4faf", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"QfBxNKMJcsPZTmmsUK8Hgdx2djQ\"", + "ETag" : "\"H1chePcxEUegOvOqWHGjX0sf1Q8\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNDI=;sn=471342", - "x-ms-request-id" : "48ab3fa6-b81e-457f-95f7-21a24adc683c", - "Body" : "{\"etag\":\"QfBxNKMJcsPZTmmsUK8Hgdx2djQ\",\"key\":\"key4970900887c\",\"label\":\"5b1ad5cc224410\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "638f968a-2bbf-485c-a29a-f545b561bc1b", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNjI=;sn=569362", + "x-ms-request-id" : "19c96ba6-e4a6-42cb-b8fa-4c3d63cc4faf", + "Body" : "{\"etag\":\"H1chePcxEUegOvOqWHGjX0sf1Q8\",\"key\":\"key73508986870\",\"label\":\"f107a408022389\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"}", + "x-ms-client-request-id" : "8c496e8a-e9c9-4976-a19f-af18dbb25957", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key49709%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key73508%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c88836fd-1141-4986-8af6-6f5d479eb17e", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3671cecc-c5d7-418b-84ba-8ea1cf7ef9c4", "Content-Type" : "application/json" }, "Response" : { @@ -77,25 +77,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:56 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "147eaff1-f4f6-4bde-82fd-4c4d187e5e14", + "x-ms-correlation-request-id" : "d431ab8c-af3b-4362-93fc-d3008f8c9ba1", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNDI=;sn=471342", - "x-ms-request-id" : "147eaff1-f4f6-4bde-82fd-4c4d187e5e14", - "Body" : "{\"items\":[{\"etag\":\"x3yrzLVeM4xCGzMGt9HyzM6nS1U\",\"key\":\"key4970900887c\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"},{\"etag\":\"QfBxNKMJcsPZTmmsUK8Hgdx2djQ\",\"key\":\"key4970900887c\",\"label\":\"5b1ad5cc224410\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}]}", - "x-ms-client-request-id" : "c88836fd-1141-4986-8af6-6f5d479eb17e", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNjI=;sn=569362", + "x-ms-request-id" : "d431ab8c-af3b-4362-93fc-d3008f8c9ba1", + "Body" : "{\"items\":[{\"etag\":\"j9AGc5jbQbX83d9yaGk3UT6kUnD\",\"key\":\"key73508986870\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"},{\"etag\":\"H1chePcxEUegOvOqWHGjX0sf1Q8\",\"key\":\"key73508986870\",\"label\":\"f107a408022389\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"}]}", + "x-ms-client-request-id" : "3671cecc-c5d7-418b-84ba-8ea1cf7ef9c4", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key4970900887c?label=5b1ad5cc224410", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key73508986870?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b152b1f2-c69e-4bed-bd9e-a9dceb36ab5e", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "768e6819-ad7d-4a95-a1a5-9c06728c257f", "Content-Type" : "application/json" }, "Response" : { @@ -104,29 +104,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:57 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:56 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "cd590f41-647d-4c91-9291-fd997b840f1c", + "x-ms-correlation-request-id" : "5db819b8-97e5-45bd-a542-3f14bb14a09d", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"QfBxNKMJcsPZTmmsUK8Hgdx2djQ\"", + "ETag" : "\"j9AGc5jbQbX83d9yaGk3UT6kUnD\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNDM=;sn=471343", - "x-ms-request-id" : "cd590f41-647d-4c91-9291-fd997b840f1c", - "Body" : "{\"etag\":\"QfBxNKMJcsPZTmmsUK8Hgdx2djQ\",\"key\":\"key4970900887c\",\"label\":\"5b1ad5cc224410\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "b152b1f2-c69e-4bed-bd9e-a9dceb36ab5e", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNjM=;sn=569363", + "x-ms-request-id" : "5db819b8-97e5-45bd-a542-3f14bb14a09d", + "Body" : "{\"etag\":\"j9AGc5jbQbX83d9yaGk3UT6kUnD\",\"key\":\"key73508986870\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"}", + "x-ms-client-request-id" : "768e6819-ad7d-4a95-a1a5-9c06728c257f", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key4970900887c", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key73508986870?label=f107a408022389&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "8a6c2824-017a-48c7-8cc9-8b80bc6e683e", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "f3500a6b-ef20-40e4-ab3a-23224b6a7d52", "Content-Type" : "application/json" }, "Response" : { @@ -135,23 +135,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:57 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:57 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:56 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:56 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "f6960a0d-443b-4fd1-aa3a-fccab9ec5c57", + "x-ms-correlation-request-id" : "bd681c6e-6f56-4eda-ab4e-c38a9cbbf2cd", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"x3yrzLVeM4xCGzMGt9HyzM6nS1U\"", + "ETag" : "\"H1chePcxEUegOvOqWHGjX0sf1Q8\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzNDQ=;sn=471344", - "x-ms-request-id" : "f6960a0d-443b-4fd1-aa3a-fccab9ec5c57", - "Body" : "{\"etag\":\"x3yrzLVeM4xCGzMGt9HyzM6nS1U\",\"key\":\"key4970900887c\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:57+00:00\"}", - "x-ms-client-request-id" : "8a6c2824-017a-48c7-8cc9-8b80bc6e683e", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkzNjQ=;sn=569364", + "x-ms-request-id" : "bd681c6e-6f56-4eda-ab4e-c38a9cbbf2cd", + "Body" : "{\"etag\":\"H1chePcxEUegOvOqWHGjX0sf1Q8\",\"key\":\"key73508986870\",\"label\":\"f107a408022389\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:57+00:00\"}", + "x-ms-client-request-id" : "f3500a6b-ef20-40e4-ab3a-23224b6a7d52", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key49709", "5b1ad5cc", "key4970900887c", "5b1ad5cc224410" ] + "variables" : [ "key73508", "f107a408", "key73508986870", "f107a408022389" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setConfigurationSettingEmptyKey.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setConfigurationSettingEmptyKey.json index 8cecb2c1a359..d9adb4817a2d 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setConfigurationSettingEmptyKey.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setConfigurationSettingEmptyKey.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "b990656f-b3f6-41a1-82df-0a013b154b70", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ea8b513b-878c-4798-a471-3ef7297f202d", "Content-Type" : "application/json" }, "Response" : { @@ -14,23 +14,23 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "405", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:10 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "328d82a2-47ac-4509-970d-c04e9311514f", + "x-ms-correlation-request-id" : "fdc78b37-fae0-45b2-9143-9de084562069", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", "Content-Length" : "0", - "x-ms-request-id" : "328d82a2-47ac-4509-970d-c04e9311514f", - "x-ms-client-request-id" : "b990656f-b3f6-41a1-82df-0a013b154b70" + "x-ms-request-id" : "fdc78b37-fae0-45b2-9143-9de084562069", + "x-ms-client-request-id" : "ea8b513b-878c-4798-a471-3ef7297f202d" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key33603%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key16051%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0cbf9e98-6302-4043-9cb5-b2f416c56e06", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4c22ec72-37a3-4aed-a2a9-3efa0429748c", "Content-Type" : "application/json" }, "Response" : { @@ -41,18 +41,18 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:10 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "c5d2942e-94d3-4337-a297-437af74c23fb", + "x-ms-correlation-request-id" : "d41faf1b-ae05-49c5-871c-c420640ef176", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "x-ms-request-id" : "c5d2942e-94d3-4337-a297-437af74c23fb", + "x-ms-request-id" : "d41faf1b-ae05-49c5-871c-c420640ef176", "Body" : "{\"items\":[]}", - "x-ms-client-request-id" : "0cbf9e98-6302-4043-9cb5-b2f416c56e06", + "x-ms-client-request-id" : "4c22ec72-37a3-4aed-a2a9-3efa0429748c", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key33603", "f003fe24" ] + "variables" : [ "key16051", "b8dbc523" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setConfigurationSettingEmptyValue.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setConfigurationSettingEmptyValue.json index 38435c2cd390..f8e61f93baa2 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setConfigurationSettingEmptyValue.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setConfigurationSettingEmptyValue.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key84246713136", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key98508690755?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3304af81-4cd1-46e2-a2a8-0fcdff013f3c", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "ba5a227b-c1df-4c1a-8685-2d9d37129ceb", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:00 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:00 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "673b4d78-281c-4081-94da-dc54b41ba870", + "x-ms-correlation-request-id" : "dadee22e-80f0-43cf-8fc7-2a0e5d62b323", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"IzuEohXyDS1kXvUHQnm6O89dspM\"", + "ETag" : "\"LO4iAPDmRoY0PipvcMXSNnBdvjU\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzOTc=;sn=471397", - "x-ms-request-id" : "673b4d78-281c-4081-94da-dc54b41ba870", - "Body" : "{\"etag\":\"IzuEohXyDS1kXvUHQnm6O89dspM\",\"key\":\"key84246713136\",\"label\":null,\"content_type\":null,\"value\":null,\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:03+00:00\"}", - "x-ms-client-request-id" : "3304af81-4cd1-46e2-a2a8-0fcdff013f3c", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MTY=;sn=569416", + "x-ms-request-id" : "dadee22e-80f0-43cf-8fc7-2a0e5d62b323", + "Body" : "{\"etag\":\"LO4iAPDmRoY0PipvcMXSNnBdvjU\",\"key\":\"key98508690755\",\"label\":null,\"content_type\":null,\"value\":null,\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"}", + "x-ms-client-request-id" : "ba5a227b-c1df-4c1a-8685-2d9d37129ceb", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key84246713136", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key98508690755?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "da1f1c2e-c555-456f-b110-a9a7519b0596", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "7236b57a-b4f9-412c-ba6e-193022c88a70", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:00 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:00 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "8f977841-1d1d-4ae1-8803-e0428a6e85d8", + "x-ms-correlation-request-id" : "10fb6693-6bfb-424e-8cfe-c346a2f0745b", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"IzuEohXyDS1kXvUHQnm6O89dspM\"", + "ETag" : "\"LO4iAPDmRoY0PipvcMXSNnBdvjU\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzOTc=;sn=471397", - "x-ms-request-id" : "8f977841-1d1d-4ae1-8803-e0428a6e85d8", - "Body" : "{\"etag\":\"IzuEohXyDS1kXvUHQnm6O89dspM\",\"key\":\"key84246713136\",\"label\":null,\"content_type\":null,\"value\":null,\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:03+00:00\"}", - "x-ms-client-request-id" : "da1f1c2e-c555-456f-b110-a9a7519b0596", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MTY=;sn=569416", + "x-ms-request-id" : "10fb6693-6bfb-424e-8cfe-c346a2f0745b", + "Body" : "{\"etag\":\"LO4iAPDmRoY0PipvcMXSNnBdvjU\",\"key\":\"key98508690755\",\"label\":null,\"content_type\":null,\"value\":null,\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"}", + "x-ms-client-request-id" : "7236b57a-b4f9-412c-ba6e-193022c88a70", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key84246713136-1", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key98508690755-1?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "19295502-58ec-4a56-88b9-df3f620a4acf", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "61a00db3-6cbe-46a4-807e-7dc5316c50fc", "Content-Type" : "application/json" }, "Response" : { @@ -75,29 +75,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:00 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:00 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "3de446e7-e7b8-44a3-9e4e-4b3f32450b44", + "x-ms-correlation-request-id" : "829423f0-91e5-4911-aab6-4ec585b7390f", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"3HNqYwSC9knSDg6luw6B5ZlHzM9\"", + "ETag" : "\"z3AYh7Uc6NI4VluGLhaHj2UZ3xL\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzOTg=;sn=471398", - "x-ms-request-id" : "3de446e7-e7b8-44a3-9e4e-4b3f32450b44", - "Body" : "{\"etag\":\"3HNqYwSC9knSDg6luw6B5ZlHzM9\",\"key\":\"key84246713136-1\",\"label\":null,\"content_type\":null,\"value\":\"\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:03+00:00\"}", - "x-ms-client-request-id" : "19295502-58ec-4a56-88b9-df3f620a4acf", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MTc=;sn=569417", + "x-ms-request-id" : "829423f0-91e5-4911-aab6-4ec585b7390f", + "Body" : "{\"etag\":\"z3AYh7Uc6NI4VluGLhaHj2UZ3xL\",\"key\":\"key98508690755-1\",\"label\":null,\"content_type\":null,\"value\":\"\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"}", + "x-ms-client-request-id" : "61a00db3-6cbe-46a4-807e-7dc5316c50fc", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key84246713136-1", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key98508690755-1?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "30d26705-90c2-4f9e-9302-eb320f2bce84", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "9d2c820e-9fd9-4dce-aba4-68650c78e7eb", "Content-Type" : "application/json" }, "Response" : { @@ -106,29 +106,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:00 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:00 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "406eaf71-3419-4bb7-ac16-697ab1679de3", + "x-ms-correlation-request-id" : "8c5f3705-20b6-4dfd-b510-d6104b7422bc", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"3HNqYwSC9knSDg6luw6B5ZlHzM9\"", + "ETag" : "\"z3AYh7Uc6NI4VluGLhaHj2UZ3xL\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzOTg=;sn=471398", - "x-ms-request-id" : "406eaf71-3419-4bb7-ac16-697ab1679de3", - "Body" : "{\"etag\":\"3HNqYwSC9knSDg6luw6B5ZlHzM9\",\"key\":\"key84246713136-1\",\"label\":null,\"content_type\":null,\"value\":\"\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:03+00:00\"}", - "x-ms-client-request-id" : "30d26705-90c2-4f9e-9302-eb320f2bce84", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MTc=;sn=569417", + "x-ms-request-id" : "8c5f3705-20b6-4dfd-b510-d6104b7422bc", + "Body" : "{\"etag\":\"z3AYh7Uc6NI4VluGLhaHj2UZ3xL\",\"key\":\"key98508690755-1\",\"label\":null,\"content_type\":null,\"value\":\"\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"}", + "x-ms-client-request-id" : "9d2c820e-9fd9-4dce-aba4-68650c78e7eb", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key84246%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key98508%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e2eee2f1-1298-4159-9ae1-dbed72d5c667", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4a1f231c-2d7e-4791-af26-dee84b444a47", "Content-Type" : "application/json" }, "Response" : { @@ -139,25 +139,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:00 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "d74b7b7c-f774-4ffc-aee2-e5c140173bdc", + "x-ms-correlation-request-id" : "9d2e5c62-a124-4661-b7ae-30f6e6ca6dbe", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzOTg=;sn=471398", - "x-ms-request-id" : "d74b7b7c-f774-4ffc-aee2-e5c140173bdc", - "Body" : "{\"items\":[{\"etag\":\"IzuEohXyDS1kXvUHQnm6O89dspM\",\"key\":\"key84246713136\",\"label\":null,\"content_type\":null,\"value\":null,\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:03+00:00\"},{\"etag\":\"3HNqYwSC9knSDg6luw6B5ZlHzM9\",\"key\":\"key84246713136-1\",\"label\":null,\"content_type\":null,\"value\":\"\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:03+00:00\"}]}", - "x-ms-client-request-id" : "e2eee2f1-1298-4159-9ae1-dbed72d5c667", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MTc=;sn=569417", + "x-ms-request-id" : "9d2e5c62-a124-4661-b7ae-30f6e6ca6dbe", + "Body" : "{\"items\":[{\"etag\":\"LO4iAPDmRoY0PipvcMXSNnBdvjU\",\"key\":\"key98508690755\",\"label\":null,\"content_type\":null,\"value\":null,\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"},{\"etag\":\"z3AYh7Uc6NI4VluGLhaHj2UZ3xL\",\"key\":\"key98508690755-1\",\"label\":null,\"content_type\":null,\"value\":\"\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"}]}", + "x-ms-client-request-id" : "4a1f231c-2d7e-4791-af26-dee84b444a47", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key84246713136-1", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key98508690755?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f03ab7c8-6982-415e-8be9-6aebd9acf257", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "aa7f11ce-f3f4-41dc-9522-0daca670d5cb", "Content-Type" : "application/json" }, "Response" : { @@ -166,29 +166,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:00 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:00 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "b6f508ac-e042-4e47-9ce6-09f4a5d37090", + "x-ms-correlation-request-id" : "5ffe1b99-0828-4b8c-966b-f49e02560e17", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"3HNqYwSC9knSDg6luw6B5ZlHzM9\"", + "ETag" : "\"LO4iAPDmRoY0PipvcMXSNnBdvjU\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MDA=;sn=471400", - "x-ms-request-id" : "b6f508ac-e042-4e47-9ce6-09f4a5d37090", - "Body" : "{\"etag\":\"3HNqYwSC9knSDg6luw6B5ZlHzM9\",\"key\":\"key84246713136-1\",\"label\":null,\"content_type\":null,\"value\":\"\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:03+00:00\"}", - "x-ms-client-request-id" : "f03ab7c8-6982-415e-8be9-6aebd9acf257", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MTg=;sn=569418", + "x-ms-request-id" : "5ffe1b99-0828-4b8c-966b-f49e02560e17", + "Body" : "{\"etag\":\"LO4iAPDmRoY0PipvcMXSNnBdvjU\",\"key\":\"key98508690755\",\"label\":null,\"content_type\":null,\"value\":null,\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"}", + "x-ms-client-request-id" : "aa7f11ce-f3f4-41dc-9522-0daca670d5cb", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key84246713136", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key98508690755-1?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f22fbb49-38b8-4e7d-97e1-e261b73352e1", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3ffe4d72-3975-4c39-b038-08a7de24fe44", "Content-Type" : "application/json" }, "Response" : { @@ -197,23 +197,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:00 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:00 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "a53c5684-ea48-49fb-b824-e9a0a6fca064", + "x-ms-correlation-request-id" : "53e4813b-ac70-43de-96aa-d68c63be2d6b", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"IzuEohXyDS1kXvUHQnm6O89dspM\"", + "ETag" : "\"z3AYh7Uc6NI4VluGLhaHj2UZ3xL\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEzOTk=;sn=471399", - "x-ms-request-id" : "a53c5684-ea48-49fb-b824-e9a0a6fca064", - "Body" : "{\"etag\":\"IzuEohXyDS1kXvUHQnm6O89dspM\",\"key\":\"key84246713136\",\"label\":null,\"content_type\":null,\"value\":null,\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:03+00:00\"}", - "x-ms-client-request-id" : "f22fbb49-38b8-4e7d-97e1-e261b73352e1", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MTk=;sn=569419", + "x-ms-request-id" : "53e4813b-ac70-43de-96aa-d68c63be2d6b", + "Body" : "{\"etag\":\"z3AYh7Uc6NI4VluGLhaHj2UZ3xL\",\"key\":\"key98508690755-1\",\"label\":null,\"content_type\":null,\"value\":\"\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:00+00:00\"}", + "x-ms-client-request-id" : "3ffe4d72-3975-4c39-b038-08a7de24fe44", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key84246", "9ffc0cf0", "key84246713136" ] + "variables" : [ "key98508", "2c8c7670", "key98508690755" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setConfigurationSettingIfETag.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setConfigurationSettingIfETag.json index aa9832e94173..b1b2d34b3dba 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setConfigurationSettingIfETag.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setConfigurationSettingIfETag.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38770106780", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key04381299066?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0acffca3-bf74-4fb8-b64c-7de314cfd080", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d188210f-101f-4f2e-ad64-5d8d2aaecfc0", "Content-Type" : "application/json" }, "Response" : { @@ -14,23 +14,23 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "412", - "Date" : "Thu, 24 Oct 2019 23:27:03 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:02 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "92f740ea-d8ee-4379-a787-0d6ecf90a41a", + "x-ms-correlation-request-id" : "e9d87d92-b385-460b-b08b-ca69a0282efb", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", "Content-Length" : "0", - "x-ms-request-id" : "92f740ea-d8ee-4379-a787-0d6ecf90a41a", - "x-ms-client-request-id" : "0acffca3-bf74-4fb8-b64c-7de314cfd080" + "x-ms-request-id" : "e9d87d92-b385-460b-b08b-ca69a0282efb", + "x-ms-client-request-id" : "d188210f-101f-4f2e-ad64-5d8d2aaecfc0" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38770106780", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key04381299066?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "0dbe9e47-6d30-4867-8ff8-eaf3f34e5cf3", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a82d9a77-744d-4437-8ff5-1a74b873bef6", "Content-Type" : "application/json" }, "Response" : { @@ -39,29 +39,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:03 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:02 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "5b66e985-043a-4085-9e01-bf0edec538d9", + "x-ms-correlation-request-id" : "42d48fec-1b4f-430e-9311-853e656dc1dd", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"GyCutpBohjXjrzl3nSxiPlA5x8P\"", + "ETag" : "\"2viTF4aDGJRPVrRnETrcwd02aZ4\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MDU=;sn=471405", - "x-ms-request-id" : "5b66e985-043a-4085-9e01-bf0edec538d9", - "Body" : "{\"etag\":\"GyCutpBohjXjrzl3nSxiPlA5x8P\",\"key\":\"key38770106780\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:04+00:00\"}", - "x-ms-client-request-id" : "0dbe9e47-6d30-4867-8ff8-eaf3f34e5cf3", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MjI=;sn=569422", + "x-ms-request-id" : "42d48fec-1b4f-430e-9311-853e656dc1dd", + "Body" : "{\"etag\":\"2viTF4aDGJRPVrRnETrcwd02aZ4\",\"key\":\"key04381299066\",\"label\":null,\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:03+00:00\"}", + "x-ms-client-request-id" : "a82d9a77-744d-4437-8ff5-1a74b873bef6", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38770106780", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key04381299066?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "dbc295b4-e32a-4a10-9ca0-110049692117", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "dd805c0e-d114-4322-b545-5f8cabf2f673", "Content-Type" : "application/json" }, "Response" : { @@ -70,29 +70,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:03 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:03 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "e1908ccc-3ec7-4df8-b2d6-f687ed21c3d4", + "x-ms-correlation-request-id" : "05b761b2-15d0-4124-a2f0-ae3e9a896322", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"WT6z8vOj3L4T3nym8loseja0wka\"", + "ETag" : "\"CI0jSEKrl6iHI9vEjXBNXiwxI7Q\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MDc=;sn=471407", - "x-ms-request-id" : "e1908ccc-3ec7-4df8-b2d6-f687ed21c3d4", - "Body" : "{\"etag\":\"WT6z8vOj3L4T3nym8loseja0wka\",\"key\":\"key38770106780\",\"label\":null,\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:04+00:00\"}", - "x-ms-client-request-id" : "dbc295b4-e32a-4a10-9ca0-110049692117", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MjM=;sn=569423", + "x-ms-request-id" : "05b761b2-15d0-4124-a2f0-ae3e9a896322", + "Body" : "{\"etag\":\"CI0jSEKrl6iHI9vEjXBNXiwxI7Q\",\"key\":\"key04381299066\",\"label\":null,\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:03+00:00\"}", + "x-ms-client-request-id" : "dd805c0e-d114-4322-b545-5f8cabf2f673", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38770106780", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key04381299066?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "aff27a17-2b26-4cbb-b0df-1b057ce2a6c3", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "635d80fa-a049-480d-a952-df5e21430e65", "Content-Type" : "application/json" }, "Response" : { @@ -102,23 +102,23 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "412", - "Date" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:03 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "55713cbd-7650-47af-9697-05a30fcb6d25", + "x-ms-correlation-request-id" : "ce429f98-efc9-420a-968a-e547c2fb254a", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", "Content-Length" : "0", - "x-ms-request-id" : "55713cbd-7650-47af-9697-05a30fcb6d25", - "x-ms-client-request-id" : "aff27a17-2b26-4cbb-b0df-1b057ce2a6c3" + "x-ms-request-id" : "ce429f98-efc9-420a-968a-e547c2fb254a", + "x-ms-client-request-id" : "635d80fa-a049-480d-a952-df5e21430e65" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38770106780", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key04381299066?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "3c539dad-4f29-42b9-a767-463ca492a2a3", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "55c1cf83-96e9-4d28-acbe-858471ea4a68", "Content-Type" : "application/json" }, "Response" : { @@ -127,29 +127,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:03 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:03 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "42e60faa-8e4a-4b2f-b032-393120df5e56", + "x-ms-correlation-request-id" : "10a12291-1aff-43a5-9b39-97f5a48f1e66", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"WT6z8vOj3L4T3nym8loseja0wka\"", + "ETag" : "\"CI0jSEKrl6iHI9vEjXBNXiwxI7Q\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MDg=;sn=471408", - "x-ms-request-id" : "42e60faa-8e4a-4b2f-b032-393120df5e56", - "Body" : "{\"etag\":\"WT6z8vOj3L4T3nym8loseja0wka\",\"key\":\"key38770106780\",\"label\":null,\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:04+00:00\"}", - "x-ms-client-request-id" : "3c539dad-4f29-42b9-a767-463ca492a2a3", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MjM=;sn=569423", + "x-ms-request-id" : "10a12291-1aff-43a5-9b39-97f5a48f1e66", + "Body" : "{\"etag\":\"CI0jSEKrl6iHI9vEjXBNXiwxI7Q\",\"key\":\"key04381299066\",\"label\":null,\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:03+00:00\"}", + "x-ms-client-request-id" : "55c1cf83-96e9-4d28-acbe-858471ea4a68", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38770106780?label=9cbc9674853447", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key04381299066?label=15d5efbb772660&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "bbceac7d-41fb-4d96-91ec-53671ea24788", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "857a00b0-6143-4cd3-90a7-38935ec0bc6a", "Content-Type" : "application/json" }, "Response" : { @@ -159,23 +159,23 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "412", - "Date" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:03 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "444924ce-396c-4c6a-93fc-9f42cb4846a2", + "x-ms-correlation-request-id" : "fd2aab29-1201-4406-bc97-3692e835b2fe", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", "Content-Length" : "0", - "x-ms-request-id" : "444924ce-396c-4c6a-93fc-9f42cb4846a2", - "x-ms-client-request-id" : "bbceac7d-41fb-4d96-91ec-53671ea24788" + "x-ms-request-id" : "fd2aab29-1201-4406-bc97-3692e835b2fe", + "x-ms-client-request-id" : "857a00b0-6143-4cd3-90a7-38935ec0bc6a" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38770106780?label=9cbc9674853447", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key04381299066?label=15d5efbb772660&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "02dc5d46-e4cd-4653-af9a-5a6e7f19945e", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "1e023d50-004d-4c5d-9d2f-c63558c5deb0", "Content-Type" : "application/json" }, "Response" : { @@ -184,29 +184,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:03 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:03 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "205c6150-b1c9-41f5-9d85-e36c9925a913", + "x-ms-correlation-request-id" : "7e72456a-2f41-4618-bb32-199d131202e6", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"dDFAQFKjNwA2NmQ2UEEX23pJo7n\"", + "ETag" : "\"yfiEjSlItiwEmzKhXzygKaE83Zd\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MDk=;sn=471409", - "x-ms-request-id" : "205c6150-b1c9-41f5-9d85-e36c9925a913", - "Body" : "{\"etag\":\"dDFAQFKjNwA2NmQ2UEEX23pJo7n\",\"key\":\"key38770106780\",\"label\":\"9cbc9674853447\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:04+00:00\"}", - "x-ms-client-request-id" : "02dc5d46-e4cd-4653-af9a-5a6e7f19945e", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MjQ=;sn=569424", + "x-ms-request-id" : "7e72456a-2f41-4618-bb32-199d131202e6", + "Body" : "{\"etag\":\"yfiEjSlItiwEmzKhXzygKaE83Zd\",\"key\":\"key04381299066\",\"label\":\"15d5efbb772660\",\"content_type\":null,\"value\":\"myNewValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:03+00:00\"}", + "x-ms-client-request-id" : "1e023d50-004d-4c5d-9d2f-c63558c5deb0", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38770106780?label=9cbc9674853447", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key04381299066?label=15d5efbb772660&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "cc52f2de-692e-4059-89b0-498e99a0ae2c", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "2b69f6d3-bf17-47b2-bb13-1bb7c0b23518", "Content-Type" : "application/json" }, "Response" : { @@ -215,29 +215,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:03 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:03 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "577ef145-cb97-4bfb-9a54-230f1409fea7", + "x-ms-correlation-request-id" : "dc00b561-51f8-46e7-bd3c-f9ce05465c51", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"wjVaTVggCDCW2VCQgDMVkbiATmQ\"", + "ETag" : "\"aM8q7alwoOFLcPUsEsebmn9c6yJ\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MTA=;sn=471410", - "x-ms-request-id" : "577ef145-cb97-4bfb-9a54-230f1409fea7", - "Body" : "{\"etag\":\"wjVaTVggCDCW2VCQgDMVkbiATmQ\",\"key\":\"key38770106780\",\"label\":\"9cbc9674853447\",\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:04+00:00\"}", - "x-ms-client-request-id" : "cc52f2de-692e-4059-89b0-498e99a0ae2c", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MjU=;sn=569425", + "x-ms-request-id" : "dc00b561-51f8-46e7-bd3c-f9ce05465c51", + "Body" : "{\"etag\":\"aM8q7alwoOFLcPUsEsebmn9c6yJ\",\"key\":\"key04381299066\",\"label\":\"15d5efbb772660\",\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:03+00:00\"}", + "x-ms-client-request-id" : "2b69f6d3-bf17-47b2-bb13-1bb7c0b23518", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38770106780?label=9cbc9674853447", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key04381299066?label=15d5efbb772660&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "682c7d05-9236-466e-8067-edb2121959dc", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "0c49a2e7-b3cb-4f84-8904-398eb3776671", "Content-Type" : "application/json" }, "Response" : { @@ -247,23 +247,23 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "412", - "Date" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:03 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "2be33912-30e1-4a56-ad34-72f3b6b02500", + "x-ms-correlation-request-id" : "7df321ec-ddfc-4756-b3b4-6e24b4566ce9", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", "Content-Length" : "0", - "x-ms-request-id" : "2be33912-30e1-4a56-ad34-72f3b6b02500", - "x-ms-client-request-id" : "682c7d05-9236-466e-8067-edb2121959dc" + "x-ms-request-id" : "7df321ec-ddfc-4756-b3b4-6e24b4566ce9", + "x-ms-client-request-id" : "0c49a2e7-b3cb-4f84-8904-398eb3776671" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38770106780?label=9cbc9674853447", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key04381299066?label=15d5efbb772660&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "03df8a2f-8429-4241-8d89-aec351712626", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "40c70e27-536c-4ac1-ad4a-1ccbfffb15d1", "Content-Type" : "application/json" }, "Response" : { @@ -272,29 +272,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:03 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:03 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "1b422742-0e0b-4b91-bc84-82f4475110c1", + "x-ms-correlation-request-id" : "a22dc9a8-025a-469c-8e05-a809397b2f46", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"wjVaTVggCDCW2VCQgDMVkbiATmQ\"", + "ETag" : "\"aM8q7alwoOFLcPUsEsebmn9c6yJ\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MTA=;sn=471410", - "x-ms-request-id" : "1b422742-0e0b-4b91-bc84-82f4475110c1", - "Body" : "{\"etag\":\"wjVaTVggCDCW2VCQgDMVkbiATmQ\",\"key\":\"key38770106780\",\"label\":\"9cbc9674853447\",\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:04+00:00\"}", - "x-ms-client-request-id" : "03df8a2f-8429-4241-8d89-aec351712626", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MjU=;sn=569425", + "x-ms-request-id" : "a22dc9a8-025a-469c-8e05-a809397b2f46", + "Body" : "{\"etag\":\"aM8q7alwoOFLcPUsEsebmn9c6yJ\",\"key\":\"key04381299066\",\"label\":\"15d5efbb772660\",\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:03+00:00\"}", + "x-ms-client-request-id" : "40c70e27-536c-4ac1-ad4a-1ccbfffb15d1", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key38770%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key04381%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "6a88a7c2-b8a3-424e-9c8d-f9ff124f92a7", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "d36e38a4-fbf5-4e05-b94e-d6c6aa64260e", "Content-Type" : "application/json" }, "Response" : { @@ -305,25 +305,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:03 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "4d969dc2-f1ac-43cc-8191-d2f9841f6220", + "x-ms-correlation-request-id" : "3121cd5d-aedd-43a4-a64f-6d2105a7c3ed", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MTA=;sn=471410", - "x-ms-request-id" : "4d969dc2-f1ac-43cc-8191-d2f9841f6220", - "Body" : "{\"items\":[{\"etag\":\"WT6z8vOj3L4T3nym8loseja0wka\",\"key\":\"key38770106780\",\"label\":null,\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:04+00:00\"},{\"etag\":\"wjVaTVggCDCW2VCQgDMVkbiATmQ\",\"key\":\"key38770106780\",\"label\":\"9cbc9674853447\",\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:04+00:00\"}]}", - "x-ms-client-request-id" : "6a88a7c2-b8a3-424e-9c8d-f9ff124f92a7", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MjU=;sn=569425", + "x-ms-request-id" : "3121cd5d-aedd-43a4-a64f-6d2105a7c3ed", + "Body" : "{\"items\":[{\"etag\":\"CI0jSEKrl6iHI9vEjXBNXiwxI7Q\",\"key\":\"key04381299066\",\"label\":null,\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:03+00:00\"},{\"etag\":\"aM8q7alwoOFLcPUsEsebmn9c6yJ\",\"key\":\"key04381299066\",\"label\":\"15d5efbb772660\",\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:03+00:00\"}]}", + "x-ms-client-request-id" : "d36e38a4-fbf5-4e05-b94e-d6c6aa64260e", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38770106780", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key04381299066?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "e4796a12-e7a7-4d8f-ba9c-194095eecebc", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3f16d500-9de1-44de-89a6-811895ddbbf9", "Content-Type" : "application/json" }, "Response" : { @@ -332,29 +332,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:03 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:03 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "582d5090-16c0-476b-963c-d33335c66734", + "x-ms-correlation-request-id" : "cea569bb-ec0d-4802-8b27-0a7f83f0d6cd", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"WT6z8vOj3L4T3nym8loseja0wka\"", + "ETag" : "\"CI0jSEKrl6iHI9vEjXBNXiwxI7Q\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MTE=;sn=471411", - "x-ms-request-id" : "582d5090-16c0-476b-963c-d33335c66734", - "Body" : "{\"etag\":\"WT6z8vOj3L4T3nym8loseja0wka\",\"key\":\"key38770106780\",\"label\":null,\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:04+00:00\"}", - "x-ms-client-request-id" : "e4796a12-e7a7-4d8f-ba9c-194095eecebc", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0MjY=;sn=569426", + "x-ms-request-id" : "cea569bb-ec0d-4802-8b27-0a7f83f0d6cd", + "Body" : "{\"etag\":\"CI0jSEKrl6iHI9vEjXBNXiwxI7Q\",\"key\":\"key04381299066\",\"label\":null,\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:03+00:00\"}", + "x-ms-client-request-id" : "3f16d500-9de1-44de-89a6-811895ddbbf9", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key38770106780?label=9cbc9674853447", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key04381299066?label=15d5efbb772660&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "10eefa1f-bf1d-49bf-ae88-cebae3d9c7a9", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a2c52c41-1193-4d41-8d0c-f3fde6d92fca", "Content-Type" : "application/json" }, "Response" : { @@ -363,23 +363,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:03 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:04 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:03 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "761fbe7a-6f75-4c21-873d-22229a51ffc1", + "x-ms-correlation-request-id" : "3d51e291-3d71-4ec0-ade5-784cc6e8670e", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"wjVaTVggCDCW2VCQgDMVkbiATmQ\"", + "ETag" : "\"aM8q7alwoOFLcPUsEsebmn9c6yJ\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MTI=;sn=471412", - "x-ms-request-id" : "761fbe7a-6f75-4c21-873d-22229a51ffc1", - "Body" : "{\"etag\":\"wjVaTVggCDCW2VCQgDMVkbiATmQ\",\"key\":\"key38770106780\",\"label\":\"9cbc9674853447\",\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:04+00:00\"}", - "x-ms-client-request-id" : "10eefa1f-bf1d-49bf-ae88-cebae3d9c7a9", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0Mjc=;sn=569427", + "x-ms-request-id" : "3d51e291-3d71-4ec0-ade5-784cc6e8670e", + "Body" : "{\"etag\":\"aM8q7alwoOFLcPUsEsebmn9c6yJ\",\"key\":\"key04381299066\",\"label\":\"15d5efbb772660\",\"content_type\":null,\"value\":\"myUpdateValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:03+00:00\"}", + "x-ms-client-request-id" : "a2c52c41-1193-4d41-8d0c-f3fde6d92fca", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key38770", "9cbc9674", "key38770106780", "9cbc9674853447" ] + "variables" : [ "key04381", "15d5efbb", "key04381299066", "15d5efbb772660" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setConfigurationSettingNullKey.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setConfigurationSettingNullKey.json index 398086a42230..f472cfaf7809 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setConfigurationSettingNullKey.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setConfigurationSettingNullKey.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key92967%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key94864%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "ab64b537-5cb6-40dc-9a8b-1b163219b03f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "6a63af22-8431-45e5-aca3-6740a9931230", "Content-Type" : "application/json" }, "Response" : { @@ -15,18 +15,18 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:41 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:41 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "4c711e8e-e987-4177-9b3e-0e1e070ec3c9", + "x-ms-correlation-request-id" : "a23d6a9a-811d-4105-98ab-fa58a0bc1c0b", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "x-ms-request-id" : "4c711e8e-e987-4177-9b3e-0e1e070ec3c9", + "x-ms-request-id" : "a23d6a9a-811d-4105-98ab-fa58a0bc1c0b", "Body" : "{\"items\":[]}", - "x-ms-client-request-id" : "ab64b537-5cb6-40dc-9a8b-1b163219b03f", + "x-ms-client-request-id" : "6a63af22-8431-45e5-aca3-6740a9931230", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key92967", "d1a36a8f" ] + "variables" : [ "key94864", "79fffbca" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setReadOnly.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setReadOnly.json index ada1038e8d74..95255738c0ee 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setReadOnly.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setReadOnly.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key94764333782", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key8764830801b?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "99ca8e46-ea74-49a4-aa5b-d4680c1f147c", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c6f2451f-cc2b-4afb-8132-f42e3ef5b1f8", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:09 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:09 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "93f0957a-a4b6-4454-a38d-06cf4fb243bd", + "x-ms-correlation-request-id" : "10a065da-8805-4e8f-b3d9-5f10d4e74c23", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"ArNvmefjOo8NiZAESHGpXU4NlfJ\"", + "ETag" : "\"7cHbn5MCsuoFrPrjuQdqNtGjPua\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0Mjg=;sn=471428", - "x-ms-request-id" : "93f0957a-a4b6-4454-a38d-06cf4fb243bd", - "Body" : "{\"etag\":\"ArNvmefjOo8NiZAESHGpXU4NlfJ\",\"key\":\"key94764333782\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:08+00:00\"}", - "x-ms-client-request-id" : "99ca8e46-ea74-49a4-aa5b-d4680c1f147c", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NDI=;sn=569442", + "x-ms-request-id" : "10a065da-8805-4e8f-b3d9-5f10d4e74c23", + "Body" : "{\"etag\":\"7cHbn5MCsuoFrPrjuQdqNtGjPua\",\"key\":\"key8764830801b\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:09+00:00\"}", + "x-ms-client-request-id" : "c6f2451f-cc2b-4afb-8132-f42e3ef5b1f8", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/locks/key94764333782", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/locks/key8764830801b?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "c2382435-da61-4223-b7ea-7d43503132ac", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "3299bdab-e6a0-4580-8b54-db83d5b13bac", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:09 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:09 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "e4e680d1-b8e9-42bf-914d-dfd9df124bfa", + "x-ms-correlation-request-id" : "d725141b-b9a9-4754-ac72-930a4457e2f1", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"k6tedQvKHfS7fDN0mStmqXyFsPt\"", + "ETag" : "\"ld32wceEh4TkT1jNxhMp3iPCEQu\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0Mjk=;sn=471429", - "x-ms-request-id" : "e4e680d1-b8e9-42bf-914d-dfd9df124bfa", - "Body" : "{\"etag\":\"k6tedQvKHfS7fDN0mStmqXyFsPt\",\"key\":\"key94764333782\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":true,\"last_modified\":\"2019-10-24T23:27:08+00:00\"}", - "x-ms-client-request-id" : "c2382435-da61-4223-b7ea-7d43503132ac", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NDM=;sn=569443", + "x-ms-request-id" : "d725141b-b9a9-4754-ac72-930a4457e2f1", + "Body" : "{\"etag\":\"ld32wceEh4TkT1jNxhMp3iPCEQu\",\"key\":\"key8764830801b\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":true,\"last_modified\":\"2019-11-24T16:06:09+00:00\"}", + "x-ms-client-request-id" : "3299bdab-e6a0-4580-8b54-db83d5b13bac", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key94764333782", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key8764830801b?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "846645b6-09f6-4e0c-8812-e1185c251ff9", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "4eca7f32-d3df-46d6-b346-65c69c6b298f", "Content-Type" : "application/json" }, "Response" : { @@ -77,24 +77,24 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "409", - "Date" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:09 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "3603bdd2-113d-4309-8d95-1b3cb3d36131", + "x-ms-correlation-request-id" : "13c6a023-d8b0-4dd7-8b32-87e6fbeecfc6", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "x-ms-request-id" : "3603bdd2-113d-4309-8d95-1b3cb3d36131", - "Body" : "{\"type\":\"https://azconfig.io/errors/key-locked\",\"title\":\"Modifing key 'key94764333782' is not allowed\",\"name\":\"key94764333782\",\"detail\":\"The key is read-only. To allow modification unlock it first.\",\"status\":409}", - "x-ms-client-request-id" : "846645b6-09f6-4e0c-8812-e1185c251ff9", + "x-ms-request-id" : "13c6a023-d8b0-4dd7-8b32-87e6fbeecfc6", + "Body" : "{\"type\":\"https://azconfig.io/errors/key-locked\",\"title\":\"Modifing key 'key8764830801b' is not allowed\",\"name\":\"key8764830801b\",\"detail\":\"The key is read-only. To allow modification unlock it first.\",\"status\":409}", + "x-ms-client-request-id" : "4eca7f32-d3df-46d6-b346-65c69c6b298f", "Content-Type" : "application/vnd.microsoft.azconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key94764%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key87648%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "67b5345b-940d-4626-97e1-50e64d592105", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "37c9d543-0527-4f95-9b35-c8f4e8fcd4ce", "Content-Type" : "application/json" }, "Response" : { @@ -105,25 +105,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:09 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "beb1f946-8373-4ecd-85eb-c11c85fcda61", + "x-ms-correlation-request-id" : "e52a490a-1b7e-49db-ba9b-0ef8412c2233", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0Mjk=;sn=471429", - "x-ms-request-id" : "beb1f946-8373-4ecd-85eb-c11c85fcda61", - "Body" : "{\"items\":[{\"etag\":\"k6tedQvKHfS7fDN0mStmqXyFsPt\",\"key\":\"key94764333782\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":true,\"last_modified\":\"2019-10-24T23:27:08+00:00\"}]}", - "x-ms-client-request-id" : "67b5345b-940d-4626-97e1-50e64d592105", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NDM=;sn=569443", + "x-ms-request-id" : "e52a490a-1b7e-49db-ba9b-0ef8412c2233", + "Body" : "{\"items\":[{\"etag\":\"ld32wceEh4TkT1jNxhMp3iPCEQu\",\"key\":\"key8764830801b\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":true,\"last_modified\":\"2019-11-24T16:06:09+00:00\"}]}", + "x-ms-client-request-id" : "37c9d543-0527-4f95-9b35-c8f4e8fcd4ce", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/locks/key94764333782", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/locks/key8764830801b?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "26792959-b958-4b1c-b470-79281297929f", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "c7305550-9710-4814-8b41-4b6bd82d002f", "Content-Type" : "application/json" }, "Response" : { @@ -132,29 +132,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:10 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:09 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "71342c8d-b432-4b9c-bdd1-6ec76794f6ec", + "x-ms-correlation-request-id" : "d063efb8-eb87-4d2b-9b24-eabd8b4b7151", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"5O77GvxvfuCkVsjJV05vZmwDNXg\"", + "ETag" : "\"yNj1zqIGDCEaa0Pyjlumr38bwWp\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MzA=;sn=471430", - "x-ms-request-id" : "71342c8d-b432-4b9c-bdd1-6ec76794f6ec", - "Body" : "{\"etag\":\"5O77GvxvfuCkVsjJV05vZmwDNXg\",\"key\":\"key94764333782\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:09+00:00\"}", - "x-ms-client-request-id" : "26792959-b958-4b1c-b470-79281297929f", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NDQ=;sn=569444", + "x-ms-request-id" : "d063efb8-eb87-4d2b-9b24-eabd8b4b7151", + "Body" : "{\"etag\":\"yNj1zqIGDCEaa0Pyjlumr38bwWp\",\"key\":\"key8764830801b\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:10+00:00\"}", + "x-ms-client-request-id" : "c7305550-9710-4814-8b41-4b6bd82d002f", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key94764333782", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key8764830801b?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "357bdca2-1cbc-42bf-ad15-773a4bcd5180", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "978c96ec-408d-486c-a0f8-3ed12a00fbdd", "Content-Type" : "application/json" }, "Response" : { @@ -163,23 +163,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:27:09 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:06:10 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:27:08 GMT", + "Date" : "Sun, 24 Nov 2019 16:06:09 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "2b1441d4-b0cc-4cb0-a060-cbeb3be9df60", + "x-ms-correlation-request-id" : "936100b2-8509-408a-9f48-a5a9ffacf382", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"5O77GvxvfuCkVsjJV05vZmwDNXg\"", + "ETag" : "\"yNj1zqIGDCEaa0Pyjlumr38bwWp\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzE0MzE=;sn=471431", - "x-ms-request-id" : "2b1441d4-b0cc-4cb0-a060-cbeb3be9df60", - "Body" : "{\"etag\":\"5O77GvxvfuCkVsjJV05vZmwDNXg\",\"key\":\"key94764333782\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:27:09+00:00\"}", - "x-ms-client-request-id" : "357bdca2-1cbc-42bf-ad15-773a4bcd5180", + "Sync-Token" : "zAJw6V16=MDotMSM1Njk0NDU=;sn=569445", + "x-ms-request-id" : "936100b2-8509-408a-9f48-a5a9ffacf382", + "Body" : "{\"etag\":\"yNj1zqIGDCEaa0Pyjlumr38bwWp\",\"key\":\"key8764830801b\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:06:10+00:00\"}", + "x-ms-client-request-id" : "978c96ec-408d-486c-a0f8-3ed12a00fbdd", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key94764", "193ddc64", "key94764333782" ] + "variables" : [ "key87648", "dfe6ac28", "key8764830801b" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setReadOnlyWithConfigurationSetting.json b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setReadOnlyWithConfigurationSetting.json index 26eee0e8a739..27f0c66cf9ea 100644 --- a/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setReadOnlyWithConfigurationSetting.json +++ b/sdk/appconfiguration/azure-data-appconfiguration/src/test/resources/session-records/setReadOnlyWithConfigurationSetting.json @@ -1,10 +1,10 @@ { "networkCallRecords" : [ { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key1961279942e", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02894260590?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "48ec02a1-7507-4b23-971e-f7910adbe7de", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "a279fa2e-c87c-4cb5-9f40-2684f8419937", "Content-Type" : "application/json" }, "Response" : { @@ -13,29 +13,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:51 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:50 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "61a6c583-bac4-4b1f-91b3-5d44ef9ae80b", + "x-ms-correlation-request-id" : "ae5892c5-207e-4230-8534-e58ec35778b3", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"w4HGrk24TdapPtasHOSfWiYOeK6\"", + "ETag" : "\"9PSb2STZWbswynE74KFWlaYMiah\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNjA=;sn=471260", - "x-ms-request-id" : "61a6c583-bac4-4b1f-91b3-5d44ef9ae80b", - "Body" : "{\"etag\":\"w4HGrk24TdapPtasHOSfWiYOeK6\",\"key\":\"key1961279942e\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:49+00:00\"}", - "x-ms-client-request-id" : "48ec02a1-7507-4b23-971e-f7910adbe7de", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyODA=;sn=569280", + "x-ms-request-id" : "ae5892c5-207e-4230-8534-e58ec35778b3", + "Body" : "{\"etag\":\"9PSb2STZWbswynE74KFWlaYMiah\",\"key\":\"key02894260590\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:51+00:00\"}", + "x-ms-client-request-id" : "a279fa2e-c87c-4cb5-9f40-2684f8419937", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "PUT", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/locks/key1961279942e", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/locks/key02894260590?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "9064735c-9364-420c-910a-836906c092f0", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8e76dfa3-3f34-442c-99c5-98d36ebffa00", "Content-Type" : "application/json" }, "Response" : { @@ -44,29 +44,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:51 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:50 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "d7e6b10c-7df9-41f1-b168-6c77cfffc3ba", + "x-ms-correlation-request-id" : "eedab60c-7131-493a-b7fd-578ba0c38fb2", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"8yKaTEZ16IosMqAfy5ndAyeJtLW\"", + "ETag" : "\"6aSXqci5LvXAUbXcBxRV0vcBPpf\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNjE=;sn=471261", - "x-ms-request-id" : "d7e6b10c-7df9-41f1-b168-6c77cfffc3ba", - "Body" : "{\"etag\":\"8yKaTEZ16IosMqAfy5ndAyeJtLW\",\"key\":\"key1961279942e\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":true,\"last_modified\":\"2019-10-24T23:26:49+00:00\"}", - "x-ms-client-request-id" : "9064735c-9364-420c-910a-836906c092f0", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyODE=;sn=569281", + "x-ms-request-id" : "eedab60c-7131-493a-b7fd-578ba0c38fb2", + "Body" : "{\"etag\":\"6aSXqci5LvXAUbXcBxRV0vcBPpf\",\"key\":\"key02894260590\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":true,\"last_modified\":\"2019-11-24T16:05:51+00:00\"}", + "x-ms-client-request-id" : "8e76dfa3-3f34-442c-99c5-98d36ebffa00", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key1961279942e", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02894260590?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "4c14bcdb-8442-4f05-99b3-12216c14c1f2", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "116ec4ee-cae2-497f-9744-74081c1f5d9a", "Content-Type" : "application/json" }, "Response" : { @@ -77,24 +77,24 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "409", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:51 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "d2f93844-6868-4db2-826b-ed2d3c4be9a6", + "x-ms-correlation-request-id" : "d7097c37-6634-46cc-8e65-b814070d14e2", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "x-ms-request-id" : "d2f93844-6868-4db2-826b-ed2d3c4be9a6", - "Body" : "{\"type\":\"https://azconfig.io/errors/key-locked\",\"title\":\"Modifing key 'key1961279942e' is not allowed\",\"name\":\"key1961279942e\",\"detail\":\"The key is read-only. To allow modification unlock it first.\",\"status\":409}", - "x-ms-client-request-id" : "4c14bcdb-8442-4f05-99b3-12216c14c1f2", + "x-ms-request-id" : "d7097c37-6634-46cc-8e65-b814070d14e2", + "Body" : "{\"type\":\"https://azconfig.io/errors/key-locked\",\"title\":\"Modifing key 'key02894260590' is not allowed\",\"name\":\"key02894260590\",\"detail\":\"The key is read-only. To allow modification unlock it first.\",\"status\":409}", + "x-ms-client-request-id" : "116ec4ee-cae2-497f-9744-74081c1f5d9a", "Content-Type" : "application/vnd.microsoft.azconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "GET", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key19612%2a", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv?key=key02894%2a&api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "23a6abb0-6bdf-4e74-9cc2-00a15fb3e73e", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "12afdf59-ba09-446b-b05f-99f865752472", "Content-Type" : "application/json" }, "Response" : { @@ -105,25 +105,25 @@ "Connection" : "keep-alive", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:51 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "dc15bf89-adbb-4d47-9ea6-e0564a67d338", + "x-ms-correlation-request-id" : "2aecd26b-6269-4896-bcc7-6a9bcd928188", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNjE=;sn=471261", - "x-ms-request-id" : "dc15bf89-adbb-4d47-9ea6-e0564a67d338", - "Body" : "{\"items\":[{\"etag\":\"8yKaTEZ16IosMqAfy5ndAyeJtLW\",\"key\":\"key1961279942e\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":true,\"last_modified\":\"2019-10-24T23:26:49+00:00\"}]}", - "x-ms-client-request-id" : "23a6abb0-6bdf-4e74-9cc2-00a15fb3e73e", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyODE=;sn=569281", + "x-ms-request-id" : "2aecd26b-6269-4896-bcc7-6a9bcd928188", + "Body" : "{\"items\":[{\"etag\":\"6aSXqci5LvXAUbXcBxRV0vcBPpf\",\"key\":\"key02894260590\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":true,\"last_modified\":\"2019-11-24T16:05:51+00:00\"}]}", + "x-ms-client-request-id" : "12afdf59-ba09-446b-b05f-99f865752472", "Content-Type" : "application/vnd.microsoft.appconfig.kvset+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/locks/key1961279942e", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/locks/key02894260590?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "f4140089-210e-44ee-aeec-b8478d7998d5", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "617edec5-1460-4961-a1c2-a2592083c043", "Content-Type" : "application/json" }, "Response" : { @@ -132,29 +132,29 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:51 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:51 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "2a2f9ac9-bf84-4197-a075-0eb5311126dc", + "x-ms-correlation-request-id" : "3f1030cd-1a6c-44da-a1a3-803e61e7b626", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"KScBB74P7AWBK8bgBc6A9wl6kuA\"", + "ETag" : "\"33BKiQIOz7l2hkUyJH31xKGTKxS\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNjI=;sn=471262", - "x-ms-request-id" : "2a2f9ac9-bf84-4197-a075-0eb5311126dc", - "Body" : "{\"etag\":\"KScBB74P7AWBK8bgBc6A9wl6kuA\",\"key\":\"key1961279942e\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "f4140089-210e-44ee-aeec-b8478d7998d5", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyODI=;sn=569282", + "x-ms-request-id" : "3f1030cd-1a6c-44da-a1a3-803e61e7b626", + "Body" : "{\"etag\":\"33BKiQIOz7l2hkUyJH31xKGTKxS\",\"key\":\"key02894260590\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:51+00:00\"}", + "x-ms-client-request-id" : "617edec5-1460-4961-a1c2-a2592083c043", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null }, { "Method" : "DELETE", - "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key1961279942e", + "Uri" : "https://appconfigtestshawnfang.azconfig.io/kv/key02894260590?api-version=1.0", "Headers" : { - "User-Agent" : "azsdk-java-application-configuration/1.0.0-preview.6 11.0.4; Windows 10 10.0", - "x-ms-client-request-id" : "78d6cec4-88b0-4c37-b8c2-30b601333c5e", + "User-Agent" : "azsdk-java-UnknownName/UnknownVersion (11.0.4; Windows 10 10.0)", + "x-ms-client-request-id" : "8fb17c78-7c3d-4ac5-b71b-2c8527608604", "Content-Type" : "application/json" }, "Response" : { @@ -163,23 +163,23 @@ "Access-Control-Allow-Origin" : "*", "Access-Control-Allow-Methods" : "GET, PUT, POST, DELETE, PATCH, OPTIONS", "Connection" : "keep-alive", - "Last-Modified" : "Thu, 24 Oct 2019 23:26:50 GMT", + "Last-Modified" : "Sun, 24 Nov 2019 16:05:51 GMT", "retry-after" : "0", "StatusCode" : "200", - "Date" : "Thu, 24 Oct 2019 23:26:49 GMT", + "Date" : "Sun, 24 Nov 2019 16:05:51 GMT", "Access-Control-Allow-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "x-ms-correlation-request-id" : "c987b0b3-bb9c-4d23-8870-e14692c3eb64", + "x-ms-correlation-request-id" : "05fb1d16-ac60-46f3-a39d-7126499a5bb4", "Strict-Transport-Security" : "max-age=15724800; includeSubDomains", "Access-Control-Expose-Headers" : "DNT, X-CustomHeader, Keep-Alive, User-Agent, X-Requested-With, If-Modified-Since, Cache-Control, Content-Type, Authorization, x-ms-client-request-id, x-ms-content-sha256, x-ms-date, host, Accept, Accept-Datetime, Date, If-Match, If-None-Match, Sync-Token, x-ms-return-client-request-id, ETag, Last-Modified, Link, Memento-Datetime, x-ms-retry-after, x-ms-request-id, WWW-Authenticate", - "ETag" : "\"KScBB74P7AWBK8bgBc6A9wl6kuA\"", + "ETag" : "\"33BKiQIOz7l2hkUyJH31xKGTKxS\"", "Access-Control-Allow-Credentials" : "true", - "Sync-Token" : "zAJw6V16=MDotMSM0NzEyNjM=;sn=471263", - "x-ms-request-id" : "c987b0b3-bb9c-4d23-8870-e14692c3eb64", - "Body" : "{\"etag\":\"KScBB74P7AWBK8bgBc6A9wl6kuA\",\"key\":\"key1961279942e\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-10-24T23:26:50+00:00\"}", - "x-ms-client-request-id" : "78d6cec4-88b0-4c37-b8c2-30b601333c5e", + "Sync-Token" : "zAJw6V16=MDotMSM1NjkyODM=;sn=569283", + "x-ms-request-id" : "05fb1d16-ac60-46f3-a39d-7126499a5bb4", + "Body" : "{\"etag\":\"33BKiQIOz7l2hkUyJH31xKGTKxS\",\"key\":\"key02894260590\",\"label\":null,\"content_type\":null,\"value\":\"myValue\",\"tags\":{},\"locked\":false,\"last_modified\":\"2019-11-24T16:05:51+00:00\"}", + "x-ms-client-request-id" : "8fb17c78-7c3d-4ac5-b71b-2c8527608604", "Content-Type" : "application/vnd.microsoft.appconfig.kv+json; charset=utf-8" }, "Exception" : null } ], - "variables" : [ "key19612", "c323c610", "key1961279942e" ] + "variables" : [ "key02894", "01a8f7bb", "key02894260590" ] } \ No newline at end of file diff --git a/sdk/appconfiguration/tests.yml b/sdk/appconfiguration/tests.yml index f9dc11c4b906..fc1d4058a85a 100644 --- a/sdk/appconfiguration/tests.yml +++ b/sdk/appconfiguration/tests.yml @@ -7,4 +7,7 @@ jobs: EnvVars: AZURE_TEST_MODE: RECORD AZURE_APPCONFIG_CONNECTION_STRING: $(java-azconfig-test-connection-string) - AZURE_LOG_LEVEL: 2 + AZURE_CLIENT_ID: $(java-azconfig-aad-client-id) + AZURE_CLIENT_SECRET: $(java-azconfig-aad-client-secret) + AZURE_TENANT_ID: $(java-azconfig-aad-tenant-id) + AZURE_LOG_LEVEL: 3 diff --git a/sdk/applicationinsights/microsoft-azure-applicationinsights-query/pom.xml b/sdk/applicationinsights/microsoft-azure-applicationinsights-query/pom.xml index 54260df4a445..c66c214f9a05 100644 --- a/sdk/applicationinsights/microsoft-azure-applicationinsights-query/pom.xml +++ b/sdk/applicationinsights/microsoft-azure-applicationinsights-query/pom.xml @@ -17,7 +17,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml @@ -48,31 +48,31 @@ com.microsoft.azure azure-client-runtime - ${runtime.version} + 1.6.3 junit junit - 4.12 + 4.13-beta-3 test com.microsoft.azure azure-client-authentication - ${runtime.version} + 1.6.3 test com.microsoft.azure azure-arm-client-runtime - ${runtime.version} + 1.6.3 test-jar test com.microsoft.azure azure-arm-client-runtime - ${runtime.version} + 1.6.3 @@ -80,7 +80,7 @@ org.codehaus.mojo properties-maven-plugin - 1.0.0 + 1.0.0 generate-resources @@ -98,6 +98,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -110,11 +111,12 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 org.apache.maven.plugins maven-compiler-plugin - 3.1 + 3.8.1 1.7 1.7 @@ -134,6 +136,7 @@ org.apache.maven.plugins maven-javadoc-plugin + 3.1.1 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search @@ -150,7 +153,7 @@ org.apache.maven.plugins maven-surefire-plugin - 2.20 + 3.0.0-M3 false diff --git a/sdk/authorization/microsoft-azure-authentication-msi-token-provider/pom.xml b/sdk/authorization/microsoft-azure-authentication-msi-token-provider/pom.xml index 92b01f3f4c2b..3ac8c074457d 100644 --- a/sdk/authorization/microsoft-azure-authentication-msi-token-provider/pom.xml +++ b/sdk/authorization/microsoft-azure-authentication-msi-token-provider/pom.xml @@ -18,7 +18,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml @@ -53,7 +53,7 @@ junit junit test - 4.12 + 4.13-beta-3 @@ -61,7 +61,7 @@ org.apache.maven.plugins maven-jar-plugin - 3.1.0 + 3.1.2 @@ -72,7 +72,9 @@ + org.apache.maven.plugins maven-assembly-plugin + 2.2 package @@ -90,12 +92,12 @@ org.codehaus.mojo build-helper-maven-plugin - 3.0.0 + 3.0.0 org.apache.maven.plugins maven-compiler-plugin - 3.1 + 3.8.1 8 8 @@ -110,7 +112,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 3.1.1 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search diff --git a/sdk/batch/microsoft-azure-batch/pom.xml b/sdk/batch/microsoft-azure-batch/pom.xml index ff968f143f3e..ade115602bdd 100644 --- a/sdk/batch/microsoft-azure-batch/pom.xml +++ b/sdk/batch/microsoft-azure-batch/pom.xml @@ -9,7 +9,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml @@ -37,40 +37,47 @@ com.microsoft.azure azure-client-runtime + 1.6.15 com.microsoft.azure adal4j + 1.6.4 commons-codec commons-codec + 1.13 junit junit + 4.13-beta-3 test com.microsoft.azure azure-storage + 8.0.0 test commons-io commons-io + 2.5 test com.microsoft.azure azure-mgmt-resources + 1.3.1-SNAPSHOT test-jar test @@ -78,6 +85,7 @@ com.microsoft.azure azure-mgmt-resources + 1.3.0 test @@ -88,6 +96,7 @@ org.apache.maven.plugins maven-compiler-plugin + 3.8.1 1.7 1.7 @@ -99,6 +108,7 @@ org.apache.maven.plugins maven-resources-plugin + 2.4.3 ${basedir}/target/test-classes/session-records diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/TextAnalyticsAsyncClient.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/TextAnalyticsAsyncClient.java index 60a95311a0da..f823cedfcf9e 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/TextAnalyticsAsyncClient.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/TextAnalyticsAsyncClient.java @@ -6,8 +6,6 @@ import com.azure.core.annotation.ReturnType; import com.azure.core.annotation.ServiceClient; import com.azure.core.annotation.ServiceMethod; -import com.azure.core.exception.HttpResponseException; -import com.azure.core.http.rest.Page; import com.azure.core.http.rest.Response; import com.azure.core.http.rest.SimpleResponse; import com.azure.core.util.Context; @@ -27,7 +25,6 @@ import reactor.core.publisher.Mono; import java.util.ArrayList; -import java.util.Iterator; import java.util.List; import static com.azure.core.util.FluxUtil.monoError; @@ -82,10 +79,10 @@ public Mono> detectLanguageWithResponse(String } // Hackathon user -// @ServiceMethod(returns = ReturnType.COLLECTION) -// public Mono> detectLanguages(List inputs) { -// return null; -// } + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> detectLanguages(List inputs) { + return null; + } public Mono> detectLanguages(List inputs, String countryHint) { @@ -94,20 +91,20 @@ public Mono> detectLanguages(Li languageInputs.add(new DetectLanguageInput(Integer.toString(i), inputs.get(i)).setCountryHint(countryHint)); } - return detectLanguages(languageInputs, null); + return detectBatchLanguages(languageInputs, null); } - // Advantage user + // Advanced user @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> detectLanguages(List inputs) { - return detectLanguages(inputs, null); + public Mono> detectBatchLanguages(List inputs) { + return detectBatchLanguages(inputs, null); } @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> detectLanguages( + public Mono> detectBatchLanguages( List inputs, TextAnalyticsRequestOptions options) { try { - return withContext(context -> detectLanguagesWithResponse(inputs, options, context) + return withContext(context -> detectBatchLanguagesWithResponse(inputs, options, context) .flatMap(response -> Mono.justOrEmpty(response.getValue()))); } catch (RuntimeException ex) { return monoError(logger, ex); @@ -115,26 +112,27 @@ public Mono> detectLanguages( } @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> detectLanguagesWithResponse( + public Mono>> detectBatchLanguagesWithResponse( List inputs, TextAnalyticsRequestOptions options) { try { return withContext( - context -> detectLanguagesWithResponse(inputs, options, context)); + context -> detectBatchLanguagesWithResponse(inputs, options, context)); } catch (RuntimeException ex) { return monoError(logger, ex); } } - Mono>> detectLanguagesWithResponse( + Mono>> detectBatchLanguagesWithResponse( List inputs, TextAnalyticsRequestOptions options, Context context) { // TODO: validate inputs final LanguageBatchInput languageBatchInput = new LanguageBatchInput().setDocuments(inputs); - return client.languagesWithRestResponseAsync(languageBatchInput, options.getModelVersion(), - options.showStatistics(), context) - .doOnSubscribe(ignoredValue -> logger.info("A batch of language input - {}", languageBatchInput)) - .doOnSuccess(response -> logger.info("A batch of detected language output - {}", languageBatchInput)) - .doOnError(error -> logger.warning("Failed to detected languages - {}", languageBatchInput)) - .map(response -> new SimpleResponse<>(response, toDocumentResultCollection(response.getValue()))); + // return client.languagesWithRestResponseAsync(languageBatchInput, options.getModelVersion(), + // options.showStatistics(), context) + // .doOnSubscribe(ignoredValue -> logger.info("A batch of language input - {}", languageBatchInput)) + // .doOnSuccess(response -> logger.info("A batch of detected language output - {}", languageBatchInput)) + // .doOnError(error -> logger.warning("Failed to detected languages - {}", languageBatchInput)) + // .map(response -> new SimpleResponse<>(response, toDocumentResultCollection(response.getValue()))); + return null; } // (2) entities @@ -159,6 +157,10 @@ public Mono> recognizeEntitiesWithResponse(String te // public Mono> recognizeEntities(List inputs) { // return null; // } + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> recognizeEntities(List inputs) { + return null; + } @ServiceMethod(returns = ReturnType.SINGLE) public Mono> recognizeEntities(List inputs, String language) { @@ -167,18 +169,18 @@ public Mono> recognizeEntities(List< // advantage user @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> recognizeEntities(List inputs) { + public Mono> recognizeBatchEntities(List inputs) { return null; } @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> recognizeEntities( + public Mono> recognizeBatchEntities( List inputs, TextAnalyticsRequestOptions options) { return null; } @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> recognizeEntitiesWithResponse( + public Mono>> recognizeBatchEntitiesWithResponse( List inputs, TextAnalyticsRequestOptions options) { // try { // return withContext(context -> @@ -189,7 +191,7 @@ public Mono>> recognizeEnti return null; } - Mono>> recognizeEntitiesWithResponse( + Mono>> recognizeBatchEntitiesWithResponse( List document, TextAnalyticsRequestOptions options, Context context) { return client.entitiesRecognitionGeneralWithRestResponseAsync( new MultiLanguageBatchInput().setDocuments(document), options.getModelVersion(), @@ -219,6 +221,11 @@ public Mono> recognizePiiEntitiesWithResponse(String // return null; // } + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> recognizePiiEntities(List inputs) { + return null; + } + @ServiceMethod(returns = ReturnType.SINGLE) public Mono> recognizePiiEntities(List inputs, String language) { @@ -227,12 +234,12 @@ public Mono> recognizePiiEntities(Li // advantage user @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> recognizePiiEntities(List inputs) { + public Mono> recognizeBatchPiiEntities(List inputs) { return null; } @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> recognizePiiEntities( + public Mono> recognizeBatchPiiEntities( List inputs, TextAnalyticsRequestOptions options) { // try { // return withContext(context -> @@ -244,12 +251,12 @@ public Mono> recognizePiiEntities( } @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> recognizePiiEntitiesWithResponse( + public Mono>> recognizeBatchPiiEntitiesWithResponse( List inputs, TextAnalyticsRequestOptions options) { return null; } - Mono>> recognizePiiEntitiesWithResponse( + Mono>> recognizeBatchPiiEntitiesWithResponse( List document, TextAnalyticsRequestOptions options, Context context) { // TODO: validate multiLanguageBatchInput return client.entitiesRecognitionPiiWithRestResponseAsync(new MultiLanguageBatchInput().setDocuments(document), @@ -280,6 +287,11 @@ public Mono> recognizeLinkedEntitiesWithResponse(St // return null; // } + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> recognizeLinkedEntities(List inputs) { + return null; + } + @ServiceMethod(returns = ReturnType.SINGLE) public Mono> recognizeLinkedEntities(List inputs, String language) { @@ -288,12 +300,12 @@ public Mono> recognizeLinkedEntitie // advantage user @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> recognizeLinkedEntities(List inputs) { + public Mono> recognizeBatchLinkedEntities(List inputs) { return null; } @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> recognizeLinkedEntities( + public Mono> recognizeBatchLinkedEntities( List inputs, TextAnalyticsRequestOptions options) { // try { // return withContext(context -> @@ -305,12 +317,12 @@ public Mono> recognizeLinkedEntitie } @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> recognizeLinkedEntitiesWithResponse( + public Mono>> recognizeBatchLinkedEntitiesWithResponse( List inputs, TextAnalyticsRequestOptions options) { return null; } - Mono>> recognizeLinkedEntitiesWithResponse( + Mono>> recognizeBatchLinkedEntitiesWithResponse( List inputs, TextAnalyticsRequestOptions options, Context context) { // TODO: validate multiLanguageBatchInput return client.entitiesLinkingWithRestResponseAsync(new MultiLanguageBatchInput().setDocuments(inputs), @@ -358,6 +370,11 @@ public Mono> extractKeyPhrasesWithResponse(String text // return null; // } + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> extractKeyPhrases(List inputs) { + return null; + } + @ServiceMethod(returns = ReturnType.SINGLE) public Mono> extractKeyPhrases(List inputs, String language) { return null; @@ -365,27 +382,27 @@ public Mono> extractKeyPhrases(List> extractKeyPhrases(List inputs) { + public Mono> extractBatchKeyPhrases(List inputs) { return null; } @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> extractKeyPhrases( + public Mono> extractBatchKeyPhrases( List inputs, TextAnalyticsRequestOptions options) { return null; } @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> extractKeyPhrasesWithResponse( + public Mono>> extractBatchKeyPhrasesWithResponse( List inputs, TextAnalyticsRequestOptions options) { try { - return withContext(context -> extractKeyPhrasesWithResponse(inputs, options, context)); + return withContext(context -> extractBatchKeyPhrasesWithResponse(inputs, options, context)); } catch (RuntimeException ex) { return monoError(logger, ex); } } - Mono>> extractKeyPhrasesWithResponse( + Mono>> extractBatchKeyPhrasesWithResponse( List document, TextAnalyticsRequestOptions options, Context context) { return client.keyPhrasesWithRestResponseAsync(new MultiLanguageBatchInput().setDocuments(document), options.getModelVersion(), options.showStatistics(), context).map(response -> @@ -432,6 +449,11 @@ public Mono> analyzeSentimentWithResponse(String i // return null; // } + @ServiceMethod(returns = ReturnType.SINGLE) + public Mono> analyzeSentiment(List inputs) { + return null; + } + @ServiceMethod(returns = ReturnType.SINGLE) public Mono> analyzeSentiment(List inputs, String language) { return null; @@ -439,18 +461,18 @@ public Mono> analyzeSentiment(List // advantage user @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> analyzeSentiment(List inputs) { + public Mono> analyzeBatchSentiment(List inputs) { return null; } @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> analyzeSentiment( + public Mono> analyzeBatchSentiment( List inputs, TextAnalyticsRequestOptions options) { return null; } @ServiceMethod(returns = ReturnType.SINGLE) - public Mono>> analyzeSentimentWithResponse( + public Mono>> analyzeBatchSentimentWithResponse( List inputs, TextAnalyticsRequestOptions options) { // try { // return withContext(context -> @@ -461,7 +483,7 @@ public Mono>> analyzeSent return null; } - Mono>> analyzeDocumentSentimentWithResponse( + Mono>> analyzeBatchSentimentWithResponse( List document, TextAnalyticsRequestOptions options, Context context) { // TODO: validate multiLanguageBatchInput return client.sentimentWithRestResponseAsync( @@ -470,14 +492,14 @@ Mono>> analyzeDocumentSen } - private DocumentResultCollection toDocumentResultCollection(Object object) { - // TODO: add support to -// if (object instanceof ) { -// -// } -// return new DocumentResultCollection(); - return null; - } +// private DocumentResultCollection toDocumentResultCollection(Object object) { +// // TODO: add support to +// // if (object instanceof ) { +// // +// // } +// // return new DocumentResultCollection(); +// return null; +// } } diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/TextAnalyticsClient.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/TextAnalyticsClient.java index 346d33569ba0..1688fc099112 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/TextAnalyticsClient.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/TextAnalyticsClient.java @@ -65,7 +65,7 @@ public DocumentResultCollection detectLanguages( @ServiceMethod(returns = ReturnType.SINGLE) public Response> detectLanguagesWithResponse( List inputs, TextAnalyticsRequestOptions options, Context context) { - return client.detectLanguagesWithResponse(inputs, options, context).block(); + return client.detectBatchLanguagesWithResponse(inputs, options, context).block(); } // (2) entities @@ -106,7 +106,7 @@ public DocumentResultCollection recognizeEntities( @ServiceMethod(returns = ReturnType.SINGLE) public Response> recognizeEntitiesWithResponse( List inputs, TextAnalyticsRequestOptions options, Context context) { - return client.recognizeEntitiesWithResponse(inputs, options, context).block(); + return client.recognizeBatchEntitiesWithResponse(inputs, options, context).block(); } // (3) PII entities @@ -147,7 +147,7 @@ public DocumentResultCollection recognizePiiEntities( @ServiceMethod(returns = ReturnType.SINGLE) public Response> recognizePiiEntitiesWithResponse( List inputs, TextAnalyticsRequestOptions options, Context context) { - return client.recognizePiiEntitiesWithResponse(inputs, options, context).block(); + return client.recognizeBatchPiiEntitiesWithResponse(inputs, options, context).block(); } // (4) Link entities @@ -188,7 +188,7 @@ public DocumentResultCollection recognizeLinkedEntities( @ServiceMethod(returns = ReturnType.SINGLE) public Response> recognizeLinkedEntitiesWithResponse( List inputs, TextAnalyticsRequestOptions options, Context context) { - return client.recognizeLinkedEntitiesWithResponse(inputs, options, context).block(); + return client.recognizeBatchLinkedEntitiesWithResponse(inputs, options, context).block(); } // (5) key phrase @@ -229,7 +229,7 @@ public DocumentResultCollection extractKeyPhrases( @ServiceMethod(returns = ReturnType.SINGLE) public Response> extractKeyPhrasesWithResponse( List inputs, TextAnalyticsRequestOptions options, Context context) { - return client.extractKeyPhrasesWithResponse(inputs, options, context).block(); + return client.extractBatchKeyPhrasesWithResponse(inputs, options, context).block(); } // (6) sentiment @@ -271,6 +271,6 @@ public DocumentResultCollection analyzeSentiment( @ServiceMethod(returns = ReturnType.SINGLE) public Response> analyzeSentimentWithResponse( List inputs, TextAnalyticsRequestOptions options, Context context) { - return client.analyzeDocumentSentimentWithResponse(inputs, options, context).block(); + return client.analyzeBatchSentimentWithResponse(inputs, options, context).block(); } } diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/DetectLanguageInput.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/DetectLanguageInput.java index 7f03dbfdef2b..fc56119a80b8 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/DetectLanguageInput.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/DetectLanguageInput.java @@ -65,17 +65,6 @@ public String getText() { return this.text; } - /** - * Set the text property: The text property. - * - * @param text the text value to set. - * @return the UnknownLanguageInput object itself. - */ - public DetectLanguageInput setText(String text) { - this.text = text; - return this; - } - /** * Get the countryHint property: The countryHint property. * diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/DetectedLanguageResult.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/DetectedLanguageResult.java index cab390ed561e..33c0305cd174 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/DetectedLanguageResult.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/DetectedLanguageResult.java @@ -6,13 +6,15 @@ import com.azure.core.annotation.Fluent; import com.azure.core.util.IterableStream; +import java.util.List; + /** * The DetectedLanguageResult model. */ @Fluent public final class DetectedLanguageResult extends DocumentResult { private DetectedLanguage primaryLanguage; - private IterableStream detectedLanguages; + private List detectedLanguages; public DetectedLanguage getPrimaryLanguage() { return primaryLanguage; @@ -23,11 +25,11 @@ DetectedLanguageResult setPrimaryLanguage(DetectedLanguage detectedLanguage) { return this; } - public IterableStream getDetectedLanguages() { + public List getDetectedLanguages() { return detectedLanguages; } - DetectedLanguageResult setDetectedLanguages(IterableStream detectedLanguages) { + DetectedLanguageResult setDetectedLanguages(List detectedLanguages) { this.detectedLanguages = detectedLanguages; return this; } diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/DocumentResult.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/DocumentResult.java index 0dfe7947e5a1..0bbb7462a814 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/DocumentResult.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/DocumentResult.java @@ -26,7 +26,7 @@ DocumentResult setId(String id) { return this; } - public TextDocumentStatistics getTextDocumentStatistics() { + public TextDocumentStatistics getStatistics() { return textDocumentStatistics; } diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/KeyPhraseResult.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/KeyPhraseResult.java index 7b300ae94b21..950adea1a0c4 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/KeyPhraseResult.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/KeyPhraseResult.java @@ -4,20 +4,21 @@ package com.azure.cs.textanalytics.models; import com.azure.core.annotation.Fluent; -import com.azure.core.util.IterableStream; + +import java.util.List; /** * The KeyPhraseResult model. */ @Fluent public final class KeyPhraseResult extends DocumentResult { - private IterableStream keyPhrases; + private List keyPhrases; - public IterableStream getKeyPhrases() { + public List getKeyPhrases() { return keyPhrases; } - KeyPhraseResult setKeyPhrases(IterableStream keyPhrases) { + KeyPhraseResult setKeyPhrases(List keyPhrases) { this.keyPhrases = keyPhrases; return this; } diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/LinkedEntityResult.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/LinkedEntityResult.java index 41a910ea0ea6..a4a0bc921216 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/LinkedEntityResult.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/LinkedEntityResult.java @@ -4,20 +4,22 @@ package com.azure.cs.textanalytics.models; import com.azure.core.annotation.Fluent; -import com.azure.core.util.IterableStream; + +import java.util.List; + /** * The LinkedEntityResult model. */ @Fluent public final class LinkedEntityResult extends DocumentResult { - private IterableStream linkedEntities; + private List linkedEntities; - public IterableStream getLinkedEntities() { + public List getLinkedEntities() { return linkedEntities; } - LinkedEntityResult setLinkedEntities(IterableStream linkedEntities) { + LinkedEntityResult setLinkedEntities(List linkedEntities) { this.linkedEntities = linkedEntities; return this; } diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/NamedEntityResult.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/NamedEntityResult.java index d83b2b6f94ba..6d47990467c6 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/NamedEntityResult.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/NamedEntityResult.java @@ -4,20 +4,21 @@ package com.azure.cs.textanalytics.models; import com.azure.core.annotation.Fluent; -import com.azure.core.util.IterableStream; + +import java.util.List; /** * The NamedEntityResult model. */ @Fluent public final class NamedEntityResult extends DocumentResult { - private IterableStream namedEntities; + private List namedEntities; - public IterableStream getNamedEntities() { + public List getNamedEntities() { return namedEntities; } - NamedEntityResult setNamedEntities(IterableStream namedEntities) { + NamedEntityResult setNamedEntities(List namedEntities) { this.namedEntities = namedEntities; return this; } diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/TextBatchStatistics.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/TextBatchStatistics.java index f5bcdbabb63f..6458a31f0406 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/TextBatchStatistics.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/TextBatchStatistics.java @@ -17,27 +17,27 @@ public final class TextBatchStatistics { * Number of documents submitted in the request. */ @JsonProperty(value = "documentsCount", required = true) - private int documentsCount; + private int documentCount; /* * Number of valid documents. This excludes empty, over-size limit or * non-supported languages documents. */ @JsonProperty(value = "validDocumentsCount", required = true) - private int validDocumentsCount; + private int validDocumentCount; /* * Number of invalid documents. This includes empty, over-size limit or * non-supported languages documents. */ @JsonProperty(value = "erroneousDocumentsCount", required = true) - private int erroneousDocumentsCount; + private int erroneousDocumentCount; /* * Number of transactions for the request. */ @JsonProperty(value = "transactionsCount", required = true) - private long transactionsCount; + private long transactionCount; /** * Get the documentsCount property: Number of documents submitted in the @@ -45,8 +45,8 @@ public final class TextBatchStatistics { * * @return the documentsCount value. */ - public int getDocumentsCount() { - return this.documentsCount; + public int getDocumentCount() { + return this.documentCount; } /** @@ -56,54 +56,54 @@ public int getDocumentsCount() { * @param documentsCount the documentsCount value to set. * @return the DocumentBatchStatistics object itself. */ - TextBatchStatistics setDocumentsCount(int documentsCount) { - this.documentsCount = documentsCount; + TextBatchStatistics setDocumentCount(int documentsCount) { + this.documentCount = documentsCount; return this; } /** - * Get the validDocumentsCount property: Number of valid documents. This + * Get the validDocumentCount property: Number of valid documents. This * excludes empty, over-size limit or non-supported languages documents. * - * @return the validDocumentsCount value. + * @return the validDocumentCount value. */ - public int getValidDocumentsCount() { - return this.validDocumentsCount; + public int getValidDocumentCount() { + return this.validDocumentCount; } /** - * Set the validDocumentsCount property: Number of valid documents. This + * Set the validDocumentCount property: Number of valid documents. This * excludes empty, over-size limit or non-supported languages documents. * - * @param validDocumentsCount the validDocumentsCount value to set. + * @param validDocumentCount the validDocumentCount value to set. * @return the DocumentBatchStatistics object itself. */ - TextBatchStatistics setValidDocumentsCount(int validDocumentsCount) { - this.validDocumentsCount = validDocumentsCount; + TextBatchStatistics setValidDocumentCount(int validDocumentCount) { + this.validDocumentCount = validDocumentCount; return this; } /** - * Get the erroneousDocumentsCount property: Number of invalid documents. + * Get the erroneousDocumentCount property: Number of invalid documents. * This includes empty, over-size limit or non-supported languages * documents. * - * @return the erroneousDocumentsCount value. + * @return the erroneousDocumentCount value. */ - public int getErroneousDocumentsCount() { - return this.erroneousDocumentsCount; + public int getErroneousDocumentCount() { + return this.erroneousDocumentCount; } /** - * Set the erroneousDocumentsCount property: Number of invalid documents. + * Set the erroneousDocumentCount property: Number of invalid documents. * This includes empty, over-size limit or non-supported languages * documents. * - * @param erroneousDocumentsCount the erroneousDocumentsCount value to set. + * @param erroneousDocumentCount the erroneousDocumentCount value to set. * @return the DocumentBatchStatistics object itself. */ - TextBatchStatistics setErroneousDocumentsCount(int erroneousDocumentsCount) { - this.erroneousDocumentsCount = erroneousDocumentsCount; + TextBatchStatistics setErroneousDocumentCount(int erroneousDocumentCount) { + this.erroneousDocumentCount = erroneousDocumentCount; return this; } @@ -114,18 +114,18 @@ TextBatchStatistics setErroneousDocumentsCount(int erroneousDocumentsCount) { * @return the transactionsCount value. */ public long getTransactionsCount() { - return this.transactionsCount; + return this.transactionCount; } /** * Set the transactionsCount property: Number of transactions for the * request. * - * @param transactionsCount the transactionsCount value to set. + * @param transactionCount the transactionsCount value to set. * @return the DocumentBatchStatistics object itself. */ - TextBatchStatistics setTransactionsCount(long transactionsCount) { - this.transactionsCount = transactionsCount; + TextBatchStatistics setTransactionsCount(long transactionCount) { + this.transactionCount = transactionCount; return this; } } diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/TextDocumentInput.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/TextDocumentInput.java index 41ab1a0c5c9e..05ab1d732676 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/TextDocumentInput.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/TextDocumentInput.java @@ -38,6 +38,12 @@ public TextDocumentInput (String id, String text) { this.text = text; } + public TextDocumentInput (String id, String text, String language) { + this.id = id; + this.text = text; + this.language = language; + } + /** * Get the id property: A unique, non-empty document identifier. * @@ -66,17 +72,4 @@ public String getText() { public String getLanguage() { return this.language; } - - /** - * Set the language property: (Optional) This is the 2 letter ISO 639-1 - * representation of a language. For example, use "en" for English; "es" - * for Spanish etc. If not set, use "en" for English as default. - * - * @param language the language value to set. - * @return the MultiLanguageInput object itself. - */ - public TextDocumentInput setLanguage(String language) { - this.language = language; - return this; - } } diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/TextDocumentStatistics.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/TextDocumentStatistics.java index cc6920a8fbd1..cead5a2b0793 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/TextDocumentStatistics.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/TextDocumentStatistics.java @@ -17,13 +17,13 @@ public final class TextDocumentStatistics { * Number of text elements recognized in the document. */ @JsonProperty(value = "charactersCount", required = true) - private int charactersCount; + private int characterCount; /* * Number of transactions for the document. */ @JsonProperty(value = "transactionsCount", required = true) - private int transactionsCount; + private int transactionCount; /** * Get the charactersCount property: Number of text elements recognized in @@ -31,19 +31,19 @@ public final class TextDocumentStatistics { * * @return the charactersCount value. */ - public int getCharactersCount() { - return this.charactersCount; + public int getCharacterCount() { + return this.characterCount; } /** * Set the charactersCount property: Number of text elements recognized in * the document. * - * @param charactersCount the charactersCount value to set. + * @param characterCount the charactersCount value to set. * @return the TextDocumentStatistics object itself. */ - TextDocumentStatistics setCharactersCount(int charactersCount) { - this.charactersCount = charactersCount; + TextDocumentStatistics setCharacterCount(int characterCount) { + this.characterCount = characterCount; return this; } @@ -54,18 +54,18 @@ TextDocumentStatistics setCharactersCount(int charactersCount) { * @return the transactionsCount value. */ public int getTransactionsCount() { - return this.transactionsCount; + return this.transactionCount; } /** * Set the transactionsCount property: Number of transactions for the * document. * - * @param transactionsCount the transactionsCount value to set. + * @param transactionCount the transactionsCount value to set. * @return the TextDocumentStatistics object itself. */ - TextDocumentStatistics setTransactionsCount(int transactionsCount) { - this.transactionsCount = transactionsCount; + TextDocumentStatistics setTransactionCount(int transactionCount) { + this.transactionCount = transactionCount; return this; } } diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/TextSentimentResult.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/TextSentimentResult.java index 178c6f136a94..539f1b903859 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/TextSentimentResult.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/main/java/com/azure/cs/textanalytics/models/TextSentimentResult.java @@ -4,7 +4,6 @@ package com.azure.cs.textanalytics.models; import com.azure.core.annotation.Fluent; -import com.azure.core.util.IterableStream; import java.util.List; @@ -14,13 +13,13 @@ @Fluent public final class TextSentimentResult extends DocumentResult { private TextSentiment documentSentiment; - private IterableStream sentenceSentiments; + private List sentenceSentiments; public TextSentiment getDocumentSentiment() { return documentSentiment; } - public IterableStream getSentenceSentiments() { + public List getSentenceSentiments() { return sentenceSentiments; } @@ -29,7 +28,7 @@ TextSentimentResult setDocumentSentiment(TextSentiment documentSentiment) { return this; } - TextSentimentResult setSentenceSentiments(IterableStream sentenceSentiments) { + TextSentimentResult setSentenceSentiments(List sentenceSentiments) { this.sentenceSentiments = sentenceSentiments; return this; } diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/AnalyzeSentiment.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/AnalyzeSentiment.java index 80b459c9d990..b469ee7d7770 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/AnalyzeSentiment.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/AnalyzeSentiment.java @@ -3,10 +3,11 @@ package com.azure.cs.textanalytics; -import com.azure.core.util.IterableStream; import com.azure.cs.textanalytics.models.TextSentiment; import com.azure.cs.textanalytics.models.TextSentimentResult; +import java.util.List; + public class AnalyzeSentiment { public static void main(String[] args) { @@ -27,8 +28,8 @@ public static void main(String[] args) { documentSentiment.getNeutralScore(), documentSentiment.getNegativeScore()); - final IterableStream sentiments = sentimentResult.getSentenceSentiments(); - sentiments.stream().forEach(textSentiment -> System.out.printf( + final List sentiments = sentimentResult.getSentenceSentiments(); + sentiments.forEach(textSentiment -> System.out.printf( "Recognized Sentence TextSentiment: %s, Positive Score: %s, Neutral Score: %s, Negative Score: %s.", textSentiment.getTextSentimentClass(), textSentiment.getPositiveScore(), diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/HelloWorld.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/HelloWorld.java index d3e3c642ef20..bc8518fafd31 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/HelloWorld.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/HelloWorld.java @@ -3,10 +3,11 @@ package com.azure.cs.textanalytics; -import com.azure.core.util.IterableStream; import com.azure.cs.textanalytics.models.DetectedLanguage; import com.azure.cs.textanalytics.models.DetectedLanguageResult; +import java.util.List; + public class HelloWorld { public static void main(String[] args) { @@ -25,8 +26,8 @@ public static void main(String[] args) { detectedDocumentLanguage.getIso6391Name(), detectedDocumentLanguage.getScore()); - final IterableStream detectedLanguages = detectedLanguageResult.getDetectedLanguages(); - detectedLanguages.stream().forEach(detectedLanguage -> + final List detectedLanguages = detectedLanguageResult.getDetectedLanguages(); + detectedLanguages.forEach(detectedLanguage -> System.out.printf("Detected Language: %s, ISO 6391 Name: %s, Score: %s", detectedLanguage.getName(), detectedLanguage.getIso6391Name(), diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/RecognizeEntities.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/RecognizeEntities.java index a40b57592c57..a81e5c9dc9e3 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/RecognizeEntities.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/RecognizeEntities.java @@ -14,7 +14,7 @@ public static void main(String[] args) { // The text that need be analysed. String text = "Satya Nadella is the CEO of Microsoft"; - client.recognizeEntities(text, "US").getNamedEntities().stream().forEach( + client.recognizeEntities(text, "US").getNamedEntities().forEach( entity -> System.out.printf( "Recognized NamedEntity: %s, NamedEntity Type: %s, NamedEntity Subtype: %s, Offset: %s, Length: %s, Score: %s", entity.getText(), diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/RecognizeLinkedEntities.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/RecognizeLinkedEntities.java index 886f5037e509..cac55dd1bf6d 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/RecognizeLinkedEntities.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/RecognizeLinkedEntities.java @@ -14,7 +14,7 @@ public static void main(String[] args) { // The text that need be analysed. String text = "Old Faithful is a geyser at Yellowstone Park"; - client.recognizeLinkedEntities(text, "US").getLinkedEntities().stream().forEach( + client.recognizeLinkedEntities(text, "US").getLinkedEntities().forEach( linkedEntity -> System.out.printf("Recognized Linked NamedEntity: %s, URL: %s, Data Source: %s", linkedEntity.getName(), linkedEntity.getUri(), diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/RecognizePII.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/RecognizePII.java index 0cb2b54a77f4..c737e381aad6 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/RecognizePII.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/RecognizePII.java @@ -14,7 +14,7 @@ public static void main(String[] args) { // The text that need be analysed. String text = "My SSN is 555-55-5555"; - client.recognizePiiEntities(text, "US").getNamedEntities().stream().forEach( + client.recognizePiiEntities(text, "US").getNamedEntities().forEach( entity -> System.out.printf( "Recognized PII NamedEntity: %s, NamedEntity Type: %s, NamedEntity Subtype: %s, Offset: %s, Length: %s, Score: %s", entity.getText(), diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/AnalyzeSentimentBatchDocuments.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/AnalyzeSentimentBatchDocuments.java index 40a4cf58755b..9b6078f38449 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/AnalyzeSentimentBatchDocuments.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/AnalyzeSentimentBatchDocuments.java @@ -25,8 +25,8 @@ public static void main(String[] args) { // The texts that need be analysed. List inputs = Arrays.asList( - new TextDocumentInput("1", "The hotel was dark and unclean.").setLanguage("US"), - new TextDocumentInput("2", "The restaurant had amazing gnocci.").setLanguage("US") + new TextDocumentInput("1", "The hotel was dark and unclean.", "US"), + new TextDocumentInput("2", "The restaurant had amazing gnocci.", "US") ); final TextAnalyticsRequestOptions requestOptions = new TextAnalyticsRequestOptions().setShowStatistics(true).setModelVersion("1.0"); @@ -35,10 +35,10 @@ public static void main(String[] args) { final TextBatchStatistics batchStatistics = detectedBatchResult.getBatchStatistics(); System.out.printf("A batch of document statistics, document count: %s, erroneous document count: %s, transaction count: %s, valid document count: %s", - batchStatistics.getDocumentsCount(), - batchStatistics.getErroneousDocumentsCount(), + batchStatistics.getDocumentCount(), + batchStatistics.getErroneousDocumentCount(), batchStatistics.getTransactionsCount(), - batchStatistics.getValidDocumentsCount()); + batchStatistics.getValidDocumentCount()); // Detecting sentiment for each of document from a batch of documents detectedBatchResult.stream().forEach(result -> { @@ -51,7 +51,7 @@ public static void main(String[] args) { documentSentiment.getLength(), documentSentiment.getOffSet()); - result.getSentenceSentiments().stream().forEach(sentenceSentiment -> + result.getSentenceSentiments().forEach(sentenceSentiment -> System.out.printf("Recognized sentence sentiment: %s, Positive Score: %s, Neutral Score: %s, Negative Score: %s. Length of sentence: %s, Offset of sentence: %s", sentenceSentiment.getTextSentimentClass(), sentenceSentiment.getPositiveScore(), diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/DetectLanguageBatchDocuments.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/DetectLanguageBatchDocuments.java index cc2fea77948a..331d016c8e01 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/DetectLanguageBatchDocuments.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/DetectLanguageBatchDocuments.java @@ -10,7 +10,6 @@ import com.azure.cs.textanalytics.models.DetectedLanguageResult; import com.azure.cs.textanalytics.models.TextBatchStatistics; import com.azure.cs.textanalytics.models.DocumentResultCollection; -import com.azure.cs.textanalytics.models.DetectLanguageInput; import com.azure.cs.textanalytics.models.TextAnalyticsRequestOptions; import java.util.Arrays; @@ -36,10 +35,10 @@ public static void main(String[] args) { final TextBatchStatistics batchStatistics = detectedBatchResult.getBatchStatistics(); System.out.printf("A batch of document statistics, document count: %s, erroneous document count: %s, transaction count: %s, valid document count: %s", - batchStatistics.getDocumentsCount(), - batchStatistics.getErroneousDocumentsCount(), + batchStatistics.getDocumentCount(), + batchStatistics.getErroneousDocumentCount(), batchStatistics.getTransactionsCount(), - batchStatistics.getValidDocumentsCount()); + batchStatistics.getValidDocumentCount()); // Detecting languages for a document from a batch of documents @@ -50,7 +49,7 @@ public static void main(String[] args) { detectedPrimaryLanguage.getIso6391Name(), detectedPrimaryLanguage.getScore()); - result.getDetectedLanguages().stream().forEach(detectedLanguage -> + result.getDetectedLanguages().forEach(detectedLanguage -> System.out.printf("Detected primary Language: %s, ISO 6391 Name: %s, Score: %s", detectedLanguage.getName(), detectedLanguage.getIso6391Name(), diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/RecognizeEntitiesBatchDocuments.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/RecognizeEntitiesBatchDocuments.java index 1bef09ad3bbb..3994ff8c7030 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/RecognizeEntitiesBatchDocuments.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/RecognizeEntitiesBatchDocuments.java @@ -9,7 +9,6 @@ import com.azure.cs.textanalytics.models.TextBatchStatistics; import com.azure.cs.textanalytics.models.TextDocumentInput; import com.azure.cs.textanalytics.models.DocumentResultCollection; -import com.azure.cs.textanalytics.models.NamedEntity; import com.azure.cs.textanalytics.models.TextAnalyticsRequestOptions; import java.util.Arrays; @@ -24,8 +23,8 @@ public static void main(String[] args) { // The texts that need be analysed. List inputs = Arrays.asList( - new TextDocumentInput("1", "Satya Nadella is the CEO of Microsoft").setLanguage("US"), - new TextDocumentInput("2", "Elon Musk is the CEO of SpaceX and Tesla.").setLanguage("US") + new TextDocumentInput("1", "Satya Nadella is the CEO of Microsoft", "US"), + new TextDocumentInput("2", "Elon Musk is the CEO of SpaceX and Tesla.", "US") ); final TextAnalyticsRequestOptions requestOptions = new TextAnalyticsRequestOptions().setShowStatistics(true).setModelVersion("1.0"); @@ -34,14 +33,14 @@ public static void main(String[] args) { final TextBatchStatistics batchStatistics = detectedBatchResult.getBatchStatistics(); System.out.printf("A batch of document statistics, document count: %s, erroneous document count: %s, transaction count: %s, valid document count: %s", - batchStatistics.getDocumentsCount(), - batchStatistics.getErroneousDocumentsCount(), + batchStatistics.getDocumentCount(), + batchStatistics.getErroneousDocumentCount(), batchStatistics.getTransactionsCount(), - batchStatistics.getValidDocumentsCount()); + batchStatistics.getValidDocumentCount()); // Detecting entities for each of document from a batch of documents - detectedBatchResult.stream().forEach(detectedEntityResult -> - detectedEntityResult.getNamedEntities().stream().forEach(entity -> + detectedBatchResult.forEach(detectedEntityResult -> + detectedEntityResult.getNamedEntities().forEach(entity -> System.out.printf("Recognized NamedEntity: %s, NamedEntity Type: %s, NamedEntity Subtype: %s, Offset: %s, Length: %s, Score: %s", entity.getText(), entity.getType(), diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/RecognizeKeyPhrasesBatchDocuments.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/RecognizeKeyPhrasesBatchDocuments.java index 3ff276cf51ee..47a3d671db51 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/RecognizeKeyPhrasesBatchDocuments.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/RecognizeKeyPhrasesBatchDocuments.java @@ -25,8 +25,8 @@ public static void main(String[] args) { // The texts that need be analysed. List inputs = Arrays.asList( - new TextDocumentInput("1", "My cat might need to see a veterinarian").setLanguage("US"), - new TextDocumentInput("2", "The pitot tube is used to measure airspeed.").setLanguage("US") + new TextDocumentInput("1", "My cat might need to see a veterinarian", "US"), + new TextDocumentInput("2", "The pitot tube is used to measure airspeed.", "US") ); final TextAnalyticsRequestOptions requestOptions = new TextAnalyticsRequestOptions().setShowStatistics(true).setModelVersion("1.0"); @@ -35,14 +35,14 @@ public static void main(String[] args) { final TextBatchStatistics batchStatistics = detectedBatchResult.getBatchStatistics(); System.out.printf("A batch of document statistics, document count: %s, erroneous document count: %s, transaction count: %s, valid document count: %s", - batchStatistics.getDocumentsCount(), - batchStatistics.getErroneousDocumentsCount(), + batchStatistics.getDocumentCount(), + batchStatistics.getErroneousDocumentCount(), batchStatistics.getTransactionsCount(), - batchStatistics.getValidDocumentsCount()); + batchStatistics.getValidDocumentCount()); // Detecting key phrase for each of document from a batch of documents detectedBatchResult.stream().forEach(keyPhraseResult -> - keyPhraseResult.getKeyPhrases().stream().forEach(keyPhrases -> + keyPhraseResult.getKeyPhrases().forEach(keyPhrases -> System.out.printf("Recognized Phrases: %s", keyPhrases))); } } diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/RecognizeLinkedEntitiesBatchDocuments.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/RecognizeLinkedEntitiesBatchDocuments.java index d24938a5cd8c..738030e6f7c7 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/RecognizeLinkedEntitiesBatchDocuments.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/RecognizeLinkedEntitiesBatchDocuments.java @@ -9,7 +9,6 @@ import com.azure.cs.textanalytics.models.TextBatchStatistics; import com.azure.cs.textanalytics.models.TextDocumentInput; import com.azure.cs.textanalytics.models.DocumentResultCollection; -import com.azure.cs.textanalytics.models.LinkedEntity; import com.azure.cs.textanalytics.models.TextAnalyticsRequestOptions; import java.util.Arrays; @@ -25,8 +24,8 @@ public static void main(String[] args) { // The texts that need be analysed. List inputs = Arrays.asList( - new TextDocumentInput("1", "Old Faithful is a geyser at Yellowstone Park.").setLanguage("US"), - new TextDocumentInput("2", "Mount Shasta has lenticular clouds.").setLanguage("US") + new TextDocumentInput("1", "Old Faithful is a geyser at Yellowstone Park.", "US"), + new TextDocumentInput("2", "Mount Shasta has lenticular clouds.", "US") ); final TextAnalyticsRequestOptions requestOptions = new TextAnalyticsRequestOptions().setShowStatistics(true).setModelVersion("1.0"); @@ -35,13 +34,13 @@ public static void main(String[] args) { final TextBatchStatistics batchStatistics = detectedBatchResult.getBatchStatistics(); System.out.printf("A batch of document statistics, document count: %s, erroneous document count: %s, transaction count: %s, valid document count: %s", - batchStatistics.getDocumentsCount(), - batchStatistics.getErroneousDocumentsCount(), + batchStatistics.getDocumentCount(), + batchStatistics.getErroneousDocumentCount(), batchStatistics.getTransactionsCount(), - batchStatistics.getValidDocumentsCount()); + batchStatistics.getValidDocumentCount()); // Detecting language from a batch of documents - detectedBatchResult.stream().forEach(linkedEntityDocumentResult -> + detectedBatchResult.forEach(linkedEntityDocumentResult -> linkedEntityDocumentResult.getLinkedEntities().stream().forEach(linkedEntity -> System.out.printf("Recognized Linked NamedEntity: %s, URL: %s, Data Source: %s", linkedEntity.getName(), linkedEntity.getUri(), linkedEntity.getDataSource()))); diff --git a/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/RecognizePIIBatchDocuments.java b/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/RecognizePIIBatchDocuments.java index 313bc2bcefb7..ce365a020f45 100644 --- a/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/RecognizePIIBatchDocuments.java +++ b/sdk/cognitiveservices/azure-cs-textanalytics/src/samples/java/com/azure/cs/textanalytics/batch/RecognizePIIBatchDocuments.java @@ -7,7 +7,6 @@ import com.azure.cs.textanalytics.TextAnalyticsClientBuilder; import com.azure.cs.textanalytics.models.NamedEntityResult; import com.azure.cs.textanalytics.models.TextBatchStatistics; -import com.azure.cs.textanalytics.models.NamedEntity; import com.azure.cs.textanalytics.models.TextDocumentInput; import com.azure.cs.textanalytics.models.DocumentResultCollection; import com.azure.cs.textanalytics.models.TextAnalyticsRequestOptions; @@ -25,8 +24,8 @@ public static void main(String[] args) { // The texts that need be analysed. List inputs = Arrays.asList( - new TextDocumentInput("1", "My SSN is 555-55-5555").setLanguage("US"), - new TextDocumentInput("2", "Visa card 4147999933330000").setLanguage("US") + new TextDocumentInput("1", "My SSN is 555-55-5555", "US"), + new TextDocumentInput("2", "Visa card 4147999933330000", "US") ); final TextAnalyticsRequestOptions requestOptions = new TextAnalyticsRequestOptions().setShowStatistics(true).setModelVersion("1.0"); @@ -35,15 +34,15 @@ public static void main(String[] args) { final TextBatchStatistics batchStatistics = detectedBatchResult.getBatchStatistics(); System.out.printf("A batch of document statistics, document count: %s, erroneous document count: %s, transaction count: %s, valid document count: %s", - batchStatistics.getDocumentsCount(), - batchStatistics.getErroneousDocumentsCount(), + batchStatistics.getDocumentCount(), + batchStatistics.getErroneousDocumentCount(), batchStatistics.getTransactionsCount(), - batchStatistics.getValidDocumentsCount()); + batchStatistics.getValidDocumentCount()); // Detecting pii entities from a batch of documents detectedBatchResult.stream().forEach(piiEntityDocumentResult -> - piiEntityDocumentResult.getNamedEntities().stream().forEach(entity -> + piiEntityDocumentResult.getNamedEntities().forEach(entity -> System.out.printf("Recognized Personal Identifiable Info NamedEntity: %s, NamedEntity Type: %s, NamedEntity Subtype: %s, Offset: %s, Length: %s, Score: %s", entity.getText(), entity.getType(), diff --git a/sdk/cognitiveservices/ms-azure-cs-autosuggest/pom.xml b/sdk/cognitiveservices/ms-azure-cs-autosuggest/pom.xml index ac4d66dd61fc..a4c7e3e429f0 100644 --- a/sdk/cognitiveservices/ms-azure-cs-autosuggest/pom.xml +++ b/sdk/cognitiveservices/ms-azure-cs-autosuggest/pom.xml @@ -8,7 +8,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml azure-cognitiveservices-autosuggest @@ -48,6 +48,7 @@ com.microsoft.azure azure-client-runtime + 1.6.15 @@ -55,6 +56,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -67,11 +69,12 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 3.1.1 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search diff --git a/sdk/cognitiveservices/ms-azure-cs-computervision/pom.xml b/sdk/cognitiveservices/ms-azure-cs-computervision/pom.xml index 2ac45a4de50a..5c66ee0b8b03 100644 --- a/sdk/cognitiveservices/ms-azure-cs-computervision/pom.xml +++ b/sdk/cognitiveservices/ms-azure-cs-computervision/pom.xml @@ -10,7 +10,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml azure-cognitiveservices-computervision @@ -50,6 +50,7 @@ com.microsoft.azure azure-client-runtime + 1.6.15 @@ -57,6 +58,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -69,11 +71,12 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 3.1.1 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search diff --git a/sdk/cognitiveservices/ms-azure-cs-contentmoderator/pom.xml b/sdk/cognitiveservices/ms-azure-cs-contentmoderator/pom.xml index 0c70acdb10b0..99f9286c485a 100644 --- a/sdk/cognitiveservices/ms-azure-cs-contentmoderator/pom.xml +++ b/sdk/cognitiveservices/ms-azure-cs-contentmoderator/pom.xml @@ -10,7 +10,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml azure-cognitiveservices-contentmoderator @@ -50,6 +50,7 @@ com.microsoft.azure azure-client-runtime + 1.6.15 @@ -57,6 +58,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -69,11 +71,12 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 3.1.1 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search diff --git a/sdk/cognitiveservices/ms-azure-cs-customimagesearch/pom.xml b/sdk/cognitiveservices/ms-azure-cs-customimagesearch/pom.xml index 65a1f32bbd74..37a06ce6bb02 100644 --- a/sdk/cognitiveservices/ms-azure-cs-customimagesearch/pom.xml +++ b/sdk/cognitiveservices/ms-azure-cs-customimagesearch/pom.xml @@ -8,7 +8,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml azure-cognitiveservices-customimagesearch @@ -48,6 +48,7 @@ com.microsoft.azure azure-client-runtime + 1.6.15 @@ -55,6 +56,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -67,11 +69,12 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 3.1.1 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search diff --git a/sdk/cognitiveservices/ms-azure-cs-customsearch/pom.xml b/sdk/cognitiveservices/ms-azure-cs-customsearch/pom.xml index 59f0bf0a1e42..87027402ac1a 100644 --- a/sdk/cognitiveservices/ms-azure-cs-customsearch/pom.xml +++ b/sdk/cognitiveservices/ms-azure-cs-customsearch/pom.xml @@ -8,7 +8,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml azure-cognitiveservices-customsearch @@ -48,6 +48,7 @@ com.microsoft.azure azure-client-runtime + 1.6.15 @@ -55,6 +56,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -67,11 +69,12 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 3.1.1 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search diff --git a/sdk/cognitiveservices/ms-azure-cs-customvision-prediction/pom.xml b/sdk/cognitiveservices/ms-azure-cs-customvision-prediction/pom.xml index f00417f1b7af..ab5f995dd525 100644 --- a/sdk/cognitiveservices/ms-azure-cs-customvision-prediction/pom.xml +++ b/sdk/cognitiveservices/ms-azure-cs-customvision-prediction/pom.xml @@ -10,7 +10,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml azure-cognitiveservices-customvision-prediction @@ -51,6 +51,7 @@ com.microsoft.azure azure-client-runtime + 1.6.15 @@ -58,6 +59,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -70,11 +72,12 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 3.1.1 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search diff --git a/sdk/cognitiveservices/ms-azure-cs-customvision-training/pom.xml b/sdk/cognitiveservices/ms-azure-cs-customvision-training/pom.xml index 411c1a3c21f0..6915632c9e44 100644 --- a/sdk/cognitiveservices/ms-azure-cs-customvision-training/pom.xml +++ b/sdk/cognitiveservices/ms-azure-cs-customvision-training/pom.xml @@ -10,7 +10,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml azure-cognitiveservices-customvision-training @@ -50,6 +50,7 @@ com.microsoft.azure azure-client-runtime + 1.6.15 @@ -57,6 +58,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -69,11 +71,12 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 3.1.1 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search diff --git a/sdk/cognitiveservices/ms-azure-cs-entitysearch/pom.xml b/sdk/cognitiveservices/ms-azure-cs-entitysearch/pom.xml index 9fd336667819..ee246582c94a 100644 --- a/sdk/cognitiveservices/ms-azure-cs-entitysearch/pom.xml +++ b/sdk/cognitiveservices/ms-azure-cs-entitysearch/pom.xml @@ -8,7 +8,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml azure-cognitiveservices-entitysearch @@ -48,6 +48,7 @@ com.microsoft.azure azure-client-runtime + 1.6.15 @@ -55,6 +56,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -67,11 +69,12 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 3.1.1 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search diff --git a/sdk/cognitiveservices/ms-azure-cs-faceapi/pom.xml b/sdk/cognitiveservices/ms-azure-cs-faceapi/pom.xml index 6f7ac74b2699..dd0d6e269027 100644 --- a/sdk/cognitiveservices/ms-azure-cs-faceapi/pom.xml +++ b/sdk/cognitiveservices/ms-azure-cs-faceapi/pom.xml @@ -8,7 +8,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml azure-cognitiveservices-faceapi @@ -48,6 +48,7 @@ com.microsoft.azure azure-client-runtime + 1.6.15 @@ -55,6 +56,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -67,11 +69,12 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 3.1.1 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search diff --git a/sdk/cognitiveservices/ms-azure-cs-imagesearch/pom.xml b/sdk/cognitiveservices/ms-azure-cs-imagesearch/pom.xml index a9c27f330692..4843c4780a91 100644 --- a/sdk/cognitiveservices/ms-azure-cs-imagesearch/pom.xml +++ b/sdk/cognitiveservices/ms-azure-cs-imagesearch/pom.xml @@ -8,7 +8,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml azure-cognitiveservices-imagesearch @@ -48,6 +48,7 @@ com.microsoft.azure azure-client-runtime + 1.6.15 @@ -55,6 +56,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -67,11 +69,12 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 3.1.1 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search diff --git a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/pom.xml b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/pom.xml index 2734598038ca..29345eeef586 100644 --- a/sdk/cognitiveservices/ms-azure-cs-luis-authoring/pom.xml +++ b/sdk/cognitiveservices/ms-azure-cs-luis-authoring/pom.xml @@ -8,7 +8,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml azure-cognitiveservices-luis-authoring @@ -48,6 +48,7 @@ com.microsoft.azure azure-client-runtime + 1.6.15 @@ -55,6 +56,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -67,11 +69,12 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 3.1.1 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search diff --git a/sdk/cognitiveservices/ms-azure-cs-luis-runtime/pom.xml b/sdk/cognitiveservices/ms-azure-cs-luis-runtime/pom.xml index d2c9e869ae83..86d086dadf67 100644 --- a/sdk/cognitiveservices/ms-azure-cs-luis-runtime/pom.xml +++ b/sdk/cognitiveservices/ms-azure-cs-luis-runtime/pom.xml @@ -8,7 +8,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml azure-cognitiveservices-luis-runtime @@ -48,6 +48,7 @@ com.microsoft.azure azure-client-runtime + 1.6.15 @@ -55,6 +56,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -67,11 +69,12 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 3.1.1 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search diff --git a/sdk/cognitiveservices/ms-azure-cs-newssearch/pom.xml b/sdk/cognitiveservices/ms-azure-cs-newssearch/pom.xml index f0e898bf3cce..9392f983ce43 100644 --- a/sdk/cognitiveservices/ms-azure-cs-newssearch/pom.xml +++ b/sdk/cognitiveservices/ms-azure-cs-newssearch/pom.xml @@ -8,7 +8,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml azure-cognitiveservices-newssearch @@ -48,6 +48,7 @@ com.microsoft.azure azure-client-runtime + 1.6.15 @@ -55,6 +56,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -67,11 +69,12 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 3.1.1 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search diff --git a/sdk/cognitiveservices/ms-azure-cs-spellcheck/pom.xml b/sdk/cognitiveservices/ms-azure-cs-spellcheck/pom.xml index 68994ad9be9b..9f9ad5d250bc 100644 --- a/sdk/cognitiveservices/ms-azure-cs-spellcheck/pom.xml +++ b/sdk/cognitiveservices/ms-azure-cs-spellcheck/pom.xml @@ -8,7 +8,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml 1.1.0-beta.1 @@ -48,6 +48,7 @@ com.microsoft.azure azure-client-runtime + 1.6.15 @@ -55,6 +56,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -67,11 +69,12 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 3.1.1 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search diff --git a/sdk/cognitiveservices/ms-azure-cs-textanalytics/pom.xml b/sdk/cognitiveservices/ms-azure-cs-textanalytics/pom.xml index d994b1416537..a738c5dffa39 100644 --- a/sdk/cognitiveservices/ms-azure-cs-textanalytics/pom.xml +++ b/sdk/cognitiveservices/ms-azure-cs-textanalytics/pom.xml @@ -10,7 +10,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml azure-cognitiveservices-textanalytics @@ -50,6 +50,7 @@ com.microsoft.azure azure-client-runtime + 1.6.15 @@ -57,6 +58,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -69,11 +71,12 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 3.1.1 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search diff --git a/sdk/cognitiveservices/ms-azure-cs-videosearch/pom.xml b/sdk/cognitiveservices/ms-azure-cs-videosearch/pom.xml index 319c83a076df..7947c2c80a5c 100644 --- a/sdk/cognitiveservices/ms-azure-cs-videosearch/pom.xml +++ b/sdk/cognitiveservices/ms-azure-cs-videosearch/pom.xml @@ -8,7 +8,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml azure-cognitiveservices-videosearch @@ -48,6 +48,7 @@ com.microsoft.azure azure-client-runtime + 1.6.15 @@ -55,6 +56,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -67,11 +69,12 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 3.1.1 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search diff --git a/sdk/cognitiveservices/ms-azure-cs-visualsearch/pom.xml b/sdk/cognitiveservices/ms-azure-cs-visualsearch/pom.xml index 6dabcfca44e7..4b6cfec288e0 100644 --- a/sdk/cognitiveservices/ms-azure-cs-visualsearch/pom.xml +++ b/sdk/cognitiveservices/ms-azure-cs-visualsearch/pom.xml @@ -8,7 +8,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml azure-cognitiveservices-visualsearch @@ -48,6 +48,7 @@ com.microsoft.azure azure-client-runtime + 1.6.15 @@ -55,6 +56,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -67,11 +69,12 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 3.1.1 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search diff --git a/sdk/cognitiveservices/ms-azure-cs-websearch/pom.xml b/sdk/cognitiveservices/ms-azure-cs-websearch/pom.xml index e17cdc602cca..3585cbb3b56b 100644 --- a/sdk/cognitiveservices/ms-azure-cs-websearch/pom.xml +++ b/sdk/cognitiveservices/ms-azure-cs-websearch/pom.xml @@ -8,7 +8,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml azure-cognitiveservices-websearch @@ -48,6 +48,7 @@ com.microsoft.azure azure-client-runtime + 1.6.15 @@ -55,6 +56,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -67,11 +69,12 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 3.1.1 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search diff --git a/sdk/core/azure-core-amqp/pom.xml b/sdk/core/azure-core-amqp/pom.xml index da47336afce2..176b0b0a73ab 100644 --- a/sdk/core/azure-core-amqp/pom.xml +++ b/sdk/core/azure-core-amqp/pom.xml @@ -7,7 +7,7 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../../pom.client.xml @@ -57,46 +57,54 @@ com.azure azure-core - 1.1.0-beta.1 + 1.1.0 com.microsoft.azure qpid-proton-j-extensions + 1.2.1 org.apache.qpid proton-j + 0.33.2 io.projectreactor reactor-test + 3.3.0.RELEASE test org.junit.jupiter junit-jupiter-api + 5.4.2 test org.junit.jupiter junit-jupiter-engine + 5.4.2 test org.junit.jupiter junit-jupiter-params + 5.4.2 test org.slf4j slf4j-simple + 1.7.25 test org.mockito mockito-core + 3.0.0 test diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/AmqpConnection.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/AmqpConnection.java index ef8e7a89705d..f66f95c6976f 100644 --- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/AmqpConnection.java +++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/AmqpConnection.java @@ -3,15 +3,16 @@ package com.azure.core.amqp; +import com.azure.core.amqp.exception.AmqpException; +import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; -import java.io.Closeable; import java.util.Map; /** * Represents a TCP connection between the client and a service that uses the AMQP protocol. */ -public interface AmqpConnection extends EndpointStateNotifier, Closeable { +public interface AmqpConnection extends AutoCloseable { /** * Gets the connection identifier. * @@ -62,4 +63,25 @@ public interface AmqpConnection extends EndpointStateNotifier, Closeable { * @return {@code true} if a session with the name was removed; {@code false} otherwise. */ boolean removeSession(String sessionName); + + /** + * Gets the endpoint states for the AMQP connection. {@link AmqpException AmqpExceptions} that occur on the link are + * reported in the connection state. When the stream terminates, the connection is closed. + * + * @return A stream of endpoint states for the AMQP connection. + */ + Flux getEndpointStates(); + + /** + * Gets any shutdown signals that occur in the AMQP endpoint. + * + * @return A stream of shutdown signals that occur in the AMQP endpoint. + */ + Flux getShutdownSignals(); + + /** + * Closes the AMQP connection. + */ + @Override + void close(); } diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/AmqpLink.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/AmqpLink.java index b1387c7adc92..2ff5f9c54bf0 100644 --- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/AmqpLink.java +++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/AmqpLink.java @@ -3,12 +3,13 @@ package com.azure.core.amqp; -import java.io.Closeable; +import com.azure.core.amqp.exception.AmqpException; +import reactor.core.publisher.Flux; /** * Represents a unidirectional AMQP link. */ -public interface AmqpLink extends EndpointStateNotifier, Closeable { +public interface AmqpLink extends AutoCloseable { /** * Gets the name of the link. * @@ -29,4 +30,18 @@ public interface AmqpLink extends EndpointStateNotifier, Closeable { * @return The host name of the message broker that this link that is connected to. */ String getHostname(); + + /** + * Gets the endpoint states for the AMQP link. {@link AmqpException AmqpExceptions} that occur on the link are + * reported in the connection state. When the stream terminates, the link is closed. + * + * @return A stream of endpoint states for the AMQP link. + */ + Flux getEndpointStates(); + + /** + * Closes the AMQP link. + */ + @Override + void close(); } diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/AmqpMessageConstant.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/AmqpMessageConstant.java index 15f72417770c..4f250ca9719f 100644 --- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/AmqpMessageConstant.java +++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/AmqpMessageConstant.java @@ -120,13 +120,13 @@ public String getValue() { /** * Parses an header value to its message constant. * - * @param headerValue the messaging header value to parse. + * @param value the messaging header value to parse. * @return the parsed MessageConstant object, or {@code null} if unable to parse. * @throws NullPointerException if {@code constant} is {@code null}. */ - public static AmqpMessageConstant fromString(String headerValue) { - Objects.requireNonNull(headerValue, "'headerValue' cannot be null."); + public static AmqpMessageConstant fromString(String value) { + Objects.requireNonNull(value, "'value' cannot be null."); - return RESERVED_CONSTANTS_MAP.get(headerValue); + return RESERVED_CONSTANTS_MAP.get(value); } } diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/AmqpSession.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/AmqpSession.java index c5cd8fefd7f2..a268f253248b 100644 --- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/AmqpSession.java +++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/AmqpSession.java @@ -3,15 +3,16 @@ package com.azure.core.amqp; +import com.azure.core.amqp.exception.AmqpException; +import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; -import java.io.Closeable; import java.time.Duration; /** * An AMQP session representing bidirectional communication that supports multiple {@link AmqpLink AMQP links}. */ -public interface AmqpSession extends EndpointStateNotifier, Closeable { +public interface AmqpSession extends AutoCloseable { /** * Gets the name for this AMQP session. * @@ -55,4 +56,18 @@ public interface AmqpSession extends EndpointStateNotifier, Closeable { * @return {@code true} if the link was removed; {@code false} otherwise. */ boolean removeLink(String linkName); + + /** + * Gets the endpoint states for the AMQP session. {@link AmqpException AmqpExceptions} that occur on the link are + * reported in the connection state. When the stream terminates, the session is closed. + * + * @return A stream of endpoint states for the AMQP session. + */ + Flux getEndpointStates(); + + /** + * Closes the AMQP session. + */ + @Override + void close(); } diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/ClaimsBasedSecurityNode.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/ClaimsBasedSecurityNode.java index 2b97bf066b59..218f379a6509 100644 --- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/ClaimsBasedSecurityNode.java +++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/ClaimsBasedSecurityNode.java @@ -6,7 +6,6 @@ import com.azure.core.credential.TokenCredential; import reactor.core.publisher.Mono; -import java.io.Closeable; import java.time.OffsetDateTime; /** @@ -15,7 +14,7 @@ * @see * AMPQ Claims-based Security v1.0 */ -public interface ClaimsBasedSecurityNode extends EndpointStateNotifier, Closeable { +public interface ClaimsBasedSecurityNode extends AutoCloseable { /** * Authorizes the caller with the CBS node to access resources for the {@code audience}. * @@ -26,4 +25,10 @@ public interface ClaimsBasedSecurityNode extends EndpointStateNotifier, Closeabl * CBS node. */ Mono authorize(String audience, String scopes); + + /** + * Closes session to the claims-based security node. + */ + @Override + void close(); } diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/EndpointStateNotifier.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/EndpointStateNotifier.java deleted file mode 100644 index 56ebb9b50ee2..000000000000 --- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/EndpointStateNotifier.java +++ /dev/null @@ -1,40 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.azure.core.amqp; - -import reactor.core.publisher.Flux; - -/** - * Notifies subscribers of the endpoint state and any errors that occur with the object. - */ -public interface EndpointStateNotifier { - - /** - * Gets the current state of the endpoint. - * - * @return The current state of the endpoint. - */ - AmqpEndpointState getCurrentState(); - - /** - * Gets the errors that occurred in the AMQP endpoint. - * - * @return A stream of errors that occurred in the AMQP endpoint. - */ - Flux getErrors(); - - /** - * Gets the endpoint states for the AMQP endpoint. - * - * @return A stream of endpoint states as they occur in the endpoint. - */ - Flux getConnectionStates(); - - /** - * Gets any shutdown signals that occur in the AMQP endpoint. - * - * @return A stream of shutdown signals that occur in the AMQP endpoint. - */ - Flux getShutdownSignals(); -} diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AmqpEndpointStateUtil.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AmqpEndpointStateUtil.java new file mode 100644 index 000000000000..8d67e6d2d951 --- /dev/null +++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AmqpEndpointStateUtil.java @@ -0,0 +1,31 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.core.amqp.implementation; + +import com.azure.core.amqp.AmqpEndpointState; +import org.apache.qpid.proton.engine.EndpointState; + +/** + * Helper class for managing endpoint states from proton-j. + */ +class AmqpEndpointStateUtil { + /** + * Translates proton-j endpoint states into an AMQP endpoint state. + * @param state proton-j endpoint state. + * @return The corresponding {@link AmqpEndpointState}. + * @throws IllegalArgumentException if {@code state} is not a supported {@link AmqpEndpointState}. + */ + static AmqpEndpointState getConnectionState(EndpointState state) { + switch (state) { + case ACTIVE: + return AmqpEndpointState.ACTIVE; + case UNINITIALIZED: + return AmqpEndpointState.UNINITIALIZED; + case CLOSED: + return AmqpEndpointState.CLOSED; + default: + throw new IllegalArgumentException("This endpoint state is not supported. State:" + state); + } + } +} diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/AmqpExceptionHandler.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AmqpExceptionHandler.java similarity index 76% rename from sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/AmqpExceptionHandler.java rename to sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AmqpExceptionHandler.java index c451bdc2439f..be2c8bbcc2e6 100644 --- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/AmqpExceptionHandler.java +++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AmqpExceptionHandler.java @@ -1,20 +1,21 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.core.amqp; +package com.azure.core.amqp.implementation; +import com.azure.core.amqp.AmqpShutdownSignal; import com.azure.core.util.logging.ClientLogger; /** * Handles exceptions generated by AMQP connections, sessions, and/or links. */ -public abstract class AmqpExceptionHandler { +abstract class AmqpExceptionHandler { private final ClientLogger logger = new ClientLogger(AmqpExceptionHandler.class); /** * Creates a new instance of the exception handler. */ - protected AmqpExceptionHandler() { + AmqpExceptionHandler() { } /** @@ -22,7 +23,7 @@ protected AmqpExceptionHandler() { * * @param exception The exception that caused the connection error. */ - public void onConnectionError(Throwable exception) { + void onConnectionError(Throwable exception) { logger.warning("Connection exception encountered: " + exception.toString(), exception); } @@ -31,7 +32,7 @@ public void onConnectionError(Throwable exception) { * * @param shutdownSignal The shutdown signal that was received. */ - public void onConnectionShutdown(AmqpShutdownSignal shutdownSignal) { + void onConnectionShutdown(AmqpShutdownSignal shutdownSignal) { logger.info("Shutdown received: {}", shutdownSignal); } } diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AmqpReceiveLink.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AmqpReceiveLink.java index 7c889a90088a..574e8db71673 100644 --- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AmqpReceiveLink.java +++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AmqpReceiveLink.java @@ -7,7 +7,6 @@ import org.apache.qpid.proton.message.Message; import reactor.core.publisher.Flux; -import java.io.Closeable; import java.util.function.Supplier; /** @@ -21,7 +20,7 @@ public interface AmqpReceiveLink extends AmqpLink { * Initialises the link from the client to the message broker and begins to receive messages from the broker. * * @return A Flux of AMQP messages which completes when the client calls - * {@link Closeable#close() AmqpReceiveLink.close()} or an unrecoverable error occurs on the AMQP link. + * {@link AutoCloseable#close() AmqpReceiveLink.close()} or an unrecoverable error occurs on the AMQP link. */ Flux receive(); diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AzureTokenManagerProvider.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AzureTokenManagerProvider.java index c58957ae56a5..b8540e388d86 100644 --- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AzureTokenManagerProvider.java +++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/AzureTokenManagerProvider.java @@ -17,7 +17,7 @@ public class AzureTokenManagerProvider implements TokenManagerProvider { static final String TOKEN_AUDIENCE_FORMAT = "amqp://%s/%s"; private final ClientLogger logger = new ClientLogger(AzureTokenManagerProvider.class); - private final CBSAuthorizationType authorizationType; + private final CbsAuthorizationType authorizationType; private final String fullyQualifiedNamespace; private final String activeDirectoryScope; @@ -29,7 +29,7 @@ public class AzureTokenManagerProvider implements TokenManagerProvider { * @param fullyQualifiedNamespace Fully-qualified namespace of the message broker. * @param activeDirectoryScope Scope used to access AD resources for the Azure service. */ - public AzureTokenManagerProvider(CBSAuthorizationType authorizationType, String fullyQualifiedNamespace, + public AzureTokenManagerProvider(CbsAuthorizationType authorizationType, String fullyQualifiedNamespace, String activeDirectoryScope) { this.activeDirectoryScope = Objects.requireNonNull(activeDirectoryScope, "'activeDirectoryScope' cannot be null."); diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/CBSAuthorizationType.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/CbsAuthorizationType.java similarity index 92% rename from sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/CBSAuthorizationType.java rename to sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/CbsAuthorizationType.java index 03fe0adcb0af..92390dd50305 100644 --- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/CBSAuthorizationType.java +++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/CbsAuthorizationType.java @@ -8,7 +8,7 @@ /** * An enumeration of supported authorization methods with the {@link ClaimsBasedSecurityNode}. */ -public enum CBSAuthorizationType { +public enum CbsAuthorizationType { /** * Authorize with CBS through a shared access signature. */ @@ -23,7 +23,7 @@ public enum CBSAuthorizationType { private final String scheme; - CBSAuthorizationType(String scheme) { + CbsAuthorizationType(String scheme) { this.scheme = scheme; } diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ClaimsBasedSecurityChannel.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ClaimsBasedSecurityChannel.java index 3494072a071a..fca3990555b9 100644 --- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ClaimsBasedSecurityChannel.java +++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ClaimsBasedSecurityChannel.java @@ -7,7 +7,6 @@ import com.azure.core.amqp.ClaimsBasedSecurityNode; import com.azure.core.credential.TokenCredential; import com.azure.core.credential.TokenRequestContext; -import com.azure.core.util.logging.ClientLogger; import org.apache.qpid.proton.Proton; import org.apache.qpid.proton.amqp.messaging.AmqpValue; import org.apache.qpid.proton.amqp.messaging.ApplicationProperties; @@ -19,20 +18,19 @@ import java.util.Map; import java.util.Objects; -public class ClaimsBasedSecurityChannel extends EndpointStateNotifierBase implements ClaimsBasedSecurityNode { - static final String PUT_TOKEN_OPERATION = "operation"; - static final String PUT_TOKEN_OPERATION_VALUE = "put-token"; +public class ClaimsBasedSecurityChannel implements ClaimsBasedSecurityNode { static final String PUT_TOKEN_TYPE = "type"; static final String PUT_TOKEN_AUDIENCE = "name"; + private static final String PUT_TOKEN_OPERATION = "operation"; + private static final String PUT_TOKEN_OPERATION_VALUE = "put-token"; private final TokenCredential credential; private final Mono cbsChannelMono; - private final CBSAuthorizationType authorizationType; + private final CbsAuthorizationType authorizationType; private final AmqpRetryOptions retryOptions; public ClaimsBasedSecurityChannel(Mono responseChannelMono, TokenCredential tokenCredential, - CBSAuthorizationType authorizationType, AmqpRetryOptions retryOptions) { - super(new ClientLogger(ClaimsBasedSecurityChannel.class)); + CbsAuthorizationType authorizationType, AmqpRetryOptions retryOptions) { this.authorizationType = Objects.requireNonNull(authorizationType, "'authorizationType' cannot be null."); this.retryOptions = Objects.requireNonNull(retryOptions, "'retryOptions' cannot be null."); diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ConnectionOptions.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ConnectionOptions.java index 86c2998c5448..8b2d9a6c9a2e 100644 --- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ConnectionOptions.java +++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ConnectionOptions.java @@ -24,10 +24,10 @@ public class ConnectionOptions { private final Scheduler scheduler; private final String fullyQualifiedNamespace; private final String entityPath; - private final CBSAuthorizationType authorizationType; + private final CbsAuthorizationType authorizationType; public ConnectionOptions(String fullyQualifiedNamespace, String entityPath, TokenCredential tokenCredential, - CBSAuthorizationType authorizationType, AmqpTransportType transport, AmqpRetryOptions retryOptions, + CbsAuthorizationType authorizationType, AmqpTransportType transport, AmqpRetryOptions retryOptions, ProxyOptions proxyOptions, Scheduler scheduler) { this.fullyQualifiedNamespace = Objects.requireNonNull(fullyQualifiedNamespace, "'fullyQualifiedNamespace' is required."); @@ -52,7 +52,7 @@ public TokenCredential getTokenCredential() { return tokenCredential; } - public CBSAuthorizationType getAuthorizationType() { + public CbsAuthorizationType getAuthorizationType() { return authorizationType; } diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/EndpointStateNotifierBase.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/EndpointStateNotifierBase.java deleted file mode 100644 index 3c18e009d5fb..000000000000 --- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/EndpointStateNotifierBase.java +++ /dev/null @@ -1,98 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.azure.core.amqp.implementation; - -import com.azure.core.amqp.AmqpEndpointState; -import com.azure.core.amqp.AmqpShutdownSignal; -import com.azure.core.amqp.EndpointStateNotifier; -import com.azure.core.util.logging.ClientLogger; -import org.apache.qpid.proton.engine.EndpointState; -import reactor.core.Disposable; -import reactor.core.publisher.DirectProcessor; -import reactor.core.publisher.Flux; -import reactor.core.publisher.ReplayProcessor; - -import java.io.Closeable; -import java.util.Objects; - -public abstract class EndpointStateNotifierBase implements EndpointStateNotifier, Closeable { - private final ReplayProcessor connectionStateProcessor = - ReplayProcessor.cacheLastOrDefault(AmqpEndpointState.UNINITIALIZED); - private final DirectProcessor errorContextProcessor = DirectProcessor.create(); - private final DirectProcessor shutdownSignalProcessor = DirectProcessor.create(); - private final Disposable subscription; - - protected ClientLogger logger; - private volatile AmqpEndpointState state; - - public EndpointStateNotifierBase(ClientLogger logger) { - Objects.requireNonNull(logger); - - this.logger = logger; - this.subscription = connectionStateProcessor.subscribe(s -> this.state = s); - } - - @Override - public AmqpEndpointState getCurrentState() { - return state; - } - - @Override - public Flux getErrors() { - return errorContextProcessor; - } - - @Override - public Flux getConnectionStates() { - return connectionStateProcessor; - } - - @Override - public Flux getShutdownSignals() { - return shutdownSignalProcessor; - } - - void notifyError(Throwable error) { - Objects.requireNonNull(error); - - logger.error("Error occurred. {}", error.toString()); - errorContextProcessor.onNext(error); - } - - void notifyShutdown(AmqpShutdownSignal shutdownSignal) { - Objects.requireNonNull(shutdownSignal); - - logger.info("Notify shutdown signal: {}", shutdownSignal); - shutdownSignalProcessor.onNext(shutdownSignal); - } - - void notifyEndpointState(EndpointState endpointState) { - Objects.requireNonNull(endpointState); - - logger.verbose("Connection state: {}", endpointState); - final AmqpEndpointState state = getConnectionState(endpointState); - connectionStateProcessor.onNext(state); - } - - private static AmqpEndpointState getConnectionState(EndpointState state) { - switch (state) { - case ACTIVE: - return AmqpEndpointState.ACTIVE; - case UNINITIALIZED: - return AmqpEndpointState.UNINITIALIZED; - case CLOSED: - return AmqpEndpointState.CLOSED; - default: - throw new UnsupportedOperationException("This endpoint state is not supported. State:" + state); - } - } - - @Override - public void close() { - subscription.dispose(); - connectionStateProcessor.onComplete(); - errorContextProcessor.onComplete(); - shutdownSignalProcessor.onComplete(); - } -} diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorConnection.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorConnection.java index 99a21e1dcb27..6a6393482a9d 100644 --- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorConnection.java +++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorConnection.java @@ -5,36 +5,46 @@ import com.azure.core.amqp.AmqpConnection; import com.azure.core.amqp.AmqpEndpointState; -import com.azure.core.amqp.AmqpExceptionHandler; import com.azure.core.amqp.AmqpRetryPolicy; import com.azure.core.amqp.AmqpSession; +import com.azure.core.amqp.AmqpShutdownSignal; import com.azure.core.amqp.ClaimsBasedSecurityNode; import com.azure.core.amqp.implementation.handler.ConnectionHandler; import com.azure.core.amqp.implementation.handler.SessionHandler; import com.azure.core.util.logging.ClientLogger; import org.apache.qpid.proton.engine.BaseHandler; import org.apache.qpid.proton.engine.Connection; -import org.apache.qpid.proton.engine.EndpointState; import org.apache.qpid.proton.engine.Session; import org.apache.qpid.proton.reactor.Reactor; import reactor.core.Disposable; import reactor.core.Disposables; +import reactor.core.publisher.DirectProcessor; +import reactor.core.publisher.Flux; +import reactor.core.publisher.FluxSink; import reactor.core.publisher.Mono; +import reactor.core.publisher.ReplayProcessor; import java.io.IOException; +import java.util.HashMap; import java.util.Map; import java.util.Objects; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; import java.util.concurrent.atomic.AtomicBoolean; -public class ReactorConnection extends EndpointStateNotifierBase implements AmqpConnection { +public class ReactorConnection implements AmqpConnection { private static final String CBS_SESSION_NAME = "cbs-session"; private static final String CBS_ADDRESS = "$cbs"; private static final String CBS_LINK_NAME = "cbs"; + private final ClientLogger logger = new ClientLogger(ReactorConnection.class); private final ConcurrentMap sessionMap = new ConcurrentHashMap<>(); private final AtomicBoolean hasConnection = new AtomicBoolean(); + private final AtomicBoolean isDisposed = new AtomicBoolean(); + private final DirectProcessor shutdownSignals = DirectProcessor.create(); + private final ReplayProcessor endpointStates = + ReplayProcessor.cacheLastOrDefault(AmqpEndpointState.UNINITIALIZED); + private FluxSink endpointStatesSink = endpointStates.sink(FluxSink.OverflowStrategy.BUFFER); private final String connectionId; private final Mono connectionMono; @@ -66,7 +76,6 @@ public class ReactorConnection extends EndpointStateNotifierBase implements Amqp public ReactorConnection(String connectionId, ConnectionOptions connectionOptions, ReactorProvider reactorProvider, ReactorHandlerProvider handlerProvider, TokenManagerProvider tokenManagerProvider, MessageSerializer messageSerializer) { - super(new ClientLogger(ReactorConnection.class)); this.connectionOptions = connectionOptions; this.reactorProvider = reactorProvider; @@ -85,13 +94,34 @@ public ReactorConnection(String connectionId, ConnectionOptions connectionOption this.subscriptions = Disposables.composite( this.handler.getEndpointStates().subscribe( - this::notifyEndpointState, - this::notifyError, - () -> notifyEndpointState(EndpointState.CLOSED)), - this.handler.getErrors().subscribe( - this::notifyError, - this::notifyError, - () -> notifyEndpointState(EndpointState.CLOSED))); + state -> { + logger.verbose("Connection state: {}", state); + endpointStatesSink.next(AmqpEndpointStateUtil.getConnectionState(state)); + }, error -> { + logger.error("Error occurred in connection.", error); + endpointStatesSink.error(error); + }, () -> { + endpointStatesSink.next(AmqpEndpointState.CLOSED); + endpointStatesSink.complete(); + }), + + this.handler.getErrors().subscribe(error -> { + logger.error("Error occurred in connection.", error); + endpointStatesSink.error(error); + })); + } + + /** + * {@inheritDoc} + */ + @Override + public Flux getEndpointStates() { + return endpointStates; + } + + @Override + public Flux getShutdownSignals() { + return shutdownSignals; } /** @@ -100,7 +130,7 @@ public ReactorConnection(String connectionId, ConnectionOptions connectionOption @Override public Mono getClaimsBasedSecurityNode() { final Mono cbsNodeMono = RetryUtil.withRetry( - getConnectionStates().takeUntil(x -> x == AmqpEndpointState.ACTIVE), + getEndpointStates().takeUntil(x -> x == AmqpEndpointState.ACTIVE), connectionOptions.getRetry().getTryTimeout(), retryPolicy) .then(Mono.fromCallable(this::getOrCreateCBSNode)); @@ -186,19 +216,21 @@ public boolean removeSession(String sessionName) { */ @Override public void close() { + if (isDisposed.getAndSet(true)) { + return; + } + if (executor != null) { executor.close(); } subscriptions.dispose(); - sessionMap.forEach((name, session) -> { - try { - session.close(); - } catch (IOException e) { - logger.error("Could not close session: " + name, e); - } - }); - super.close(); + endpointStatesSink.complete(); + + final HashMap map = new HashMap<>(sessionMap); + + sessionMap.clear(); + map.forEach((name, session) -> session.close()); } /** diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorExecutor.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorExecutor.java index 4fb28b0e4954..f3b9a067a3c9 100644 --- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorExecutor.java +++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorExecutor.java @@ -3,7 +3,6 @@ package com.azure.core.amqp.implementation; -import com.azure.core.amqp.AmqpExceptionHandler; import com.azure.core.amqp.AmqpShutdownSignal; import com.azure.core.amqp.exception.AmqpErrorContext; import com.azure.core.amqp.exception.AmqpException; diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorReceiver.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorReceiver.java index 6aaf12d8813f..17f829d6d65f 100644 --- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorReceiver.java +++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorReceiver.java @@ -3,13 +3,11 @@ package com.azure.core.amqp.implementation; -import com.azure.core.amqp.AmqpShutdownSignal; -import com.azure.core.amqp.exception.AmqpException; +import com.azure.core.amqp.AmqpEndpointState; import com.azure.core.amqp.implementation.handler.ReceiveLinkHandler; import com.azure.core.util.logging.ClientLogger; import org.apache.qpid.proton.Proton; import org.apache.qpid.proton.engine.Delivery; -import org.apache.qpid.proton.engine.EndpointState; import org.apache.qpid.proton.engine.Receiver; import org.apache.qpid.proton.message.Message; import reactor.core.Disposable; @@ -17,8 +15,8 @@ import reactor.core.publisher.EmitterProcessor; import reactor.core.publisher.Flux; import reactor.core.publisher.FluxSink; +import reactor.core.publisher.ReplayProcessor; -import java.io.IOException; import java.util.Objects; import java.util.concurrent.atomic.AtomicBoolean; import java.util.function.Supplier; @@ -26,7 +24,7 @@ /** * Handles receiving events from Event Hubs service and translating them to proton-j messages. */ -public class ReactorReceiver extends EndpointStateNotifierBase implements AmqpReceiveLink { +public class ReactorReceiver implements AmqpReceiveLink { // Initial value is true because we could not have created this receiver without authorising against the CBS node // first. private final AtomicBoolean hasAuthorized = new AtomicBoolean(true); @@ -36,50 +34,45 @@ public class ReactorReceiver extends EndpointStateNotifierBase implements AmqpRe private final ReceiveLinkHandler handler; private final TokenManager tokenManager; private final Disposable.Composite subscriptions; + private final AtomicBoolean isDisposed = new AtomicBoolean(); private final EmitterProcessor messagesProcessor = EmitterProcessor.create(); - private final AtomicBoolean isDisposed; private FluxSink messageSink = messagesProcessor.sink(); + private final ClientLogger logger = new ClientLogger(ReactorReceiver.class); + private final ReplayProcessor endpointStates = + ReplayProcessor.cacheLastOrDefault(AmqpEndpointState.UNINITIALIZED); + private FluxSink endpointStateSink = endpointStates.sink(FluxSink.OverflowStrategy.BUFFER); private volatile Supplier creditSupplier; ReactorReceiver(String entityPath, Receiver receiver, ReceiveLinkHandler handler, TokenManager tokenManager) { - super(new ClientLogger(ReactorReceiver.class)); - this.isDisposed = new AtomicBoolean(); this.entityPath = entityPath; this.receiver = receiver; this.handler = handler; this.tokenManager = tokenManager; this.subscriptions = Disposables.composite( - handler.getDeliveredMessages().subscribe(this::decodeDelivery), - - handler.getEndpointStates().subscribe( - this::notifyEndpointState, - error -> logger.error("Error encountered getting endpointState", error), - () -> { - logger.verbose("getEndpointStates completed."); - notifyEndpointState(EndpointState.CLOSED); - }), + this.handler.getDeliveredMessages().subscribe(this::decodeDelivery), - handler.getErrors().subscribe(error -> { - if (!(error instanceof AmqpException)) { - logger.error("Error occurred that is not an AmqpException.", error); - notifyShutdown(new AmqpShutdownSignal(false, false, error.toString())); + this.handler.getEndpointStates().subscribe( + state -> { + logger.verbose("Connection state: {}", state); + endpointStateSink.next(AmqpEndpointStateUtil.getConnectionState(state)); + }, error -> { + logger.error("Error occurred in connection.", error); + endpointStateSink.error(error); close(); - return; - } - - final AmqpException amqpException = (AmqpException) error; - if (!amqpException.isTransient()) { - logger.warning("Error occurred that is not retriable.", amqpException); - notifyShutdown(new AmqpShutdownSignal(false, false, amqpException.toString())); + }, () -> { + endpointStateSink.next(AmqpEndpointState.CLOSED); close(); - } else { - notifyError(error); - } + }), + + this.handler.getErrors().subscribe(error -> { + logger.error("Error occurred in link.", error); + endpointStateSink.error(error); + close(); }), - tokenManager.getAuthorizationResults().subscribe( + this.tokenManager.getAuthorizationResults().subscribe( response -> { logger.verbose("Token refreshed: {}", response); hasAuthorized.set(true); @@ -87,8 +80,12 @@ public class ReactorReceiver extends EndpointStateNotifierBase implements AmqpRe logger.info("clientId[{}], path[{}], linkName[{}] - tokenRenewalFailure[{}]", handler.getConnectionId(), this.entityPath, getLinkName(), error.getMessage()); hasAuthorized.set(false); - }, () -> hasAuthorized.set(false)) - ); + }, () -> hasAuthorized.set(false))); + } + + @Override + public Flux getEndpointStates() { + return endpointStates; } @Override @@ -134,17 +131,10 @@ public void close() { } subscriptions.dispose(); - - try { - tokenManager.close(); - } catch (IOException e) { - logger.warning("IOException occurred trying to close tokenManager for {}.", entityPath, e); - } - + endpointStateSink.complete(); messageSink.complete(); - + tokenManager.close(); handler.close(); - super.close(); } private void decodeDelivery(Delivery delivery) { diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorSender.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorSender.java index 2525bb39dda5..e15164a9e02d 100644 --- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorSender.java +++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorSender.java @@ -3,6 +3,7 @@ package com.azure.core.amqp.implementation; +import com.azure.core.amqp.AmqpEndpointState; import com.azure.core.amqp.AmqpRetryPolicy; import com.azure.core.amqp.exception.AmqpErrorCondition; import com.azure.core.amqp.exception.AmqpErrorContext; @@ -26,7 +27,10 @@ import org.apache.qpid.proton.message.Message; import reactor.core.Disposable; import reactor.core.Disposables; +import reactor.core.publisher.Flux; +import reactor.core.publisher.FluxSink; import reactor.core.publisher.Mono; +import reactor.core.publisher.ReplayProcessor; import java.io.IOException; import java.io.Serializable; @@ -50,7 +54,7 @@ /** * Handles scheduling and transmitting events through proton-j to Event Hubs service. */ -class ReactorSender extends EndpointStateNotifierBase implements AmqpSendLink { +class ReactorSender implements AmqpSendLink { private final String entityPath; private final Sender sender; private final SendLinkHandler handler; @@ -65,6 +69,11 @@ class ReactorSender extends EndpointStateNotifierBase implements AmqpSendLink { private final ConcurrentHashMap pendingSendsMap = new ConcurrentHashMap<>(); private final PriorityQueue pendingSendsQueue = new PriorityQueue<>(1000, new DeliveryTagComparator()); + private final ClientLogger logger = new ClientLogger(ReactorSender.class); + private final ReplayProcessor endpointStates = + ReplayProcessor.cacheLastOrDefault(AmqpEndpointState.UNINITIALIZED); + private FluxSink endpointStateSink = endpointStates.sink(FluxSink.OverflowStrategy.BUFFER); + private final TokenManager tokenManager; private final MessageSerializer messageSerializer; @@ -86,7 +95,6 @@ class ReactorSender extends EndpointStateNotifierBase implements AmqpSendLink { ReactorSender(String entityPath, Sender sender, SendLinkHandler handler, ReactorProvider reactorProvider, TokenManager tokenManager, MessageSerializer messageSerializer, Duration timeout, AmqpRetryPolicy retry, int maxMessageSize) { - super(new ClientLogger(ReactorSender.class)); this.entityPath = entityPath; this.sender = sender; this.handler = handler; @@ -98,25 +106,33 @@ class ReactorSender extends EndpointStateNotifierBase implements AmqpSendLink { this.maxMessageSize = maxMessageSize; this.subscriptions = Disposables.composite( - handler.getDeliveredMessages().subscribe(this::processDeliveredMessage), + this.handler.getDeliveredMessages().subscribe(this::processDeliveredMessage), - handler.getLinkCredits().subscribe(credit -> { + this.handler.getLinkCredits().subscribe(credit -> { logger.verbose("Credits on link: {}", credit); this.scheduleWorkOnDispatcher(); }), - handler.getEndpointStates().subscribe( + this.handler.getEndpointStates().subscribe( state -> { + logger.verbose("Connection state: {}", state); this.hasConnected.set(state == EndpointState.ACTIVE); - this.notifyEndpointState(state); - }, - error -> logger.error("Error encountered getting endpointState", error), - () -> { - logger.verbose("getLinkCredits completed."); + endpointStateSink.next(AmqpEndpointStateUtil.getConnectionState(state)); + }, error -> { + logger.error("Error occurred in connection.", error); + endpointStateSink.error(error); + }, () -> { + endpointStateSink.next(AmqpEndpointState.CLOSED); + endpointStateSink.complete(); hasConnected.set(false); }), - tokenManager.getAuthorizationResults().subscribe( + this.handler.getErrors().subscribe(error -> { + logger.error("Error occurred in connection.", error); + endpointStateSink.error(error); + }), + + this.tokenManager.getAuthorizationResults().subscribe( response -> { logger.verbose("Token refreshed: {}", response); hasAuthorized.set(true); @@ -129,6 +145,11 @@ class ReactorSender extends EndpointStateNotifierBase implements AmqpSendLink { ); } + @Override + public Flux getEndpointStates() { + return endpointStates; + } + @Override public Mono send(Message message) { final int payloadSize = messageSerializer.getSize(message); @@ -246,14 +267,8 @@ public Mono getLinkSize() { @Override public void close() { subscriptions.dispose(); - - try { - tokenManager.close(); - } catch (IOException e) { - logger.warning("IOException occurred trying to close tokenManager for {}.", entityPath, e); - } - - super.close(); + endpointStateSink.complete(); + tokenManager.close(); } private Mono send(byte[] bytes, int arrayOffset, int messageFormat) { @@ -436,7 +451,6 @@ private void scheduleWorkOnDispatcher() { reactorProvider.getReactorDispatcher().invoke(this::processSendWork); } catch (IOException e) { logger.error("Error scheduling work on reactor.", e); - notifyError(e); } } diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorSession.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorSession.java index ec1de026de24..f7a82b9523a9 100644 --- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorSession.java +++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/ReactorSession.java @@ -19,26 +19,34 @@ import org.apache.qpid.proton.amqp.transport.ReceiverSettleMode; import org.apache.qpid.proton.amqp.transport.SenderSettleMode; import org.apache.qpid.proton.engine.BaseHandler; -import org.apache.qpid.proton.engine.EndpointState; import org.apache.qpid.proton.engine.Receiver; import org.apache.qpid.proton.engine.Sender; import org.apache.qpid.proton.engine.Session; import reactor.core.Disposable; import reactor.core.Disposables; +import reactor.core.publisher.Flux; +import reactor.core.publisher.FluxSink; import reactor.core.publisher.Mono; +import reactor.core.publisher.ReplayProcessor; import java.io.IOException; import java.time.Duration; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentMap; +import java.util.concurrent.atomic.AtomicBoolean; /** * Represents an AMQP session using proton-j reactor. */ -public class ReactorSession extends EndpointStateNotifierBase implements AmqpSession { +public class ReactorSession implements AmqpSession { private final ConcurrentMap openSendLinks = new ConcurrentHashMap<>(); private final ConcurrentMap openReceiveLinks = new ConcurrentHashMap<>(); + private final AtomicBoolean isDisposed = new AtomicBoolean(); + private final ClientLogger logger = new ClientLogger(ReactorSession.class); + private final ReplayProcessor endpointStates = + ReplayProcessor.cacheLastOrDefault(AmqpEndpointState.UNINITIALIZED); + private FluxSink endpointStateSink = endpointStates.sink(FluxSink.OverflowStrategy.BUFFER); private final Session session; private final SessionHandler sessionHandler; @@ -68,7 +76,6 @@ public ReactorSession(Session session, SessionHandler sessionHandler, String ses ReactorHandlerProvider handlerProvider, Mono cbsNodeSupplier, TokenManagerProvider tokenManagerProvider, MessageSerializer messageSerializer, Duration openTimeout) { - super(new ClientLogger(ReactorSession.class)); this.session = session; this.sessionHandler = sessionHandler; this.handlerProvider = handlerProvider; @@ -81,13 +88,21 @@ public ReactorSession(Session session, SessionHandler sessionHandler, String ses this.subscriptions = Disposables.composite( this.sessionHandler.getEndpointStates().subscribe( - this::notifyEndpointState, - this::notifyError, - () -> notifyEndpointState(EndpointState.CLOSED)), - this.sessionHandler.getErrors().subscribe( - this::notifyError, - this::notifyError, - () -> notifyEndpointState(EndpointState.CLOSED))); + state -> { + logger.verbose("Connection state: {}", state); + endpointStateSink.next(AmqpEndpointStateUtil.getConnectionState(state)); + }, error -> { + logger.error("Error occurred in connection.", error); + endpointStateSink.error(error); + }, () -> { + endpointStateSink.next(AmqpEndpointState.CLOSED); + endpointStateSink.complete(); + }), + + this.sessionHandler.getErrors().subscribe(error -> { + logger.error("Error occurred in connection.", error); + endpointStateSink.error(error); + })); session.open(); } @@ -96,30 +111,26 @@ Session session() { return this.session; } + @Override + public Flux getEndpointStates() { + return endpointStates; + } + /** * {@inheritDoc} */ @Override public void close() { - openReceiveLinks.forEach((key, link) -> { - try { - link.close(); - } catch (IOException e) { - logger.error("Error closing send link: " + key, e); - } - }); + if (isDisposed.getAndSet(true)) { + return; + } + + openReceiveLinks.forEach((key, link) -> link.close()); openReceiveLinks.clear(); - openSendLinks.forEach((key, link) -> { - try { - link.close(); - } catch (IOException e) { - logger.error("Error closing receive link: " + key, e); - } - }); + openSendLinks.forEach((key, link) -> link.close()); openSendLinks.clear(); subscriptions.dispose(); - super.close(); } /** @@ -146,7 +157,7 @@ public Mono createProducer(String linkName, String entityPath, Duratio final TokenManager tokenManager = tokenManagerProvider.getTokenManager(cbsNodeSupplier, entityPath); return RetryUtil.withRetry( - getConnectionStates().takeUntil(state -> state == AmqpEndpointState.ACTIVE), + getEndpointStates().takeUntil(state -> state == AmqpEndpointState.ACTIVE), timeout, retry) .then(tokenManager.authorize().then(Mono.create(sink -> { final AmqpSendLink existingSender = openSendLinks.get(linkName); @@ -224,7 +235,7 @@ protected Mono createConsumer(String linkName, String entityPat final TokenManager tokenManager = tokenManagerProvider.getTokenManager(cbsNodeSupplier, entityPath); return RetryUtil.withRetry( - getConnectionStates().takeUntil(state -> state == AmqpEndpointState.ACTIVE), timeout, retry) + getEndpointStates().takeUntil(state -> state == AmqpEndpointState.ACTIVE), timeout, retry) .then(tokenManager.authorize().then(Mono.create(sink -> { final AmqpReceiveLink existingReceiver = openReceiveLinks.get(linkName); if (existingReceiver != null) { diff --git a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/TokenManager.java b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/TokenManager.java index cf7decc12e27..9985a6ed1b84 100644 --- a/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/TokenManager.java +++ b/sdk/core/azure-core-amqp/src/main/java/com/azure/core/amqp/implementation/TokenManager.java @@ -7,12 +7,10 @@ import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; -import java.io.Closeable; - /** * Manages the authorization of the client to the CBS node. */ -public interface TokenManager extends Closeable { +public interface TokenManager extends AutoCloseable { /** * Invokes an authorization call on the CBS node. * @@ -27,4 +25,10 @@ public interface TokenManager extends Closeable { * @return A {@link Flux} of authorization results from the CBS node. */ Flux getAuthorizationResults(); + + /** + * Closes the token manager. + */ + @Override + void close(); } diff --git a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/AzureTokenManagerProviderTest.java b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/AzureTokenManagerProviderTest.java index fc7edb118ffa..1c59251da4dc 100644 --- a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/AzureTokenManagerProviderTest.java +++ b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/AzureTokenManagerProviderTest.java @@ -49,20 +49,20 @@ public void constructorNullType() { @Test public void constructorNullHost() { - assertThrows(NullPointerException.class, () -> new AzureTokenManagerProvider(CBSAuthorizationType.JSON_WEB_TOKEN, null, "some-scope")); + assertThrows(NullPointerException.class, () -> new AzureTokenManagerProvider(CbsAuthorizationType.JSON_WEB_TOKEN, null, "some-scope")); } @Test public void constructorNullScope() { - assertThrows(NullPointerException.class, () -> new AzureTokenManagerProvider(CBSAuthorizationType.JSON_WEB_TOKEN, HOST_NAME, null)); + assertThrows(NullPointerException.class, () -> new AzureTokenManagerProvider(CbsAuthorizationType.JSON_WEB_TOKEN, HOST_NAME, null)); } /** * Verifies that the correct resource string is returned when we pass in different authorization types. */ @ParameterizedTest - @EnumSource(CBSAuthorizationType.class) - public void getResourceString(CBSAuthorizationType authorizationType) { + @EnumSource(CbsAuthorizationType.class) + public void getResourceString(CbsAuthorizationType authorizationType) { // Arrange final String scope = "some-scope"; final AzureTokenManagerProvider provider = new AzureTokenManagerProvider(authorizationType, HOST_NAME, scope); @@ -93,7 +93,7 @@ public void getResourceString(CBSAuthorizationType authorizationType) { public void getCorrectTokenManagerSasToken() { // Arrange final String aadScope = "some-active-directory-scope"; - final AzureTokenManagerProvider provider = new AzureTokenManagerProvider(CBSAuthorizationType.SHARED_ACCESS_SIGNATURE, HOST_NAME, aadScope); + final AzureTokenManagerProvider provider = new AzureTokenManagerProvider(CbsAuthorizationType.SHARED_ACCESS_SIGNATURE, HOST_NAME, aadScope); final String entityPath = "event-hub-test-2/partition/2"; final AccessToken token = new AccessToken("a-new-access-token", OffsetDateTime.now().plusMinutes(10)); final String tokenAudience = String.format(Locale.US, TOKEN_AUDIENCE_FORMAT, HOST_NAME, entityPath); @@ -118,7 +118,7 @@ public void getCorrectTokenManagerSasToken() { public void getCorrectTokenManagerJwt() { // Arrange final String aadScope = "some-active-directory-scope"; - final AzureTokenManagerProvider provider = new AzureTokenManagerProvider(CBSAuthorizationType.JSON_WEB_TOKEN, HOST_NAME, aadScope); + final AzureTokenManagerProvider provider = new AzureTokenManagerProvider(CbsAuthorizationType.JSON_WEB_TOKEN, HOST_NAME, aadScope); final String entityPath = "event-hub-test-2/partition/2"; final AccessToken token = new AccessToken("a-new-access-token", OffsetDateTime.now().plusMinutes(10)); final String tokenAudience = String.format(Locale.US, TOKEN_AUDIENCE_FORMAT, HOST_NAME, entityPath); diff --git a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/CBSChannelTest.java b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/CBSChannelTest.java index a180b0a8b8be..52122a48f0ab 100644 --- a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/CBSChannelTest.java +++ b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/CBSChannelTest.java @@ -70,7 +70,7 @@ public void authorizesSasToken() { final String scopes = "scopes.cbs.foo"; final AccessToken accessToken = new AccessToken("an-access-token?", OffsetDateTime.of(2019, 11, 10, 15, 2, 5, 0, ZoneOffset.UTC)); final ClaimsBasedSecurityChannel cbsChannel = new ClaimsBasedSecurityChannel(Mono.just(requestResponseChannel), tokenCredential, - CBSAuthorizationType.SHARED_ACCESS_SIGNATURE, options); + CbsAuthorizationType.SHARED_ACCESS_SIGNATURE, options); when(tokenCredential.getToken(argThat(arg -> arg.getScopes().contains(scopes)))) .thenReturn(Mono.just(accessToken)); @@ -104,7 +104,7 @@ public void authorizesJwt() { final String scopes = "scopes.cbs.foo"; final AccessToken accessToken = new AccessToken("an-access-token?", OffsetDateTime.of(2019, 11, 10, 15, 2, 5, 0, ZoneOffset.UTC)); final ClaimsBasedSecurityChannel cbsChannel = new ClaimsBasedSecurityChannel(Mono.just(requestResponseChannel), tokenCredential, - CBSAuthorizationType.JSON_WEB_TOKEN, options); + CbsAuthorizationType.JSON_WEB_TOKEN, options); when(tokenCredential.getToken(argThat(arg -> arg.getScopes().contains(scopes)))) .thenReturn(Mono.just(accessToken)); diff --git a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/EndpointStateNotifierBaseTest.java b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/EndpointStateNotifierBaseTest.java deleted file mode 100644 index 976146091b39..000000000000 --- a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/EndpointStateNotifierBaseTest.java +++ /dev/null @@ -1,115 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. - -package com.azure.core.amqp.implementation; - -import com.azure.core.amqp.AmqpEndpointState; -import com.azure.core.amqp.AmqpShutdownSignal; -import com.azure.core.amqp.exception.AmqpErrorContext; -import com.azure.core.amqp.exception.AmqpException; -import com.azure.core.util.logging.ClientLogger; -import org.apache.qpid.proton.engine.EndpointState; -import org.junit.jupiter.api.AfterEach; -import org.junit.jupiter.api.Assertions; -import org.junit.jupiter.api.BeforeEach; -import org.junit.jupiter.api.Test; -import reactor.test.StepVerifier; - -import static org.junit.jupiter.api.Assertions.assertThrows; - -public class EndpointStateNotifierBaseTest { - private EndpointStateNotifierBase notifier; - - @BeforeEach - public void setup() { - notifier = new TestEndpointStateNotifierBase(); - } - - @AfterEach - public void teardown() { - notifier.close(); - } - - /** - * Verify ErrorContexts are propagated to subscribers. - */ - @Test - public void notifyError() { - // Arrange - final Throwable error1 = new IllegalStateException("bad state"); - final Throwable error2 = new AmqpException(false, "test error", new AmqpErrorContext("test-namespace2")); - - // Act & Assert - StepVerifier.create(notifier.getErrors()) - .then(() -> notifier.notifyError(error1)) - .expectNext(error1) - .then(() -> notifier.notifyError(error2)) - .expectNext(error2) - .then(() -> notifier.close()) - .verifyComplete(); - } - - /** - * Verify AmqpShutdownSignals are propagated to subscribers. - */ - @Test - public void notifyShutdown() { - // Arrange - final AmqpShutdownSignal shutdownSignal = new AmqpShutdownSignal(false, true, "test-shutdown"); - final AmqpShutdownSignal shutdownSignal2 = new AmqpShutdownSignal(true, false, "test-shutdown2"); - - // Act & Assert - StepVerifier.create(notifier.getShutdownSignals()) - .then(() -> { - notifier.notifyShutdown(shutdownSignal); - notifier.notifyShutdown(shutdownSignal2); - }) - .expectNext(shutdownSignal, shutdownSignal2) - .then(() -> notifier.close()) - .verifyComplete(); - } - - /** - * Verify endpoint states are propagated to subscribers and the connection state property is updated. - */ - @Test - public void notifyEndpointState() { - Assertions.assertEquals(AmqpEndpointState.UNINITIALIZED, notifier.getCurrentState()); - - StepVerifier.create(notifier.getConnectionStates()) - .expectNext(AmqpEndpointState.UNINITIALIZED) - .then(() -> notifier.notifyEndpointState(EndpointState.ACTIVE)) - .assertNext(state -> { - Assertions.assertEquals(AmqpEndpointState.ACTIVE, state); - Assertions.assertEquals(AmqpEndpointState.ACTIVE, notifier.getCurrentState()); - }) - .then(() -> { - notifier.notifyEndpointState(EndpointState.CLOSED); - notifier.notifyEndpointState(EndpointState.UNINITIALIZED); - }) - .expectNext(AmqpEndpointState.CLOSED, AmqpEndpointState.UNINITIALIZED) - .then(() -> notifier.close()) - .verifyComplete(); - } - - @Test - public void notifyErrorNull() { - assertThrows(NullPointerException.class, () -> notifier.notifyError(null)); - } - - @Test - public void notifyShutdownNull() { - assertThrows(NullPointerException.class, () -> notifier.notifyShutdown(null)); - } - - @Test - public void notifyEndpointStateStateNull() { - assertThrows(NullPointerException.class, () -> notifier.notifyEndpointState(null)); - } - - private static class TestEndpointStateNotifierBase extends EndpointStateNotifierBase { - TestEndpointStateNotifierBase() { - super(new ClientLogger(TestEndpointStateNotifierBase.class)); - } - } -} diff --git a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ReactorConnectionTest.java b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ReactorConnectionTest.java index 0fcaf9bd423f..318ea204fbe1 100644 --- a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ReactorConnectionTest.java +++ b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ReactorConnectionTest.java @@ -3,12 +3,13 @@ package com.azure.core.amqp.implementation; -import com.azure.core.amqp.AmqpConnection; import com.azure.core.amqp.AmqpEndpointState; import com.azure.core.amqp.AmqpRetryMode; import com.azure.core.amqp.AmqpRetryOptions; import com.azure.core.amqp.AmqpTransportType; import com.azure.core.amqp.ProxyOptions; +import com.azure.core.amqp.exception.AmqpErrorCondition; +import com.azure.core.amqp.exception.AmqpException; import com.azure.core.amqp.implementation.handler.ConnectionHandler; import com.azure.core.amqp.implementation.handler.SessionHandler; import com.azure.core.credential.TokenCredential; @@ -53,7 +54,7 @@ public class ReactorConnectionTest { private static final String HOSTNAME = CREDENTIAL_INFO.getEndpoint().getHost(); private static final Scheduler SCHEDULER = Schedulers.elastic(); - private AmqpConnection connection; + private ReactorConnection connection; private SessionHandler sessionHandler; @Mock @@ -95,7 +96,7 @@ public void setup() throws IOException { final AmqpRetryOptions retryOptions = new AmqpRetryOptions().setTryTimeout(TEST_DURATION); final ConnectionOptions connectionOptions = new ConnectionOptions(CREDENTIAL_INFO.getEndpoint().getHost(), - CREDENTIAL_INFO.getEntityPath(), tokenProvider, CBSAuthorizationType.SHARED_ACCESS_SIGNATURE, + CREDENTIAL_INFO.getEntityPath(), tokenProvider, CbsAuthorizationType.SHARED_ACCESS_SIGNATURE, AmqpTransportType.AMQP, retryOptions, ProxyOptions.SYSTEM_DEFAULTS, SCHEDULER); connection = new ReactorConnection(CONNECTION_ID, connectionOptions, reactorProvider, reactorHandlerProvider, tokenManager, messageSerializer); @@ -216,14 +217,10 @@ public void removeSessionThatDoesNotExist() { @Test public void initialConnectionState() { // Assert - StepVerifier.create(connection.getConnectionStates()) + StepVerifier.create(connection.getEndpointStates()) .expectNext(AmqpEndpointState.UNINITIALIZED) .then(() -> { - try { - connection.close(); - } catch (IOException e) { - Assertions.fail("Should not have thrown an error."); - } + connection.close(); }) .verifyComplete(); } @@ -241,18 +238,14 @@ public void onConnectionStateOpen() { when(connectionProtonJ.getRemoteState()).thenReturn(EndpointState.ACTIVE); // Act & Assert - StepVerifier.create(connection.getConnectionStates()) + StepVerifier.create(connection.getEndpointStates()) .expectNext(AmqpEndpointState.UNINITIALIZED) .then(() -> connectionHandler.onConnectionRemoteOpen(event)) .expectNext(AmqpEndpointState.ACTIVE) // getConnectionStates is distinct. We don't expect to see another event with the same status. .then(() -> connectionHandler.onConnectionRemoteOpen(event)) .then(() -> { - try { - connection.close(); - } catch (IOException e) { - Assertions.fail("Should not have thrown an error."); - } + connection.close(); }) .verifyComplete(); } @@ -292,7 +285,7 @@ public void createCBSNodeTimeoutException() { .setMode(AmqpRetryMode.FIXED) .setTryTimeout(timeout); ConnectionOptions parameters = new ConnectionOptions(CREDENTIAL_INFO.getEndpoint().getHost(), - CREDENTIAL_INFO.getEntityPath(), tokenProvider, CBSAuthorizationType.SHARED_ACCESS_SIGNATURE, + CREDENTIAL_INFO.getEntityPath(), tokenProvider, CbsAuthorizationType.SHARED_ACCESS_SIGNATURE, AmqpTransportType.AMQP, retryOptions, ProxyOptions.SYSTEM_DEFAULTS, Schedulers.parallel()); // Act and Assert @@ -311,7 +304,8 @@ public void cannotCreateResourcesOnFailure() { // Arrange final Event event = mock(Event.class); final Transport transport = mock(Transport.class); - final ErrorCondition errorCondition = new ErrorCondition(Symbol.getSymbol("amqp:not-found"), "Not found"); + final AmqpErrorCondition condition = AmqpErrorCondition.NOT_FOUND; + final ErrorCondition errorCondition = new ErrorCondition(Symbol.getSymbol(condition.getErrorCondition()), "Not found"); when(event.getTransport()).thenReturn(transport); when(event.getConnection()).thenReturn(connectionProtonJ); @@ -322,10 +316,14 @@ public void cannotCreateResourcesOnFailure() { connectionHandler.onTransportError(event); + // Act & Assert StepVerifier.create(connection.getClaimsBasedSecurityNode()) - .assertNext(node -> { - Assertions.assertTrue(node instanceof ClaimsBasedSecurityChannel); - }).verifyComplete(); + .expectErrorSatisfies(e -> { + Assertions.assertTrue(e instanceof AmqpException); + AmqpException amqpException = (AmqpException) e; + Assertions.assertEquals(condition, amqpException.getErrorCondition()); + }) + .verify(Duration.ofSeconds(10)); verify(transport, times(1)).unbind(); } diff --git a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ReactorReceiverTest.java b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ReactorReceiverTest.java index 1f9e125b04c2..fe7c25aeb2a0 100644 --- a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ReactorReceiverTest.java +++ b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ReactorReceiverTest.java @@ -26,6 +26,8 @@ import reactor.core.publisher.Mono; import reactor.test.StepVerifier; +import java.time.Duration; + import static org.mockito.ArgumentMatchers.any; import static org.mockito.Mockito.mock; import static org.mockito.Mockito.times; @@ -85,7 +87,7 @@ public void addCredits() { */ @Test public void updateEndpointState() { - StepVerifier.create(reactorReceiver.getConnectionStates()) + StepVerifier.create(reactorReceiver.getEndpointStates()) .expectNext(AmqpEndpointState.UNINITIALIZED) .then(() -> receiverHandler.onLinkRemoteOpen(event)) .expectNext(AmqpEndpointState.ACTIVE) @@ -149,6 +151,7 @@ public void closesOnNonAmqpException() { // Act & Assert StepVerifier.create(reactorReceiver.receive()) .then(() -> receiverHandler.onLinkRemoteClose(event)) - .verifyComplete(); + .expectComplete() + .verify(Duration.ofSeconds(10)); } } diff --git a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ReactorSessionTest.java b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ReactorSessionTest.java index 9762b0fbdbe2..4274613b385f 100644 --- a/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ReactorSessionTest.java +++ b/sdk/core/azure-core-amqp/src/test/java/com/azure/core/amqp/implementation/ReactorSessionTest.java @@ -67,7 +67,7 @@ public void setup() throws IOException { MockReactorHandlerProvider handlerProvider = new MockReactorHandlerProvider(reactorProvider, null, handler, null, null); AzureTokenManagerProvider azureTokenManagerProvider = new AzureTokenManagerProvider( - CBSAuthorizationType.SHARED_ACCESS_SIGNATURE, HOST, "a-test-scope"); + CbsAuthorizationType.SHARED_ACCESS_SIGNATURE, HOST, "a-test-scope"); this.reactorSession = new ReactorSession(session, handler, NAME, reactorProvider, handlerProvider, Mono.just(cbsNode), azureTokenManagerProvider, serializer, TIMEOUT); } @@ -97,14 +97,14 @@ public void verifyConstructor() { public void verifyEndpointStates() { when(session.getLocalState()).thenReturn(EndpointState.ACTIVE); - StepVerifier.create(reactorSession.getConnectionStates()) + StepVerifier.create(reactorSession.getEndpointStates()) .expectNext(AmqpEndpointState.UNINITIALIZED) .then(() -> handler.onSessionRemoteOpen(event)) .expectNext(AmqpEndpointState.ACTIVE) .then(() -> handler.close()) - // Expect two close notifications. One for getErrors() subscription and getEndpointStates(); - .expectNext(AmqpEndpointState.CLOSED, AmqpEndpointState.CLOSED) + .expectNext(AmqpEndpointState.CLOSED) .then(() -> reactorSession.close()) - .verifyComplete(); + .expectComplete() + .verify(Duration.ofSeconds(10)); } } diff --git a/sdk/core/azure-core-http-netty/pom.xml b/sdk/core/azure-core-http-netty/pom.xml index 0e91895db880..92a8fc2abb83 100644 --- a/sdk/core/azure-core-http-netty/pom.xml +++ b/sdk/core/azure-core-http-netty/pom.xml @@ -8,14 +8,14 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../../pom.client.xml com.azure azure-core-http-netty jar - 1.1.0-beta.1 + 1.1.0 Microsoft Azure Netty HTTP Client Library This package contains the Netty HTTP client plugin for azure-core. @@ -58,36 +58,58 @@ com.azure azure-core - 1.1.0-beta.1 + 1.1.0 io.netty netty-handler + 4.1.42.Final io.netty netty-handler-proxy + 4.1.42.Final io.netty netty-buffer + 4.1.42.Final io.netty netty-codec-http + 4.1.42.Final + + + + io.netty + netty-codec-http2 + 4.1.42.Final + + + io.netty + netty-transport-native-unix-common + 4.1.42.Final + + + io.netty + netty-transport-native-epoll + 4.1.42.Final + linux-x86_64 io.projectreactor.netty reactor-netty + 0.9.0.RELEASE com.azure azure-core - 1.1.0-beta.1 + 1.1.0 test-jar test @@ -100,23 +122,27 @@ io.projectreactor reactor-test + 3.3.0.RELEASE test org.junit.jupiter junit-jupiter-api + 5.4.2 test org.junit.jupiter junit-jupiter-engine + 5.4.2 test com.github.tomakehurst wiremock-standalone + 2.24.1 test diff --git a/sdk/core/azure-core-http-okhttp/pom.xml b/sdk/core/azure-core-http-okhttp/pom.xml index 1cfdfd213ae4..1161f46d0e18 100644 --- a/sdk/core/azure-core-http-okhttp/pom.xml +++ b/sdk/core/azure-core-http-okhttp/pom.xml @@ -8,7 +8,7 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../../pom.client.xml @@ -59,19 +59,20 @@ com.azure azure-core - 1.1.0-beta.1 + 1.1.0 com.squareup.okhttp3 okhttp + 4.2.2 com.azure azure-core - 1.1.0-beta.1 + 1.1.0 test-jar test @@ -84,23 +85,27 @@ io.projectreactor reactor-test + 3.3.0.RELEASE test org.junit.jupiter junit-jupiter-api + 5.4.2 test org.junit.jupiter junit-jupiter-engine + 5.4.2 test com.github.tomakehurst wiremock-standalone + 2.24.1 test diff --git a/sdk/core/azure-core-management/pom.xml b/sdk/core/azure-core-management/pom.xml index d81a4b96f4ae..d07b1b640436 100644 --- a/sdk/core/azure-core-management/pom.xml +++ b/sdk/core/azure-core-management/pom.xml @@ -7,7 +7,7 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../../pom.client.xml @@ -57,17 +57,19 @@ com.azure azure-core - 1.1.0-beta.1 + 1.1.0 org.junit.jupiter junit-jupiter-api + 5.4.2 test org.junit.jupiter junit-jupiter-engine + 5.4.2 test @@ -80,13 +82,14 @@ com.azure azure-core-http-netty - 1.1.0-beta.1 + 1.1.0 test org.slf4j slf4j-simple + 1.7.25 test diff --git a/sdk/core/azure-core-test/pom.xml b/sdk/core/azure-core-test/pom.xml index c4347a57ff09..7b8789f9786e 100644 --- a/sdk/core/azure-core-test/pom.xml +++ b/sdk/core/azure-core-test/pom.xml @@ -6,7 +6,7 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../../pom.client.xml @@ -38,43 +38,51 @@ com.azure azure-core - 1.1.0-beta.1 + 1.1.0 io.projectreactor reactor-test + 3.3.0.RELEASE org.junit.jupiter junit-jupiter-api + 5.4.2 compile org.junit.jupiter junit-jupiter-engine + 5.4.2 test org.slf4j slf4j-api + 1.7.28 org.slf4j slf4j-simple + 1.7.25 com.github.tomakehurst wiremock-standalone + 2.24.1 org.eclipse.jetty jetty-http + 9.4.11.v20180605 org.eclipse.jetty jetty-server + 9.4.11.v20180605 @@ -85,6 +93,7 @@ org.eclipse.jetty jetty-maven-plugin + 9.3.22.v20171030 11081 @@ -101,6 +110,7 @@ org.codehaus.mojo exec-maven-plugin + 1.2.1 java @@ -114,8 +124,9 @@ + org.apache.maven.plugins maven-jar-plugin - ${maven-jar-plugin.version} + 3.1.2 test-jar diff --git a/sdk/core/azure-core-tracing-opencensus/CHANGELOG.md b/sdk/core/azure-core-tracing-opencensus/CHANGELOG.md index 7e9f54f15c0f..f37153af1e75 100644 --- a/sdk/core/azure-core-tracing-opencensus/CHANGELOG.md +++ b/sdk/core/azure-core-tracing-opencensus/CHANGELOG.md @@ -1,4 +1,13 @@ # Release History +## Version 1.0.0-beta.5 (2019-11-26) +For details on the Azure SDK for Java (December 2019 Preview) release refer to the [release announcement](https://aka.ms/azure-sdk-preview6-java). +- Extended support for 0.24.0 opencensus-api package version. +- Added tracing instrumentation for Batch send operation in Eventhubs. + +This package's +[documentation](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-tracing-opencensus_1.0.0-beta.5/sdk/core/azure-core-tracing-opencensus/README.md) +and +[samples](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-tracing-opencensus_1.0.0-beta.5/sdk/core/azure-core-tracing-opencensus/src/samples). ## Version 1.0.0-preview.4 (2019-10-31) diff --git a/sdk/core/azure-core-tracing-opencensus/README.md b/sdk/core/azure-core-tracing-opencensus/README.md index abdc816c6205..acfa6391af93 100644 --- a/sdk/core/azure-core-tracing-opencensus/README.md +++ b/sdk/core/azure-core-tracing-opencensus/README.md @@ -19,7 +19,7 @@ documentation][api_documentation] | [Samples][samples] com.azure azure-core-tracing-opencensus - 1.0.0-beta.4 + 1.0.0-beta.5 ``` [//]: # ({x-version-update-end}) @@ -38,11 +38,11 @@ Netty and include OkHTTP client in your pom.xml. com.azure azure-core-tracing-opencensus - 1.0.0-beta.4 + 1.0.0-beta.5 com.azure - azure-core-http-netty + azure-core-http-netty @@ -53,7 +53,7 @@ Netty and include OkHTTP client in your pom.xml. com.azure - azure-core-http-okhttp + azure-core-http-okhttp 1.0.0 ``` @@ -134,13 +134,18 @@ private static final Tracer TRACER; public static void doClientWork() { EventHubProducerClient producer = new EventHubClientBuilder() .connectionString(CONNECTION_STRING) - .buildProducer(); + .buildProducerClient(); try (Scope scope = TRACER.spanBuilder("tracing-user-span").startScopedSpan()) { - Context tracingContext = new Context(PARENT_SPAN_KEY, TRACER.getCurrentSpan()); - // Create an event to send - final EventData eventData = new EventData("Hello world!".getBytes(UTF_8), traceContext); - producer.send(eventData); + EventData event1 = new EventData("1".getBytes(UTF_8)); + event1.addContext(PARENT_SPAN_KEY, span); + + EventDataBatch eventDataBatch = producer.createBatch(); + + if (!eventDataBatch.tryAdd(eventData)) { + producer.send(eventDataBatch); + eventDataBatch = producer.createBatch(); + } } finally { Tracing.getExportComponent().shutdown(); } diff --git a/sdk/core/azure-core-tracing-opencensus/pom.xml b/sdk/core/azure-core-tracing-opencensus/pom.xml index f8a83de308f3..ed3bb8a2a8e3 100644 --- a/sdk/core/azure-core-tracing-opencensus/pom.xml +++ b/sdk/core/azure-core-tracing-opencensus/pom.xml @@ -6,7 +6,7 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../../pom.client.xml @@ -35,28 +35,31 @@ com.azure azure-core - 1.1.0-beta.1 + 1.1.0 io.opencensus opencensus-api + 0.24.0 io.opencensus opencensus-impl - 0.24.0 + 0.24.0 test org.junit.jupiter junit-jupiter-api + 5.4.2 test org.junit.jupiter junit-jupiter-engine + 5.4.2 test diff --git a/sdk/core/azure-core-tracing-opencensus/src/samples/AsyncListKeyVaultSecrets.md b/sdk/core/azure-core-tracing-opencensus/src/samples/AsyncListKeyVaultSecrets.md index 01aa2ddd62fd..7897bb432df8 100644 --- a/sdk/core/azure-core-tracing-opencensus/src/samples/AsyncListKeyVaultSecrets.md +++ b/sdk/core/azure-core-tracing-opencensus/src/samples/AsyncListKeyVaultSecrets.md @@ -12,7 +12,7 @@ Sample uses **[opencensus-impl][opencensus_impl]** as implementation package and com.azure azure-security-keyvault-secrets - 4.0.0 + 4.1.0-beta.1 ``` [//]: # ({x-version-update-end}) @@ -22,7 +22,7 @@ Sample uses **[opencensus-impl][opencensus_impl]** as implementation package and com.azure azure-core-tracing-opencensus - 1.0.0-beta.4 + 1.0.0-beta.5 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/core/azure-core-tracing-opencensus/src/samples/AsyncQueueClientEnqueueMessages.md b/sdk/core/azure-core-tracing-opencensus/src/samples/AsyncQueueClientEnqueueMessages.md index b8aaf0a1fb9c..f32d1463c30e 100644 --- a/sdk/core/azure-core-tracing-opencensus/src/samples/AsyncQueueClientEnqueueMessages.md +++ b/sdk/core/azure-core-tracing-opencensus/src/samples/AsyncQueueClientEnqueueMessages.md @@ -13,7 +13,7 @@ Sample uses **[opencensus-impl][opencensus_impl]** as implementation package and com.azure azure-storage-queue - 12.0.0 + 12.0.2 ``` [//]: # ({x-version-update-end}) @@ -23,7 +23,7 @@ Sample uses **[opencensus-impl][opencensus_impl]** as implementation package and com.azure azure-core-tracing-opencensus - 1.0.0-beta.4 + 1.0.0-beta.5 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/core/azure-core-tracing-opencensus/src/samples/ListeKeyVaultSecrets.md b/sdk/core/azure-core-tracing-opencensus/src/samples/ListeKeyVaultSecrets.md index 6e1339b6d01b..0eba15c2f550 100644 --- a/sdk/core/azure-core-tracing-opencensus/src/samples/ListeKeyVaultSecrets.md +++ b/sdk/core/azure-core-tracing-opencensus/src/samples/ListeKeyVaultSecrets.md @@ -12,7 +12,7 @@ Sample uses **[opencensus-impl][opencensus_impl]** as implementation package and com.azure azure-security-keyvault-secrets - 4.0.0 + 4.1.0-beta.1 ``` [//]: # ({x-version-update-end}) @@ -22,7 +22,7 @@ Sample uses **[opencensus-impl][opencensus_impl]** as implementation package and com.azure azure-core-tracing-opencensus - 1.0.0-beta.4 + 1.0.0-beta.5 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/core/azure-core-tracing-opencensus/src/samples/PublishEvents.md b/sdk/core/azure-core-tracing-opencensus/src/samples/PublishEvents.md index fb48bd0bd601..61f73847b05d 100644 --- a/sdk/core/azure-core-tracing-opencensus/src/samples/PublishEvents.md +++ b/sdk/core/azure-core-tracing-opencensus/src/samples/PublishEvents.md @@ -13,7 +13,7 @@ Sample uses **[opencensus-impl][opencensus_impl]** as implementation package and com.azure azure-messaging-eventhubs - 5.0.0-beta.5 + 5.0.0-beta.6 ``` [//]: # ({x-version-update-end}) @@ -22,7 +22,7 @@ Sample uses **[opencensus-impl][opencensus_impl]** as implementation package and com.azure azure-core-tracing-opencensus - 1.0.0-beta.4 + 1.0.0-beta.5 ``` [//]: # ({x-version-update-end}) @@ -66,25 +66,31 @@ public class PublishEvents { } public static void main(String[] args) { - final int count = 2; - final byte[] body = "Hello World!".getBytes(UTF_8); + EventHubProducerClient producer = new EventHubClientBuilder() + .connectionString(connectionString) + .buildProducerClient(); try(Scope scope = TRACER.spanBuilder("user-parent-span").startScopedSpan()) { + final EventData event1 = new EventData("1".getBytes(UTF_8)); + event1.addContext(PARENT_SPAN_KEY, TRACER.getCurrentSpan()); + + final EventData event2 = new EventData("2".getBytes(UTF_8)); + event2.addContext(PARENT_SPAN_KEY, TRACER.getCurrentSpan()); - Context traceContext = new Context(PARENT_SPAN_KEY, TRACER.getCurrentSpan()); - - EventHubProducerClient producer = new EventHubClientBuilder() - .connectionString(CONNECTION_STRING) - .buildProducer(); + final List telemetryEvents = Arrays.asList(event1, event2); + final CreateBatchOptions options = new CreateBatchOptions() + .setPartitionKey("telemetry") + .setMaximumSizeInBytes(256); + + EventDataBatch currentBatch = producer.createBatch(options); - final Context traceContext = new Context(PARENT_SPAN_KEY, TRACER.getCurrentSpan()); - final Flux testData = Flux.range(0, count) - .flatMap(number -> { - final EventData data = new EventData(body, traceContext); - return Flux.just(data); - }); - - producer.send(testData.toIterable(1)); + // For each telemetry event, we try to add it to the current batch. + for (EventData event : telemetryEvents) { + if (!currentBatch.tryAdd(event)) { + producer.send(currentBatch); + currentBatch = producer.createBatch(options); + } + } } finally { producer.close(); Tracing.getExportComponent().shutdown(); diff --git a/sdk/core/azure-core-tracing-opencensus/src/samples/QueueClientEnqueueMessages.md b/sdk/core/azure-core-tracing-opencensus/src/samples/QueueClientEnqueueMessages.md index 8420f1e8e250..63699875503c 100644 --- a/sdk/core/azure-core-tracing-opencensus/src/samples/QueueClientEnqueueMessages.md +++ b/sdk/core/azure-core-tracing-opencensus/src/samples/QueueClientEnqueueMessages.md @@ -13,7 +13,7 @@ Sample uses **[opencensus-impl][opencensus_impl]** as implementation package and com.azure azure-storage-queue - 12.0.0 + 12.0.2 ``` [//]: # ({x-version-update-end}) @@ -23,7 +23,7 @@ Sample uses **[opencensus-impl][opencensus_impl]** as implementation package and com.azure azure-core-tracing-opencensus - 1.0.0-beta.4 + 1.0.0-beta.5 ``` [//]: # ({x-version-update-end}) diff --git a/sdk/core/azure-core-tracing-opentelemetry/CHANGELOG.md b/sdk/core/azure-core-tracing-opentelemetry/CHANGELOG.md index 4239c9da32e7..20d149922359 100644 --- a/sdk/core/azure-core-tracing-opentelemetry/CHANGELOG.md +++ b/sdk/core/azure-core-tracing-opentelemetry/CHANGELOG.md @@ -1,5 +1,14 @@ # Release History -## Version 1.0.0-beta.1 (-12-) +## Version 1.0.0-beta.1 (2019-11-26) For details on the Azure SDK for Java (Decemeber 2019 Preview) release refer to the [release announcement](https://aka.ms/azure-sdk-preview5-java). +Version 1.0.0-beta.1 is the first preview of our efforts to provide low level interfaces and helper methods to support tracing for Java client libraries. +This library includes [OpenTelemetry](https://opentelemetry.io/) implementation of the interface. +This library added tracing instrumentation for AMQP and HTTP Java SDK client libraries across different languages and platforms. + +This package's +[documentation](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-tracing-opentelemetry_1.0.0-beta.1/sdk/core/azure-core-tracing-opentelemetry/README.md) +and +[samples](https://github.com/Azure/azure-sdk-for-java/blob/azure-core-tracing-opentelemetry_1.0.0-beta.1/sdk/core/azure-core-tracing-opentelemetry/src/samples). + diff --git a/sdk/core/azure-core-tracing-opentelemetry/README.md b/sdk/core/azure-core-tracing-opentelemetry/README.md index 11ecbb277759..4cc6f4cfc4c7 100644 --- a/sdk/core/azure-core-tracing-opentelemetry/README.md +++ b/sdk/core/azure-core-tracing-opentelemetry/README.md @@ -18,7 +18,7 @@ documentation][api_documentation] | [Samples][samples] com.azure azure-core-tracing-opentelemetry - 1.0.0-beta.1 + 1.0.0-beta.1 ``` [//]: # ({x-version-update-end}) @@ -37,7 +37,7 @@ Netty and include OkHTTP client in your pom.xml. com.azure azure-core-tracing-opentelemetry - 1.0.0-beta.1 + 1.0.0-beta.1 com.azure @@ -53,7 +53,7 @@ Netty and include OkHTTP client in your pom.xml. com.azure azure-core-http-okhttp - 1.0.0 + 1.0.0 ``` [//]: # ({x-version-update-end}) @@ -136,13 +136,19 @@ private static final TracerSdkFactory TRACER_SDK_FACTORY; private static void doClientWork() { EventHubProducerClient producer = new EventHubClientBuilder() .connectionString(CONNECTION_STRING) - .buildProducer(); + .buildProducerClient(); Span span = TRACER.spanBuilder("user-parent-span").startSpan(); try (Scope scope = TRACER.withSpan(span)) { - Context traceContext = new Context(PARENT_SPAN_KEY, span); - EventData eventData = new EventData("Hello world!".getBytes(UTF_8), traceContext); - producer.send(eventData); + EventData event1 = new EventData("1".getBytes(UTF_8)); + event1.addContext(PARENT_SPAN_KEY, span); + + EventDataBatch eventDataBatch = producer.createBatch(); + + if (!eventDataBatch.tryAdd(eventData)) { + producer.send(eventDataBatch); + eventDataBatch = producer.createBatch(); + } } finally { span.end(); } diff --git a/sdk/core/azure-core-tracing-opentelemetry/pom.xml b/sdk/core/azure-core-tracing-opentelemetry/pom.xml index 1de635254b8e..8f668db15ec1 100644 --- a/sdk/core/azure-core-tracing-opentelemetry/pom.xml +++ b/sdk/core/azure-core-tracing-opentelemetry/pom.xml @@ -6,7 +6,7 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../../pom.client.xml @@ -35,29 +35,31 @@ io.opentelemetry opentelemetry-api - 0.2.0 + 0.2.0 com.azure azure-core - 1.1.0-beta.1 + 1.1.0 io.opentelemetry opentelemetry-sdk - 0.2.0 + 0.2.0 test org.junit.jupiter junit-jupiter-api + 5.4.2 test org.junit.jupiter junit-jupiter-engine + 5.4.2 test diff --git a/sdk/core/azure-core-tracing-opentelemetry/src/samples/AsyncListKeyVaultSecretsSample.md b/sdk/core/azure-core-tracing-opentelemetry/src/samples/AsyncListKeyVaultSecretsSample.md index 93fcda73a2c4..a977578cb457 100644 --- a/sdk/core/azure-core-tracing-opentelemetry/src/samples/AsyncListKeyVaultSecretsSample.md +++ b/sdk/core/azure-core-tracing-opentelemetry/src/samples/AsyncListKeyVaultSecretsSample.md @@ -10,22 +10,22 @@ Sample uses **[opentelemetry-sdk][opentelemetry_sdk]** as implementation package io.opentelemetry opentelemetry-sdk - 0.2.0-SNAPSHOT + 0.2.0 com.azure azure-security-keyvault-secrets - 4.0.0 + 4.1.0-beta.1 com.azure azure-core-tracing-opentelemetry - 1.0.0-beta.1 + 1.0.0-beta.1 io.opentelemetry opentelemetry-exporters-logging - 0.2.0-SNAPSHOT + 0.2.0 ``` diff --git a/sdk/core/azure-core-tracing-opentelemetry/src/samples/CreateConfigurationSettingTracingSample.md b/sdk/core/azure-core-tracing-opentelemetry/src/samples/CreateConfigurationSettingTracingSample.md index 17e8ae375d8d..b13c710ceff6 100644 --- a/sdk/core/azure-core-tracing-opentelemetry/src/samples/CreateConfigurationSettingTracingSample.md +++ b/sdk/core/azure-core-tracing-opentelemetry/src/samples/CreateConfigurationSettingTracingSample.md @@ -10,22 +10,22 @@ Sample uses **[opentelemetry-sdk][opentelemetry_sdk]** as implementation package io.opentelemetry opentelemetry-sdk - 0.2.0-SNAPSHOT + 0.2.0 com.azure azure-data-appconfiguration - 1.0.0-beta.7 + 1.0.0-beta.7 com.azure azure-core-tracing-opentelemetry - 1.0.0-beta.1 + 1.0.0-beta.1 io.opentelemetry opentelemetry-exporters-logging - 0.2.0-SNAPSHOT + 0.2.0 diff --git a/sdk/core/azure-core-tracing-opentelemetry/src/samples/ListKeyVaultSecretsTracingSample.md b/sdk/core/azure-core-tracing-opentelemetry/src/samples/ListKeyVaultSecretsTracingSample.md index e06422cc0542..cf0711238ad4 100644 --- a/sdk/core/azure-core-tracing-opentelemetry/src/samples/ListKeyVaultSecretsTracingSample.md +++ b/sdk/core/azure-core-tracing-opentelemetry/src/samples/ListKeyVaultSecretsTracingSample.md @@ -10,22 +10,22 @@ Sample uses **[opentelemetry-sdk][opentelemetry_sdk]** as implementation package io.opentelemetry opentelemetry-sdk - 0.2.0-SNAPSHOT + 0.2.0 com.azure azure-security-keyvault-secrets - 4.0.0 + 4.1.0-beta.1 com.azure azure-core-tracing-opentelemetry - 1.0.0-beta.1 + 1.0.0-beta.1 io.opentelemetry opentelemetry-exporters-logging - 0.2.0-SNAPSHOT + 0.2.0 ``` diff --git a/sdk/core/azure-core-tracing-opentelemetry/src/samples/PublishEventsTracingSample.md b/sdk/core/azure-core-tracing-opentelemetry/src/samples/PublishEventsTracingSample.md index d1953f3f277c..91ed0e1bc79a 100644 --- a/sdk/core/azure-core-tracing-opentelemetry/src/samples/PublishEventsTracingSample.md +++ b/sdk/core/azure-core-tracing-opentelemetry/src/samples/PublishEventsTracingSample.md @@ -10,22 +10,22 @@ Sample uses **[opentelemetry-sdk][opentelemetry_sdk]** for implementation and ** io.opentelemetry opentelemetry-sdk - 0.2.0-SNAPSHOT + 0.2.0 com.azure azure-messaging-eventhubs - 5.0.0-beta.5 + 5.0.0-beta.6 com.azure azure-core-tracing-opentelemetry - 1.0.0-beta.1 + 1.0.0-beta.1 io.opentelemetry opentelemetry-exporters-logging - 0.2.0-SNAPSHOT + 0.2.0 @@ -74,20 +74,31 @@ public class Sample { private static void doClientWork() { EventHubProducerClient producer = new EventHubClientBuilder() - .connectionString(CONNECTION_STRING) - .buildProducer(); - - final int count = 2; - final byte[] body = "Hello World!".getBytes(UTF_8); + .connectionString(connectionString) + .buildProducerClient(); Span span = TRACER.spanBuilder("user-parent-span").startSpan(); try (final Scope scope = TRACER.withSpan(span)) { - final Context traceContext = new Context(PARENT_SPAN_KEY, span); - final Flux testData = Flux.range(0, count).flatMap(number -> { - final EventData data = new EventData(body, traceContext); - return Flux.just(data); - }); - producer.send(testData.toIterable(1)); + final EventData event1 = new EventData("1".getBytes(UTF_8)); + event1.addContext(PARENT_SPAN_KEY, span); + + final EventData event2 = new EventData("2".getBytes(UTF_8)); + event2.addContext(PARENT_SPAN_KEY, span); + + final List telemetryEvents = Arrays.asList(event1, event2); + final CreateBatchOptions options = new CreateBatchOptions() + .setPartitionKey("telemetry") + .setMaximumSizeInBytes(256); + + EventDataBatch currentBatch = producer.createBatch(options); + + // For each telemetry event, we try to add it to the current batch. + for (EventData event : telemetryEvents) { + if (!currentBatch.tryAdd(event)) { + producer.send(currentBatch); + currentBatch = producer.createBatch(options); + } + } } finally { span.end(); producer.close(); diff --git a/sdk/core/azure-core/pom.xml b/sdk/core/azure-core/pom.xml index e03f7a5dff5c..28ff43d3d3a2 100644 --- a/sdk/core/azure-core/pom.xml +++ b/sdk/core/azure-core/pom.xml @@ -7,14 +7,14 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../../pom.client.xml com.azure azure-core jar - 1.1.0-beta.1 + 1.1.0 Microsoft Azure Java Core Library This package contains core types for Azure Java clients. @@ -57,14 +57,17 @@ com.fasterxml.jackson.datatype jackson-datatype-jsr310 + 2.10.0 com.fasterxml.jackson.dataformat jackson-dataformat-xml + 2.10.0 org.slf4j slf4j-api + 1.7.28 provided io.projectreactor reactor-core + 3.3.0.RELEASE io.projectreactor reactor-test + 3.3.0.RELEASE test io.netty netty-tcnative-boringssl-static + 2.0.26.Final org.junit.jupiter junit-jupiter-api + 5.4.2 test org.junit.jupiter junit-jupiter-engine + 5.4.2 test org.junit.jupiter junit-jupiter-params + 5.4.2 test org.hamcrest hamcrest-library + 2.2 test org.slf4j slf4j-simple + 1.7.25 test org.mockito mockito-core + 3.0.0 test com.github.tomakehurst wiremock-standalone + 2.24.1 test org.eclipse.jetty jetty-http + 9.4.11.v20180605 test org.eclipse.jetty jetty-server + 9.4.11.v20180605 test org.openjdk.jmh jmh-core - RELEASE + 1.22 test org.openjdk.jmh jmh-generator-annprocess - RELEASE + 1.22 test @@ -155,6 +170,7 @@ org.eclipse.jetty jetty-maven-plugin + 9.3.22.v20171030 11081 @@ -171,6 +187,7 @@ org.codehaus.mojo exec-maven-plugin + 1.2.1 java @@ -184,8 +201,9 @@ + org.apache.maven.plugins maven-jar-plugin - ${maven-jar-plugin.version} + 3.1.2 test-jar diff --git a/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/BearerTokenAuthenticationPolicy.java b/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/BearerTokenAuthenticationPolicy.java index 548810b0f0b2..f643b4975664 100644 --- a/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/BearerTokenAuthenticationPolicy.java +++ b/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/BearerTokenAuthenticationPolicy.java @@ -42,6 +42,9 @@ public BearerTokenAuthenticationPolicy(TokenCredential credential, String... sco @Override public Mono process(HttpPipelineCallContext context, HttpPipelineNextPolicy next) { + if ("http".equals(context.getHttpRequest().getUrl().getProtocol())) { + return Mono.error(new RuntimeException("token credentials require a URL using the HTTPS protocol scheme")); + } return cache.getToken() .flatMap(token -> { context.getHttpRequest().getHeaders().put(AUTHORIZATION_HEADER, BEARER + " " + token.getToken()); diff --git a/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/HttpLoggingPolicy.java b/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/HttpLoggingPolicy.java index 78916a4b2072..958a88324356 100644 --- a/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/HttpLoggingPolicy.java +++ b/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/HttpLoggingPolicy.java @@ -17,7 +17,6 @@ import com.fasterxml.jackson.databind.SerializationFeature; import reactor.core.publisher.Mono; -import java.net.MalformedURLException; import java.net.URL; import java.nio.charset.StandardCharsets; import java.util.Locale; @@ -83,13 +82,9 @@ public Mono process(HttpPipelineCallContext context, HttpPipelineN private Mono logRequest(final ClientLogger logger, final HttpRequest request) { final HttpLogDetailLevel httpLogLevel = httpLogOptions.getLogLevel(); if (httpLogLevel.shouldLogUrl()) { - try { - UrlBuilder requestUrl = UrlBuilder.parse(request.getUrl()); - requestUrl.setQuery(getAllowedQueryString(request.getUrl().getQuery())); - logger.info("--> {} {}", request.getHttpMethod(), requestUrl.toUrl()); - } catch (MalformedURLException ex) { - return Mono.error(logger.logExceptionAsWarning(new IllegalStateException("Invalid request URL."))); - } + UrlBuilder requestUrl = UrlBuilder.parse(request.getUrl()); + requestUrl.setQuery(getAllowedQueryString(request.getUrl().getQuery())); + logger.info("--> {} {}", request.getHttpMethod(), requestUrl.toString()); } if (httpLogLevel.shouldLogHeaders()) { @@ -196,9 +191,11 @@ private Function> logResponseDelegate(final Cli bodySize = contentLengthString + "-byte"; } HttpLogDetailLevel httpLogLevel = httpLogOptions.getLogLevel(); - // HttpResponseStatus responseStatus = HttpResponseStatus.valueOf(response.statusCode()); if (httpLogLevel.shouldLogUrl()) { - logger.info("<-- {} {} ({} ms, {} body)", response.getStatusCode(), url, tookMs, bodySize); + UrlBuilder requestUrl = UrlBuilder.parse(url); + requestUrl.setQuery(getAllowedQueryString(url.getQuery())); + logger.info("<-- {} {} ({} ms, {} body)", response.getStatusCode(), requestUrl.toString(), tookMs, + bodySize); } if (httpLogLevel.shouldLogHeaders()) { diff --git a/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/RequestIdPolicy.java b/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/RequestIdPolicy.java index 517719e91314..389386519cf9 100644 --- a/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/RequestIdPolicy.java +++ b/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/RequestIdPolicy.java @@ -3,63 +3,22 @@ package com.azure.core.http.policy; -import com.azure.core.http.HttpHeader; -import com.azure.core.http.HttpHeaders; -import com.azure.core.http.HttpRequest; import com.azure.core.http.HttpPipelineCallContext; import com.azure.core.http.HttpPipelineNextPolicy; import com.azure.core.http.HttpResponse; import reactor.core.publisher.Mono; -import java.util.Objects; import java.util.UUID; -import java.util.function.Supplier; /** - * The pipeline policy that adds request id header in {@link HttpRequest} once. These id does not change - * when request is retried. Azure uses the request id as the unique identifier for the request. - * Example of these headers are 'x-ms-client-request-id' and 'x-ms-correlation-request-id'. + * The pipeline policy that puts a UUID in the request header. Azure uses the request id as + * the unique identifier for the request. */ public class RequestIdPolicy implements HttpPipelinePolicy { private static final String REQUEST_ID_HEADER = "x-ms-client-request-id"; - private final Supplier requestIdSupplier; - - /** - * Creates default {@link RequestIdPolicy}. - */ - public RequestIdPolicy() { - requestIdSupplier = () -> new HttpHeaders().put(REQUEST_ID_HEADER, UUID.randomUUID().toString()); - } - - /** - * Creates {@link RequestIdPolicy} with provided {@link Supplier} to dynamically generate request id for each - * {@link HttpRequest}. - * - * @param requestIdSupplier to dynamically generate to request id for each {@link HttpRequest}. It is suggested - * that this {@link Supplier} provides unique value every time it is called. - * Example of these headers are 'x-ms-client-request-id', 'x-ms-correlation-request-id'. - * - * @throws NullPointerException when {@code requestIdSupplier} is {@code null}. - */ - public RequestIdPolicy(Supplier requestIdSupplier) { - this.requestIdSupplier = Objects.requireNonNull(requestIdSupplier, "'requestIdSupplier' must not be null"); - } @Override public Mono process(HttpPipelineCallContext context, HttpPipelineNextPolicy next) { - - HttpHeaders httpHeaders = requestIdSupplier.get(); - if (Objects.nonNull(httpHeaders) && httpHeaders.getSize() > 0) { - for (HttpHeader header : httpHeaders) { - String requestIdHeaderValue = context.getHttpRequest().getHeaders().getValue(header.getName()); - if (requestIdHeaderValue == null) { - context.getHttpRequest().getHeaders().put(header.getName(), header.getValue()); - } - } - return next.process(); - } - - // If we were not able to set client provided Request ID header, we will set default 'REQUEST_ID_HEADER'. String requestId = context.getHttpRequest().getHeaders().getValue(REQUEST_ID_HEADER); if (requestId == null) { context.getHttpRequest().getHeaders().put(REQUEST_ID_HEADER, UUID.randomUUID().toString()); @@ -67,3 +26,4 @@ public Mono process(HttpPipelineCallContext context, HttpPipelineN return next.process(); } } + diff --git a/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/UserAgentPolicy.java b/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/UserAgentPolicy.java index eb76dce89bc9..a3ed93973896 100644 --- a/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/UserAgentPolicy.java +++ b/sdk/core/azure-core/src/main/java/com/azure/core/http/policy/UserAgentPolicy.java @@ -91,8 +91,6 @@ public UserAgentPolicy(String applicationId, String sdkName, String sdkVersion, *

If the passed configuration contains true for AZURE_TELEMETRY_DISABLED the platform information won't be * included in the user agent.

* - * @deprecated This method has been deprecated in favor of {@link - * #UserAgentPolicy(String, String, String, Configuration)}. * @param sdkName Name of the client library. * @param sdkVersion Version of the client library. * @param version {@link ServiceVersion} of the service to be used when making requests. @@ -100,7 +98,6 @@ public UserAgentPolicy(String applicationId, String sdkName, String sdkVersion, * Configuration#PROPERTY_AZURE_TELEMETRY_DISABLED}. If {@code null} is passed the {@link * Configuration#getGlobalConfiguration() global configuration} will be checked. */ - @Deprecated public UserAgentPolicy(String sdkName, String sdkVersion, Configuration configuration, ServiceVersion version) { this.userAgent = buildUserAgent(null, sdkName, sdkVersion, configuration); } diff --git a/sdk/core/azure-core/src/main/java/com/azure/core/http/rest/PagedFluxBase.java b/sdk/core/azure-core/src/main/java/com/azure/core/http/rest/PagedFluxBase.java index 84d30c776feb..2e49329b52b6 100644 --- a/sdk/core/azure-core/src/main/java/com/azure/core/http/rest/PagedFluxBase.java +++ b/sdk/core/azure-core/src/main/java/com/azure/core/http/rest/PagedFluxBase.java @@ -149,7 +149,7 @@ private Publisher extractAndFetchT(PagedResponse page) { if (nextPageLink == null) { return Flux.fromIterable(page.getItems()); } - return Flux.fromIterable(page.getItems()).concatWith(byT(nextPageLink)); + return Flux.fromIterable(page.getItems()).concatWith(Flux.defer(() -> byT(nextPageLink))); } /** @@ -163,6 +163,6 @@ private Publisher extractAndFetchPage(P page) { if (nextPageLink == null) { return Flux.just(page); } - return Flux.just(page).concatWith(byPage(page.getContinuationToken())); + return Flux.just(page).concatWith(Flux.defer(() -> byPage(page.getContinuationToken()))); } } diff --git a/sdk/core/azure-core/src/main/java/com/azure/core/http/rest/PagedIterableBase.java b/sdk/core/azure-core/src/main/java/com/azure/core/http/rest/PagedIterableBase.java index c9eaaeba30f5..cd974741386d 100644 --- a/sdk/core/azure-core/src/main/java/com/azure/core/http/rest/PagedIterableBase.java +++ b/sdk/core/azure-core/src/main/java/com/azure/core/http/rest/PagedIterableBase.java @@ -28,6 +28,12 @@ * @see IterableStream */ public class PagedIterableBase> extends IterableStream { + /* + * This is the default batch size that will be requested when using stream or iterable by page, this will indicate + * to Reactor how many elements should be prefetched before another batch is requested. + */ + private static final int DEFAULT_BATCH_SIZE = 1; + private final PagedFluxBase pagedFluxBase; /** @@ -46,7 +52,7 @@ public PagedIterableBase(PagedFluxBase pagedFluxBase) { * @return {@link Stream} of a Response that extends {@link PagedResponse} */ public Stream

streamByPage() { - return pagedFluxBase.byPage().toStream(); + return pagedFluxBase.byPage().toStream(DEFAULT_BATCH_SIZE); } /** @@ -58,7 +64,7 @@ public Stream

streamByPage() { * with the continuation token */ public Stream

streamByPage(String continuationToken) { - return pagedFluxBase.byPage(continuationToken).toStream(); + return pagedFluxBase.byPage(continuationToken).toStream(DEFAULT_BATCH_SIZE); } /** @@ -68,7 +74,7 @@ public Stream

streamByPage(String continuationToken) { * @return {@link Iterable} interface */ public Iterable

iterableByPage() { - return pagedFluxBase.byPage().toIterable(); + return pagedFluxBase.byPage().toIterable(DEFAULT_BATCH_SIZE); } /** @@ -80,6 +86,6 @@ public Iterable

iterableByPage() { * @return {@link Iterable} interface */ public Iterable

iterableByPage(String continuationToken) { - return pagedFluxBase.byPage(continuationToken).toIterable(); + return pagedFluxBase.byPage(continuationToken).toIterable(DEFAULT_BATCH_SIZE); } } diff --git a/sdk/core/azure-core/src/main/java/com/azure/core/util/IterableStream.java b/sdk/core/azure-core/src/main/java/com/azure/core/util/IterableStream.java index e87b868199a4..c213418c4093 100644 --- a/sdk/core/azure-core/src/main/java/com/azure/core/util/IterableStream.java +++ b/sdk/core/azure-core/src/main/java/com/azure/core/util/IterableStream.java @@ -3,10 +3,14 @@ package com.azure.core.util; +import com.azure.core.util.logging.ClientLogger; import reactor.core.publisher.Flux; +import java.util.Collections; import java.util.Iterator; +import java.util.Objects; import java.util.stream.Stream; +import java.util.stream.StreamSupport; /** * This class provides utility to iterate over values using standard 'for-each' style loops, or to convert them into a @@ -28,15 +32,36 @@ * @see Iterable */ public class IterableStream implements Iterable { + /* + * This is the default batch size that will be requested when using stream or iterable by page, this will indicate + * to Reactor how many elements should be prefetched before another batch is requested. + */ + private static final int DEFAULT_BATCH_SIZE = 1; + + private final ClientLogger logger = new ClientLogger(IterableStream.class); private final Flux flux; + private final Iterable iterable; /** - * Creates instance with the given {@link Flux}. + * Creates an instance with the given {@link Flux}. * * @param flux Flux of items to iterate over. + * @throws NullPointerException if {@code flux} is {@code null}. */ public IterableStream(Flux flux) { - this.flux = flux; + this.flux = Objects.requireNonNull(flux, "'flux' cannot be null."); + this.iterable = null; + } + + /** + * Creates an instance with the given {@link Iterable}. + * + * @param iterable Collection of items to iterate over. + * @throws NullPointerException if {@code iterable} is {@code null}. + */ + public IterableStream(Iterable iterable) { + this.iterable = Objects.requireNonNull(iterable, "'iterable' cannot be null."); + this.flux = null; } /** @@ -46,7 +71,14 @@ public IterableStream(Flux flux) { * @return {@link Stream} of value {@code T}. */ public Stream stream() { - return flux.toStream(); + if (flux != null) { + return flux.toStream(DEFAULT_BATCH_SIZE); + } else if (iterable != null) { + return StreamSupport.stream(iterable.spliterator(), false); + } else { + logger.warning("IterableStream was not initialized with Iterable or Flux, returning empty stream."); + return Stream.empty(); + } } /** @@ -57,7 +89,13 @@ public Stream stream() { */ @Override public Iterator iterator() { - return flux.toIterable().iterator(); + if (flux != null) { + return flux.toIterable(DEFAULT_BATCH_SIZE).iterator(); + } else if (iterable != null) { + return iterable.iterator(); + } else { + logger.warning("IterableStream was not initialized with Iterable or Flux, returning empty iterator."); + return Collections.emptyIterator(); + } } - } diff --git a/sdk/core/azure-core/src/test/java/com/azure/core/credential/CredentialsTests.java b/sdk/core/azure-core/src/test/java/com/azure/core/credential/CredentialsTests.java index 82b4c17b4dca..2a04aa65160f 100644 --- a/sdk/core/azure-core/src/test/java/com/azure/core/credential/CredentialsTests.java +++ b/sdk/core/azure-core/src/test/java/com/azure/core/credential/CredentialsTests.java @@ -13,6 +13,7 @@ import org.junit.jupiter.api.Assertions; import org.junit.jupiter.api.Test; import reactor.core.publisher.Mono; +import reactor.test.StepVerifier; import java.net.URL; import java.time.OffsetDateTime; @@ -53,11 +54,32 @@ public void tokenCredentialTest() throws Exception { }; final HttpPipeline pipeline = new HttpPipelineBuilder() - .httpClient(new NoOpHttpClient()) - .policies(new BearerTokenAuthenticationPolicy(credentials, "scope./default"), auditorPolicy) - .build(); + .httpClient(new NoOpHttpClient()) + .policies(new BearerTokenAuthenticationPolicy(credentials, "scope./default"), auditorPolicy) + .build(); - HttpRequest request = new HttpRequest(HttpMethod.GET, new URL("http://localhost")); + HttpRequest request = new HttpRequest(HttpMethod.GET, new URL("https://localhost")); pipeline.send(request).block(); } + + @Test + public void tokenCredentialHttpSchemeTest() throws Exception { + TokenCredential credentials = request -> Mono.just(new AccessToken("this_is_a_token", OffsetDateTime.MAX)); + + HttpPipelinePolicy auditorPolicy = (context, next) -> { + String headerValue = context.getHttpRequest().getHeaders().getValue("Authorization"); + Assertions.assertEquals("Bearer this_is_a_token", headerValue); + return next.process(); + }; + + final HttpPipeline pipeline = new HttpPipelineBuilder() + .httpClient(new NoOpHttpClient()) + .policies(new BearerTokenAuthenticationPolicy(credentials, "scope./default"), auditorPolicy) + .build(); + + HttpRequest request = new HttpRequest(HttpMethod.GET, new URL("http://localhost")); + StepVerifier.create(pipeline.send(request)) + .expectErrorMessage("token credentials require a URL using the HTTPS protocol scheme") + .verify(); + } } diff --git a/sdk/core/azure-core/src/test/java/com/azure/core/http/policy/RequestIdPolicyTests.java b/sdk/core/azure-core/src/test/java/com/azure/core/http/policy/RequestIdPolicyTests.java index 79c44467cdcc..8225182df2a5 100644 --- a/sdk/core/azure-core/src/test/java/com/azure/core/http/policy/RequestIdPolicyTests.java +++ b/sdk/core/azure-core/src/test/java/com/azure/core/http/policy/RequestIdPolicyTests.java @@ -20,8 +20,6 @@ import java.nio.charset.Charset; import java.time.Duration; import java.time.temporal.ChronoUnit; -import java.util.UUID; -import java.util.function.Supplier; public class RequestIdPolicyTests { private final HttpResponse mockResponse = new HttpResponse(null) { @@ -115,37 +113,4 @@ public Mono send(HttpRequest request) { pipeline.send(new HttpRequest(HttpMethod.GET, new URL("http://localhost/"))).block(); } - - @Test - public void clientProvidedRequestIdForRetry() throws Exception { - - String customRequestIdHeaderName = "x-ms-client-custom-request-id"; - String clientProvidedRequestId = UUID.randomUUID().toString(); - - Supplier requestIdSupplier = () -> new HttpHeaders().put(customRequestIdHeaderName, clientProvidedRequestId); - final HttpPipeline pipeline = new HttpPipelineBuilder() - .httpClient(new NoOpHttpClient() { - String firstRequestId = null; - - @Override - public Mono send(HttpRequest request) { - if (firstRequestId != null) { - String newRequestId = request.getHeaders().getValue(customRequestIdHeaderName); - Assertions.assertNotNull(newRequestId); - Assertions.assertEquals(newRequestId, firstRequestId); - Assertions.assertEquals(newRequestId, clientProvidedRequestId); - } - firstRequestId = request.getHeaders().getValue(customRequestIdHeaderName); - if (firstRequestId == null) { - Assertions.fail(); - } - return Mono.just(mockResponse); - } - }) - .policies(new RequestIdPolicy(requestIdSupplier), new RetryPolicy(new FixedDelay(1, Duration.of(0, ChronoUnit.SECONDS)))) - .build(); - - pipeline.send(new HttpRequest(HttpMethod.GET, new URL("http://localhost/"))).block(); - } - } diff --git a/sdk/core/azure-core/src/test/java/com/azure/core/http/rest/PagedIterableTest.java b/sdk/core/azure-core/src/test/java/com/azure/core/http/rest/PagedIterableTest.java index d2fe97586cc6..136abaad61a8 100644 --- a/sdk/core/azure-core/src/test/java/com/azure/core/http/rest/PagedIterableTest.java +++ b/sdk/core/azure-core/src/test/java/com/azure/core/http/rest/PagedIterableTest.java @@ -3,162 +3,224 @@ package com.azure.core.http.rest; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertTrue; - import com.azure.core.http.HttpHeaders; import com.azure.core.http.HttpMethod; import com.azure.core.http.HttpRequest; +import org.junit.jupiter.api.Test; +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.ValueSource; +import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; -import java.net.MalformedURLException; -import java.net.URL; -import java.util.Iterator; +import java.util.ArrayList; import java.util.List; +import java.util.function.Function; +import java.util.function.Supplier; import java.util.stream.Collectors; import java.util.stream.IntStream; import java.util.stream.Stream; -import org.junit.jupiter.api.Test; -import reactor.core.publisher.Mono; + +import static org.junit.jupiter.api.Assertions.assertEquals; /** * Unit tests for {@link PagedIterable}. */ public class PagedIterableTest { - private List> pagedResponses; private List> pagedStringResponses; - @Test - public void testEmptyResults() { - PagedFlux pagedFlux = getIntegerPagedFlux(0); + private HttpHeaders httpHeaders = new HttpHeaders().put("header1", "value1").put("header2", "value2"); + private HttpRequest httpRequest = new HttpRequest(HttpMethod.GET, "http://localhost"); + private String deserializedHeaders = "header1,value1,header2,value2"; + + @ParameterizedTest + @ValueSource(ints = {0, 5}) + public void streamByPage(int numberOfPages) { + PagedFlux pagedFlux = getIntegerPagedFlux(numberOfPages); PagedIterable pagedIterable = new PagedIterable<>(pagedFlux); - assertEquals(0, pagedIterable.streamByPage().count()); + List> pages = pagedIterable.streamByPage().collect(Collectors.toList()); + + assertEquals(numberOfPages, pages.size()); + assertEquals(pagedResponses, pages); } - @Test - public void testPageStream() { - PagedFlux pagedFlux = getIntegerPagedFlux(5); + @ParameterizedTest + @ValueSource(ints = {0, 5}) + public void iterateByPage(int numberOfPages) { + PagedFlux pagedFlux = getIntegerPagedFlux(numberOfPages); PagedIterable pagedIterable = new PagedIterable<>(pagedFlux); - assertEquals(5, pagedIterable.streamByPage().count()); - assertEquals(pagedResponses, pagedIterable.streamByPage().collect(Collectors.toList())); + List> pages = new ArrayList<>(); + pagedIterable.iterableByPage().iterator().forEachRemaining(pages::add); + + assertEquals(numberOfPages, pages.size()); + assertEquals(pagedResponses, pages); } - @Test - public void testPageIterable() { - PagedFlux pagedFlux = getIntegerPagedFlux(5); + @ParameterizedTest + @ValueSource(ints = {0, 5}) + public void streamByT(int numberOfPages) { + PagedFlux pagedFlux = getIntegerPagedFlux(numberOfPages); PagedIterable pagedIterable = new PagedIterable<>(pagedFlux); - Iterator> iter = pagedIterable.iterableByPage().iterator(); + List values = pagedIterable.stream().collect(Collectors.toList()); - int index = 0; - while (iter.hasNext()) { - PagedResponse pagedResponse = iter.next(); - assertEquals(pagedResponses.get(index++), pagedResponse); - } + assertEquals(numberOfPages * 3, values.size()); + assertEquals(Stream.iterate(0, i -> i + 1).limit(numberOfPages * 3).collect(Collectors.toList()), values); } - @Test - public void testStream() { - PagedFlux pagedFlux = getIntegerPagedFlux(5); + @ParameterizedTest + @ValueSource(ints = {0, 5}) + public void iterateByT(int numberOfPages) { + PagedFlux pagedFlux = getIntegerPagedFlux(numberOfPages); PagedIterable pagedIterable = new PagedIterable<>(pagedFlux); + List values = new ArrayList<>(); + pagedIterable.iterator().forEachRemaining(values::add); - assertEquals(15, pagedIterable.stream().count()); - List ints = Stream.iterate(0, i -> i + 1).limit(15).collect(Collectors.toList()); - assertEquals(ints, pagedIterable.stream().collect(Collectors.toList())); + assertEquals(numberOfPages * 3, values.size()); + assertEquals(Stream.iterate(0, i -> i + 1).limit(numberOfPages * 3).collect(Collectors.toList()), values); } - @Test - public void testIterable() { - PagedFlux pagedFlux = getIntegerPagedFlux(5); + @ParameterizedTest + @ValueSource(ints = {0, 5}) + public void streamByPageMap(int numberOfPages) { + PagedFlux pagedFlux = getIntegerPagedFlux(numberOfPages); PagedIterable pagedIterable = new PagedIterable<>(pagedFlux); - Iterator iter = pagedIterable.iterator(); + List> pages = pagedIterable.mapPage(String::valueOf).streamByPage() + .collect(Collectors.toList()); - int index = 0; - while (iter.hasNext()) { - int val = iter.next(); - assertEquals(index++, val); + assertEquals(numberOfPages, pages.size()); + for (int i = 0; i < numberOfPages; i++) { + assertEquals(pagedStringResponses.get(i).getValue(), pages.get(i).getValue()); } } + @ParameterizedTest + @ValueSource(ints = {0, 5}) + public void iterateByPageMap(int numberOfPages) { + PagedFlux pagedFlux = getIntegerPagedFlux(numberOfPages); + PagedIterable pagedIterable = new PagedIterable<>(pagedFlux); + List> pages = new ArrayList<>(); + pagedIterable.mapPage(String::valueOf).iterableByPage().iterator().forEachRemaining(pages::add); + + assertEquals(numberOfPages, pages.size()); + for (int i = 0; i < numberOfPages; i++) { + assertEquals(pagedStringResponses.get(i).getValue(), pages.get(i).getValue()); + } + } + + @ParameterizedTest + @ValueSource(ints = {0, 5}) + public void streamByTMap(int numberOfPages) { + PagedFlux pagedFlux = getIntegerPagedFlux(numberOfPages); + PagedIterable pagedIterable = new PagedIterable<>(pagedFlux); + List values = pagedIterable.mapPage(String::valueOf).stream().collect(Collectors.toList()); + + assertEquals(numberOfPages * 3, values.size()); + assertEquals(Stream.iterate(0, i -> i + 1).limit(numberOfPages * 3).map(String::valueOf) + .collect(Collectors.toList()), values); + } + + @ParameterizedTest + @ValueSource(ints = {0, 5}) + public void iterateByTMap(int numberOfPages) { + PagedFlux pagedFlux = getIntegerPagedFlux(numberOfPages); + PagedIterable pagedIterable = new PagedIterable<>(pagedFlux); + List values = new ArrayList<>(); + pagedIterable.mapPage(String::valueOf).iterator().forEachRemaining(values::add); + + assertEquals(numberOfPages * 3, values.size()); + assertEquals(Stream.iterate(0, i -> i + 1).limit(numberOfPages * 3).map(String::valueOf) + .collect(Collectors.toList()), values); + } + @Test - public void testMap() { - PagedFlux pagedFlux = getIntegerPagedFlux(5); + public void streamFirstPage() { + TestPagedFlux pagedFlux = getTestPagedFlux(5); PagedIterable pagedIterable = new PagedIterable<>(pagedFlux); - List intStrs = - Stream.iterate(0, i -> i + 1).map(String::valueOf).limit(15).collect(Collectors.toList()); - assertEquals(intStrs, pagedIterable.mapPage(String::valueOf).stream().collect(Collectors.toList())); + + assertEquals(pagedResponses.get(0), pagedIterable.streamByPage().limit(1).collect(Collectors.toList()).get(0)); + + /* + * The goal for this test would be that 0 next page retrieval calls are made but due to how Flux.concatWith + * works it needs to begin the next publisher to determine whether onNext or onComplete should trigger. This + * results in 2 next page retrieval calls for the following reason: + * + * - Makes the initial get first page call, then needs to validate that get next page emits. 1 call made. + * - Retrieving the first page in verification moves the stream iterator to the initial next page, Reactor then + * needs to verify that the page after it emits. 2 calls made. + */ + assertEquals(2, pagedFlux.getNextPageRetrievals()); } @Test - public void testPageMap() { - PagedFlux pagedFlux = getIntegerPagedFlux(5); + public void iterateFirstPage() { + TestPagedFlux pagedFlux = getTestPagedFlux(5); PagedIterable pagedIterable = new PagedIterable<>(pagedFlux); - int[] index = new int[1]; - assertTrue(pagedIterable.mapPage(String::valueOf).streamByPage().allMatch(pagedResponse -> - pagedStringResponses.get(index[0]++).getValue().equals(pagedResponse.getValue()))); + + assertEquals(pagedResponses.get(0), pagedIterable.iterableByPage().iterator().next()); + + /* + * The goal for this test would be that 0 next page retrieval calls are made but due to how Flux.concatWith + * works it needs to begin the next publisher to determine whether onNext or onComplete should trigger. This + * results in 2 next page retrieval calls for the following reason: + * + * - Makes the initial get first page call, then needs to validate that get next page emits. 1 call made. + * - Retrieving the first page in verification moves the stream iterator to the initial next page, Reactor then + * needs to verify that the page after it emits. 2 calls made. + */ + assertEquals(2, pagedFlux.getNextPageRetrievals()); } - private PagedFlux getIntegerPagedFlux(int noOfPages) { - try { - HttpHeaders httpHeaders = new HttpHeaders().put("header1", "value1") - .put("header2", "value2"); + @Test + public void streamFirstValue() { + TestPagedFlux pagedFlux = getTestPagedFlux(5); + PagedIterable pagedIterable = new PagedIterable<>(pagedFlux); - HttpRequest httpRequest = new HttpRequest(HttpMethod.GET, new URL("http://localhost")); + Integer firstValue = pagedResponses.get(0).getValue().get(0); + assertEquals(firstValue, pagedIterable.stream().limit(1).collect(Collectors.toList()).get(0)); + } - String deserializedHeaders = "header1,value1,header2,value2"; - pagedResponses = IntStream.range(0, noOfPages) - .boxed() - .map(i -> createPagedResponse(httpRequest, httpHeaders, deserializedHeaders, i, noOfPages)) - .collect(Collectors.toList()); + @Test + public void iterateFirstValue() { + TestPagedFlux pagedFlux = getTestPagedFlux(5); + PagedIterable pagedIterable = new PagedIterable<>(pagedFlux); - pagedStringResponses = IntStream.range(0, noOfPages) - .boxed() - .map(i -> createPagedResponseWithString(httpRequest, httpHeaders, deserializedHeaders, i, noOfPages)) - .collect(Collectors.toList()); + Integer firstValue = pagedResponses.get(0).getValue().get(0); + assertEquals(firstValue, pagedIterable.iterator().next()); + assertEquals(0, pagedFlux.getNextPageRetrievals()); + } - return new PagedFlux<>(() -> pagedResponses.isEmpty() ? Mono.empty() : Mono.just(pagedResponses.get(0)), - continuationToken -> getNextPage(continuationToken, pagedResponses)); - } catch (MalformedURLException e) { - return null; - } + private PagedFlux getIntegerPagedFlux(int numberOfPages) { + createPagedResponse(numberOfPages); + + return new PagedFlux<>(() -> pagedResponses.isEmpty() ? Mono.empty() : Mono.just(pagedResponses.get(0)), + continuationToken -> getNextPage(continuationToken, pagedResponses)); } - private PagedFlux getIntegerPagedFluxSinglePage() { - try { - HttpHeaders httpHeaders = new HttpHeaders().put("header1", "value1") - .put("header2", "value2"); - HttpRequest httpRequest = new HttpRequest(HttpMethod.GET, new URL("http://localhost")); - - String deserializedHeaders = "header1,value1,header2,value2"; - pagedResponses = IntStream.range(0, 1) - .boxed() - .map(i -> createPagedResponse(httpRequest, httpHeaders, deserializedHeaders, i, 1)) - .collect(Collectors.toList()); - - pagedStringResponses = IntStream.range(0, 1) - .boxed() - .map(i -> createPagedResponseWithString(httpRequest, httpHeaders, deserializedHeaders, i, 1)) - .collect(Collectors.toList()); - return new PagedFlux<>(() -> pagedResponses.isEmpty() ? Mono.empty() : Mono.just(pagedResponses.get(0))); - } catch (MalformedURLException e) { - return null; - } + private TestPagedFlux getTestPagedFlux(int numberOfPages) { + createPagedResponse(numberOfPages); + + return new TestPagedFlux<>(() -> pagedResponses.isEmpty() ? Mono.empty() : Mono.just(pagedResponses.get(0)), + continuationToken -> getNextPage(continuationToken, pagedResponses)); } - private PagedResponseBase createPagedResponse(HttpRequest httpRequest, - HttpHeaders httpHeaders, String deserializedHeaders, int i, int noOfPages) { - return new PagedResponseBase<>(httpRequest, 200, - httpHeaders, - getItems(i), - i < noOfPages - 1 ? String.valueOf(i + 1) : null, - deserializedHeaders); + private void createPagedResponse(int numberOfPages) { + pagedResponses = IntStream.range(0, numberOfPages) + .boxed() + .map(i -> + createPagedResponse(httpRequest, httpHeaders, deserializedHeaders, numberOfPages, this::getItems, i)) + .collect(Collectors.toList()); + + pagedStringResponses = IntStream.range(0, numberOfPages) + .boxed() + .map(i -> createPagedResponse(httpRequest, httpHeaders, deserializedHeaders, numberOfPages, + this::getStringItems, i)) + .collect(Collectors.toList()); } - private PagedResponseBase createPagedResponseWithString(HttpRequest httpRequest, - HttpHeaders httpHeaders, String deserializedHeaders, int i, int noOfPages) { - return new PagedResponseBase<>(httpRequest, 200, - httpHeaders, - getStringItems(i), - i < noOfPages - 1 ? String.valueOf(i + 1) : null, + private PagedResponseBase createPagedResponse(HttpRequest httpRequest, HttpHeaders headers, + String deserializedHeaders, int numberOfPages, Function> valueSupplier, int i) { + return new PagedResponseBase<>(httpRequest, 200, headers, valueSupplier.apply(i), + (i < numberOfPages - 1) ? String.valueOf(i + 1) : null, deserializedHeaders); } @@ -169,15 +231,39 @@ private Mono> getNextPage(String continuationToken, return Mono.empty(); } - return Mono.just(pagedResponses.get(Integer.valueOf(continuationToken))); + return Mono.just(pagedResponses.get(Integer.parseInt(continuationToken))); } - private List getItems(Integer i) { + private List getItems(int i) { return IntStream.range(i * 3, i * 3 + 3).boxed().collect(Collectors.toList()); } - private List getStringItems(Integer i) { - return IntStream.range(i * 3, i * 3 + 3).boxed().map(val -> String.valueOf(val)).collect(Collectors.toList()); + private List getStringItems(int i) { + return IntStream.range(i * 3, i * 3 + 3).boxed().map(String::valueOf).collect(Collectors.toList()); } + /* + * Test class used to verify that paged iterable will lazily request next pages. + */ + private static class TestPagedFlux extends PagedFlux { + private int nextPageRetrievals = 0; + + TestPagedFlux(Supplier>> firstPageRetriever, + Function>> nextPageRetriever) { + super(firstPageRetriever, nextPageRetriever); + } + + @Override + public Flux> byPage(String continuationToken) { + nextPageRetrievals++; + return super.byPage(continuationToken); + } + + /* + * Returns the number of times another page has been retrieved. + */ + int getNextPageRetrievals() { + return nextPageRetrievals; + } + } } diff --git a/sdk/core/azure-core/src/test/java/com/azure/core/util/IterableStreamTests.java b/sdk/core/azure-core/src/test/java/com/azure/core/util/IterableStreamTests.java new file mode 100644 index 000000000000..5dbff7591459 --- /dev/null +++ b/sdk/core/azure-core/src/test/java/com/azure/core/util/IterableStreamTests.java @@ -0,0 +1,254 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.core.util; + +import org.junit.jupiter.api.Assertions; +import org.junit.jupiter.api.Test; +import reactor.core.publisher.Flux; +import reactor.core.scheduler.Schedulers; + +import java.util.HashSet; +import java.util.Set; +import java.util.stream.Collectors; + +/** + * Tests for {@link IterableStream}. + */ +public class IterableStreamTests { + @Test + public void requiresFlux() { + Assertions.assertThrows(NullPointerException.class, () -> new IterableStream<>((Flux) null)); + } + + @Test + public void requiresIterable() { + Assertions.assertThrows(NullPointerException.class, () -> new IterableStream<>((Iterable) null)); + } + + /** + * Tests that we can stream using a Flux. Subscribing on single, to ensure we don't hit an IllegalStateException. + */ + @Test + public void streamFlux() { + // Arrange + final Set expected = new HashSet<>(); + expected.add("Something"); + expected.add("Foo"); + expected.add("Bar"); + + final Flux flux = Flux.create(sink -> { + for (String c : expected) { + sink.next(c); + } + sink.complete(); + }).subscribeOn(Schedulers.parallel()); + final IterableStream iterableStream = new IterableStream<>(flux); + + // Act + final Set actual = iterableStream.stream().collect(Collectors.toSet()); + + // Assert + assertSets(expected, actual); + } + + /** + * Tests that we can stream over the Flux multiple times. Subscribing on single, to ensure we don't hit an + * IllegalStateException. + */ + @Test + public void streamFluxMultipleTimes() { + // Arrange + final Set expected = new HashSet<>(); + expected.add("Something"); + expected.add("Foo"); + expected.add("Bar"); + + final Flux flux = Flux.create(sink -> { + for (String c : expected) { + sink.next(c); + } + sink.complete(); + }).subscribeOn(Schedulers.single()); + final IterableStream iterableStream = new IterableStream<>(flux); + + // Act + final Set actual = iterableStream.stream().collect(Collectors.toSet()); + final Set actual2 = iterableStream.stream().collect(Collectors.toSet()); + + // Assert + assertSets(expected, actual); + assertSets(expected, actual2); + } + + /** + * Tests that we can iterate over the Flux. Subscribing on a parallel scheduler to see if it throws an + * IllegalStateException. + */ + @Test + public void iteratorFlux() { + // Arrange + final Set expected = new HashSet<>(); + expected.add("Something"); + expected.add("Foo"); + expected.add("Bar"); + + final Flux flux = Flux.create(sink -> { + for (String c : expected) { + sink.next(c); + } + sink.complete(); + }).subscribeOn(Schedulers.parallel()); + final IterableStream iterableStream = new IterableStream<>(flux); + + // Act & Assert + int counter = 0; + for (String actual : iterableStream) { + Assertions.assertTrue(expected.contains(actual)); + counter++; + } + + Assertions.assertEquals(expected.size(), counter); + } + + /** + * Tests that we can iterate over the Flux multiple times. Subscribing on a parallel scheduler to see if it throws + * an IllegalStateException. + */ + @Test + public void iteratorFluxMultipleTimes() { + // Arrange + final Set expected = new HashSet<>(); + expected.add("Something"); + expected.add("Foo"); + expected.add("Bar"); + + final Flux flux = Flux.create(sink -> { + for (String c : expected) { + sink.next(c); + } + sink.complete(); + }).subscribeOn(Schedulers.parallel()); + final IterableStream iterableStream = new IterableStream<>(flux); + + // Act & Assert + int counter = 0; + for (String actual : iterableStream) { + Assertions.assertTrue(expected.contains(actual)); + counter++; + } + + Assertions.assertEquals(expected.size(), counter); + + int counter2 = 0; + for (String actual : iterableStream) { + Assertions.assertTrue(expected.contains(actual)); + counter2++; + } + + Assertions.assertEquals(expected.size(), counter2); + } + + /** + * Tests that we can stream using an Iterable. + */ + @Test + public void streamIterable() { + // Arrange + final Set expected = new HashSet<>(); + expected.add("Something"); + expected.add("Foo"); + expected.add("Bar"); + + final IterableStream iterableStream = new IterableStream<>(expected); + + // Act + final Set actual = iterableStream.stream().collect(Collectors.toSet()); + + // Assert + assertSets(expected, actual); + } + + /** + * Tests that we can stream over the Iterable multiple times. + */ + @Test + public void streamIterableMultipleTimes() { + // Arrange + final Set expected = new HashSet<>(); + expected.add("Something"); + expected.add("Foo"); + expected.add("Bar"); + + final IterableStream iterableStream = new IterableStream<>(expected); + + // Act + final Set actual = iterableStream.stream().collect(Collectors.toSet()); + final Set actual2 = iterableStream.stream().collect(Collectors.toSet()); + + // Assert + assertSets(expected, actual); + assertSets(expected, actual2); + } + + /** + * Tests that we can iterate over the Iterable. + */ + @Test + public void iteratorIterable() { + // Arrange + final Set expected = new HashSet<>(); + expected.add("Something"); + expected.add("Foo"); + expected.add("Bar"); + + final IterableStream iterableStream = new IterableStream<>(expected); + + // Act & Assert + int counter = 0; + for (String actual : iterableStream) { + Assertions.assertTrue(expected.contains(actual)); + counter++; + } + + Assertions.assertEquals(expected.size(), counter); + } + + /** + * Tests that we can iterate over the Iterable multiple times. + */ + @Test + public void iteratorIterableMultipleTimes() { + // Arrange + final Set expected = new HashSet<>(); + expected.add("Something"); + expected.add("Foo"); + expected.add("Bar"); + + final IterableStream iterableStream = new IterableStream<>(expected); + + // Act & Assert + int counter = 0; + for (String actual : iterableStream) { + Assertions.assertTrue(expected.contains(actual)); + counter++; + } + + Assertions.assertEquals(expected.size(), counter); + + int counter2 = 0; + for (String actual : iterableStream) { + Assertions.assertTrue(expected.contains(actual)); + counter2++; + } + + Assertions.assertEquals(expected.size(), counter2); + } + + private static void assertSets(Set expected, Set actual) { + Assertions.assertEquals(expected.size(), actual.size()); + for (String str : expected) { + Assertions.assertTrue(actual.contains(str)); + } + } +} diff --git a/sdk/core/ci.yml b/sdk/core/ci.yml index 2b1b2e436fcf..10cddece5ad4 100644 --- a/sdk/core/ci.yml +++ b/sdk/core/ci.yml @@ -55,3 +55,6 @@ stages: - name: azure-core-tracing-opencensus safeName: azurecoretracingopencensus stagingProfileId: 88192f04117501 + - name: azure-core-tracing-opentelemetry + safeName: azurecoretracingopentelemetry + stagingProfileId: 88192f04117501 diff --git a/sdk/cosmos/microsoft-azure-cosmos-benchmark/pom.xml b/sdk/cosmos/microsoft-azure-cosmos-benchmark/pom.xml index 4c10b94c262b..55baf4743098 100644 --- a/sdk/cosmos/microsoft-azure-cosmos-benchmark/pom.xml +++ b/sdk/cosmos/microsoft-azure-cosmos-benchmark/pom.xml @@ -8,7 +8,7 @@ Licensed under the MIT License. com.microsoft.azure azure-cosmos-parent - 3.4.0 + 3.5.0 com.microsoft.azure @@ -33,54 +33,56 @@ Licensed under the MIT License. com.microsoft.azure azure-cosmos - 3.4.0 + 3.5.0 com.beust jcommander + 1.58 com.google.guava guava - ${guava.version} + 27.0.1-jre io.dropwizard.metrics metrics-core - ${metrics.version} + 4.1.0 io.dropwizard.metrics metrics-jvm - ${metrics.version} + 4.1.0 io.dropwizard.metrics metrics-graphite - ${metrics.version} + 4.1.0 io.micrometer micrometer-registry-azure-monitor - ${micrometer.version} + 1.2.0 io.micrometer micrometer-registry-graphite - ${micrometer.version} + 1.2.0 @@ -88,32 +90,38 @@ Licensed under the MIT License. log4j log4j + 1.2.17 org.apache.commons commons-lang3 + 3.8.1 org.slf4j slf4j-api + 1.7.28 org.slf4j slf4j-log4j12 + 1.7.0 org.assertj assertj-core + 3.11.1 test org.testng testng + 6.14.3 test @@ -123,6 +131,7 @@ Licensed under the MIT License. org.codehaus.mojo exec-maven-plugin + 1.2.1 com.azure.data.cosmos.benchmark.Main @@ -131,6 +140,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-assembly-plugin + 2.2 jar-with-dependencies @@ -155,6 +165,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-compiler-plugin + 3.8.1 1.8 1.8 @@ -164,6 +175,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-eclipse-plugin + 2.8 @@ -176,6 +188,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-antrun-plugin + 1.8 false diff --git a/sdk/cosmos/microsoft-azure-cosmos-examples/pom.xml b/sdk/cosmos/microsoft-azure-cosmos-examples/pom.xml index 4a55aa812f07..55116eb84c94 100644 --- a/sdk/cosmos/microsoft-azure-cosmos-examples/pom.xml +++ b/sdk/cosmos/microsoft-azure-cosmos-examples/pom.xml @@ -8,7 +8,7 @@ Licensed under the MIT License. com.microsoft.azure azure-cosmos-parent - 3.4.0 + 3.5.0 com.microsoft.azure @@ -34,6 +34,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-compiler-plugin + 3.8.1 1.8 1.8 @@ -43,6 +44,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-eclipse-plugin + 2.8 @@ -55,13 +57,16 @@ Licensed under the MIT License. org.codehaus.mojo exec-maven-plugin + 1.2.1 com.azure.data.cosmos.benchmark.Main + org.apache.maven.plugins maven-assembly-plugin + 2.2 jar-with-dependencies @@ -89,44 +94,51 @@ Licensed under the MIT License. com.microsoft.azure azure-cosmos - 3.4.0 + 3.5.0 com.google.guava guava + 27.0.1-jre log4j log4j + 1.2.17 org.slf4j slf4j-api + 1.7.28 org.slf4j slf4j-log4j12 + 1.7.0 org.hamcrest hamcrest-all + 1.3 test org.mockito mockito-core + 1.10.19 test org.testng testng + 6.14.3 test diff --git a/sdk/cosmos/microsoft-azure-cosmos/pom.xml b/sdk/cosmos/microsoft-azure-cosmos/pom.xml index 2660c5b31a7a..76374aa0b7cd 100644 --- a/sdk/cosmos/microsoft-azure-cosmos/pom.xml +++ b/sdk/cosmos/microsoft-azure-cosmos/pom.xml @@ -7,12 +7,12 @@ Licensed under the MIT License. com.microsoft.azure azure-cosmos-parent - 3.4.0 + 3.5.0 com.microsoft.azure azure-cosmos - 3.4.0 + 3.5.0 Microsoft Azure SDK for SQL API of Azure Cosmos DB Service This Package contains Microsoft Azure Cosmos SDK (with Reactive Extension rx support) for Azure Cosmos DB SQL API jar @@ -33,119 +33,138 @@ Licensed under the MIT License. com.fasterxml.jackson.core jackson-databind + 2.10.0 com.fasterxml.uuid java-uuid-generator + 3.2.0 commons-io commons-io + 2.5 commons-validator commons-validator + 1.6 io.projectreactor reactor-core + 3.3.0.RELEASE io.netty netty-codec-http + 4.1.42.Final io.netty netty-handler + 4.1.42.Final org.slf4j slf4j-api + 1.7.28 org.apache.commons commons-lang3 + 3.8.1 org.apache.commons commons-collections4 + 4.2 org.apache.commons commons-text + 1.6 org.testng testng + 6.14.3 test org.assertj assertj-core + 3.11.1 test org.slf4j slf4j-log4j12 + 1.7.0 test log4j log4j + 1.2.17 test com.google.guava guava + 27.0.1-jre io.dropwizard.metrics metrics-core - ${metrics.version} + 4.1.0 io.micrometer micrometer-core - ${micrometer.version} + 1.2.0 io.projectreactor reactor-test + 3.3.0.RELEASE test io.reactivex.rxjava2 rxjava + 2.2.4 io.projectreactor.netty reactor-netty - ${reactor-netty.version} + 0.9.0.RELEASE org.mockito mockito-core + 1.10.19 test @@ -156,6 +175,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-compiler-plugin + 3.8.1 1.8 1.8 @@ -165,6 +185,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-eclipse-plugin + 2.8 @@ -177,6 +198,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-checkstyle-plugin + 3.1.0 false false @@ -194,6 +216,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-failsafe-plugin + 2.22.0 src/test/resources/fast-testng.xml @@ -211,6 +234,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-failsafe-plugin + 2.22.0 src/test/resources/long-testng.xml @@ -228,6 +252,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-failsafe-plugin + 2.22.0 src/test/resources/emulator-testng.xml diff --git a/sdk/cosmos/microsoft-azure-cosmos/src/main/java/com/azure/data/cosmos/internal/HttpConstants.java b/sdk/cosmos/microsoft-azure-cosmos/src/main/java/com/azure/data/cosmos/internal/HttpConstants.java index 5f5d62eba5eb..767ced3bd2a5 100644 --- a/sdk/cosmos/microsoft-azure-cosmos/src/main/java/com/azure/data/cosmos/internal/HttpConstants.java +++ b/sdk/cosmos/microsoft-azure-cosmos/src/main/java/com/azure/data/cosmos/internal/HttpConstants.java @@ -257,7 +257,7 @@ public static class Versions { // @see // https://stackoverflow.com/questions/2469922/generate-a-version-java-file-in-maven // {x-version-update-start;com.microsoft.azure:azure-cosmos;current} - public static final String SDK_VERSION = "3.4.0"; + public static final String SDK_VERSION = "3.5.0"; // {x-version-update-end} public static final String SDK_NAME = "cosmosdb-java-sdk"; } diff --git a/sdk/cosmos/pom.xml b/sdk/cosmos/pom.xml index fb70af8fa2e9..e6fe8f8ca8b4 100644 --- a/sdk/cosmos/pom.xml +++ b/sdk/cosmos/pom.xml @@ -7,13 +7,13 @@ Licensed under the MIT License. com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../pom.data.xml com.microsoft.azure azure-cosmos-parent - 3.4.0 + 3.5.0 pom Microsoft Azure Cosmos DB SQL API @@ -36,68 +36,12 @@ Licensed under the MIT License. UTF-8 ${project.version} ${project.version} - 4.1.0 - 1.2.0 - 1.10.19 - 4.1.42.Final - 2.0.26.Final ${project.version} - 27.0.1-jre - 3.3.0.RELEASE - 0.9.0.RELEASE unit ${project.basedir}/target/collectedArtifactsForRelease - - - - com.microsoft.azure - azure-cosmos - 3.4.0 - - - - org.mockito - mockito-core - ${mockito.version} - test - - - - io.projectreactor - reactor-core - ${reactor-core.version} - - - - io.netty - netty-codec-http - ${netty.version} - - - - com.google.guava - guava - ${guava.version} - - - - io.netty - netty-tcnative - ${netty-tcnative.version} - linux-x86_64 - - - - io.netty - netty-handler - ${netty.version} - - - - @@ -114,6 +58,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-surefire-plugin + 3.0.0-M3 @@ -131,6 +76,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-failsafe-plugin + 2.22.0 @@ -146,6 +92,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-failsafe-plugin + 2.22.0 @@ -161,6 +108,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-failsafe-plugin + 2.22.0 @@ -176,6 +124,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-failsafe-plugin + 2.22.0 @@ -192,6 +141,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-failsafe-plugin + 2.22.0 @@ -217,6 +167,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-failsafe-plugin + 2.22.0 @@ -232,6 +183,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-failsafe-plugin + 2.22.0 @@ -247,6 +199,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-failsafe-plugin + 2.22.0 @@ -258,6 +211,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-surefire-plugin + 3.0.0-M3 unit @@ -274,6 +228,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-failsafe-plugin + 2.22.0 %regex[.*] @@ -299,7 +254,9 @@ Licensed under the MIT License. + org.apache.maven.plugins maven-javadoc-plugin + 3.1.1 true true @@ -322,6 +279,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-source-plugin + 3.0.1 attach-sources @@ -334,6 +292,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-compiler-plugin + 3.8.1 1.8 1.8 @@ -343,7 +302,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-eclipse-plugin - 2.8 + 2.8 @@ -355,7 +314,7 @@ Licensed under the MIT License. org.apache.maven.plugins maven-antrun-plugin - 1.8 + 1.8 diff --git a/sdk/eventgrid/microsoft-azure-eventgrid/pom.xml b/sdk/eventgrid/microsoft-azure-eventgrid/pom.xml index a756ef8ccb26..b0c2367ae6c9 100644 --- a/sdk/eventgrid/microsoft-azure-eventgrid/pom.xml +++ b/sdk/eventgrid/microsoft-azure-eventgrid/pom.xml @@ -17,7 +17,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml https://github.com/Azure/azure-sdk-for-java @@ -47,24 +47,24 @@ com.microsoft.azure azure-client-runtime - 1.5.0 + 1.5.0 junit junit - 4.12 + 4.13-beta-3 test com.microsoft.azure azure-client-authentication - 1.5.0 + 1.5.0 test commons-io commons-io - 2.6 + 2.6 @@ -72,6 +72,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -84,11 +85,12 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 org.apache.maven.plugins maven-compiler-plugin - 3.1 + 3.8.1 1.7 1.7 @@ -108,7 +110,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 2.8 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search diff --git a/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/CHANGELOG.md b/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/CHANGELOG.md index 63efa6508e7e..fcc0d9fb4abd 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/CHANGELOG.md +++ b/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/CHANGELOG.md @@ -1,4 +1,8 @@ # Release History +## 1.0.0-beta.4 (2019-12-02) +- Artifact name changed from `preview` to `beta`. +- `BlobCheckpointStore` implementation updated to match changes in `CheckpointStore` interface. + ## 1.0.0-preview.3 (2019-11-01) - Renamed `BlobPartitionManager` to `BlobEventProcessorStore` - Added fully qualified namespace to list ownership API. diff --git a/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/pom.xml b/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/pom.xml index 5966d49697fa..75c31d4c0fd9 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/pom.xml +++ b/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/pom.xml @@ -10,11 +10,12 @@ azure-client-sdk-parent com.azure - 1.6.0 + 1.7.0 ../../../pom.client.xml 4.0.0 + com.azure azure-messaging-eventhubs-checkpointstore-blob 1.0.0-beta.4 @@ -51,26 +52,31 @@ org.junit.jupiter junit-jupiter-api + 5.4.2 test org.junit.jupiter junit-jupiter-engine + 5.4.2 test org.slf4j slf4j-simple + 1.7.25 test io.projectreactor reactor-test + 3.3.0.RELEASE test org.mockito mockito-core + 3.0.0 test diff --git a/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/src/main/java/com/azure/messaging/eventhubs/checkpointstore/blob/BlobCheckpointStore.java b/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/src/main/java/com/azure/messaging/eventhubs/checkpointstore/blob/BlobCheckpointStore.java index 5939e88a193e..23e074732d25 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/src/main/java/com/azure/messaging/eventhubs/checkpointstore/blob/BlobCheckpointStore.java +++ b/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/src/main/java/com/azure/messaging/eventhubs/checkpointstore/blob/BlobCheckpointStore.java @@ -17,6 +17,7 @@ import com.azure.storage.blob.models.BlobListDetails; import com.azure.storage.blob.models.BlobItemProperties; import com.azure.storage.blob.models.ListBlobsOptions; +import java.util.List; import java.util.Objects; import java.util.function.Function; import reactor.core.Exceptions; @@ -127,13 +128,13 @@ private Mono convertToCheckpoint(BlobItem blobItem) { * This method is called by the {@link EventProcessorClient} to claim ownership of a list of partitions. This will * return the list of partitions that were owned successfully. * - * @param requestedPartitionOwnerships Array of partition ownerships this instance is requesting to own. + * @param requestedPartitionOwnerships List of partition ownerships this instance is requesting to own. * @return A flux of partitions this instance successfully claimed ownership. */ @Override - public Flux claimOwnership(PartitionOwnership... requestedPartitionOwnerships) { + public Flux claimOwnership(List requestedPartitionOwnerships) { - return Flux.fromArray(requestedPartitionOwnerships).flatMap(partitionOwnership -> { + return Flux.fromIterable(requestedPartitionOwnerships).flatMap(partitionOwnership -> { String partitionId = partitionOwnership.getPartitionId(); String blobName = getBlobName(partitionOwnership.getFullyQualifiedNamespace(), partitionOwnership.getEventHubName(), partitionOwnership.getConsumerGroup(), partitionId, @@ -204,7 +205,14 @@ public Mono updateCheckpoint(Checkpoint checkpoint) { metadata.put(OFFSET, offset); BlobAsyncClient blobAsyncClient = blobClients.get(blobName); - return blobAsyncClient.setMetadata(metadata); + return blobAsyncClient.exists().flatMap(exists -> { + if (exists) { + return blobAsyncClient.setMetadata(metadata); + } else { + return blobAsyncClient.getBlockBlobAsyncClient().uploadWithResponse(Flux.just(UPLOAD_DATA), 0, null, + metadata, null, null, null).then(); + } + }); } private String getBlobPrefix(String fullyQualifiedNamespace, String eventHubName, String consumerGroupName, diff --git a/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/src/samples/java/com/azure/messaging/eventhubs/checkpointstore/blob/BlobCheckpointStoreSample.java b/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/src/samples/java/com/azure/messaging/eventhubs/checkpointstore/blob/BlobCheckpointStoreSample.java index 062cdf4357be..4a57a840f1dd 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/src/samples/java/com/azure/messaging/eventhubs/checkpointstore/blob/BlobCheckpointStoreSample.java +++ b/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/src/samples/java/com/azure/messaging/eventhubs/checkpointstore/blob/BlobCheckpointStoreSample.java @@ -9,6 +9,8 @@ import com.azure.messaging.eventhubs.models.PartitionOwnership; import com.azure.storage.blob.BlobContainerAsyncClient; import com.azure.storage.blob.BlobContainerClientBuilder; +import java.util.ArrayList; +import java.util.List; import java.util.StringJoiner; /** @@ -47,14 +49,14 @@ public static void main(String[] args) throws Exception { .subscribe(etag -> System.out.println(etag), error -> System.out .println(error.getMessage())); - PartitionOwnership[] pos = new PartitionOwnership[5]; + List pos = new ArrayList<>(); for (int i = 0; i < 5; i++) { PartitionOwnership po = new PartitionOwnership() .setEventHubName("abc") .setConsumerGroup("xyz") .setOwnerId("owner1") .setPartitionId(String.valueOf(i)); - pos[i] = po; + pos.add(po); } blobCheckpointStore.claimOwnership(pos).subscribe(BlobCheckpointStoreSample::printPartitionOwnership, System.out::println); diff --git a/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/src/test/java/com/azure/messaging/eventhubs/checkpointstore/blob/BlobEventProcessorClientStoreTest.java b/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/src/test/java/com/azure/messaging/eventhubs/checkpointstore/blob/BlobEventProcessorClientStoreTest.java index 282ee588e1c2..40df3b74448e 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/src/test/java/com/azure/messaging/eventhubs/checkpointstore/blob/BlobEventProcessorClientStoreTest.java +++ b/sdk/eventhubs/azure-messaging-eventhubs-checkpointstore-blob/src/test/java/com/azure/messaging/eventhubs/checkpointstore/blob/BlobEventProcessorClientStoreTest.java @@ -99,6 +99,8 @@ public void testUpdateCheckpoint() { when(blobContainerAsyncClient.getBlobAsyncClient("ns/eh/cg/checkpoint/0")).thenReturn(blobAsyncClient); when(blobContainerAsyncClient.listBlobs(any(ListBlobsOptions.class))).thenReturn(response); + when(blobAsyncClient.getBlockBlobAsyncClient()).thenReturn(blockBlobAsyncClient); + when(blobAsyncClient.exists()).thenReturn(Mono.just(true)); when(blobAsyncClient.setMetadata(ArgumentMatchers.>any())) .thenReturn(Mono.empty()); @@ -123,7 +125,7 @@ public void testClaimOwnership() { .thenReturn(Mono.just(new ResponseBase<>(null, 200, httpHeaders, null, null))); BlobCheckpointStore blobCheckpointStore = new BlobCheckpointStore(blobContainerAsyncClient); - StepVerifier.create(blobCheckpointStore.claimOwnership(po)) + StepVerifier.create(blobCheckpointStore.claimOwnership(Arrays.asList(po))) .assertNext(partitionOwnership -> { assertEquals("owner1", partitionOwnership.getOwnerId()); assertEquals("0", partitionOwnership.getPartitionId()); @@ -157,7 +159,7 @@ public void testUpdateCheckpointError() { Map headers = new HashMap<>(); headers.put("eTag", "etag2"); when(blobContainerAsyncClient.getBlobAsyncClient("ns/eh/cg/checkpoint/0")).thenReturn(blobAsyncClient); - + when(blobAsyncClient.exists()).thenReturn(Mono.just(true)); when(blobAsyncClient.setMetadata(ArgumentMatchers.>any())) .thenReturn(Mono.error(new SocketTimeoutException())); @@ -179,7 +181,7 @@ public void testFailedOwnershipClaim() { any(BlobRequestConditions.class))) .thenReturn(Mono.error(new ResourceModifiedException("Etag did not match", null))); BlobCheckpointStore blobCheckpointStore = new BlobCheckpointStore(blobContainerAsyncClient); - StepVerifier.create(blobCheckpointStore.claimOwnership(po)).verifyComplete(); + StepVerifier.create(blobCheckpointStore.claimOwnership(Arrays.asList(po))).verifyComplete(); } private PartitionOwnership createPartitionOwnership(String fullyQualifiedNamespace, String eventHubName, diff --git a/sdk/eventhubs/azure-messaging-eventhubs/CHANGELOG.md b/sdk/eventhubs/azure-messaging-eventhubs/CHANGELOG.md index 12f6e20fdcc0..bbaa76fca87b 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/CHANGELOG.md +++ b/sdk/eventhubs/azure-messaging-eventhubs/CHANGELOG.md @@ -1,4 +1,20 @@ # Release History +## 5.0.0-beta.6 (2019-12-02) +- Artifact name changed from `preview` to `beta`. +- Producer clients (both sync and async) support sending events only using `EventDataBatch`. All other send overloads are removed. +- Async consumer now supports receiving events from all partitions to help getting started scenarios. +- Sync consumer will only support receiving from a single partition. +- `BatchOptions` is renamed to `CreateBatchOptions`. +- `receive()` methods now return `PartitionEvent` which includes `PartitionContext` and `EventData`. +- Producer and consumer clients now support sharing same amqp connection. +- Removed support for user-provided schedulers. +- Configuration for owner level and ability to track last enqueued event properties are now in `ReceiveOptions` and will +be declared at the time of receiving events and not when the client is created. +- `EventProcessorStore` renamed to `CheckpointStore` and method signatures are updated. +- `EventProcessor` renamed to `EventProcessorClient` and `EventProcessorBuilder` renamed to `EventProcessorClientBuilder`. +- New types introduced to simplify functional callbacks used in `EventProcessorClient`. +- `EventProcessorClient` now supports tracking last enqueued event properties. + ## 5.0.0-preview.5 (2019-11-01) - Separate clients for sending and receiving events. - `EventHubProducerAsyncClient` and `EventHubProduderClient` for sending events. diff --git a/sdk/eventhubs/azure-messaging-eventhubs/README.md b/sdk/eventhubs/azure-messaging-eventhubs/README.md index 02dd87c2f5e0..bd1efca45f11 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/README.md +++ b/sdk/eventhubs/azure-messaging-eventhubs/README.md @@ -23,17 +23,17 @@ documentation][event_hubs_product_docs] | [Samples][sample_examples] - [Table of contents](#table-of-contents) - [Getting started](#getting-started) - - [Default SSL](#default-ssl-library) - [Prerequisites](#prerequisites) - [Adding the package to your product](#adding-the-package-to-your-product) + - [Default SSL library](#default-ssl-library) - [Methods to authorize with Event Hubs](#methods-to-authorize-with-event-hubs) - - [Create an Event Hub client using a connection string](#create-an-event-hub-client-using-a-connection-string) + - [Create an Event Hub producer using a connection string](#create-an-event-hub-producer-using-a-connection-string) - [Create an Event Hub client using Microsoft identity platform (formerly Azure Active Directory)](#create-an-event-hub-client-using-microsoft-identity-platform-formerly-azure-active-directory) - [Key concepts](#key-concepts) - [Examples](#examples) - [Publish events to an Event Hub](#publish-events-to-an-event-hub) - [Consume events from an Event Hub partition](#consume-events-from-an-event-hub-partition) - - [Consume events using an Event Processor](#consume-events-using-an-event-processor) + - [Consume events using an EventProcessorClient](#consume-events-using-an-eventprocessorclient) - [Troubleshooting](#troubleshooting) - [Enable client logging](#enable-client-logging) - [Enable AMQP transport logging](#enable-amqp-transport-logging) @@ -44,17 +44,14 @@ documentation][event_hubs_product_docs] | [Samples][sample_examples] ## Getting started -### Default SSL library -All client libraries, by default, use the Tomcat-native Boring SSL library to enable native-level performance for SSL operations. The Boring SSL library is an uber jar containing native libraries for Linux / macOS / Windows, and provides better performance compared to the default SSL implementation within the JDK. For more information, including how to reduce the dependency size, refer to the [performance tuning][performance_tuning] section of the wiki. - ### Prerequisites - Java Development Kit (JDK) with version 8 or above - [Maven][maven] - Microsoft Azure subscription - - You can create a free account at: https://azure.microsoft.com + - You can create a free account at: https://azure.microsoft.com - Azure Event Hubs instance - - Step-by-step guide for [creating an Event Hub using the Azure Portal][event_hubs_create] + - Step-by-step guide for [creating an Event Hub using the Azure Portal][event_hubs_create] ### Adding the package to your product @@ -68,6 +65,13 @@ All client libraries, by default, use the Tomcat-native Boring SSL library to en ``` [//]: # ({x-version-update-end}) +### Default SSL library +All client libraries, by default, use the Tomcat-native Boring SSL library to enable native-level +performance for SSL operations. The Boring SSL library is an uber jar containing native libraries +for Linux/macOS/Windows, and provides better performance compared to the default SSL +implementation within the JDK. For more information, including how to reduce the dependency size, +refer to the [performance tuning][performance_tuning] section of the wiki. + ### Methods to authorize with Event Hubs For the Event Hubs client library to interact with an Event Hub, it will need to understand how to connect and authorize @@ -79,9 +83,10 @@ The easiest means for doing so is to use a connection string, which is created a namespace. If you aren't familiar with shared access policies in Azure, you may wish to follow the step-by-step guide to [get an Event Hubs connection string][event_hubs_connection_string]. -Both the asynchronous and synchronous Event Hub producer and consumer clients can be created using -`EventHubClientBuilder`. Invoking `.buildAsyncProducer()` and `buildProducer` will build the asynchronous and -synchronous producers. Similarly, `.buildAsyncConsumer` and `.buildConsumer` will build the appropriate consumers. +Both the asynchronous and synchronous Event Hub producer and consumer clients can be created using +`EventHubClientBuilder`. Invoking `buildAsyncProducerClient()` or `buildProducerClient()` will build the asynchronous or +synchronous producers. Similarly, `buildAsyncConsumerClient()` or `buildConsumerClient()` will build the appropriate +consumers. The snippet below creates a synchronous Event Hub producer. @@ -90,7 +95,7 @@ String connectionString = "<< CONNECTION STRING FOR THE EVENT HUBS NAMESPACE >>" String eventHubName = "<< NAME OF THE EVENT HUB >>"; EventHubProducerClient producer = new EventHubClientBuilder() .connectionString(connectionString, eventHubName) - .buildProducer(); + .buildProducerClient(); ``` ### Create an Event Hub client using Microsoft identity platform (formerly Azure Active Directory) @@ -127,11 +132,11 @@ ClientSecretCredential credential = new ClientSecretCredentialBuilder() // The fully qualified namespace for the Event Hubs instance. This is likely to be similar to: // {your-namespace}.servicebus.windows.net -String fullyQualifiedNamespace = "<< EVENT HUBS FULLY QUALIFIED NAMESPACE >>" +String fullyQualifiedNamespace = "my-test-eventhubs.servicebus.windows.net"; String eventHubName = "<< NAME OF THE EVENT HUB >>"; EventHubProducerClient client = new EventHubClientBuilder() .credential(fullyQualifiedNamespace, eventHubName, credential) - .buildProducer(); + .buildProducerClient(); ``` ## Key concepts @@ -162,141 +167,151 @@ are well documented in [OASIS Advanced Messaging Queuing Protocol (AMQP) Version ## Examples -- [Inspect Event Hub and partition properties][sample_get_event_hubs_metadata] -- [Publish an EventDataBatch to an Event Hub][sample_publish_eventdatabatch] -- [Consume events from an Event Hub partition][sample_consume_event] -- [Consume events from all Event Hub partitions][sample_event_processor] - ### Publish events to an Event Hub -In order to publish events, you'll need to create an asynchronous -[`EventHubProducerAsyncClient`][source_eventhubasyncproducerclient] or a synchronous -[`EventHubProducerClient`][source_eventHubProducerClient]. -Each producers can send events to either, a specific partition, or allow the Event Hubs service to decide which -partition events should be published to. It is recommended to use automatic routing when the publishing of events needs -to be highly available or when event data should be distributed evenly among the partitions. In the our example, we will -take advantage of automatic routing. +To publish events, you'll need to create an asynchronous [`EventHubProducerAsyncClient`][EventHubProducerAsyncClient] or +a synchronous [`EventHubProducerClient`][EventHubProducerClient]. Each producer can send events to either, a specific +partition, or allow the Event Hubs service to decide which partition events should be published to. It is recommended to +use automatic routing when the publishing of events needs to be highly available or when event data should be +distributed evenly among the partitions. -#### Event Hub producer creation +#### Create an Event Hub producer and publish events -Developers can create a producer by calling `buildProducer()` or `buildAsyncProducer`. If `buildProducer` is invoked, a -synchronous `EventHubProducerClient` is created. If `buildAsyncProducer` is used, an asynchronous -`EventHubProducerAsyncClient` is returned. +Developers can create a producer by calling `buildAsyncProducerClient()` or `buildProducerClient()`. If +`buildProducerClient()` is invoked, a synchronous `EventHubProducerClient` is created. If `buildAsyncProducerClient()` +is used, an asynchronous `EventHubProducerAsyncClient` is returned. -Specifying `batchOptions.partitionId(String)` will send events to a specific partition, and not, will allow for automatic -routing. In addition, specifying `partitionKey(String)` will tell Event Hubs service to hash the events and send them to -the same partition. +Specifying `CreateBatchOptions.setPartitionId(String)` will send events to a specific partition. If not specified, will +allow for automatic partition routing. In addition, specifying `CreateBatchOptions.setPartitionKey(String)` will tell +Event Hubs service to hash the events and send them to the same partition. -The snippet below creates a synchronous producer and sends events to any partition, allowing Event Hubs service to route the event -to an available partition. +The snippet below creates a synchronous producer and sends events to any partition, allowing Event Hubs service to route +the event to an available partition. ```java EventHubProducerClient producer = new EventHubClientBuilder() .connectionString("<< CONNECTION STRING FOR SPECIFIC EVENT HUB INSTANCE >>") - .buildProducer(); + .buildProducerClient(); + +List allEvents = Arrays.asList(new EventData("Foo"), new EventData("Bar")); EventDataBatch eventDataBatch = producer.createBatch(); -for (EventData eventData : eventDataList) { + +for (EventData eventData : allEvents) { if (!eventDataBatch.tryAdd(eventData)) { producer.send(eventDataBatch); eventDataBatch = producer.createBatch(); + + // Try to add that event that couldn't fit before. + if (!eventDataBatch.tryAdd(eventData)) { + throw new IllegalArgumentException("Event is too large for an empty batch. Max size: " + + eventDataBatch.getMaxSizeInBytes()); + } } } // send the last batch of remaining events -if (eventDataBatch.getSize() > 0) { +if (eventDataBatch.getCount() > 0) { producer.send(eventDataBatch); } ``` -To send events to a particular partition, set the optional parameter `partitionId` on -[`CreateBatchOptions`][source_CreateBatchOptions]. +To send events to a particular partition, set the optional parameter `setPartitionId(String)` on +[`CreateBatchOptions`][CreateBatchOptions]. -#### Partition identifier +#### Publish events using partition identifier Many Event Hub operations take place within the scope of a specific partition. Because partitions are owned by the Event -Hub, their names are assigned at the time of creation. To understand what partitions are available, You can use the -`getPartitionIds` function to get the ids of all available partitions in your Event Hub instance. +Hub, their names are assigned at the time of creation. To understand what partitions are available, you can use the +`getPartitionIds()` function to get the ids of all available partitions in your Event Hub instance. All clients created +using `EventHubsClientBuilder` can query for metadata about the Event Hub using `getPartitionIds()` or +`getEventHubProperties()`. ```java -IterableStream partitionIds = client.getPartitionIds(); +EventHubProducerClient producer = new EventHubClientBuilder() + .connectionString("<< CONNECTION STRING FOR SPECIFIC EVENT HUB INSTANCE >>") + .buildProducerClient(); + +CreateBatchOptions options = new CreateBatchOptions().setPartitionId("0"); +EventDataBatch batch = producer.createBatch(options); + +// Add events to batch and when you want to send the batch, send it using the producer. +producer.send(batch); ``` -#### Partition key +#### Publish events using partition key When an Event Hub producer is not associated with any specific partition, it may be desirable to request that the Event Hubs service keep different events or batches of events together on the same partition. This can be accomplished by setting a `partition key` when publishing the events. ```java -CreateBatchOptions batchOptions = new CreateBatchOptions() - .partitionKey("grouping-key"); +CreateBatchOptions batchOptions = new CreateBatchOptions().setPartitionKey("grouping-key"); EventDataBatch eventDataBatch = producer.createBatch(batchOptions); -// add events to eventDataBatch + +// Add events to batch and when you want to send the batch, send it using the producer. producer.send(eventDataBatch); ``` ### Consume events from an Event Hub partition -In order to consume events, you'll need to create an `EventHubAsyncConsumer` or `EventHubConsumer` for a specific -partition and consumer group combination. When an Event Hub is created, it starts with a default consumer group that can -be used to get started. A consumer also needs to specify where in the event stream to begin receiving events; in our -example, we will focus on reading new events as they are published. +In order to consume events, you'll need to create an [`EventHubConsumerAsyncClient`][EventHubConsumerAsyncClient] or +[`EventHubConsumerClient`][EventHubConsumerClient] for a specific consumer group. When an Event Hub is created, it +starts with a default consumer group that can be used to get started. A consumer also needs to specify where in the +event stream to begin receiving events. -#### Consume events with EventHubAsyncConsumer +#### Consume events with EventHubConsumerAsyncClient In the snippet below, we are creating an asynchronous consumer that receives events from `partitionId` and only listens -to newest events that get pushed to the partition using `receive(String partitionId)`. Developers can begin receiving -events by calling `.receive(String partitionId)` and subscribing to the stream. +to newest events that get pushed to the partition by invoking `receiveFromPartition(String, EventPosition)`. Developers +can begin receiving events from multiple partitions using the same EventHubConsumerAsyncClient by calling +`receiveFromPartition(String, EventPosition)` with another partition id, and subscribing to that Flux. ```java -EventHubAsyncConsumer client = new EventHubClientBuilder() +EventHubConsumerAsyncClient consumer = new EventHubClientBuilder() .connectionString("<< CONNECTION STRING FOR SPECIFIC EVENT HUB INSTANCE >>") - .consumerGroup(EventHubAsyncClient.DEFAULT_CONSUMER_GROUP_NAME) - .startingPosition(EventPosition.earliest()) - .buildAsyncConsumer(); + .consumerGroup(EventHubClientBuilder.DEFAULT_CONSUMER_GROUP_NAME) + .buildAsyncConsumerClient(); -consumer.receive(partitionId).subscribe(event -> { +// Receive events from partition with id "0", only getting events that are newly added to the partition. +consumer.receiveFromPartition("0", EventPosition.latest()).subscribe(event -> { // Process each event as it arrives. }); ``` -#### Consume events with EventHubConsumer +#### Consume events with EventHubConsumerClient -Developers can create a synchronous consumer that returns events in batches using an `EventHubAsyncConsumer`. In the +Developers can create a synchronous consumer that returns events in batches using an `EventHubConsumerClient`. In the snippet below, a consumer is created that starts reading events from the beginning of the partition's event stream. ```java -EventHubConsumer client = new EventHubClientBuilder() +EventHubConsumerClient consumer = new EventHubClientBuilder() .connectionString("<< CONNECTION STRING FOR SPECIFIC EVENT HUB INSTANCE >>") - .consumerGroup(EventHubAsyncClient.DEFAULT_CONSUMER_GROUP_NAME) - .startingPosition(EventPosition.earliest()) - .buildConsumer(); + .consumerGroup(EventHubClientBuilder.DEFAULT_CONSUMER_GROUP_NAME) + .buildConsumerClient(); String partitionId = "<< EVENT HUB PARTITION ID >>"; // Get the first 15 events in the stream, or as many events as can be received within 40 seconds. -IterableStream events = consumer.receive(partitionId, 15, Duration.ofSeconds(40)); -for (EventData event : events) { - // Process each event +IterableStream events = consumer.receiveFromPartition(partitionId, 15, + EventPosition.earliest(), Duration.ofSeconds(40)); +for (PartitionEvent event : events) { + System.out.println("Event: " + event.getData().getBodyAsString()); } - -// Calling receive again returns the next 15 events in the stream, or as many as possible in 40 seconds. -IterableStream nextEvents = consumer.receive(partitionId, 15, Duration.ofSeconds(40)); ``` -### Consume events using an Event Processor Client +### Consume events using an EventProcessorClient -To consume events for all partitions of an Event Hub, you'll create an [`EventProcessorClient`][source_eventprocessorclient] for a -specific consumer group. When an Event Hub is created, it provides a default consumer group that can be used to get -started. +To consume events for all partitions of an Event Hub, you'll create an [`EventProcessorClient`][EventProcessorClient] +for a specific consumer group. When an Event Hub is created, it provides a default consumer group that can be used to +get started. -The [`EventProcessorClient`][source_eventprocessorclient] will delegate processing of events to a callback function that you -provide, allowing you to focus on the logic needed to provide value while the processor holds responsibility for +The [`EventProcessorClient`][EventProcessorClient] will delegate processing of events to a callback function that you +provide, allowing you to focus on the logic needed to provide value while the processor holds responsibility for managing the underlying consumer operations. -In our example, we will focus on building the [`EventProcessorClient`][source_eventprocessorclient], use the -[`InMemoryCheckpointStore`][source_inmemorycheckpointstore] available in samples, and a callback function that -processes events received from the Event Hub and writes to console. +In our example, we will focus on building the [`EventProcessorClient`][EventProcessorClient], use the +[`InMemoryCheckpointStore`][InMemoryCheckpointStore] available in samples, and a callback function that processes events +received from the Event Hub and writes to console. ```java class Program { @@ -316,9 +331,9 @@ class Program { // This will start the processor. It will start processing events from all partitions. eventProcessorClient.start(); - + // (for demo purposes only - adding sleep to wait for receiving events) - TimeUnit.SECONDS.sleep(2); + TimeUnit.SECONDS.sleep(2); // When the user wishes to stop processing events, they can call `stop()`. eventProcessorClient.stop(); @@ -332,7 +347,7 @@ class Program { You can set the `AZURE_LOG_LEVEL` environment variable to view logging statements made in the client library. For example, setting `AZURE_LOG_LEVEL=2` would show all informational, warning, and error log messages. The log levels can -be found here: [log levels][source_loglevels]. +be found here: [log levels][LogLevels]. ### Enable AMQP transport logging @@ -364,17 +379,17 @@ This is a general exception for AMQP related failures, which includes the AMQP e that caused this exception as ErrorContext. 'isTransient' is a boolean indicating if the exception is a transient error or not. If true, then the request can be retried; otherwise not. -The [ErrorCondition][source_errorcondition] contains error conditions common to the AMQP protocol and used by Azure +[`AmqpErrorCondition`][AmqpErrorCondition] contains error conditions common to the AMQP protocol and used by Azure services. When an AMQP exception is thrown, examining the error condition field can inform developers as to why the AMQP exception occurred and if possible, how to mitigate this exception. A list of all the AMQP exceptions can be found in [OASIS AMQP Version 1.0 Transport Errors][oasis_amqp_v1_error]. -The [ErrorContext][source_errorcontext] in the [AmqpException][source_amqpexception] provides information about the AMQP +The [`AmqpErrorContext`][AmqpErrorContext] in the [`AmqpException`][AmqpException] provides information about the AMQP session, link, or connection that the exception occurred in. This is useful to diagnose which level in the transport this exception occurred at and whether it was an issue in one of the producers or consumers. -The recommended way to solve the specific exception the AMQP exception represents is to follow the [Event Hubs Messaging -Exceptions][event_hubs_messaging_exceptions] guidance. +The recommended way to solve the specific exception the AMQP exception represents is to follow the +[Event Hubs Messaging Exceptions][event_hubs_messaging_exceptions] guidance. #### Operation cancelled exception @@ -400,12 +415,14 @@ advantage of the full feature set of the Azure Event Hubs service. In order to h the following set of sample is available: - [Inspect Event Hub and partition properties][sample_get_event_hubs_metadata] -- [Publish an event batch to an Event Hub][sample_publish_eventdatabatch] +- [Publish events using Microsoft identity platform][sample_publish_identity] - [Publish events to a specific Event Hub partition with partition identifier][sample_publish_partitionId] - [Publish events to a specific Event Hub partition with partition key][sample_publish_partitionKey] +- [Publish events to an Event Hub with a size-limited batch][sample_publish_size_limited] - [Publish events with custom metadata][sample_publish_custom_metadata] - [Consume events from an Event Hub partition][sample_consume_event] -- [Save the last read event and resume from that point][sample_sequence_number] +- [Consume events starting from an event sequence number][sample_consume_sequence_number] +- [Consume events from all partitions using EventProcessorClient][sample_event_processor] ## Contributing @@ -429,26 +446,27 @@ Guidelines](./CONTRIBUTING.md) for more information. [oasis_amqp_v1]: http://docs.oasis-open.org/amqp/core/v1.0/os/amqp-core-overview-v1.0-os.html [performance_tuning]: https://github.com/Azure/azure-sdk-for-java/wiki/Performance-Tuning [qpid_proton_j_apache]: http://qpid.apache.org/proton/ -[sample_consume_event]: ./src/samples/java/com/azure/messaging/eventhubs/ConsumeEvent.java -[sample_event_processor]: ./src/samples/java/com/azure/messaging/eventhubs/EventProcessorSample.java [sample_examples]: ./src/samples/java/com/azure/messaging/eventhubs/ +[sample_consume_event]: ./src/samples/java/com/azure/messaging/eventhubs/ConsumeEvents.java +[sample_consume_sequence_number]: ./src/samples/java/com/azure/messaging/eventhubs/ConsumeEventsFromKnownSequenceNumberPosition.java +[sample_event_processor]: ./src/samples/java/com/azure/messaging/eventhubs/EventProcessorSample.java [sample_get_event_hubs_metadata]: ./src/samples/java/com/azure/messaging/eventhubs/GetEventHubMetadata.java [sample_publish_custom_metadata]: ./src/samples/java/com/azure/messaging/eventhubs/PublishEventsWithCustomMetadata.java -[sample_publish_eventdatabatch]: ./src/samples/java/com/azure/messaging/eventhubs/PublishEventDataBatch.java +[sample_publish_identity]: ./src/samples/java/com/azure/messaging/eventhubs/PublishEventsWithAzureIdentity.java [sample_publish_partitionId]: ./src/samples/java/com/azure/messaging/eventhubs/PublishEventsToSpecificPartition.java [sample_publish_partitionKey]: ./src/samples/java/com/azure/messaging/eventhubs/PublishEventsWithPartitionKey.java -[sample_sequence_number]: ./src/samples/java/com/azure/messaging/eventhubs/ConsumeEventsFromKnownSequenceNumberPosition.java -[source_amqpexception]: ../../core/azure-core-amqp/src/main/java/com/azure/core/amqp/exception/AmqpException.java +[sample_publish_size_limited]: ./src/samples/java/com/azure/messaging/eventhubs/PublishEventsWithSizeLimitedBatches.java [source_code]: ./ -[source_errorcondition]: ../../core/azure-core-amqp/src/main/java/com/azure/core/amqp/exception/ErrorCondition.java -[source_errorcontext]: ../../core/azure-core-amqp/src/main/java/com/azure/core/amqp/exception/ErrorContext.java -[source_eventhubasyncclient]: ./src/main/java/com/azure/messaging/eventhubs/EventHubAsyncClient.java -[source_eventhubasyncproducerclient]: ./src/main/java/com/azure/messaging/eventhubs/EventHubProducerAsyncClient.java -[source_eventhubclient]: ./src/main/java/com/azure/messaging/eventhubs/EventHubClient.java -[source_eventHubProducerClient]: ./src/main/java/com/azure/messaging/eventhubs/EventHubProducerClient.java -[source_eventprocessorclient]: ./src/main/java/com/azure/messaging/eventhubs/EventProcessorClient.java -[source_CreateBatchOptions]: ./src/main/java/com/azure/messaging/eventhubs/models/CreateBatchOptions.java -[source_inmemorycheckpointstore]: ./src/samples/java/com/azure/messaging/eventhubs/InMemoryCheckpointStore.java -[source_loglevels]: ../../core/azure-core/src/main/java/com/azure/core/util/logging/ClientLogger.java +[AmqpException]: ../../core/azure-core-amqp/src/main/java/com/azure/core/amqp/exception/AmqpException.java +[AmqpErrorCondition]: ../../core/azure-core-amqp/src/main/java/com/azure/core/amqp/exception/AmqpErrorCondition.java +[AmqpErrorContext]: ../../core/azure-core-amqp/src/main/java/com/azure/core/amqp/exception/AmqpErrorContext.java +[EventHubConsumerAsyncClient]: ./src/main/java/com/azure/messaging/eventhubs/EventHubConsumerAsyncClient.java +[EventHubConsumerClient]: ./src/main/java/com/azure/messaging/eventhubs/EventHubConsumerClient.java +[EventHubProducerAsyncClient]: ./src/main/java/com/azure/messaging/eventhubs/EventHubProducerAsyncClient.java +[EventHubProducerClient]: ./src/main/java/com/azure/messaging/eventhubs/EventHubProducerClient.java +[EventProcessorClient]: ./src/main/java/com/azure/messaging/eventhubs/EventProcessorClient.java +[CreateBatchOptions]: ./src/main/java/com/azure/messaging/eventhubs/models/CreateBatchOptions.java +[InMemoryCheckpointStore]: ./src/samples/java/com/azure/messaging/eventhubs/InMemoryCheckpointStore.java +[LogLevels]: ../../core/azure-core/src/main/java/com/azure/core/util/logging/ClientLogger.java ![Impressions](https://azure-sdk-impressions.azurewebsites.net/api/impressions/azure-sdk-for-java%2Fsdk%2Feventhubs%2Fazure-messaging-eventhubs%2FREADME.png) diff --git a/sdk/eventhubs/azure-messaging-eventhubs/pom.xml b/sdk/eventhubs/azure-messaging-eventhubs/pom.xml index c0994d2cc4dc..79ebeb999013 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/pom.xml +++ b/sdk/eventhubs/azure-messaging-eventhubs/pom.xml @@ -8,7 +8,7 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../../pom.client.xml @@ -37,7 +37,7 @@ com.azure azure-core - 1.1.0-beta.1 + 1.1.0 com.azure @@ -61,31 +61,37 @@ org.junit.jupiter junit-jupiter-api + 5.4.2 test org.junit.jupiter junit-jupiter-engine + 5.4.2 test org.junit.jupiter junit-jupiter-params + 5.4.2 test org.slf4j slf4j-simple + 1.7.25 test io.projectreactor reactor-test + 3.3.0.RELEASE test org.mockito mockito-core + 3.0.0 test diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/CheckpointStore.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/CheckpointStore.java index 0126fae6aa35..b683d1835cd7 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/CheckpointStore.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/CheckpointStore.java @@ -5,6 +5,7 @@ import com.azure.messaging.eventhubs.models.Checkpoint; import com.azure.messaging.eventhubs.models.PartitionOwnership; +import java.util.List; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -31,10 +32,10 @@ Flux listOwnership(String fullyQualifiedNamespace, String ev * Called to claim ownership of a list of partitions. This will return the list of partitions that were owned * successfully. * - * @param requestedPartitionOwnerships Array of partition ownerships this instance is requesting to own. + * @param requestedPartitionOwnerships List of partition ownerships this instance is requesting to own. * @return A flux of partitions this instance successfully claimed ownership. */ - Flux claimOwnership(PartitionOwnership... requestedPartitionOwnerships); + Flux claimOwnership(List requestedPartitionOwnerships); /** * Called to get the list of checkpoints from the underlying data store. This method could return empty results if diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventData.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventData.java index 6b710b63996d..3483c51ae712 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventData.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventData.java @@ -117,9 +117,9 @@ public EventData(String body) { } /** - * The set of free-form event properties which may be used for passing metadata associated with the event with the - * event body during Event Hubs operations. A common use-case for {@code properties()} is to associate serialization - * hints for the {@link #getBody()} as an aid to consumers who wish to deserialize the binary data. + * Gets the set of free-form event properties which may be used for passing metadata associated with the event with + * the event body during Event Hubs operations. A common use-case for {@code properties()} is to associate + * serialization hints for the {@link #getBody()} as an aid to consumers who wish to deserialize the binary data. * *

Adding serialization hint using {@code getProperties()}

*

In the sample, the type of telemetry is indicated by adding an application property with key "eventType".

@@ -136,8 +136,8 @@ public Map getProperties() { * Properties that are populated by Event Hubs service. As these are populated by the Event Hubs service, they are * only present on a received {@link EventData}. * - * @return an encapsulation of all SystemProperties appended by EventHubs service into EventData. {@code null} if - * the {@link EventData} is not received and is created by the public constructors. + * @return An encapsulation of all system properties appended by EventHubs service into {@link EventData}. + * {@code null} if the {@link EventData} is not received from the Event Hubs service. */ public Map getSystemProperties() { return systemProperties; @@ -152,7 +152,7 @@ public Map getSystemProperties() { * wish to deserialize the binary data. *

* - * @return ByteBuffer representing the data. + * @return A byte array representing the data. */ public byte[] getBody() { return Arrays.copyOf(body, body.length); @@ -168,7 +168,8 @@ public String getBodyAsString() { } /** - * Gets the offset of the event when it was received from the associated Event Hub partition. + * Gets the offset of the event when it was received from the associated Event Hub partition. This is only present + * on a received {@link EventData}. * * @return The offset within the Event Hub partition of the received event. {@code null} if the {@link EventData} * was not received from Event Hubs service. @@ -178,8 +179,9 @@ public Long getOffset() { } /** - * Gets a partition key used for message partitioning. If it exists, this value was used to compute a hash to select - * a partition to send the message to. + * Gets the partition hashing key if it was set when originally publishing the event. If it exists, this value was + * used to compute a hash to select a partition to send the message to. This is only present on a received + * {@link EventData}. * * @return A partition key for this Event Data. {@code null} if the {@link EventData} was not received from Event * Hubs service or there was no partition key set when the event was sent to the Event Hub. @@ -189,7 +191,8 @@ public String getPartitionKey() { } /** - * Gets the instant, in UTC, of when the event was enqueued in the Event Hub partition. + * Gets the instant, in UTC, of when the event was enqueued in the Event Hub partition. This is only present on a + * received {@link EventData}. * * @return The instant, in UTC, this was enqueued in the Event Hub partition. {@code null} if the {@link EventData} * was not received from Event Hubs service. @@ -200,7 +203,8 @@ public Instant getEnqueuedTime() { /** * Gets the sequence number assigned to the event when it was enqueued in the associated Event Hub partition. This - * is unique for every message received in the Event Hub partition. + * is unique for every message received in the Event Hub partition. This is only present on a received + * {@link EventData}. * * @return The sequence number for this event. {@code null} if the {@link EventData} was not received from Event * Hubs service. diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubClientBuilder.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubClientBuilder.java index 2d58770fcc09..ac1d1366f5e2 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubClientBuilder.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubClientBuilder.java @@ -8,7 +8,7 @@ import com.azure.core.amqp.ProxyAuthenticationType; import com.azure.core.amqp.ProxyOptions; import com.azure.core.amqp.implementation.AzureTokenManagerProvider; -import com.azure.core.amqp.implementation.CBSAuthorizationType; +import com.azure.core.amqp.implementation.CbsAuthorizationType; import com.azure.core.amqp.implementation.ConnectionOptions; import com.azure.core.amqp.implementation.ConnectionStringProperties; import com.azure.core.amqp.implementation.MessageSerializer; @@ -73,7 +73,7 @@ *

In the sample, the namespace connection string is used to create a synchronous Event Hub consumer. Notice that * {@code "EntityPath"} is in the connection string.

* - * {@codesnippet com.azure.messaging.eventhubs.eventhubconsumerasyncclient.instantiation} + * {@codesnippet com.azure.messaging.eventhubs.eventhubconsumerclient.instantiation} * *

Creating producers and consumers that share the same connection

*

By default, a dedicated connection is created for each producer and consumer created from the builder. If users @@ -81,8 +81,10 @@ * * {@codesnippet com.azure.messaging.eventhubs.eventhubclientbuilder.instantiation} * - * @see EventHubClient - * @see EventHubAsyncClient + * @see EventHubProducerAsyncClient + * @see EventHubProducerClient + * @see EventHubConsumerAsyncClient + * @see EventHubConsumerClient */ @ServiceClientBuilder(serviceClients = {EventHubProducerAsyncClient.class, EventHubProducerClient.class, EventHubConsumerAsyncClient.class, EventHubConsumerClient.class}) @@ -343,6 +345,21 @@ public EventHubClientBuilder prefetchCount(int prefetchCount) { return this; } + /** + * Package-private method that sets the scheduler for the created Event Hub client. + * + * TODO (conniey): Currently, the default is to use an elastic scheduler if none is specified to facilitate the + * possibility of legacy blocking code. However, we should consider if we should give consumers an option to use a + * parallel Scheduler. https://github.com/Azure/azure-sdk-for-java/issues/5466 + * + * @param scheduler Scheduler to set. + * @return The updated {@link EventHubClientBuilder} object. + */ + EventHubClientBuilder scheduler(Scheduler scheduler) { + this.scheduler = scheduler; + return this; + } + /** * Creates a new {@link EventHubConsumerAsyncClient} based on the options set on this builder. Every time * {@code buildAsyncConsumer()} is invoked, a new instance of {@link EventHubConsumerAsyncClient} is created. @@ -532,9 +549,9 @@ private ConnectionOptions getConnectionOptions() { proxyOptions = getDefaultProxyConfiguration(configuration); } - final CBSAuthorizationType authorizationType = credentials instanceof EventHubSharedKeyCredential - ? CBSAuthorizationType.SHARED_ACCESS_SIGNATURE - : CBSAuthorizationType.JSON_WEB_TOKEN; + final CbsAuthorizationType authorizationType = credentials instanceof EventHubSharedKeyCredential + ? CbsAuthorizationType.SHARED_ACCESS_SIGNATURE + : CbsAuthorizationType.JSON_WEB_TOKEN; return new ConnectionOptions(fullyQualifiedNamespace, eventHubName, credentials, authorizationType, transport, retryOptions, proxyOptions, scheduler); diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubConnection.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubConnection.java index 06a3d3931735..4b4c41c76797 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubConnection.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubConnection.java @@ -6,7 +6,6 @@ import com.azure.core.amqp.AmqpConnection; import com.azure.core.amqp.AmqpRetryOptions; import com.azure.core.amqp.AmqpRetryPolicy; -import com.azure.core.amqp.exception.AmqpErrorContext; import com.azure.core.amqp.exception.AmqpException; import com.azure.core.amqp.implementation.AmqpReceiveLink; import com.azure.core.amqp.implementation.AmqpSendLink; @@ -21,7 +20,6 @@ import reactor.core.publisher.Mono; import java.io.Closeable; -import java.io.IOException; import java.util.concurrent.atomic.AtomicBoolean; /** @@ -81,6 +79,7 @@ Mono getManagementNode() { * @param linkName The name of the link. * @param entityPath The remote address to connect to for the message broker. * @param retryOptions Options to use when creating the link. + * * @return A new or existing send link that is connected to the given {@code entityPath}. */ Mono createSendLink(String linkName, String entityPath, AmqpRetryOptions retryOptions) { @@ -95,17 +94,18 @@ Mono createSendLink(String linkName, String entityPath, AmqpRetryO } /** - * Creates or gets an existing receive link. The same link is returned if there is an existing receive link with - * the same {@code linkName}. Otherwise, a new link is created and returned. + * Creates or gets an existing receive link. The same link is returned if there is an existing receive link with the + * same {@code linkName}. Otherwise, a new link is created and returned. * * @param linkName The name of the link. * @param entityPath The remote address to connect to for the message broker. * @param eventPosition Position to set the receive link to. * @param options Consumer options to use when creating the link. + * * @return A new or existing receive link that is connected to the given {@code entityPath}. */ Mono createReceiveLink(String linkName, String entityPath, EventPosition eventPosition, - ReceiveOptions options) { + ReceiveOptions options) { return currentConnection.flatMap(connection -> connection.createSession(entityPath).cast(EventHubSession.class)) .flatMap(session -> { logger.verbose("Creating consumer for path: {}", entityPath); @@ -123,21 +123,17 @@ Mono createReceiveLink(String linkName, String entityPath, Even */ @Override public void close() { - if (hasConnection.getAndSet(false)) { - try { - final AmqpConnection connection = currentConnection.block(connectionOptions.getRetry().getTryTimeout()); - if (connection != null) { - connection.close(); - } - - if (connectionOptions.getScheduler() != null && !connectionOptions.getScheduler().isDisposed()) { - connectionOptions.getScheduler().dispose(); - } - } catch (IOException exception) { - throw logger.logExceptionAsError( - new AmqpException(false, "Unable to close connection to service", exception, - new AmqpErrorContext(connectionOptions.getFullyQualifiedNamespace()))); - } + if (!hasConnection.getAndSet(false)) { + return; + } + + final AmqpConnection connection = currentConnection.block(connectionOptions.getRetry().getTryTimeout()); + if (connection != null) { + connection.close(); + } + + if (connectionOptions.getScheduler() != null && !connectionOptions.getScheduler().isDisposed()) { + connectionOptions.getScheduler().dispose(); } } } diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubConsumerAsyncClient.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubConsumerAsyncClient.java index 3190620dc142..2dbd09b4b6c6 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubConsumerAsyncClient.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubConsumerAsyncClient.java @@ -12,7 +12,6 @@ import com.azure.core.util.logging.ClientLogger; import com.azure.messaging.eventhubs.implementation.EventHubManagementNode; import com.azure.messaging.eventhubs.models.EventPosition; -import com.azure.messaging.eventhubs.models.PartitionContext; import com.azure.messaging.eventhubs.models.PartitionEvent; import com.azure.messaging.eventhubs.models.ReceiveOptions; import reactor.core.publisher.BaseSubscriber; @@ -20,7 +19,6 @@ import reactor.core.publisher.Mono; import java.io.Closeable; -import java.io.IOException; import java.util.Locale; import java.util.Objects; import java.util.concurrent.ConcurrentHashMap; @@ -30,31 +28,28 @@ import static com.azure.core.util.FluxUtil.monoError; /** - * A consumer responsible for reading {@link EventData} from a specific Event Hub partition in the context of a specific - * consumer group. + * An asynchronous consumer responsible for reading {@link EventData} from either a specific Event Hub partition + * or all partitions in the context of a specific consumer group. * *

Creating an {@link EventHubConsumerAsyncClient}

- *

Required parameters are {@code consumerGroup}, and credentials are required when - * creating a consumer.

* {@codesnippet com.azure.messaging.eventhubs.eventhubconsumerasyncclient.instantiation} * *

Consuming events a single partition from Event Hub

* {@codesnippet com.azure.messaging.eventhubs.eventhubconsumerasyncclient.receive#string-eventposition} * - *

Rate limiting consumption of events from Event Hub

- *

For event consumers that need to limit the number of events they receive at a given time, they can use {@link - * BaseSubscriber#request(long)}.

- * {@codesnippet com.azure.messaging.eventhubs.eventhubconsumerasyncclient.receive#string-eventposition-basesubscriber} - * *

Viewing latest partition information

*

Latest partition information as events are received can by setting * {@link ReceiveOptions#setTrackLastEnqueuedEventProperties(boolean) setTrackLastEnqueuedEventProperties} to - * {@code true}. As events come in, explore the {@link PartitionContext} object. - * {@codesnippet com.azure.messaging.eventhubs.eventhubconsumerasyncclient.receive#boolean-receiveoptions} + * {@code true}. As events come in, explore the {@link PartitionEvent} object. + * {@codesnippet com.azure.messaging.eventhubs.eventhubconsumerasyncclient.receiveFromPartition#string-eventposition-receiveoptions} + * + *

Rate limiting consumption of events from Event Hub

+ *

For event consumers that need to limit the number of events they receive at a given time, they can use + * {@link BaseSubscriber#request(long)}.

+ * {@codesnippet com.azure.messaging.eventhubs.eventhubconsumerasyncclient.receive#string-eventposition-basesubscriber} * *

Receiving from all partitions

* {@codesnippet com.azure.messaging.eventhubs.eventhubconsumerasyncclient.receive#boolean} - * */ @ServiceClient(builder = EventHubClientBuilder.class, isAsync = true) public class EventHubConsumerAsyncClient implements Closeable { @@ -71,9 +66,8 @@ public class EventHubConsumerAsyncClient implements Closeable { private final int prefetchCount; private final boolean isSharedConnection; /** - * Keeps track of the open partition consumers keyed by linkName. The link name is generated as: - * {@code "partitionId_GUID"}. For receiving from all partitions, links are prefixed with - * {@code "all-GUID-partitionId"}. + * Keeps track of the open partition consumers keyed by linkName. The link name is generated as: {@code + * "partitionId_GUID"}. For receiving from all partitions, links are prefixed with {@code "all-GUID-partitionId"}. */ private final ConcurrentHashMap openPartitionConsumers = new ConcurrentHashMap<>(); @@ -143,6 +137,8 @@ public Flux getPartitionIds() { * @param partitionId The unique identifier of a partition associated with the Event Hub. * * @return The set of information for the requested partition under the Event Hub this client is associated with. + * + * @throws NullPointerException if {@code partitionId} is null. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getPartitionProperties(String partitionId) { @@ -171,15 +167,15 @@ public Flux receiveFromPartition(String partitionId, EventPositi } /** - * Consumes events from a single partition starting at {@code startingPosition} with a set of - * {@link ReceiveOptions receive options}. + * Consumes events from a single partition starting at {@code startingPosition} with a set of {@link ReceiveOptions + * receive options}. * *
    *
  • If receive is invoked where {@link ReceiveOptions#getOwnerLevel()} has a value, then Event Hubs service will - * guarantee only one active consumer exists per partitionId and consumer group combination. This consumer is - * sometimes referred to as an "Epoch Consumer."
  • + * guarantee only one active consumer exists per partitionId and consumer group combination. This receive operation + * is sometimes referred to as an "Epoch Consumer". *
  • Multiple consumers per partitionId and consumer group combination can be created by not setting - * {@link ReceiveOptions#getOwnerLevel()} when creating consumers. This non-exclusive consumer is sometimes + * {@link ReceiveOptions#getOwnerLevel()} when invoking receive operations. This non-exclusive consumer is sometimes * referred to as a "Non-Epoch Consumer."
  • *
* @@ -190,7 +186,8 @@ public Flux receiveFromPartition(String partitionId, EventPositi * @return A stream of events for this partition. If a stream for the events was opened before, the same position * within that partition is returned. Otherwise, events are read starting from {@code startingPosition}. * - * @throws NullPointerException if {@code partitionId}, {@code startingPosition}, {@code receiveOptions} is null. + * @throws NullPointerException if {@code partitionId}, {@code startingPosition}, {@code receiveOptions} is + * null. * @throws IllegalArgumentException if {@code partitionId} is an empty string. */ public Flux receiveFromPartition(String partitionId, EventPosition startingPosition, @@ -212,17 +209,16 @@ public Flux receiveFromPartition(String partitionId, EventPositi /** * Consumes events from all partitions starting from the beginning of each partition. * - *

- * This method is not recommended for production use; the {@link EventProcessorClient} should be used for reading - * events from all partitions in a production scenario, as it offers a much more robust experience with higher - * throughput. + *

This method is not recommended for production use; the {@link EventProcessorClient} should be used for + * reading events from all partitions in a production scenario, as it offers a much more robust experience with + * higher throughput. * * It is important to note that this method does not guarantee fairness amongst the partitions. Depending on service * communication, there may be a clustering of events per partition and/or there may be a noticeable bias for a - * given partition or subset of partitions. - *

+ * given partition or subset of partitions.

* - * @return A stream of events for every partition in the Event Hub starting from {@code startingPosition}. + * + * @return A stream of events for every partition in the Event Hub starting from the beginning of each partition. */ public Flux receive() { return receive(true, defaultReceiveOptions); @@ -231,18 +227,17 @@ public Flux receive() { /** * Consumes events from all partitions. * - *

- * This method is not recommended for production use; the {@link EventProcessorClient} should be used for reading - * events from all partitions in a production scenario, as it offers a much more robust experience with higher - * throughput. + *

This method is not recommended for production use; the {@link EventProcessorClient} should be used for + * reading events from all partitions in a production scenario, as it offers a much more robust experience with + * higher throughput. * * It is important to note that this method does not guarantee fairness amongst the partitions. Depending on service * communication, there may be a clustering of events per partition and/or there may be a noticeable bias for a - * given partition or subset of partitions. - *

+ * given partition or subset of partitions.

* - * @param startReadingAtEarliestEvent {@code true} to begin reading at the first events available in each partition; - * otherwise, reading will begin at the end of each partition seeing only new events as they are published. + * @param startReadingAtEarliestEvent {@code true} to begin reading at the first events available in each + * partition; otherwise, reading will begin at the end of each partition seeing only new events as they are + * published. * * @return A stream of events for every partition in the Event Hub. */ @@ -251,20 +246,28 @@ public Flux receive(boolean startReadingAtEarliestEvent) { } /** - * Consumes events from all partitions. + * Consumes events from all partitions configured with a set of {@code receiveOptions}. * - *

- * This method is not recommended for production use; the {@link EventProcessorClient} should be used for reading - * events from all partitions in a production scenario, as it offers a much more robust experience with higher - * throughput. + *

This method is not recommended for production use; the {@link EventProcessorClient} should be used for + * reading events from all partitions in a production scenario, as it offers a much more robust experience with + * higher throughput. * * It is important to note that this method does not guarantee fairness amongst the partitions. Depending on service * communication, there may be a clustering of events per partition and/or there may be a noticeable bias for a - * given partition or subset of partitions. - *

+ * given partition or subset of partitions.

* - * @param startReadingAtEarliestEvent {@code true} to begin reading at the first events available in each partition; - * otherwise, reading will begin at the end of each partition seeing only new events as they are published. + *
    + *
  • If receive is invoked where {@link ReceiveOptions#getOwnerLevel()} has a value, then Event Hubs service will + * guarantee only one active consumer exists per partitionId and consumer group combination. This receive operation + * is sometimes referred to as an "Epoch Consumer".
  • + *
  • Multiple consumers per partitionId and consumer group combination can be created by not setting + * {@link ReceiveOptions#getOwnerLevel()} when invoking receive operations. This non-exclusive consumer is sometimes + * referred to as a "Non-Epoch Consumer."
  • + *
+ * + * @param startReadingAtEarliestEvent {@code true} to begin reading at the first events available in each + * partition; otherwise, reading will begin at the end of each partition seeing only new events as they are + * published. * @param receiveOptions Options when receiving events from each Event Hub partition. * * @return A stream of events for every partition in the Event Hub. @@ -294,24 +297,19 @@ public Flux receive(boolean startReadingAtEarliestEvent, Receive */ @Override public void close() { - if (!isDisposed.getAndSet(true)) { - openPartitionConsumers.forEach((key, value) -> { - try { - value.close(); - } catch (IOException e) { - logger.warning("Exception occurred while closing consumer for partition '{}'", key, e); - } - }); - openPartitionConsumers.clear(); + if (isDisposed.getAndSet(true)) { + return; + } + openPartitionConsumers.forEach((key, value) -> value.close()); + openPartitionConsumers.clear(); - if (!isSharedConnection) { - connection.close(); - } + if (!isSharedConnection) { + connection.close(); } } private Flux createConsumer(String linkName, String partitionId, EventPosition startingPosition, - ReceiveOptions receiveOptions) { + ReceiveOptions receiveOptions) { return openPartitionConsumers .computeIfAbsent(linkName, name -> { logger.info("{}: Creating receive consumer for partition '{}'", linkName, partitionId); @@ -324,11 +322,7 @@ private Flux createConsumer(String linkName, String partitionId, final EventHubPartitionAsyncConsumer consumer = openPartitionConsumers.remove(linkName); if (consumer != null) { - try { - consumer.close(); - } catch (IOException e) { - logger.warning("Exception occurred while closing consumer {}", linkName, e); - } + consumer.close(); } }); } diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubConsumerClient.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubConsumerClient.java index 322ba9f0fe8a..bc985d7c54be 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubConsumerClient.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubConsumerClient.java @@ -22,11 +22,10 @@ import java.util.concurrent.atomic.AtomicInteger; /** - * A consumer responsible for reading {@link EventData} from either a specific Event Hub partition or all partitions in - * the context of a consumer group. + * A synchronous consumer responsible for reading {@link EventData} from an Event Hub partition in the context of + * a specific consumer group. * *

Creating a synchronous consumer

- *

Required parameters are {@code consumerGroup} and credentials when creating a consumer.

* {@codesnippet com.azure.messaging.eventhubs.eventhubconsumerclient.instantiation} * *

Consuming events from a single partition

@@ -56,7 +55,7 @@ public class EventHubConsumerClient implements Closeable { * Gets the fully qualified Event Hubs namespace that the connection is associated with. This is likely similar to * {@code {yournamespace}.servicebus.windows.net}. * - * @return The fully qualified Event Hubs namespace that the connection is associated with + * @return The fully qualified Event Hubs namespace that the connection is associated with. */ public String getFullyQualifiedNamespace() { return consumer.getFullyQualifiedNamespace(); @@ -93,7 +92,7 @@ public EventHubProperties getEventHubProperties() { /** * Retrieves the identifiers for the partitions of an Event Hub. * - * @return A Flux of identifiers for the partitions of an Event Hub. + * @return The set of identifiers for the partitions of an Event Hub. */ public IterableStream getPartitionIds() { return new IterableStream<>(consumer.getPartitionIds()); @@ -106,6 +105,8 @@ public IterableStream getPartitionIds() { * @param partitionId The unique identifier of a partition associated with the Event Hub. * * @return The set of information for the requested partition under the Event Hub this client is associated with. + * + * @throws NullPointerException if {@code partitionId} is null. */ @ServiceMethod(returns = ReturnType.SINGLE) public PartitionProperties getPartitionProperties(String partitionId) { @@ -123,7 +124,9 @@ public PartitionProperties getPartitionProperties(String partitionId) { * {@code maximumMessageCount} events. If a stream for the events was opened before, the same position within * that partition is returned. Otherwise, events are read starting from {@code startingPosition}. * - * @throws IllegalArgumentException if {@code maximumMessageCount} is less than 1. + * @throws NullPointerException if {@code partitionId}, or {@code startingPosition} is null. + * @throws IllegalArgumentException if {@code maximumMessageCount} is less than 1, or if {@code partitionId} is an + * empty string. */ public IterableStream receiveFromPartition(String partitionId, int maximumMessageCount, EventPosition startingPosition) { @@ -142,7 +145,8 @@ public IterableStream receiveFromPartition(String partitionId, i * @return A set of {@link PartitionEvent} that was received. The iterable contains up to * {@code maximumMessageCount} events. * - * @throws NullPointerException if {@code maximumWaitTime} or {@code eventPosition} is null. + * @throws NullPointerException if {@code partitionId}, {@code maximumWaitTime}, or {@code startingPosition} is + * {@code null}. * @throws IllegalArgumentException if {@code maximumMessageCount} is less than 1 or {@code maximumWaitTime} is * zero or a negative duration. */ @@ -188,7 +192,7 @@ public IterableStream receiveFromPartition(String partitionId, i * @return A set of {@link PartitionEvent} that was received. The iterable contains up to * {@code maximumMessageCount} events. * - * @throws NullPointerException if {@code maximumWaitTime}, {@code eventPosition}, {@code partitionId}, or + * @throws NullPointerException if {@code maximumWaitTime}, {@code startingPosition}, {@code partitionId}, or * {@code receiveOptions} is {@code null}. * @throws IllegalArgumentException if {@code maximumMessageCount} is less than 1 or {@code maximumWaitTime} is * zero or a negative duration. diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubMessageSerializer.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubMessageSerializer.java index a652a6ace801..e6a8a056f7ff 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubMessageSerializer.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubMessageSerializer.java @@ -24,7 +24,6 @@ import java.time.Instant; import java.util.Date; import java.util.HashMap; -import java.util.Locale; import java.util.Map; import java.util.Objects; @@ -155,8 +154,8 @@ private T deserializeManagementResponse(Message message, Class deserializ } else if (deserializedType == EventHubProperties.class) { return (T) toEventHubProperties(amqpBody); } else { - throw logger.logExceptionAsError(new IllegalArgumentException(String.format(Locale.US, - "Class '%s' is not a supported deserializable type.", deserializedType))); + throw logger.logExceptionAsError(new IllegalArgumentException(String.format( + Messages.CLASS_NOT_A_SUPPORTED_TYPE, deserializedType))); } } @@ -214,8 +213,7 @@ private EventData deserializeEventData(Message message) { Data bodyData = (Data) bodySection; body = bodyData.getValue().getArray(); } else { - logger.warning(String.format(Locale.US, - "Message body type is not of type Data, but type: %s. Not setting body contents.", + logger.warning(String.format(Messages.MESSAGE_NOT_OF_TYPE, bodySection != null ? bodySection.getType() : "null")); body = new byte[0]; @@ -347,7 +345,6 @@ private static void setSystemProperties(EventData eventData, Message message) { default: throw new IllegalArgumentException( String.format( - Locale.US, "Property is not a recognized reserved property name: %s", key)); } @@ -426,7 +423,7 @@ private static int sizeof(Object obj) { return Double.BYTES; } - throw new IllegalArgumentException(String.format(Locale.US, "Encoding Type: %s is not supported", + throw new IllegalArgumentException(String.format(Messages.ENCODING_TYPE_NOT_SUPPORTED, obj.getClass())); } diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubPartitionAsyncConsumer.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubPartitionAsyncConsumer.java index 31820c42e3a3..f997cb5004bf 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubPartitionAsyncConsumer.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubPartitionAsyncConsumer.java @@ -15,8 +15,6 @@ import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; -import java.io.Closeable; -import java.io.IOException; import java.util.concurrent.atomic.AtomicBoolean; import java.util.concurrent.atomic.AtomicInteger; import java.util.concurrent.atomic.AtomicReference; @@ -26,7 +24,7 @@ * A package-private consumer responsible for reading {@link EventData} from a specific Event Hub partition in the * context of a specific consumer group. */ -class EventHubPartitionAsyncConsumer implements Closeable { +class EventHubPartitionAsyncConsumer implements AutoCloseable { private static final AtomicReferenceFieldUpdater RECEIVE_LINK_FIELD_UPDATER = AtomicReferenceFieldUpdater.newUpdater( EventHubPartitionAsyncConsumer.class, AmqpReceiveLink.class, "receiveLink"); @@ -80,22 +78,20 @@ class EventHubPartitionAsyncConsumer implements Closeable { } }); - link.getErrors().subscribe(error -> { - logger.info("Error received in ReceiveLink. {}", error.toString()); + link.getEndpointStates().subscribe( + state -> { + logger.verbose("Endpoint state: {}", state); + }, + error -> { + logger.info("Error received in AmqpReceiveLink. {}", error.toString()); - //TODO (conniey): Surface error to EmitterProcessor. - }); - - link.getShutdownSignals().subscribe(signal -> { - logger.info("Shutting down. Initiated by client? {}. Reason: {}", - signal.isInitiatedByClient(), signal.toString()); - - try { + //TODO (conniey): Propagate error to emitter and re-resubscribe for a link if it is transient. close(); - } catch (IOException e) { - logger.error("Error closing consumer: {}", e.toString()); - } - }); + }, + () -> { + logger.info("Amqp receive link shutting down."); + close(); + }); } return link.receive().map(message -> onMessageReceived(message)); @@ -115,7 +111,7 @@ class EventHubPartitionAsyncConsumer implements Closeable { }) .doOnRequest(request -> { if (request < MINIMUM_REQUEST) { - logger.warning("Back pressure request value not valid. It must be between {} and {}.", + logger.warning(Messages.REQUEST_VALUE_NOT_VALID, MINIMUM_REQUEST, MAXIMUM_REQUEST); return; } @@ -132,11 +128,9 @@ class EventHubPartitionAsyncConsumer implements Closeable { /** * Disposes of the consumer by closing the underlying connection to the service. - * - * @throws IOException if the underlying transport and its resources could not be disposed. */ @Override - public void close() throws IOException { + public void close() { if (!isDisposed.getAndSet(true)) { final AmqpReceiveLink receiveLink = RECEIVE_LINK_FIELD_UPDATER.getAndSet(this, null); if (receiveLink != null) { diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubProducerAsyncClient.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubProducerAsyncClient.java index 91b908e2aea9..1b68062096f2 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubProducerAsyncClient.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubProducerAsyncClient.java @@ -28,7 +28,6 @@ import reactor.core.publisher.Mono; import java.io.Closeable; -import java.io.IOException; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; @@ -51,9 +50,9 @@ import static com.azure.messaging.eventhubs.implementation.ClientConstants.MAX_MESSAGE_LENGTH_BYTES; /** - * A producer responsible for transmitting {@link EventData} to a specific Event Hub, grouped together in batches. - * Depending on the options specified at creation, the producer may be created to allow event data to be automatically - * routed to an available partition or specific to a partition. + * An asynchronous producer responsible for transmitting {@link EventData} to a specific Event Hub, grouped + * together in batches. Depending on the {@link CreateBatchOptions options} specified when creating an + * {@link EventDataBatch}, the events may be automatically routed to an available partition or specific to a partition. * *

* Allowing automatic routing of partitions is recommended when: @@ -64,7 +63,7 @@ *

* *

- * If no partition is specified, the following rules are used for automatically selecting one: + * If no partition id is specified, the following rules are used for automatically selecting one: *

    *
  1. Distribute the events equally amongst all available partitions using a round-robin approach.
  2. *
  3. If a partition becomes unavailable, the Event Hubs service will automatically detect it and forward the @@ -72,38 +71,20 @@ *
*

* - *

Create a producer that routes events to any partition

- * To allow automatic routing of messages to available partition, do not specify the {@link - * CreateBatchOptions#getPartitionId() partitionId} when creating the {@link EventHubProducerAsyncClient}. - * {@codesnippet com.azure.messaging.eventhubs.eventhubasyncproducerclient.instantiation} + *

Create a producer and publish events to any partition

+ * {@codesnippet com.azure.messaging.eventhubs.eventhubasyncproducerclient.createBatch} * - *

Create a producer that publishes events to partition "foo" with a timeout of 45 seconds.

- * Developers can push events to a single partition by specifying the - * {@link CreateBatchOptions#setPartitionId(String) partitionId} when creating an {@link EventHubProducerAsyncClient}. + *

Publish events to partition "foo"

+ * {@codesnippet com.azure.messaging.eventhubs.eventhubasyncproducerclient.createBatch#CreateBatchOptions-partitionId} * - * {@codesnippet com.azure.messaging.eventhubs.eventhubasyncproducerclient.instantiation#partitionId} + *

Publish events to the same partition, grouped together using partition key

+ * {@codesnippet com.azure.messaging.eventhubs.eventhubasyncproducerclient.createBatch#CreateBatchOptions-partitionKey} * - *

Publish events to the same partition, grouped together using {@link SendOptions#setPartitionKey(String)} - * .

- * If developers want to push similar events to end up at the same partition, but do not require them to go to a - * specific partition, they can use {@link SendOptions#setPartitionKey(String)}. - *

- * In the sample below, all the "sandwiches" end up in the same partition, but it could end up in partition 0, 1, etc. - * of the available partitions. All that matters to the end user is that they are grouped together. - *

- * {@codesnippet com.azure.messaging.eventhubs.eventhubasyncproducerclient.send#publisher-sendOptions} + *

Publish events using a size-limited {@link EventDataBatch}

+ * {@codesnippet com.azure.messaging.eventhubs.eventhubasyncproducerclient.createBatch#CreateBatchOptions-int} * - *

Publish events using an {@link EventDataBatch}.

- * Developers can create an {@link EventDataBatch}, add the events they want into it, and publish these - * events together. When creating a {@link EventDataBatch batch}, developers can specify a set of - * {@link CreateBatchOptions options} to configure this batch. - *

- * In the scenario below, the developer is creating a networked video game. They want to receive telemetry about their - * users' gaming systems, but do not want to slow down the network with telemetry. So they limit the size of their - * {@link EventDataBatch batches} to be no larger than 256 bytes. The events within the batch also get hashed to the - * same partition because they all share the same {@link CreateBatchOptions#getPartitionKey()}. - *

- * {@codesnippet com.azure.messaging.eventhubs.eventhubasyncproducerclient.send#eventDataBatch} + * @see EventHubClientBuilder#buildAsyncProducerClient() + * @see EventHubProducerClient To synchronously generate events to an Event Hub, see EventHubProducerClient. */ @ServiceClient(builder = EventHubClientBuilder.class, isAsync = true) public class EventHubProducerAsyncClient implements Closeable { @@ -134,8 +115,8 @@ public class EventHubProducerAsyncClient implements Closeable { * load balance the messages amongst available partitions. */ EventHubProducerAsyncClient(String fullyQualifiedNamespace, String eventHubName, EventHubConnection connection, - AmqpRetryOptions retryOptions, TracerProvider tracerProvider, MessageSerializer messageSerializer, - boolean isSharedConnection) { + AmqpRetryOptions retryOptions, TracerProvider tracerProvider, MessageSerializer messageSerializer, + boolean isSharedConnection) { this.fullyQualifiedNamespace = fullyQualifiedNamespace; this.eventHubName = eventHubName; this.connection = connection; @@ -149,7 +130,7 @@ public class EventHubProducerAsyncClient implements Closeable { * Gets the fully qualified Event Hubs namespace that the connection is associated with. This is likely similar to * {@code {yournamespace}.servicebus.windows.net}. * - * @return The fully qualified Event Hubs namespace that the connection is associated with + * @return The fully qualified Event Hubs namespace that the connection is associated with. */ public String getFullyQualifiedNamespace() { return fullyQualifiedNamespace; @@ -188,7 +169,10 @@ public Flux getPartitionIds() { * events in the partition event stream. * * @param partitionId The unique identifier of a partition associated with the Event Hub. + * * @return The set of information for the requested partition under the Event Hub this client is associated with. + * + * @throws NullPointerException if {@code partitionId} is null. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono getPartitionProperties(String partitionId) { @@ -205,10 +189,13 @@ public Mono createBatch() { } /** - * Creates an {@link EventDataBatch} that can fit as many events as the transport allows. + * Creates an {@link EventDataBatch} configured with the options specified. * * @param options A set of options used to configure the {@link EventDataBatch}. + * * @return A new {@link EventDataBatch} that can fit as many events as the transport allows. + * + * @throws NullPointerException if {@code options} is null. */ public Mono createBatch(CreateBatchOptions options) { if (options == null) { @@ -220,7 +207,7 @@ public Mono createBatch(CreateBatchOptions options) { final int batchMaxSize = options.getMaximumSizeInBytes(); if (!CoreUtils.isNullOrEmpty(partitionKey) - && !CoreUtils.isNullOrEmpty(partitionId)) { + && !CoreUtils.isNullOrEmpty(partitionId)) { return monoError(logger, new IllegalArgumentException(String.format(Locale.US, "CreateBatchOptions.getPartitionKey() and CreateBatchOptions.getPartitionId() are both set. " + "Only one or the other can be used. partitionKey: '%s'. partitionId: '%s'", @@ -261,7 +248,7 @@ public Mono createBatch(CreateBatchOptions options) { * *

* For more information regarding the maximum event size allowed, see - * Azure Event Hubs Quotas and + * Azure Event Hubs Quotas and * Limits. *

* @@ -283,7 +270,7 @@ Mono send(EventData event) { * *

* For more information regarding the maximum event size allowed, see - * Azure Event Hubs Quotas and + * Azure Event Hubs Quotas and * Limits. *

* @@ -382,6 +369,7 @@ Mono send(Flux events, SendOptions options) { * @param batch The batch to send to the service. * * @return A {@link Mono} that completes when the batch is pushed to the service. + * * @throws NullPointerException if {@code batch} is {@code null}. * @see EventHubProducerAsyncClient#createBatch() * @see EventHubProducerAsyncClient#createBatch(CreateBatchOptions) @@ -390,7 +378,7 @@ public Mono send(EventDataBatch batch) { if (batch == null) { return monoError(logger, new NullPointerException("'batch' cannot be null.")); } else if (batch.getEvents().isEmpty()) { - logger.warning("Cannot send an EventBatch that is empty."); + logger.warning(Messages.CANNOT_SEND_EVENT_BATCH_EMPTY); return Mono.empty(); } @@ -450,7 +438,7 @@ private Mono sendInternal(Flux events, SendOptions options) { final String partitionId = options.getPartitionId(); if (!CoreUtils.isNullOrEmpty(partitionKey) - && !CoreUtils.isNullOrEmpty(partitionId)) { + && !CoreUtils.isNullOrEmpty(partitionId)) { return monoError(logger, new IllegalArgumentException(String.format(Locale.US, "SendOptions.getPartitionKey() and SendOptions.getPartitionId() are both set. Only one or the" + " other can be used. partitionKey: '%s'. partitionId: '%s'", @@ -476,7 +464,7 @@ private Mono sendInternal(Flux eventBatches) { .flatMap(this::send) .then() .doOnError(error -> { - logger.error("Error sending batch.", error); + logger.error(Messages.ERROR_SENDING_BATCH, error); }); } @@ -505,23 +493,20 @@ private Mono getSendLink(String partitionId) { } /** - * Disposes of the {@link EventHubProducerAsyncClient} by closing the underlying connection to the service. + * Disposes of the {@link EventHubProducerAsyncClient}. If the client had a dedicated connection, the underlying + * connection is also closed. */ @Override public void close() { - if (!isDisposed.getAndSet(true)) { - openLinks.forEach((key, value) -> { - try { - value.close(); - } catch (IOException e) { - logger.warning("Error closing link for partition: {}", key, e); - } - }); - openLinks.clear(); + if (isDisposed.getAndSet(true)) { + return; + } - if (!isSharedConnection) { - connection.close(); - } + openLinks.forEach((key, value) -> value.close()); + openLinks.clear(); + + if (!isSharedConnection) { + connection.close(); } } @@ -572,7 +557,7 @@ public BiConsumer, EventData> accumulator() { if (maxNumberOfBatches != null && list.size() == maxNumberOfBatches) { final String message = String.format(Locale.US, - "EventData does not fit into maximum number of batches. '%s'", maxNumberOfBatches); + Messages.EVENT_DATA_DOES_NOT_FIT, maxNumberOfBatches); throw new AmqpException(false, AmqpErrorCondition.LINK_PAYLOAD_SIZE_EXCEEDED, message, contextProvider.getErrorContext()); diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubProducerClient.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubProducerClient.java index 356e93c4a8f6..d3a34481e14d 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubProducerClient.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubProducerClient.java @@ -15,9 +15,9 @@ import java.util.Objects; /** - * A producer responsible for transmitting {@link EventData} to a specific Event Hub, grouped together in batches. - * Depending on the options specified at creation, the producer may be created to allow event data to be automatically - * routed to an available partition or specific to a partition. + * A synchronous producer responsible for transmitting {@link EventData} to a specific Event Hub, grouped + * together in batches. Depending on the {@link CreateBatchOptions options} specified when creating an + * {@link EventDataBatch}, the events may be automatically routed to an available partition or specific to a partition. * *

* Allowing automatic routing of partitions is recommended when: @@ -28,8 +28,7 @@ *

* *

- * If no {@link SendOptions#getPartitionId() partitionId} is specified, the following rules are used for - * automatically selecting one: + * If no partition id is specified, the following rules are used for automatically selecting one: * *

    *
  1. Distribute the events equally amongst all available partitions using a round-robin approach.
  2. @@ -38,45 +37,20 @@ *
*

* - *

Create a producer that routes events to any partition

- * To allow automatic routing of messages to available partition, do not specify the {@link - * SendOptions#getPartitionId() partitionId} when creating the {@link EventHubProducerClient}. + *

Create a producer and publish events to any partition

+ * {@codesnippet com.azure.messaging.eventhubs.eventhubasyncproducerclient.createBatch} * - * {@codesnippet com.azure.messaging.eventhubs.eventhubproducerclient.instantiation} + *

Publish events to partition "foo"

+ * {@codesnippet com.azure.messaging.eventhubs.eventhubproducerclient.createBatch#CreateBatchOptions-partitionId} * - *

Create a producer that publishes events to partition "foo" with a timeout of 45 seconds.

- * Developers can push events to a single partition by specifying the - * {@link SendOptions#setPartitionId(String) partitionId} when creating an {@link EventHubProducerClient}. + *

Publish events to the same partition, grouped together using partition key

+ * {@codesnippet com.azure.messaging.eventhubs.eventhubproducerclient.createBatch#CreateBatchOptions-partitionKey} * - * {@codesnippet com.azure.messaging.eventhubs.eventhubproducerclient.instantiation#partitionId} + *

Publish events using a size-limited {@link EventDataBatch}

+ * {@codesnippet com.azure.messaging.eventhubs.eventhubproducerclient.createBatch#CreateBatchOptions-int} * - *

Publish events to the same partition, grouped together using {@link SendOptions#setPartitionKey(String)} - *

- * If developers want to push similar events to end up at the same partition, but do not require them to go to a - * specific partition, they can use {@link SendOptions#setPartitionKey(String)}. - * - *

- * In the sample below, all the "sandwiches" end up in the same partition, but it could end up in partition 0, 1, etc. - * of the available partitions. All that matters to the end user is that they are grouped together. - *

- * - * {@codesnippet com.azure.messaging.eventhubs.eventhubproducerclient.send#publisher-sendOptions} - * - *

Publish events using an {@link EventDataBatch}

- * Developers can create an {@link EventDataBatch}, add the events they want into it, and publish these events together. - * When creating a {@link EventDataBatch batch}, developers can specify a set of {@link CreateBatchOptions options} to - * configure this batch. - * - *

- * In the scenario below, the developer is creating a networked video game. They want to receive telemetry about their - * users' gaming systems, but do not want to slow down the network with telemetry. So they limit the size of their - * {@link EventDataBatch batches} to be no larger than 256 bytes. The events within the batch also get hashed to the - * same partition because they all share the same {@link CreateBatchOptions#getPartitionKey()}. - *

- * {@codesnippet com.azure.messaging.eventhubs.eventhubproducerclient.send#eventDataBatch} - * - * @see EventHubClient#createProducer() - * @see EventHubProducerAsyncClient To asynchronously generate events to an Event Hub, see EventHubAsyncProducer. + * @see EventHubClientBuilder#buildProducerClient() + * @see EventHubProducerAsyncClient To asynchronously generate events to an Event Hub, see EventHubProducerAsyncClient. */ @ServiceClient(builder = EventHubClientBuilder.class) public class EventHubProducerClient implements Closeable { @@ -106,7 +80,7 @@ public String getEventHubName() { * Gets the fully qualified Event Hubs namespace that the connection is associated with. This is likely similar to * {@code {yournamespace}.servicebus.windows.net}. * - * @return The fully qualified Event Hubs namespace that the connection is associated with + * @return The fully qualified Event Hubs namespace that the connection is associated with. */ public String getFullyQualifiedNamespace() { return producer.getFullyQualifiedNamespace(); @@ -137,6 +111,7 @@ public IterableStream getPartitionIds() { * * @param partitionId The unique identifier of a partition associated with the Event Hub. * @return The set of information for the requested partition under the Event Hub this client is associated with. + * @throws NullPointerException if {@code partitionId} is null. */ @ServiceMethod(returns = ReturnType.SINGLE) public PartitionProperties getPartitionProperties(String partitionId) { @@ -153,10 +128,13 @@ public EventDataBatch createBatch() { } /** - * Creates an {@link EventDataBatch} that can fit as many events as the transport allows. + * Creates an {@link EventDataBatch} configured with the options specified. * * @param options A set of options used to configure the {@link EventDataBatch}. + * * @return A new {@link EventDataBatch} that can fit as many events as the transport allows. + * + * @throws NullPointerException if {@code options} is null. */ public EventDataBatch createBatch(CreateBatchOptions options) { return producer.createBatch(options).block(tryTimeout); @@ -168,7 +146,7 @@ public EventDataBatch createBatch(CreateBatchOptions options) { * *

* For more information regarding the maximum event size allowed, see - * Azure Event Hubs Quotas and + * Azure Event Hubs Quotas and * Limits. *

* @@ -184,7 +162,7 @@ void send(EventData event) { * *

* For more information regarding the maximum event size allowed, see - * Azure Event Hubs Quotas and + * Azure Event Hubs Quotas and * Limits. *

* @@ -202,7 +180,7 @@ void send(EventData event, SendOptions options) { * *

* For more information regarding the maximum event size allowed, see - * Azure Event Hubs Quotas and + * Azure Event Hubs Quotas and * Limits. *

* @@ -219,7 +197,7 @@ void send(Iterable events) { * *

* For more information regarding the maximum event size allowed, see - * Azure Event Hubs Quotas and + * Azure Event Hubs Quotas and * Limits. *

* diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubProperties.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubProperties.java index 0e3a89e52f43..15fe0fb2b2e3 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubProperties.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventHubProperties.java @@ -6,15 +6,14 @@ import com.azure.core.annotation.Immutable; import com.azure.core.util.IterableStream; import com.azure.messaging.eventhubs.models.EventPosition; -import reactor.core.publisher.Flux; import java.time.Instant; import java.util.Arrays; +import java.util.Objects; /** - * Holds information about an Event Hub which can come handy while performing operations like - * {@link EventHubConsumerAsyncClient#receiveFromPartition(String, EventPosition) receiving events from a specific - * partition}. + * Holds information about an Event Hub which can come handy while performing operations like {@link + * EventHubConsumerAsyncClient#receiveFromPartition(String, EventPosition) receiving events from a specific partition}. * * @see EventHubConsumerAsyncClient * @see EventHubConsumerClient @@ -25,19 +24,24 @@ public final class EventHubProperties { private final Instant createdAt; private final IterableStream partitionIds; - EventHubProperties( - final String name, - final Instant createdAt, - final String[] partitionIds) { - this.name = name; - this.createdAt = createdAt; - this.partitionIds = partitionIds != null - ? new IterableStream<>(Flux.fromArray(Arrays.copyOf(partitionIds, partitionIds.length))) - : new IterableStream<>(Flux.empty()); + /** + * Creates an instance of {@link EventHubProperties}. + * + * @param name Name of the Event Hub. + * @param createdAt Datetime the Event Hub was created, in UTC. + * @param partitionIds The partitions ids in the Event Hub. + * + * @throws NullPointerException if {@code name}, {@code createdAt}, or {@code partitionIds} is {@code null}. + */ + EventHubProperties(final String name, final Instant createdAt, final String[] partitionIds) { + this.name = Objects.requireNonNull(name, "'name' cannot be null."); + this.createdAt = Objects.requireNonNull(createdAt, "'createdAt' cannot be null."); + this.partitionIds = new IterableStream<>(Arrays.asList( + Objects.requireNonNull(partitionIds, "'partitionIds' cannot be null."))); } /** - * Gets the Event Hub name + * Gets the name of the Event Hub. * * @return Name of the Event Hub. */ @@ -46,7 +50,7 @@ public String getName() { } /** - * Gets the instant, in UTC, at which Event Hub was created at. + * Gets the instant, in UTC, at which Event Hub was created. * * @return The instant, in UTC, at which the Event Hub was created. */ diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventProcessorClientBuilder.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventProcessorClientBuilder.java index 77e08187a643..aef2a3a63100 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventProcessorClientBuilder.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/EventProcessorClientBuilder.java @@ -307,14 +307,15 @@ public EventProcessorClientBuilder trackLastEnqueuedEventProperties(boolean trac *

* * @return A new instance of {@link EventProcessorClient}. - * @throws NullPointerException if {@code processEvent} or {@code checkpointStore} or {@code consumerGroup} is - * {@code null}. + * @throws NullPointerException if {@code processEvent} or {@code processError} or {@code checkpointStore} or + * {@code consumerGroup} is {@code null}. * @throws IllegalArgumentException if the credentials have not been set using either {@link * #connectionString(String)} or {@link #credential(String, String, TokenCredential)}. Or, if a proxy is specified * but the transport type is not {@link AmqpTransportType#AMQP_WEB_SOCKETS web sockets}. */ public EventProcessorClient buildEventProcessorClient() { Objects.requireNonNull(processEvent, "'processEvent' cannot be null"); + Objects.requireNonNull(processError, "'processError' cannot be null"); Objects.requireNonNull(checkpointStore, "'checkpointStore' cannot be null"); Objects.requireNonNull(consumerGroup, "'consumerGroup' cannot be null"); diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/Messages.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/Messages.java new file mode 100644 index 000000000000..0580ea3468bc --- /dev/null +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/Messages.java @@ -0,0 +1,62 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.messaging.eventhubs; + +import com.azure.core.util.logging.ClientLogger; + +import java.io.IOException; +import java.io.InputStream; +import java.util.Properties; + +/** + * I18n messages loaded from the messages.properties file located within the same package. + */ +public enum Messages { + ; + private static final ClientLogger LOGGER = new ClientLogger(Messages.class); + private static Properties properties; + private static final String MESSAGES_PROPERTIES_PATH = "com/azure/messaging/eventhubs/messages.properties"; + public static final String CLASS_NOT_A_SUPPORTED_TYPE = getMessage("CLASS_NOT_A_SUPPORTED_TYPE"); + public static final String ENCODING_TYPE_NOT_SUPPORTED = getMessage("ENCODING_TYPE_NOT_SUPPORTED"); + public static final String PROCESS_SPAN_SCOPE_TYPE_ERROR = getMessage("PROCESS_SPAN_SCOPE_TYPE_ERROR"); + public static final String MESSAGE_NOT_OF_TYPE = getMessage("MESSAGE_NOT_OF_TYPE"); + public static final String REQUEST_VALUE_NOT_VALID = getMessage("REQUEST_VALUE_NOT_VALID"); + public static final String EVENT_DATA_DOES_NOT_FIT = getMessage("EVENT_DATA_DOES_NOT_FIT"); + public static final String CANNOT_SEND_EVENT_BATCH_EMPTY = getMessage("CANNOT_SEND_EVENT_BATCH_EMPTY"); + public static final String ERROR_SENDING_BATCH = getMessage("ERROR_SENDING_BATCH"); + public static final String FAILED_TO_CLAIM_OWNERSHIP = getMessage("FAILED_TO_CLAIM_OWNERSHIP"); + public static final String LOAD_BALANCING_FAILED = getMessage("LOAD_BALANCING_FAILED"); + public static final String EVENT_PROCESSOR_RUN_END = getMessage("EVENT_PROCESSOR_RUN_END"); + public static final String FAILED_PROCESSING_ERROR_RECEIVE = getMessage("FAILED_PROCESSING_ERROR_RECEIVE"); + public static final String FAILED_WHILE_PROCESSING_ERROR = getMessage("FAILED_WHILE_PROCESSING_ERROR"); + public static final String FAILED_CLOSE_CONSUMER_PARTITION = getMessage("FAILED_CLOSE_CONSUMER_PARTITION"); + public static final String ERROR_OCCURRED_IN_SUBSCRIBER_ERROR = getMessage("ERROR_OCCURRED_IN_SUBSCRIBER_ERROR"); + public static final String EXCEPTION_OCCURRED_WHILE_EMITTING = getMessage("EXCEPTION_OCCURRED_WHILE_EMITTING"); + + private static synchronized Properties getProperties() { + if (properties != null) { + return properties; + } + properties = new Properties(); + try (InputStream inputStream = + Thread.currentThread().getContextClassLoader().getResourceAsStream(MESSAGES_PROPERTIES_PATH)) { + if (inputStream != null) { + properties.load(inputStream); + } else { + LOGGER.error("Message properties [{}] not found", MESSAGES_PROPERTIES_PATH); //NON-NLS + } + } catch (IOException exception) { + LOGGER.error("Error loading message properties [{}]", MESSAGES_PROPERTIES_PATH, exception); //NON-NLS + } + return properties; + } + + /** + * @param key the key of the message to retrieve + * @return the message matching the given key + */ + public static String getMessage(String key) { + return String.valueOf(getProperties().getOrDefault(key, key)); + } +} diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/PartitionBasedLoadBalancer.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/PartitionBasedLoadBalancer.java index 99e3534c21d4..e72e5b932b8b 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/PartitionBasedLoadBalancer.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/PartitionBasedLoadBalancer.java @@ -107,7 +107,7 @@ void loadBalance() { Mono.zip(partitionOwnershipMono, partitionsMono) .flatMap(this::loadBalance) // if there was an error, log warning and TODO: call user provided error handler - .doOnError(ex -> logger.warning("Load balancing for event processor failed - {}", ex.getMessage())) + .doOnError(ex -> logger.warning(Messages.LOAD_BALANCING_FAILED, ex.getMessage())) .subscribe(); } @@ -146,16 +146,6 @@ private Mono loadBalance(final Tuple2, Lis partitionOwnershipMap); logger.info("Number of active ownership records {}", activePartitionOwnershipMap.size()); - if (CoreUtils.isNullOrEmpty(activePartitionOwnershipMap)) { - /* - * If the active partition ownership map is empty, this is the first time an event processor is - * running or all Event Processors are down for this Event Hub, consumer group combination. All - * partitions in this Event Hub are available to claim. Choose a random partition to claim ownership. - */ - claimOwnership(partitionOwnershipMap, partitionIds.get(RANDOM.nextInt(numberOfPartitions))); - return; - } - /* * Create a map of owner id and a list of partitions it owns */ @@ -167,6 +157,17 @@ private Mono loadBalance(final Tuple2, Lis // add the current event processor to the map if it doesn't exist ownerPartitionMap.putIfAbsent(this.ownerId, new ArrayList<>()); + if (CoreUtils.isNullOrEmpty(activePartitionOwnershipMap)) { + /* + * If the active partition ownership map is empty, this is the first time an event processor is + * running or all Event Processors are down for this Event Hub, consumer group combination. All + * partitions in this Event Hub are available to claim. Choose a random partition to claim ownership. + */ + claimOwnership(partitionOwnershipMap, ownerPartitionMap, + partitionIds.get(RANDOM.nextInt(numberOfPartitions))); + return; + } + /* * Find the minimum number of partitions every event processor should own when the load is * evenly distributed. @@ -191,6 +192,8 @@ private Mono loadBalance(final Tuple2, Lis ownerPartitionMap)) { // If the partitions are evenly distributed among all active event processors, no change required. logger.info("Load is balanced"); + // renew ownership of already owned partitions + checkpointStore.claimOwnership(ownerPartitionMap.get(this.ownerId)).subscribe(); return; } @@ -198,6 +201,8 @@ private Mono loadBalance(final Tuple2, Lis // This event processor already has enough partitions and shouldn't own more. logger.info("This event processor owns {} partitions and shouldn't own more", ownerPartitionMap.get(ownerId).size()); + // renew ownership of already owned partitions + checkpointStore.claimOwnership(ownerPartitionMap.get(this.ownerId)).subscribe(); return; } @@ -224,7 +229,7 @@ private Mono loadBalance(final Tuple2, Lis return findPartitionToSteal(ownerPartitionMap); }); - claimOwnership(partitionOwnershipMap, partitionToClaim); + claimOwnership(partitionOwnershipMap, ownerPartitionMap, partitionToClaim); }); } @@ -320,19 +325,22 @@ private Map removeInactivePartitionOwnerships( }).collect(Collectors.toMap(Entry::getKey, Entry::getValue)); } - private void claimOwnership(final Map partitionOwnershipMap, - final String partitionIdToClaim) { + private void claimOwnership(final Map partitionOwnershipMap, Map> ownerPartitionsMap, final String partitionIdToClaim) { logger.info("Attempting to claim ownership of partition {}", partitionIdToClaim); PartitionOwnership ownershipRequest = createPartitionOwnershipRequest(partitionOwnershipMap, partitionIdToClaim); + List currentPartitionsOwned = ownerPartitionsMap.get(ownerId); + currentPartitionsOwned.add(ownershipRequest); + checkpointStore - .claimOwnership(ownershipRequest) + .claimOwnership(currentPartitionsOwned) .timeout(Duration.ofMinutes(1)) // TODO: configurable .doOnNext(partitionOwnership -> logger.info("Successfully claimed ownership of partition {}", partitionOwnership.getPartitionId())) .doOnError(ex -> logger - .warning("Failed to claim ownership of partition {} - {}", ownershipRequest.getPartitionId(), + .warning(Messages.FAILED_TO_CLAIM_OWNERSHIP, ownershipRequest.getPartitionId(), ex.getMessage(), ex)) .collectList() .zipWith(checkpointStore.listCheckpoints(fullyQualifiedNamespace, eventHubName, consumerGroupName) diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/PartitionProperties.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/PartitionProperties.java index c64add724b31..998ff71ed6a9 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/PartitionProperties.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/PartitionProperties.java @@ -67,7 +67,7 @@ public long getBeginningSequenceNumber() { /** * Gets the last sequence number of the partition's message stream. * - * @return the last sequence number of the partition's message stream. + * @return The last sequence number of the partition's message stream. */ public long getLastEnqueuedSequenceNumber() { return this.lastEnqueuedSequenceNumber; @@ -82,7 +82,7 @@ public long getLastEnqueuedSequenceNumber() { * are no longer visible within the stream. *

* - * @return the offset of the last enqueued message in the partition's stream. + * @return The offset of the last enqueued message in the partition's stream. */ public String getLastEnqueuedOffset() { return this.lastEnqueuedOffset; @@ -91,7 +91,7 @@ public String getLastEnqueuedOffset() { /** * Gets the instant, in UTC, of the last enqueued message in the partition's stream. * - * @return the instant, in UTC, of the last enqueued message in the partition's stream. + * @return The instant, in UTC, of the last enqueued message in the partition's stream. */ public Instant getLastEnqueuedTime() { return this.lastEnqueuedTime; diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/PartitionPumpManager.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/PartitionPumpManager.java index 8c7f82e81182..5f662aa47e4f 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/PartitionPumpManager.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/PartitionPumpManager.java @@ -90,7 +90,7 @@ void stopAllPartitionPumps() { try { eventHubConsumer.close(); } catch (Exception ex) { - logger.warning("Failed to close consumer for partition {}", partitionId, ex); + logger.warning(Messages.FAILED_CLOSE_CONSUMER_PARTITION, partitionId, ex); } finally { partitionPumps.remove(partitionId); } @@ -168,7 +168,7 @@ private void handleProcessingError(PartitionOwnership claimedOwnership, Partitio // also fails just log and continue partitionProcessor.processError(new ErrorContext(partitionContext, error)); } catch (Exception ex) { - logger.warning("Failed while processing error {}", claimedOwnership.getPartitionId(), ex); + logger.warning(Messages.FAILED_WHILE_PROCESSING_ERROR, claimedOwnership.getPartitionId(), ex); } } @@ -186,7 +186,7 @@ private void handleReceiveError(PartitionOwnership claimedOwnership, EventHubCon } partitionProcessor.close(new CloseContext(partitionContext, closeReason)); } catch (Exception ex) { - logger.warning("Failed while processing error on receive {}", claimedOwnership.getPartitionId(), ex); + logger.warning(Messages.FAILED_PROCESSING_ERROR_RECEIVE, claimedOwnership.getPartitionId(), ex); } finally { try { // close the consumer @@ -225,12 +225,12 @@ private void endProcessTracingSpan(Context processSpanContext, Signal sign close.close(); tracerProvider.endSpan(processSpanContext, signal); } catch (IOException ioException) { - logger.error("EventProcessor.run() endTracingSpan().close() failed with an error %s", ioException); + logger.error(Messages.EVENT_PROCESSOR_RUN_END, ioException); } } else { logger.warning(String.format(Locale.US, - "Process span scope type is not of type Closeable, but type: %s. Not closing the scope and span", + Messages.PROCESS_SPAN_SCOPE_TYPE_ERROR, spanScope.get() != null ? spanScope.getClass() : "null")); } } diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/implementation/EventHubManagementNode.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/implementation/EventHubManagementNode.java index 871ec49a8a0f..d9d365723af2 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/implementation/EventHubManagementNode.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/implementation/EventHubManagementNode.java @@ -3,17 +3,14 @@ package com.azure.messaging.eventhubs.implementation; -import com.azure.core.amqp.EndpointStateNotifier; import com.azure.messaging.eventhubs.EventHubProperties; import com.azure.messaging.eventhubs.PartitionProperties; import reactor.core.publisher.Mono; -import java.io.Closeable; - /** * The management node for fetching metadata about the Event Hub and its partitions. */ -public interface EventHubManagementNode extends EndpointStateNotifier, Closeable { +public interface EventHubManagementNode extends AutoCloseable { /** * Gets the metadata associated with the Event Hub. * @@ -28,4 +25,7 @@ public interface EventHubManagementNode extends EndpointStateNotifier, Closeable * @return The metadata associated with the partition. */ Mono getPartitionProperties(String partitionId); + + @Override + void close(); } diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/implementation/EventHubReactorSession.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/implementation/EventHubReactorSession.java index 5271c048e776..d6e637e26e07 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/implementation/EventHubReactorSession.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/implementation/EventHubReactorSession.java @@ -14,6 +14,7 @@ import com.azure.core.amqp.implementation.TokenManager; import com.azure.core.amqp.implementation.TokenManagerProvider; import com.azure.core.amqp.implementation.handler.SessionHandler; +import com.azure.core.util.logging.ClientLogger; import com.azure.messaging.eventhubs.models.EventPosition; import com.azure.messaging.eventhubs.models.ReceiveOptions; import org.apache.qpid.proton.amqp.Symbol; @@ -40,6 +41,8 @@ class EventHubReactorSession extends ReactorSession implements EventHubSession { private static final Symbol ENABLE_RECEIVER_RUNTIME_METRIC_NAME = Symbol.valueOf(VENDOR + ":enable-receiver-runtime-metric"); + private final ClientLogger logger = new ClientLogger(EventHubReactorSession.class); + /** * Creates a new AMQP session using proton-j. * diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/implementation/ManagementChannel.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/implementation/ManagementChannel.java index 299679ab30ec..b5911aaa991f 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/implementation/ManagementChannel.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/implementation/ManagementChannel.java @@ -4,13 +4,11 @@ package com.azure.messaging.eventhubs.implementation; import com.azure.core.amqp.implementation.AmqpConstants; -import com.azure.core.amqp.implementation.EndpointStateNotifierBase; import com.azure.core.amqp.implementation.MessageSerializer; import com.azure.core.amqp.implementation.RequestResponseChannel; import com.azure.core.amqp.implementation.TokenManagerProvider; import com.azure.core.credential.TokenCredential; import com.azure.core.credential.TokenRequestContext; -import com.azure.core.util.logging.ClientLogger; import com.azure.messaging.eventhubs.EventHubProperties; import com.azure.messaging.eventhubs.PartitionProperties; import org.apache.qpid.proton.Proton; @@ -27,7 +25,7 @@ * Channel responsible for Event Hubs related metadata and management plane operations. Management plane operations * include another partition, increasing quotas, etc. */ -public class ManagementChannel extends EndpointStateNotifierBase implements EventHubManagementNode { +public class ManagementChannel implements EventHubManagementNode { // Well-known keys from the management service responses and requests. public static final String MANAGEMENT_ENTITY_NAME_KEY = "name"; public static final String MANAGEMENT_PARTITION_NAME_KEY = "partition"; @@ -67,7 +65,6 @@ public class ManagementChannel extends EndpointStateNotifierBase implements Even */ ManagementChannel(Mono responseChannelMono, String eventHubName, TokenCredential credential, TokenManagerProvider tokenManagerProvider, MessageSerializer messageSerializer) { - super(new ClientLogger(ManagementChannel.class)); this.tokenManagerProvider = Objects.requireNonNull(tokenManagerProvider, "'tokenManagerProvider' cannot be null."); diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/implementation/SynchronousEventSubscriber.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/implementation/SynchronousEventSubscriber.java index 5b5c1779977d..b588d7107d9e 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/implementation/SynchronousEventSubscriber.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/implementation/SynchronousEventSubscriber.java @@ -4,6 +4,7 @@ package com.azure.messaging.eventhubs.implementation; import com.azure.core.util.logging.ClientLogger; +import com.azure.messaging.eventhubs.Messages; import com.azure.messaging.eventhubs.models.PartitionEvent; import org.reactivestreams.Subscription; import reactor.core.publisher.BaseSubscriber; @@ -69,7 +70,7 @@ protected void hookOnComplete() { */ @Override protected void hookOnError(Throwable throwable) { - logger.error("Error occurred in subscriber. Error: {}", throwable); + logger.error(Messages.ERROR_OCCURRED_IN_SUBSCRIBER_ERROR, throwable); work.error(throwable); dispose(); } diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/implementation/SynchronousReceiveWork.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/implementation/SynchronousReceiveWork.java index 8637fca6c24b..1ec6fd0ddee2 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/implementation/SynchronousReceiveWork.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/implementation/SynchronousReceiveWork.java @@ -4,6 +4,7 @@ package com.azure.messaging.eventhubs.implementation; import com.azure.core.util.logging.ClientLogger; +import com.azure.messaging.eventhubs.Messages; import com.azure.messaging.eventhubs.models.PartitionEvent; import reactor.core.publisher.FluxSink; @@ -88,7 +89,7 @@ public void next(PartitionEvent event) { emitter.next(event); remaining.decrementAndGet(); } catch (Exception e) { - logger.warning("Exception occurred while emitting next received event.", e); + logger.warning(Messages.EXCEPTION_OCCURRED_WHILE_EMITTING, e); isTerminal = true; emitter.error(e); } diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/models/EventContext.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/models/EventContext.java index 90069bf7b45c..e167d0882f3b 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/models/EventContext.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/models/EventContext.java @@ -89,8 +89,9 @@ public Mono updateCheckpointAsync(EventData eventData) { return monoError(logger, new NullPointerException("'eventData' cannot be null")); } Checkpoint checkpoint = new Checkpoint() - .setConsumerGroup(partitionContext.getConsumerGroup()) + .setFullyQualifiedNamespace(partitionContext.getFullyQualifiedNamespace()) .setEventHubName(partitionContext.getEventHubName()) + .setConsumerGroup(partitionContext.getConsumerGroup()) .setPartitionId(partitionContext.getPartitionId()) .setSequenceNumber(eventData.getSequenceNumber()) .setOffset(eventData.getOffset()); diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/models/EventPosition.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/models/EventPosition.java index 3a04ce67bf4d..b4567ca5e821 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/models/EventPosition.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/models/EventPosition.java @@ -62,8 +62,8 @@ public static EventPosition earliest() { /** * Corresponds to the end of the partition, where no more events are currently enqueued. Use this position to begin - * receiving from the next event to be enqueued in the partition after an {@link EventHubConsumerAsyncClient} is - * created with this position. + * receiving from the next event to be enqueued in the partition when + * {@link EventHubConsumerAsyncClient#receiveFromPartition(String, EventPosition) receiveFromPartition()} invoked. * * @return An {@link EventPosition} set to the end of an Event Hubs stream and listens for new events. */ diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/models/ReceiveOptions.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/models/ReceiveOptions.java index 68f175c9d4d4..440807574741 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/models/ReceiveOptions.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/models/ReceiveOptions.java @@ -30,20 +30,18 @@ public Long getOwnerLevel() { } /** - * Sets the {@code ownerLevel} value on this consumer. When populated, the level indicates that a consumer is - * intended to be the only reader of events for the requested partition and an associated consumer group. To do so, - * this consumer will attempt to assert ownership over the partition; in the case where more than one exclusive - * consumer attempts to assert ownership for the same partition/consumer group pair, the one having a larger {@link - * ReceiveOptions#getOwnerLevel()} value will "win". + * Sets the {@code ownerLevel} value on this receive operation. When populated, the level indicates that the receive + * operation is intended to be the only reader of events for the requested partition and associated consumer group. + * To do so, this receive operation will attempt to assert ownership over the partition; in the case where + * there is more than one exclusive receive operation for the same partition/consumer group pair, the one having a + * larger {@link ReceiveOptions#getOwnerLevel()} value will "win". * - *

- * When an exclusive consumer is used, those consumers which are not exclusive or which have a lower priority will - * either not be allowed to be created, if they already exist, will encounter an exception during the next attempted - * operation. - *

+ *

When an exclusive receive operation is used, those receive operations which are not exclusive or which have a + * lower priority will either not be allowed to be created. If they already exist, will encounter an exception + * during the next attempted operation.

* - * @param priority The priority associated with an exclusive consumer; for a non-exclusive consumer, this value - * should be {@code null}. + * @param priority The priority associated with an exclusive receive operation; for a non-exclusive receive + * operation, this value should be {@code null}. * * @return The updated {@link ReceiveOptions} object. * @@ -60,10 +58,10 @@ public ReceiveOptions setOwnerLevel(Long priority) { } /** - * Gets whether or not the consumer should request information on the last enqueued event on its associated + * Gets whether or not the receive operation should request information on the last enqueued event on its associated * partition, and track that information as events are received. * - * @return {@code true} if the resulting consumer will keep track of the last enqueued information for that + * @return {@code true} if the resulting receive operation will keep track of the last enqueued information for that * partition; {@code false} otherwise. */ public boolean getTrackLastEnqueuedEventProperties() { @@ -71,7 +69,7 @@ public boolean getTrackLastEnqueuedEventProperties() { } /** - * Sets whether or not the consumer should request information on the last enqueued event on its associated + * Sets whether or not the receive operation should request information on the last enqueued event on its associated * partition, and track that information as events are received. * *

When information about the partition's last enqueued event is being tracked, each event received from the diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/models/SendOptions.java b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/models/SendOptions.java index a265d14e60bd..b4e22d028378 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/models/SendOptions.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/java/com/azure/messaging/eventhubs/models/SendOptions.java @@ -16,17 +16,17 @@ public class SendOptions { private String partitionId; /** - * Sets a hashing key to be provided for the batch of events, which instructs the Event Hubs service map this key to - * a specific partition but allowing the service to choose an arbitrary, partition for this batch of events and any - * other batches using the same partition hashing key. + * Sets a hashing key to be provided for the batch of events, which instructs the Event Hubs service to map this key + * to a specific partition. * - * The selection of a partition is stable for a given partition hashing key. Should any other batches of events be - * sent using the same exact partition hashing key, the Event Hubs service will route them all to the same - * partition. + *

The selection of a partition is stable for a given partition hashing key. Should any other batches of events + * be sent using the same exact partition hashing key, the Event Hubs service will route them all to the same + * partition.

* - * This should be specified only when there is a need to group events by partition, but there is flexibility into + *

This should be specified only when there is a need to group events by partition, but there is flexibility into * which partition they are routed. If ensuring that a batch of events is sent only to a specific partition, it is - * recommended that the identifier of the position be specified directly when sending the batch. + * recommended that the {@link #setPartitionId(String) identifier of the position be specified directly} when + * sending the batch.

* * @param partitionKey The partition hashing key to associate with the event or batch of events. * @@ -38,7 +38,7 @@ public SendOptions setPartitionKey(String partitionKey) { } /** - * Gets the partition routing key on an event batch. If specified, tells the Event Hubs service that these events + * Gets the hashing key on an event batch. If specified, tells the Event Hubs service that these events * belong to the same group and should belong to the same partition. * * @return The partition hashing key to associate with the event or batch of events. diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/main/resources/com/azure/messaging/eventhubs/messages.properties b/sdk/eventhubs/azure-messaging-eventhubs/src/main/resources/com/azure/messaging/eventhubs/messages.properties new file mode 100644 index 000000000000..c3f1ffcbf7cb --- /dev/null +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/main/resources/com/azure/messaging/eventhubs/messages.properties @@ -0,0 +1,16 @@ +PROCESS_SPAN_SCOPE_TYPE_ERROR=Process span scope type is not of type Closeable, but type: %s. Not closing the scope and span +MESSAGE_NOT_OF_TYPE=Message body type is not of type Data, but type: %s. Not setting body contents. +REQUEST_VALUE_NOT_VALID=Back pressure request value not valid. It must be between {} and {}. +EVENT_DATA_DOES_NOT_FIT=EventData does not fit into maximum number of batches. '%s' +CANNOT_SEND_EVENT_BATCH_EMPTY=Cannot send an EventBatch that is empty. +ERROR_SENDING_BATCH=Error sending batch. +FAILED_TO_CLAIM_OWNERSHIP=Failed to claim ownership of partition {} - {} +LOAD_BALANCING_FAILED=Load balancing for event processor failed - {} +EVENT_PROCESSOR_RUN_END=EventProcessor.run() endTracingSpan().close() failed with an error %s +FAILED_PROCESSING_ERROR_RECEIVE=Failed while processing error on receive {} +FAILED_WHILE_PROCESSING_ERROR=Failed while processing error {} +FAILED_CLOSE_CONSUMER_PARTITION=Failed to close consumer for partition {} +ERROR_OCCURRED_IN_SUBSCRIBER_ERROR=Error occurred in subscriber. Error: {} +EXCEPTION_OCCURRED_WHILE_EMITTING=Exception occurred while emitting next received event. +CLASS_NOT_A_SUPPORTED_TYPE=Class '%s' is not a supported deserializable type. +ENCODING_TYPE_NOT_SUPPORTED=Encoding Type: %s is not supported diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/ConsumeEvent.java b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/ConsumeEvents.java similarity index 99% rename from sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/ConsumeEvent.java rename to sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/ConsumeEvents.java index 1aaea8b63d86..f89dcab19dfb 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/ConsumeEvent.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/ConsumeEvents.java @@ -16,7 +16,7 @@ /** * Sample demonstrates how to receive events from an Azure Event Hub instance. */ -public class ConsumeEvent { +public class ConsumeEvents { private static final Duration OPERATION_TIMEOUT = Duration.ofSeconds(30); private static final int NUMBER_OF_EVENTS = 10; diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/ConsumeEventsFromKnownSequenceNumberPosition.java b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/ConsumeEventsFromKnownSequenceNumberPosition.java index 733ef6095470..a2559f15e574 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/ConsumeEventsFromKnownSequenceNumberPosition.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/ConsumeEventsFromKnownSequenceNumberPosition.java @@ -4,30 +4,27 @@ import com.azure.messaging.eventhubs.models.EventPosition; import com.azure.messaging.eventhubs.models.SendOptions; -import reactor.core.Disposable; import java.time.Duration; -import java.util.concurrent.Semaphore; +import java.util.concurrent.atomic.AtomicBoolean; import static java.nio.charset.StandardCharsets.UTF_8; /** - * Sample demonstrates how to receive events starting from the specific sequence number position in an Event Hub instance. + * Sample demonstrates how to receive events starting from the specific sequence number position in an Event Hub + * instance. It also demonstrates how to publish events to a specific partition. */ public class ConsumeEventsFromKnownSequenceNumberPosition { private static final Duration OPERATION_TIMEOUT = Duration.ofSeconds(30); - private static long lastEnqueuedSequenceNumber = -1; - private static String lastEnqueuedSequencePartitionId = null; /** - * Main method to invoke this demo about how to receive event from a known sequence number position in an Azure Event Hub instance. + * Main method to invoke this demo about how to receive event from a known sequence number position in an Azure + * Event Hub instance. * * @param args Unused arguments to the program. - * @throws InterruptedException The countdown latch was interrupted while waiting for this sample to - * complete. */ - public static void main(String[] args) throws InterruptedException { - Semaphore semaphore = new Semaphore(0); + public static void main(String[] args) { + final AtomicBoolean isRunning = new AtomicBoolean(true); // The connection string value can be obtained by: // 1. Going to your Event Hubs namespace in Azure Portal. @@ -36,76 +33,59 @@ public static void main(String[] args) throws InterruptedException { // 4. Copying the connection string from the policy's properties. String connectionString = "Endpoint={endpoint};SharedAccessKeyName={sharedAccessKeyName};SharedAccessKey={sharedAccessKey};EntityPath={eventHubName}"; - EventHubClientBuilder builder = new EventHubClientBuilder() - .connectionString(connectionString) - .consumerGroup(EventHubClientBuilder.DEFAULT_CONSUMER_GROUP_NAME); - - EventHubConsumerAsyncClient earliestConsumer = builder.buildAsyncConsumerClient(); - - earliestConsumer.getPartitionIds().flatMap(partitionId -> earliestConsumer.getPartitionProperties(partitionId)) - .subscribe( - properties -> { - if (!properties.isEmpty()) { - lastEnqueuedSequenceNumber = properties.getLastEnqueuedSequenceNumber(); - lastEnqueuedSequencePartitionId = properties.getId(); - } - }, - error -> System.err.println("Error occurred while fetching partition properties: " + error.toString()), - () -> { - // Releasing the semaphore now that we've finished querying for partition properties. - semaphore.release(); - }); - - System.out.println("Waiting for partition properties to complete..."); - // Acquiring the semaphore so that this sample does not end before all the partition properties are fetched. - semaphore.acquire(); - System.out.printf("Last enqueued sequence number: %s%n", lastEnqueuedSequenceNumber); + final EventHubClientBuilder builder = new EventHubClientBuilder() + .connectionString(connectionString); + + // The consumer group is required for consuming events. + final EventHubConsumerAsyncClient consumer = builder + .consumerGroup(EventHubClientBuilder.DEFAULT_CONSUMER_GROUP_NAME) + .buildAsyncConsumerClient(); + + // Find the first non-empty partition we can start consuming from. + // Block on it because we don't know what partition to start reading from, yet. + final PartitionProperties nonEmptyPartition = consumer.getPartitionIds() + .flatMap(partitionId -> consumer.getPartitionProperties(partitionId)) + .filter(properties -> !properties.isEmpty()) + .blockFirst(OPERATION_TIMEOUT); // Make sure to have at least one non-empty event hub in order to continue the sample execution // if you don't have an non-empty event hub, try with another example 'SendEvent' in the same directory. - if (lastEnqueuedSequenceNumber == -1 || lastEnqueuedSequencePartitionId == null) { - System.err.println("All event hubs are empty"); + if (nonEmptyPartition == null) { + System.err.println("All event hub partitions are empty"); System.exit(0); } - // Create a consumer. - // The "$Default" consumer group is created by default. This value can be found by going to the Event Hub - // instance you are connecting to, and selecting the "Consumer groups" page. EventPosition.latest() tells the - // service we only want events that are sent to the partition after we begin listening. - EventHubConsumerAsyncClient consumer = new EventHubClientBuilder() - .connectionString(connectionString) - .consumerGroup(EventHubClientBuilder.DEFAULT_CONSUMER_GROUP_NAME) - .buildAsyncConsumerClient(); + // ex. The last enqueued sequence number is 99. If isInclusive is true, the received event starting from + // the same event with sequence number of '99'. Otherwise, the event with sequence number of '100' will + // be the first event received. + final EventPosition position = EventPosition.fromSequenceNumber( + nonEmptyPartition.getLastEnqueuedSequenceNumber(), true); - // We start receiving any events that come from `firstPartition`, print out the contents, and decrement the - // countDownLatch. - final EventPosition position = EventPosition.fromSequenceNumber(lastEnqueuedSequenceNumber, false); - Disposable subscription = consumer.receiveFromPartition(lastEnqueuedSequencePartitionId, position).subscribe(partitionEvent -> { - EventData event = partitionEvent.getData(); - String contents = new String(event.getBody(), UTF_8); - // ex. The last enqueued sequence number is 99. If isInclusive is true, the received event starting from the same - // event with sequence number of '99'. Otherwise, the event with sequence number of '100' will be the first - // event received. - System.out.println(String.format("Receiving an event starting from the sequence number: %s. Contents: %s", - event.getSequenceNumber(), contents)); + // We start receiving any events that come from that non-empty partition, print out the contents. + // We keep receiving events while `takeWhile` resolves to true, that is, the program is still running. + consumer.receiveFromPartition(nonEmptyPartition.getId(), position) + .takeWhile(ignored -> isRunning.get()) + .subscribe(partitionEvent -> { + EventData event = partitionEvent.getData(); + String contents = new String(event.getBody(), UTF_8); - semaphore.release(); - }); + System.out.println(String.format("Event sequence number number: %s. Contents: %s%n", + event.getSequenceNumber(), contents)); + }); - EventHubProducerAsyncClient producer = builder.buildAsyncProducerClient(); + // Create a producer. + final EventHubProducerClient producer = builder.buildProducerClient(); - // Because the consumer is only listening to new events, we need to send some events to that partition. - // This sends the events to `lastEnqueuedSequencePartitionId`. - SendOptions sendOptions = new SendOptions().setPartitionId(lastEnqueuedSequencePartitionId); + // Because the consumer is only listening to new events after the last enqueued event was received, we need to + // send some events to that partition. + final SendOptions sendOptions = new SendOptions().setPartitionId(nonEmptyPartition.getId()); + producer.send(new EventData("Hello world!" .getBytes(UTF_8)), sendOptions); - producer.send(new EventData("Hello world!".getBytes(UTF_8)), sendOptions).block(OPERATION_TIMEOUT); - // Acquiring the semaphore so that this sample does not end before all events are fetched. - semaphore.acquire(); + // Set isRunning to false so we stop taking events. + isRunning.set(false); // Dispose and close of all the resources we've created. - subscription.dispose(); producer.close(); consumer.close(); - earliestConsumer.close(); } } diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/EventHubClientBuilderJavaDocCodeSamples.java b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/EventHubClientBuilderJavaDocCodeSamples.java index a4a2e0e330c8..29ce00fbf27e 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/EventHubClientBuilderJavaDocCodeSamples.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/EventHubClientBuilderJavaDocCodeSamples.java @@ -20,7 +20,6 @@ public void sharingConnection() { // Both the producer and consumer created share the same underlying connection. EventHubProducerAsyncClient producer = builder.buildAsyncProducerClient(); - EventHubConsumerAsyncClient consumer = builder .consumerGroup("my-consumer-group") .buildAsyncConsumerClient(); diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/EventHubConsumerAsyncClientJavaDocCodeSamples.java b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/EventHubConsumerAsyncClientJavaDocCodeSamples.java index d6e2ffc1ce59..c39136ee3133 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/EventHubConsumerAsyncClientJavaDocCodeSamples.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/EventHubConsumerAsyncClientJavaDocCodeSamples.java @@ -18,25 +18,28 @@ * Code snippets demonstrating various {@link EventHubConsumerAsyncClient} scenarios. */ public class EventHubConsumerAsyncClientJavaDocCodeSamples { + private final EventHubConsumerAsyncClient consumer = new EventHubClientBuilder() + .connectionString("fake-string") + .consumerGroup("consumer-group-name") + .buildAsyncConsumerClient(); public void initialization() { // BEGIN: com.azure.messaging.eventhubs.eventhubconsumerasyncclient.instantiation // The required parameters are `consumerGroup` and a way to authenticate with Event Hubs using credentials. EventHubConsumerAsyncClient consumer = new EventHubClientBuilder() - .connectionString("event-hub-instance-connection-string") - .consumerGroup(EventHubClientBuilder.DEFAULT_CONSUMER_GROUP_NAME) + .connectionString("Endpoint={fully-qualified-namespace};SharedAccessKeyName={policy-name};" + + "SharedAccessKey={key};EntityPath={eh-name}") + .consumerGroup("consumer-group-name") .buildAsyncConsumerClient(); // END: com.azure.messaging.eventhubs.eventhubconsumerasyncclient.instantiation + + consumer.close(); } /** * Receives event data from a single partition. */ public void receive() { - EventHubConsumerAsyncClient consumer = new EventHubClientBuilder() - .connectionString("fake-string") - .consumerGroup(EventHubClientBuilder.DEFAULT_CONSUMER_GROUP_NAME) - .buildAsyncConsumerClient(); // BEGIN: com.azure.messaging.eventhubs.eventhubconsumerasyncclient.receive#string-eventposition // Obtain partitionId from EventHubConsumerAsyncClient.getPartitionIds() @@ -68,7 +71,7 @@ public void receiveBackpressure() { EventHubConsumerAsyncClient consumer = new EventHubClientBuilder() .connectionString("fake-string") - .consumerGroup(EventHubClientBuilder.DEFAULT_CONSUMER_GROUP_NAME) + .consumerGroup("consumer-group-name") .buildAsyncConsumerClient(); // BEGIN: com.azure.messaging.eventhubs.eventhubconsumerasyncclient.receive#string-eventposition-basesubscriber @@ -103,7 +106,7 @@ protected void hookOnNext(PartitionEvent value) { public void receiveAll() { EventHubConsumerAsyncClient consumer = new EventHubClientBuilder() .connectionString("fake-string") - .consumerGroup(EventHubClientBuilder.DEFAULT_CONSUMER_GROUP_NAME) + .consumerGroup("consumer-group-name") .buildAsyncConsumerClient(); // BEGIN: com.azure.messaging.eventhubs.eventhubconsumerasyncclient.receive#boolean @@ -120,20 +123,25 @@ public void receiveAll() { * Receives from all partitions with last enqueued information. */ public void receiveLastEnqueuedInformation() { - // BEGIN: com.azure.messaging.eventhubs.eventhubconsumerasyncclient.receive#boolean-receiveoptions - ReceiveOptions receiveOptions = new ReceiveOptions() - .setTrackLastEnqueuedEventProperties(true); EventHubConsumerAsyncClient consumer = new EventHubClientBuilder() .connectionString("event-hub-instance-connection-string") - .consumerGroup(EventHubClientBuilder.DEFAULT_CONSUMER_GROUP_NAME) + .consumerGroup("consumer-group-name") .buildAsyncConsumerClient(); - // Receives events from all partitions as they come in. - consumer.receive(false, receiveOptions).subscribe(partitionEvent -> { - LastEnqueuedEventProperties properties = partitionEvent.getLastEnqueuedEventProperties(); - System.out.printf("Information received at %s. Sequence Id: %s%n", properties.getRetrievalTime(), - properties.getSequenceNumber()); - }); - // END: com.azure.messaging.eventhubs.eventhubconsumerasyncclient.receive#boolean-receiveoptions + // BEGIN: com.azure.messaging.eventhubs.eventhubconsumerasyncclient.receiveFromPartition#string-eventposition-receiveoptions + // Set `setTrackLastEnqueuedEventProperties` to true to get the last enqueued information from the partition for + // each event that is received. + ReceiveOptions receiveOptions = new ReceiveOptions() + .setTrackLastEnqueuedEventProperties(true); + + // Receives events from partition "0" as they come in. + consumer.receiveFromPartition("0", EventPosition.earliest(), receiveOptions) + .subscribe(partitionEvent -> { + LastEnqueuedEventProperties properties = partitionEvent.getLastEnqueuedEventProperties(); + System.out.printf("Information received at %s. Last enqueued sequence number: %s%n", + properties.getRetrievalTime(), + properties.getSequenceNumber()); + }); + // END: com.azure.messaging.eventhubs.eventhubconsumerasyncclient.receiveFromPartition#string-eventposition-receiveoptions } } diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/EventHubConsumerJavaDocCodeSamples.java b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/EventHubConsumerJavaDocCodeSamples.java index 2ed6b4e8c886..49bb72f61efb 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/EventHubConsumerJavaDocCodeSamples.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/EventHubConsumerJavaDocCodeSamples.java @@ -20,7 +20,7 @@ public class EventHubConsumerJavaDocCodeSamples { */ public void instantiate() { // BEGIN: com.azure.messaging.eventhubs.eventhubconsumerclient.instantiation - // The required parameters are `consumerGroup` and a way to authenticate with Event Hubs using credentials. + // The required parameters are `consumerGroup`, and a way to authenticate with Event Hubs using credentials. EventHubConsumerClient consumer = new EventHubClientBuilder() .connectionString( "Endpoint={eh-namespace};SharedAccessKeyName={policy-name};SharedAccessKey={key};Entity-Path={hub-name}") @@ -37,34 +37,35 @@ public void instantiate() { public void receive() { EventHubConsumerClient consumer = new EventHubClientBuilder() .connectionString("event-hub-instance-connection-string") - .consumerGroup(EventHubClientBuilder.DEFAULT_CONSUMER_GROUP_NAME) + .consumerGroup("consumer-group-name") .buildConsumerClient(); // BEGIN: com.azure.messaging.eventhubs.eventhubconsumerclient.receive#string-int-eventposition-duration Instant twelveHoursAgo = Instant.now().minus(Duration.ofHours(12)); EventPosition startingPosition = EventPosition.fromEnqueuedTime(twelveHoursAgo); - - // Obtain partitionId from EventHubConsumerClient.getPartitionIds(). String partitionId = "0"; - // Begins reading events from partition '0' and returns the first 100 received or until the wait time of 30 - // seconds has elapsed. + // Reads events from partition '0' and returns the first 100 received or until the 30 seconds has elapsed. IterableStream events = consumer.receiveFromPartition(partitionId, 100, startingPosition, Duration.ofSeconds(30)); + Long lastSequenceNumber = -1L; for (PartitionEvent partitionEvent : events) { // For each event, perform some sort of processing. System.out.print("Event received: " + partitionEvent.getData().getSequenceNumber()); + lastSequenceNumber = partitionEvent.getData().getSequenceNumber(); } - // Gets the next set of events from partition '0' to consume and process. - IterableStream nextEvents = consumer.receiveFromPartition(partitionId, 100, - startingPosition, Duration.ofSeconds(30)); - // END: com.azure.messaging.eventhubs.eventhubconsumerclient.receive#string-int-eventposition-duration + // Figure out what the next EventPosition to receive from is based on last event we processed in the stream. + // If lastSequenceNumber is -1L, then we didn't see any events the first time we fetched events from the + // partition. + if (lastSequenceNumber != -1L) { + EventPosition nextPosition = EventPosition.fromSequenceNumber(lastSequenceNumber, false); - for (PartitionEvent partitionEvent : nextEvents) { - // For each event, perform some sort of processing. - System.out.print("Event received: " + partitionEvent.getData().getSequenceNumber()); + // Gets the next set of events from partition '0' to consume and process. + IterableStream nextEvents = consumer.receiveFromPartition(partitionId, 100, + nextPosition, Duration.ofSeconds(30)); } + // END: com.azure.messaging.eventhubs.eventhubconsumerclient.receive#string-int-eventposition-duration } } diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/EventHubProducerAsyncClientJavaDocCodeSamples.java b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/EventHubProducerAsyncClientJavaDocCodeSamples.java index d000eba95126..ad5b804b1345 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/EventHubProducerAsyncClientJavaDocCodeSamples.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/EventHubProducerAsyncClientJavaDocCodeSamples.java @@ -4,8 +4,9 @@ package com.azure.messaging.eventhubs; import com.azure.messaging.eventhubs.models.CreateBatchOptions; -import com.azure.messaging.eventhubs.models.SendOptions; +import reactor.core.Exceptions; import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; import java.util.concurrent.atomic.AtomicReference; @@ -18,9 +19,7 @@ public class EventHubProducerAsyncClientJavaDocCodeSamples { private final EventHubClientBuilder builder = new EventHubClientBuilder(); /** - * Code snippet demonstrating how to create an {@link EventHubProducerAsyncClient} that automatically routes events to any - * partition. - * + * Code snippet demonstrating how to create an {@link EventHubProducerAsyncClient}. */ public void instantiate() { // BEGIN: com.azure.messaging.eventhubs.eventhubasyncproducerclient.instantiation @@ -37,19 +36,50 @@ public void instantiate() { } /** - * Code snippet demonstrating how to create an {@link EventHubProducerAsyncClient} that routes events to a single - * partition. - * + * Code snippet demonstrating how to send a batch that automatically routes events to any partition. */ - public void instantiatePartitionProducer() { - // BEGIN: com.azure.messaging.eventhubs.eventhubasyncproducerclient.instantiation#partitionId - EventData eventData = new EventData("data-to-partition-foo"); - SendOptions options = new SendOptions() - .setPartitionId("foo"); + public void batchAutomaticRouting() { + // BEGIN: com.azure.messaging.eventhubs.eventhubasyncproducerclient.createBatch + // The required parameter is a way to authenticate with Event Hubs using credentials. + // The connectionString provides a way to authenticate with Event Hub. + EventHubProducerAsyncClient producer = new EventHubClientBuilder() + .connectionString( + "Endpoint={fully-qualified-namespace};SharedAccessKeyName={policy-name};SharedAccessKey={key}", + "event-hub-name") + .buildAsyncProducerClient(); + // Creating a batch without options set, will allow for automatic routing of events to any partition. + producer.createBatch().flatMap(batch -> { + batch.tryAdd(new EventData("test-event-1")); + batch.tryAdd(new EventData("test-event-2")); + return producer.send(batch); + }).subscribe(unused -> { + }, + error -> System.err.println("Error occurred while sending batch:" + error), + () -> System.out.println("Send complete.")); + // END: com.azure.messaging.eventhubs.eventhubasyncproducerclient.createBatch + + producer.close(); + } + + /** + * Code snippet demonstrating how to create an EventDataBatch at routes events to a single partition. + */ + public void batchPartitionId() { EventHubProducerAsyncClient producer = builder.buildAsyncProducerClient(); - producer.send(eventData, options); - // END: com.azure.messaging.eventhubs.eventhubasyncproducerclient.instantiation#partitionId + + // BEGIN: com.azure.messaging.eventhubs.eventhubasyncproducerclient.createBatch#CreateBatchOptions-partitionId + // Creating a batch with partitionId set will route all events in that batch to partition `foo`. + CreateBatchOptions options = new CreateBatchOptions().setPartitionId("foo"); + producer.createBatch(options).flatMap(batch -> { + batch.tryAdd(new EventData("test-event-1")); + batch.tryAdd(new EventData("test-event-2")); + return producer.send(batch); + }).subscribe(unused -> { + }, + error -> System.err.println("Error occurred while sending batch:" + error), + () -> System.out.println("Send complete.")); + // END: com.azure.messaging.eventhubs.eventhubasyncproducerclient.createBatch#CreateBatchOptions-partitionId producer.close(); } @@ -57,64 +87,71 @@ public void instantiatePartitionProducer() { /** * Code snippet demonstrating how to send events with a partition key. */ - public void sendEventsFluxSendOptions() { - // BEGIN: com.azure.messaging.eventhubs.eventhubasyncproducerclient.send#publisher-sendOptions - Flux events = Flux.just( - new EventData("sourdough".getBytes(UTF_8)), - new EventData("rye".getBytes(UTF_8)), - new EventData("wheat".getBytes(UTF_8)) - ); - + public void batchPartitionKey() { EventHubProducerAsyncClient producer = builder.buildAsyncProducerClient(); - SendOptions options = new SendOptions() - .setPartitionKey("bread"); - producer.send(events, options).subscribe(ignored -> System.out.println("sent"), - error -> System.err.println("Error received:" + error), + // BEGIN: com.azure.messaging.eventhubs.eventhubasyncproducerclient.createBatch#CreateBatchOptions-partitionKey + // Creating a batch with partitionKey set will tell the service to hash the partitionKey and decide which + // partition to send the events to. Events with the same partitionKey are always routed to the same partition. + CreateBatchOptions options = new CreateBatchOptions().setPartitionKey("bread"); + producer.createBatch(options).flatMap(batch -> { + batch.tryAdd(new EventData("sourdough")); + batch.tryAdd(new EventData("rye")); + return producer.send(batch); + }).subscribe(unused -> { + }, + error -> System.err.println("Error occurred while sending batch:" + error), () -> System.out.println("Send complete.")); - // END: com.azure.messaging.eventhubs.eventhubasyncproducerclient.send#publisher-sendOptions + // END: com.azure.messaging.eventhubs.eventhubasyncproducerclient.createBatch#CreateBatchOptions-partitionKey } /** - * Code snippet demonstrating how to create an {@link EventDataBatch} and send it. + * Code snippet demonstrating how to create a size-limited {@link EventDataBatch} and send it. */ - public void sendEventDataBatch() { + public void batchSizeLimited() { final EventHubProducerAsyncClient producer = builder.buildAsyncProducerClient(); - - // BEGIN: com.azure.messaging.eventhubs.eventhubasyncproducerclient.send#eventDataBatch final EventData firstEvent = new EventData("92".getBytes(UTF_8)); firstEvent.getProperties().put("telemetry", "latency"); - final EventData secondEvent = new EventData("98".getBytes(UTF_8)); secondEvent.getProperties().put("telemetry", "cpu-temperature"); - final EventData thirdEvent = new EventData("120".getBytes(UTF_8)); - thirdEvent.getProperties().put("telemetry", "fps"); - - final Flux telemetryEvents = Flux.just(firstEvent, secondEvent, thirdEvent); + // BEGIN: com.azure.messaging.eventhubs.eventhubasyncproducerclient.createBatch#CreateBatchOptions-int + final Flux telemetryEvents = Flux.just(firstEvent, secondEvent); + // Setting `setMaximumSizeInBytes` when creating a batch, limits the size of that batch. + // In this case, all the batches created with these options are limited to 256 bytes. final CreateBatchOptions options = new CreateBatchOptions() - .setPartitionKey("telemetry") .setMaximumSizeInBytes(256); final AtomicReference currentBatch = new AtomicReference<>( producer.createBatch(options).block()); - // The sample Flux contains three events, but it could be an infinite stream of telemetry events. - telemetryEvents.subscribe(event -> { + // The sample Flux contains two events, but it could be an infinite stream of telemetry events. + telemetryEvents.flatMap(event -> { final EventDataBatch batch = currentBatch.get(); - if (!batch.tryAdd(event)) { + if (batch.tryAdd(event)) { + return Mono.empty(); + } + + return Mono.when( + producer.send(batch), producer.createBatch(options).map(newBatch -> { currentBatch.set(newBatch); - return producer.send(batch); - }).block(); - } - }, error -> System.err.println("Error received:" + error), - () -> { + + // Add the event that did not fit in the previous batch. + if (!newBatch.tryAdd(event)) { + throw Exceptions.propagate(new IllegalArgumentException( + "Event was too large to fit in an empty batch. Max size: " + newBatch.getMaxSizeInBytes())); + } + + return newBatch; + })); + }).then() + .doFinally(signal -> { final EventDataBatch batch = currentBatch.getAndSet(null); - if (batch != null) { + if (batch != null && batch.getCount() > 0) { producer.send(batch).block(); } }); - // END: com.azure.messaging.eventhubs.eventhubasyncproducerclient.send#eventDataBatch + // END: com.azure.messaging.eventhubs.eventhubasyncproducerclient.createBatch#CreateBatchOptions-int } } diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/EventHubProducerClientJavaDocCodeSamples.java b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/EventHubProducerClientJavaDocCodeSamples.java index d8119b32ea58..265e56c7373a 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/EventHubProducerClientJavaDocCodeSamples.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/EventHubProducerClientJavaDocCodeSamples.java @@ -4,9 +4,7 @@ package com.azure.messaging.eventhubs; import com.azure.messaging.eventhubs.models.CreateBatchOptions; -import com.azure.messaging.eventhubs.models.SendOptions; -import java.io.IOException; import java.util.Arrays; import java.util.List; @@ -18,15 +16,18 @@ public class EventHubProducerClientJavaDocCodeSamples { private final EventHubClientBuilder builder = new EventHubClientBuilder() .connectionString("fake-string"); + /** - * Code snippet demonstrating how to create an {@link EventHubProducerClient} that automatically routes events to any - * partition. - * + * Code snippet demonstrating how to create an {@link EventHubProducerClient}. */ public void instantiate() { // BEGIN: com.azure.messaging.eventhubs.eventhubproducerclient.instantiation + // The required parameter is a way to authenticate with Event Hubs using credentials. + // The connectionString provides a way to authenticate with Event Hub. EventHubProducerClient producer = new EventHubClientBuilder() - .connectionString("event-hubs-namespace-connection-string", "event-hub-name") + .connectionString( + "Endpoint={fully-qualified-namespace};SharedAccessKeyName={policy-name};SharedAccessKey={key}", + "event-hub-name") .buildProducerClient(); // END: com.azure.messaging.eventhubs.eventhubproducerclient.instantiation @@ -34,61 +35,97 @@ public void instantiate() { } /** - * Code snippet demonstrating how to send events to a single partition. + * Code snippet demonstrating how to send a batch that automatically routes events to any partition. * - * @throws IOException if the producer cannot be disposed. + * @throws IllegalArgumentException if an event is too large for an empty batch. */ - public void instantiatePartitionProducer() throws IOException { - // BEGIN: com.azure.messaging.eventhubs.eventhubproducerclient.instantiation#partitionId - EventData eventData = new EventData("data-to-partition-foo"); - SendOptions options = new SendOptions() - .setPartitionId("foo"); + public void batchAutomaticRouting() { + // BEGIN: com.azure.messaging.eventhubs.eventhubasyncproducerclient.createBatch + // The required parameter is a way to authenticate with Event Hubs using credentials. + // The connectionString provides a way to authenticate with Event Hub. + EventHubProducerClient producer = new EventHubClientBuilder() + .connectionString( + "Endpoint={fully-qualified-namespace};SharedAccessKeyName={policy-name};SharedAccessKey={key}", + "event-hub-name") + .buildProducerClient(); + List events = Arrays.asList(new EventData("test-event-1"), new EventData("test-event-2")); - EventHubProducerClient producer = builder.buildProducerClient(); - producer.send(eventData, options); - // END: com.azure.messaging.eventhubs.eventhubproducerclient.instantiation#partitionId + // Creating a batch without options set, will allow for automatic routing of events to any partition. + EventDataBatch batch = producer.createBatch(); + for (EventData event : events) { + if (batch.tryAdd(event)) { + continue; + } + + producer.send(batch); + batch = producer.createBatch(); + if (!batch.tryAdd(event)) { + throw new IllegalArgumentException("Event is too large for an empty batch."); + } + } + // END: com.azure.messaging.eventhubs.eventhubasyncproducerclient.createBatch producer.close(); } /** - * Code snippet demonstrating how to send events with a partition key. + * Code snippet demonstrating how to create an EventDataBatch at routes events to a single partition. */ - public void sendEventsSendOptions() { - // BEGIN: com.azure.messaging.eventhubs.eventhubproducerclient.send#publisher-sendOptions - final List events = Arrays.asList( - new EventData("sourdough".getBytes(UTF_8)), - new EventData("rye".getBytes(UTF_8)), - new EventData("wheat".getBytes(UTF_8)) - ); - + public void batchPartitionId() { final EventHubProducerClient producer = builder.buildProducerClient(); - final SendOptions options = new SendOptions() - .setPartitionKey("bread"); - producer.send(events, options); - // END: com.azure.messaging.eventhubs.eventhubproducerclient.send#publisher-sendOptions + // BEGIN: com.azure.messaging.eventhubs.eventhubproducerclient.createBatch#CreateBatchOptions-partitionId + // Creating a batch with partitionId set will route all events in that batch to partition `foo`. + CreateBatchOptions options = new CreateBatchOptions().setPartitionId("foo"); + + EventDataBatch batch = producer.createBatch(options); + batch.tryAdd(new EventData("data-to-partition-foo")); + producer.send(batch); + // END: com.azure.messaging.eventhubs.eventhubproducerclient.createBatch#CreateBatchOptions-partitionId } /** - * Code snippet demonstrating how to create an {@link EventDataBatch} and send it. + * Code snippet demonstrating how to send events with a partition key. */ - public void sendEventDataBatch() { + public void batchPartitionKey() { final EventHubProducerClient producer = builder.buildProducerClient(); - // BEGIN: com.azure.messaging.eventhubs.eventhubproducerclient.send#eventDataBatch + // BEGIN: com.azure.messaging.eventhubs.eventhubproducerclient.createBatch#CreateBatchOptions-partitionKey + List events = Arrays.asList(new EventData("sourdough"), new EventData("rye"), + new EventData("wheat")); + + // Creating a batch with partitionKey set will tell the service to hash the partitionKey and decide which + // partition to send the events to. Events with the same partitionKey are always routed to the same partition. + CreateBatchOptions options = new CreateBatchOptions().setPartitionKey("bread"); + EventDataBatch batch = producer.createBatch(options); + + events.forEach(event -> batch.tryAdd(event)); + producer.send(batch); + // END: com.azure.messaging.eventhubs.eventhubproducerclient.createBatch#CreateBatchOptions-partitionKey + } + + /** + * Code snippet demonstrating how to create a size-limited {@link EventDataBatch} and send it. + * + * @throws IllegalArgumentException if an event is too large for an empty batch. + */ + public void batchSizeLimited() { + final EventHubProducerClient producer = builder.buildProducerClient(); final EventData firstEvent = new EventData("92".getBytes(UTF_8)); firstEvent.getProperties().put("telemetry", "latency"); - final EventData secondEvent = new EventData("98".getBytes(UTF_8)); secondEvent.getProperties().put("telemetry", "cpu-temperature"); - final EventData thirdEvent = new EventData("120".getBytes(UTF_8)); thirdEvent.getProperties().put("telemetry", "fps"); + // BEGIN: com.azure.messaging.eventhubs.eventhubproducerclient.createBatch#CreateBatchOptions-int + + final List telemetryEvents = Arrays.asList(firstEvent, secondEvent, thirdEvent); + + // Setting `setMaximumSizeInBytes` when creating a batch, limits the size of that batch. + // In this case, all the batches created with these options are limited to 256 bytes. final CreateBatchOptions options = new CreateBatchOptions() - .setPartitionKey("telemetry") .setMaximumSizeInBytes(256); EventDataBatch currentBatch = producer.createBatch(options); @@ -99,8 +136,13 @@ public void sendEventDataBatch() { if (!currentBatch.tryAdd(event)) { producer.send(currentBatch); currentBatch = producer.createBatch(options); + + // Add the event we couldn't before. + if (!currentBatch.tryAdd(event)) { + throw new IllegalArgumentException("Event is too large for an empty batch."); + } } } - // END: com.azure.messaging.eventhubs.eventhubproducerclient.send#eventDataBatch + // END: com.azure.messaging.eventhubs.eventhubproducerclient.createBatch#CreateBatchOptions-int } } diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/GetEventHubMetadata.java b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/GetEventHubMetadata.java index ecfb4c6ada5c..109117f647d4 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/GetEventHubMetadata.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/GetEventHubMetadata.java @@ -2,21 +2,16 @@ // Licensed under the MIT License. package com.azure.messaging.eventhubs; -import java.util.concurrent.Semaphore; - /** - * Demonstrates how to fetch metadata from an Event Hub's partitions. + * Demonstrates how to fetch metadata from an Event Hub's partitions using synchronous client. */ public class GetEventHubMetadata { /** * Demonstrates how to get metadata from an Event Hub's partitions. * * @param args Unused arguments to the sample. - * @throws InterruptedException if the semaphore could not be acquired. */ - public static void main(String[] args) throws InterruptedException { - Semaphore semaphore = new Semaphore(1); - + public static void main(String[] args) { // The connection string value can be obtained by: // 1. Going to your Event Hubs namespace in Azure Portal. // 2. Creating an Event Hub instance. @@ -24,36 +19,29 @@ public static void main(String[] args) throws InterruptedException { // 4. Copying the connection string from the policy's properties. String connectionString = "Endpoint={endpoint};SharedAccessKeyName={sharedAccessKeyName};SharedAccessKey={sharedAccessKey};EntityPath={eventHubName}"; - // Instantiate a client that will be used to call the service. - EventHubProducerAsyncClient client = new EventHubClientBuilder() + // Instantiate a client that will be used to call the service. Using a try-resource block, so it disposes of + // the client when we are done. + EventHubProducerClient client = new EventHubClientBuilder() .connectionString(connectionString) - .buildAsyncProducerClient(); - - // Acquiring the semaphore so that this sample does not end before all the partition properties are fetched. - semaphore.acquire(); + .buildProducerClient(); // Querying the partition identifiers for the Event Hub. Then calling client.getPartitionProperties with the // identifier to get information about each partition. - client.getPartitionIds().flatMap(partitionId -> client.getPartitionProperties(partitionId)) - .subscribe(properties -> { - System.out.println("The Event Hub has the following properties:"); - System.out.printf( - "Event Hub Name: %s; Partition Id: %s; Is partition empty? %s; First Sequence Number: %s; " - + "Last Enqueued Time: %s; Last Enqueued Sequence Number: %s; Last Enqueued Offset: %s", - properties.getEventHubName(), properties.getId(), properties.isEmpty(), - properties.getBeginningSequenceNumber(), - properties.getLastEnqueuedTime(), - properties.getLastEnqueuedSequenceNumber(), - properties.getLastEnqueuedOffset()); - }, error -> { - System.err.println("Error occurred while fetching partition properties: " + error.toString()); - }, () -> { - // Releasing the semaphore now that we've finished querying for partition properties. - semaphore.release(); - }); + for (String partitionId : client.getPartitionIds()) { + PartitionProperties properties = client.getPartitionProperties(partitionId); + System.out.printf( + "Event Hub Name: %s; Partition Id: %s; Is partition empty? %s; First Sequence Number: %s; " + + "Last Enqueued Time: %s; Last Enqueued Sequence Number: %s; Last Enqueued Offset: %s%n", + properties.getEventHubName(), + properties.getId(), + properties.isEmpty(), + properties.getBeginningSequenceNumber(), + properties.getLastEnqueuedTime(), + properties.getLastEnqueuedSequenceNumber(), + properties.getLastEnqueuedOffset()); + } - System.out.println("Waiting for partition properties to complete..."); - semaphore.acquire(); - System.out.println("Finished."); + // Dispose of the client. + client.close(); } } diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/InMemoryCheckpointStore.java b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/InMemoryCheckpointStore.java index 3807892a3a54..f564cc58a06c 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/InMemoryCheckpointStore.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/InMemoryCheckpointStore.java @@ -6,6 +6,7 @@ import com.azure.core.util.logging.ClientLogger; import com.azure.messaging.eventhubs.models.Checkpoint; import com.azure.messaging.eventhubs.models.PartitionOwnership; +import java.util.List; import reactor.core.publisher.Flux; import reactor.core.publisher.Mono; @@ -44,12 +45,12 @@ public Flux listOwnership(String fullyQualifiedNamespace, St * already claimed by an instance or if the ETag in the request doesn't match the previously stored ETag, then * ownership claim is denied. * - * @param requestedPartitionOwnerships Array of partition ownerships this instance is requesting to own. + * @param requestedPartitionOwnerships List of partition ownerships this instance is requesting to own. * @return Successfully claimed partition ownerships. */ @Override - public Flux claimOwnership(PartitionOwnership... requestedPartitionOwnerships) { - return Flux.fromArray(requestedPartitionOwnerships) + public Flux claimOwnership(List requestedPartitionOwnerships) { + return Flux.fromIterable(requestedPartitionOwnerships) .filter(partitionOwnership -> { return !partitionOwnershipMap.containsKey(partitionOwnership.getPartitionId()) || partitionOwnershipMap.get(partitionOwnership.getPartitionId()).getETag() diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventDataBatch.java b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventDataBatch.java deleted file mode 100644 index 3fb8f293331e..000000000000 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventDataBatch.java +++ /dev/null @@ -1,68 +0,0 @@ -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. -package com.azure.messaging.eventhubs; - -import com.azure.messaging.eventhubs.models.CreateBatchOptions; -import reactor.core.publisher.Flux; - -import java.util.concurrent.atomic.AtomicReference; - -import static java.nio.charset.StandardCharsets.UTF_8; - -/** - * Sample demonstrates how to send an {@link EventDataBatch} to an Azure Event Hub. - */ -public class PublishEventDataBatch { - /** - * Main method to invoke this demo on how to send an {@link EventDataBatch} to an Azure Event Hub. - * - * @param args Unused arguments to the program. - */ - public static void main(String[] args) { - Flux telemetryEvents = Flux.just( - new EventData("Roast beef".getBytes(UTF_8)), - new EventData("Cheese".getBytes(UTF_8)), - new EventData("Tofu".getBytes(UTF_8)), - new EventData("Turkey".getBytes(UTF_8))); - - // The connection string value can be obtained by: - // 1. Going to your Event Hubs namespace in Azure Portal. - // 2. Creating an Event Hub instance. - // 3. Creating a "Shared access policy" for your Event Hub instance. - // 4. Copying the connection string from the policy's properties. - final String connectionString = "Endpoint={endpoint};SharedAccessKeyName={sharedAccessKeyName};" - + "SharedAccessKey={sharedAccessKey};EntityPath={eventHubName}"; - - // Create a producer. - EventHubProducerAsyncClient producer = new EventHubClientBuilder() - .connectionString(connectionString) - .buildAsyncProducerClient(); - - // Creating a batch where we want the events ending up in the same partition by setting the partition key. - final CreateBatchOptions options = new CreateBatchOptions() - .setPartitionKey("sandwiches") - .setMaximumSizeInBytes(256); - final AtomicReference currentBatch = new AtomicReference<>( - producer.createBatch(options).block()); - - // The sample Flux contains three events, but it could be an infinite stream of telemetry events. - telemetryEvents.subscribe(event -> { - final EventDataBatch batch = currentBatch.get(); - if (!batch.tryAdd(event)) { - producer.createBatch(options).map(newBatch -> { - currentBatch.set(newBatch); - return producer.send(batch); - }).block(); - } - }, error -> System.err.println("Error received:" + error), - () -> { - final EventDataBatch batch = currentBatch.getAndSet(null); - if (batch != null) { - producer.send(batch).block(); - } - - // Disposing of our producer. - producer.close(); - }); - } -} diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventsToSpecificPartition.java b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventsToSpecificPartition.java index d40335198791..3acc060d8b7a 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventsToSpecificPartition.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventsToSpecificPartition.java @@ -3,22 +3,25 @@ package com.azure.messaging.eventhubs; import com.azure.messaging.eventhubs.models.CreateBatchOptions; +import reactor.core.Exceptions; import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; import java.time.Duration; +import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicReference; import static java.nio.charset.StandardCharsets.UTF_8; /** - * Sample demonstrates how to sent events to specific event hub by define partition ID in producer option only. + * Sample demonstrates how to sent events to specific event hub by defining partition id using {@link + * CreateBatchOptions#setPartitionId(String)}. */ public class PublishEventsToSpecificPartition { private static final Duration OPERATION_TIMEOUT = Duration.ofSeconds(30); /** - * Main method to invoke this demo about how to send a batch of events with partition ID configured in producer - * option to an Azure Event Hub instance. + * Main method to invoke this demo about how to send a batch of events with partition id configured. * * @param args Unused arguments to the program. */ @@ -50,31 +53,55 @@ public static void main(String[] args) { // Create a batch to send the events. final CreateBatchOptions options = new CreateBatchOptions() - .setPartitionId(firstPartition) - .setMaximumSizeInBytes(256); + .setPartitionId(firstPartition); final AtomicReference currentBatch = new AtomicReference<>( producer.createBatch(options).block()); // We try to add as many events as a batch can fit based on the event size and send to Event Hub when // the batch can hold no more events. Create a new batch for next set of events and repeat until all events // are sent. - data.subscribe(event -> { + data.flatMap(event -> { final EventDataBatch batch = currentBatch.get(); - if (!batch.tryAdd(event)) { + if (batch.tryAdd(event)) { + return Mono.empty(); + } + + // The batch is full, so we create a new batch and send the batch. Mono.when completes when both operations + // have completed. + return Mono.when( + producer.send(batch), producer.createBatch(options).map(newBatch -> { currentBatch.set(newBatch); - return producer.send(batch); - }).block(); - } - }, error -> System.err.println("Error received:" + error), - () -> { + + // Add that event that we couldn't before. + if (!newBatch.tryAdd(event)) { + throw Exceptions.propagate(new IllegalArgumentException(String.format( + "Event is too large for an empty batch. Max size: %s. Event: %s", + newBatch.getMaxSizeInBytes(), event.getBodyAsString()))); + } + + return newBatch; + })); + }).then() + .doFinally(signal -> { final EventDataBatch batch = currentBatch.getAndSet(null); if (batch != null) { - producer.send(batch).block(); + producer.send(batch).block(OPERATION_TIMEOUT); } + }) + .subscribe(unused -> System.out.println("Complete"), + error -> System.out.println("Error sending events: " + error), + () -> System.out.println("Completed sending events.")); - // Disposing of our producer. - producer.close(); - }); + // The .subscribe() creation and assignment is not a blocking call. For the purpose of this example, we sleep + // the thread so the program does not end before the send operation is complete. Using .block() instead of + // .subscribe() will turn this into a synchronous call. + try { + TimeUnit.SECONDS.sleep(5); + } catch (InterruptedException ignored) { + } finally { + // Disposing of our producer. + producer.close(); + } } } diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventsWithAzureIdentity.java b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventsWithAzureIdentity.java new file mode 100644 index 000000000000..775b5b92b295 --- /dev/null +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventsWithAzureIdentity.java @@ -0,0 +1,105 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. +package com.azure.messaging.eventhubs; + +import com.azure.core.credential.TokenCredential; +import com.azure.identity.DefaultAzureCredentialBuilder; +import reactor.core.Exceptions; +import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; + +import java.time.Duration; +import java.util.concurrent.TimeUnit; +import java.util.concurrent.atomic.AtomicReference; + +import static java.nio.charset.StandardCharsets.UTF_8; + +/** + * Sample demonstrates how to send an {@link EventDataBatch} to an Azure Event Hub using Azure Identity. + */ +public class PublishEventsWithAzureIdentity { + private static final Duration OPERATION_TIMEOUT = Duration.ofSeconds(30); + + /** + * Main method to invoke this demo on how to send an {@link EventDataBatch} to an Azure Event Hub. + * + * @param args Unused arguments to the program. + */ + public static void main(String[] args) { + Flux telemetryEvents = Flux.just( + new EventData("Roast beef".getBytes(UTF_8)), + new EventData("Cheese".getBytes(UTF_8)), + new EventData("Tofu".getBytes(UTF_8)), + new EventData("Turkey".getBytes(UTF_8))); + + // The default azure credential checks multiple locations for credentials and determines the best one to use. + // For the purpose of this sample, create a service principal and set the following environment variables. + // See https://docs.microsoft.com/azure/active-directory/develop/howto-create-service-principal-portal for + // information on how to create a service principal. + System.setProperty("AZURE_CLIENT_ID", "<>"); + System.setProperty("AZURE_CLIENT_ID", "<>"); + System.setProperty("AZURE_TENANT_ID", "<>"); + + // DefaultAzureCredentialBuilder exists inside the azure-identity package. + TokenCredential credential = new DefaultAzureCredentialBuilder() + .build(); + + // Create a producer. + // "<>" will look similar to "{your-namespace}.servicebus.windows.net" + // "<>" will be the name of the Event Hub instance you created inside the Event Hubs namespace. + EventHubProducerAsyncClient producer = new EventHubClientBuilder() + .credential( + "<>", + "<>", + credential) + .buildAsyncProducerClient(); + + final AtomicReference currentBatch = new AtomicReference<>( + producer.createBatch().block()); + + // The sample Flux contains three events, but it could be an infinite stream of telemetry events. + telemetryEvents.flatMap(event -> { + final EventDataBatch batch = currentBatch.get(); + if (batch.tryAdd(event)) { + return Mono.empty(); + } + + // The batch is full, so we create a new batch and send the batch. Mono.when completes when both operations + // have completed. + return Mono.when( + producer.send(batch), + producer.createBatch().map(newBatch -> { + currentBatch.set(newBatch); + + // Add that event that we couldn't before. + if (!newBatch.tryAdd(event)) { + throw Exceptions.propagate(new IllegalArgumentException(String.format( + "Event is too large for an empty batch. Max size: %s. Event: %s", + newBatch.getMaxSizeInBytes(), event.getBodyAsString()))); + } + + return newBatch; + })); + }).then() + .doFinally(signal -> { + final EventDataBatch batch = currentBatch.getAndSet(null); + if (batch != null) { + producer.send(batch).block(OPERATION_TIMEOUT); + } + }) + .subscribe(unused -> System.out.println("Complete"), + error -> System.out.println("Error sending events: " + error), + () -> System.out.println("Completed sending events.")); + + // The .subscribe() creation and assignment is not a blocking call. For the purpose of this example, we sleep + // the thread so the program does not end before the send operation is complete. Using .block() instead of + // .subscribe() will turn this into a synchronous call. + try { + TimeUnit.SECONDS.sleep(5); + } catch (InterruptedException ignored) { + } finally { + // Disposing of our producer. + producer.close(); + } + } +} diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventsWithCustomMetadata.java b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventsWithCustomMetadata.java index fb4e1560b295..e5952a455ad7 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventsWithCustomMetadata.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventsWithCustomMetadata.java @@ -2,16 +2,20 @@ // Licensed under the MIT License. package com.azure.messaging.eventhubs; -import com.azure.messaging.eventhubs.models.CreateBatchOptions; +import reactor.core.Exceptions; import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; import java.time.Duration; +import java.util.concurrent.TimeUnit; import java.util.concurrent.atomic.AtomicReference; import static java.nio.charset.StandardCharsets.UTF_8; /** - * Sample demonstrates how to sent events to a specific event hub by defining partition ID in producer option only. + * Sample demonstrates how to sent events with custom metadata to Event Hubs using {@link EventData#getProperties()}. + * Allows the service to load-balance the events between all partitions by using + * {@link EventHubProducerAsyncClient#createBatch()} which uses the default set of create batch options. */ public class PublishEventsWithCustomMetadata { private static final Duration OPERATION_TIMEOUT = Duration.ofSeconds(30); @@ -37,62 +41,72 @@ public static void main(String[] args) { // Because an event consists mainly of an opaque set of bytes, it may be difficult for consumers of those events // to make informed decisions about how to process them. // - // In order to allow event publishers to offer better context for consumers, event data may also contain custom metadata, - // in the form of a set of key/value pairs. This metadata is not used by, or in any way meaningful to, the Event Hubs - // service; it exists only for coordination between event publishers and consumers. + // In order to allow event publishers to offer better context for consumers, event data may also contain custom + // metadata, in the form of a set of key/value pairs. This metadata is not used by, or in any way meaningful to, + // the Event Hubs service; it exists only for coordination between event publishers and consumers. // - // One common scenario for the inclusion of metadata is to provide a hint about the type of data contained by an event, - // so that consumers understand its format and can deserialize it appropriately. - // - // We will publish two events based on simple sentences, but will attach some custom metadata with - // pretend type names and other hints. Note that the set of metadata is unique to an event; there is no need for every - // event in a batch to have the same metadata properties available nor the same data type for those properties. + // One common scenario for the inclusion of metadata is to provide a hint about the type of data contained by an + // event, so that consumers understand its format and can deserialize it appropriately. EventData firstEvent = new EventData("EventData Sample 1".getBytes(UTF_8)); firstEvent.getProperties().put("EventType", "com.microsoft.samples.hello-event"); firstEvent.getProperties().put("priority", 1); firstEvent.getProperties().put("score", 9.0); - EventData secEvent = new EventData("EventData Sample 2".getBytes(UTF_8)); - secEvent.getProperties().put("EventType", "com.microsoft.samples.goodbye-event"); - secEvent.getProperties().put("priority", "17"); - secEvent.getProperties().put("blob", 10); - - final Flux data = Flux.just(firstEvent, secEvent); + EventData secondEvent = new EventData("EventData Sample 2".getBytes(UTF_8)); + secondEvent.getProperties().put("EventType", "com.microsoft.samples.goodbye-event"); + secondEvent.getProperties().put("priority", "17"); + secondEvent.getProperties().put("blob", 10); - // We want to send events to the a specific partition. For the sake of this sample, we take the first partition - // identifier. - // .blockFirst() here is used to synchronously block until the first partition id is emitted. The maximum wait - // time is set by passing in the OPERATION_TIMEOUT value. If no item is emitted before the timeout elapses, a - // TimeoutException is thrown. - String firstPartition = producer.getPartitionIds().blockFirst(OPERATION_TIMEOUT); + final Flux data = Flux.just(firstEvent, secondEvent); - // Create a batch to send the events. - final CreateBatchOptions options = new CreateBatchOptions() - .setPartitionId(firstPartition) - .setMaximumSizeInBytes(256); final AtomicReference currentBatch = new AtomicReference<>( - producer.createBatch(options).block()); + producer.createBatch().block()); // We try to add as many events as a batch can fit based on the event size and send to Event Hub when // the batch can hold no more events. Create a new batch for next set of events and repeat until all events // are sent. - data.subscribe(event -> { + data.flatMap(event -> { final EventDataBatch batch = currentBatch.get(); - if (!batch.tryAdd(event)) { - producer.createBatch(options).map(newBatch -> { - currentBatch.set(newBatch); - return producer.send(batch); - }).block(); + if (batch.tryAdd(event)) { + return Mono.empty(); } - }, error -> System.err.println("Error received:" + error), - () -> { + + // The batch is full, so we create a new batch and send the batch. Mono.when completes when both operations + // have completed. + return Mono.when( + producer.send(batch), + producer.createBatch().map(newBatch -> { + currentBatch.set(newBatch); + + // Add that event that we couldn't before. + if (!newBatch.tryAdd(event)) { + throw Exceptions.propagate(new IllegalArgumentException(String.format( + "Event is too large for an empty batch. Max size: %s. Event: %s", + newBatch.getMaxSizeInBytes(), event.getBodyAsString()))); + } + + return newBatch; + })); + }).then() + .doFinally(signal -> { final EventDataBatch batch = currentBatch.getAndSet(null); if (batch != null) { - producer.send(batch).block(); + producer.send(batch).block(OPERATION_TIMEOUT); } + }) + .subscribe(unused -> System.out.println("Complete"), + error -> System.out.println("Error sending events: " + error), + () -> System.out.println("Completed sending events.")); - // Disposing of our producer. - producer.close(); - }); + // The .subscribe() creation and assignment is not a blocking call. For the purpose of this example, we sleep + // the thread so the program does not end before the send operation is complete. Using .block() instead of + // .subscribe() will turn this into a synchronous call. + try { + TimeUnit.SECONDS.sleep(5); + } catch (InterruptedException ignored) { + } finally { + // Disposing of our producer. + producer.close(); + } } } diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventsWithPartitionKey.java b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventsWithPartitionKey.java index 23918d80a7b7..2496e26e06f3 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventsWithPartitionKey.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventsWithPartitionKey.java @@ -3,20 +3,24 @@ package com.azure.messaging.eventhubs; import com.azure.messaging.eventhubs.models.CreateBatchOptions; +import reactor.core.Exceptions; import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; +import java.time.Duration; import java.util.concurrent.atomic.AtomicReference; import static java.nio.charset.StandardCharsets.UTF_8; /** - * Send a list of events with send option configured + * Send a Flux of events using a partition key. */ public class PublishEventsWithPartitionKey { + private static final Duration OPERATION_TIMEOUT = Duration.ofSeconds(30); /** - * Main method to invoke this demo about how to send a list of events with partition ID configured in send option - * to an Azure Event Hub instance. + * Main method to invoke this demo about how to send a list of events with partition key configured in + * CreateBatchOptions to an Azure Event Hub instance. * * @param args Unused arguments to the program. */ @@ -43,41 +47,63 @@ public static void main(String[] args) { // the Event Hubs service keep different batches of events together on the same partition. This can be // accomplished by setting a partition key when publishing the events. // - // The partition key is NOT the identifier of a specific partition. Rather, it is an arbitrary piece of string data - // that Event Hubs uses as the basis to compute a hash value. Event Hubs will associate the hash value with a specific - // partition, ensuring that any events published with the same partition key are rerouted to the same partition. + // The partition key is NOT the identifier of a specific partition. Rather, it is an arbitrary piece of string + // data that Event Hubs uses as the basis to compute a hash value. Event Hubs will associate the hash value with + // a specific partition, ensuring that any events published with the same partition key are rerouted to the same + // partition. // - // All of event data send to the same partition of the partition key 'basketball' associate with. + // All the event data with partition key 'basketball' end up in the same partition. // - // Note that there is no means of accurately predicting which partition will be associated with a given partition key; - // we can only be assured that it will be a consistent choice of partition. If you have a need to understand which - // exact partition an event is published to, you will need to use an Event Hub producer associated with that partition. + // Note that there is no means of accurately predicting which partition will be associated with a given + // partition key; we can only be assured that it will be a consistent choice of partition. If you have a need to + // understand which exact partition an event is published to, you will need to use + // CreateBatchOptions.setPartitionId(String) when creating the EventDataBatch. final CreateBatchOptions options = new CreateBatchOptions() - .setPartitionKey("basketball") - .setMaximumSizeInBytes(256); + .setPartitionKey("basketball"); final AtomicReference currentBatch = new AtomicReference<>( producer.createBatch(options).block()); // We try to add as many events as a batch can fit based on the event size and send to Event Hub when // the batch can hold no more events. Create a new batch for next set of events and repeat until all events // are sent. - data.subscribe(event -> { + final Mono sendOperation = data.flatMap(event -> { final EventDataBatch batch = currentBatch.get(); - if (!batch.tryAdd(event)) { - producer.createBatch(options).map(newBatch -> { - currentBatch.set(newBatch); - return producer.send(batch); - }).block(); + if (batch.tryAdd(event)) { + return Mono.empty(); } - }, error -> System.err.println("Error received:" + error), - () -> { + + // The batch is full, so we create a new batch and send the batch. Mono.when completes when both operations + // have completed. + return Mono.when( + producer.send(batch), + producer.createBatch().map(newBatch -> { + currentBatch.set(newBatch); + + // Add that event that we couldn't before. + if (!newBatch.tryAdd(event)) { + throw Exceptions.propagate(new IllegalArgumentException(String.format( + "Event is too large for an empty batch. Max size: %s. Event: %s", + newBatch.getMaxSizeInBytes(), event.getBodyAsString()))); + } + + return newBatch; + })); + }).then() + .doFinally(signal -> { final EventDataBatch batch = currentBatch.getAndSet(null); if (batch != null) { - producer.send(batch).block(); + producer.send(batch).block(OPERATION_TIMEOUT); } - - // Disposing of our producer. - producer.close(); }); + + // The sendOperation creation and assignment is not a blocking call. It does not get invoked until there is a + // subscriber to that operation. For the purpose of this example, we block so the program does not end before + // the send operation is complete. Any of the `.subscribe` overloads also work to start the Mono asynchronously. + try { + sendOperation.block(OPERATION_TIMEOUT); + } finally { + // Disposing of our producer. + producer.close(); + } } } diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventsWithSizeLimitedBatches.java b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventsWithSizeLimitedBatches.java new file mode 100644 index 000000000000..21544154c737 --- /dev/null +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/samples/java/com/azure/messaging/eventhubs/PublishEventsWithSizeLimitedBatches.java @@ -0,0 +1,102 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.messaging.eventhubs; + +import com.azure.messaging.eventhubs.models.CreateBatchOptions; +import reactor.core.Exceptions; +import reactor.core.publisher.Flux; +import reactor.core.publisher.Mono; + +import java.time.Duration; +import java.util.concurrent.atomic.AtomicReference; + +import static java.nio.charset.StandardCharsets.UTF_8; + +/** + * Demonstrates how to publish events when there is a size constraint on batch size using + * {@link CreateBatchOptions#setMaximumSizeInBytes(int)}. + */ +public class PublishEventsWithSizeLimitedBatches { + private static final Duration OPERATION_TIMEOUT = Duration.ofSeconds(30); + + /** + * Main method to invoke this demo on how to send an {@link EventDataBatch} to an Azure Event Hub. + * + * @param args Unused arguments to the program. + */ + public static void main(String[] args) { + Flux telemetryEvents = Flux.just( + new EventData("Roast beef".getBytes(UTF_8)), + new EventData("Cheese".getBytes(UTF_8)), + new EventData("Tofu".getBytes(UTF_8)), + new EventData("Turkey".getBytes(UTF_8))); + + // The connection string value can be obtained by: + // 1. Going to your Event Hubs namespace in Azure Portal. + // 2. Creating an Event Hub instance. + // 3. Creating a "Shared access policy" for your Event Hub instance. + // 4. Copying the connection string from the policy's properties. + String connectionString = "Endpoint={endpoint};SharedAccessKeyName={sharedAccessKeyName};SharedAccessKey={sharedAccessKey};EntityPath={eventHubName}"; + + // Instantiate a client that will be used to call the service. + EventHubProducerAsyncClient producer = new EventHubClientBuilder() + .connectionString(connectionString) + .buildAsyncProducerClient(); + + // In cases where developers need to size limit their batch size, they can use `setMaximumSizeInBytes` to limit + // the size of their EventDataBatch. By default, it will be the max size allowed by the underlying link. + // Since there is no partition id or partition key set, the Event Hubs service will automatically load balance + // the events between all available partitions. + final CreateBatchOptions options = new CreateBatchOptions() + .setMaximumSizeInBytes(256); + final AtomicReference currentBatch = new AtomicReference<>( + producer.createBatch(options).block()); + + // The sample Flux contains three events, but it could be an infinite stream of telemetry events. + // We try to add as many events as a batch can fit based on the event size and send to Event Hub when + // the batch can hold no more events. Create a new batch for next set of events and repeat until all events + // are sent. + final Mono sendOperation = telemetryEvents.flatMap(event -> { + final EventDataBatch batch = currentBatch.get(); + if (batch.tryAdd(event)) { + return Mono.empty(); + } + + // The batch is full, so we create a new batch and send the batch. Mono.when completes when both operations + // have completed. + return Mono.when( + producer.send(batch), + producer.createBatch().map(newBatch -> { + currentBatch.set(newBatch); + + // Add that event that we couldn't before. + if (!newBatch.tryAdd(event)) { + throw Exceptions.propagate(new IllegalArgumentException(String.format( + "Event is too large for an empty batch. Max size: %s. Event: %s", + newBatch.getMaxSizeInBytes(), event.getBodyAsString()))); + } + + return newBatch; + })); + }).then() + .doFinally(signal -> { + final EventDataBatch batch = currentBatch.getAndSet(null); + if (batch != null) { + producer.send(batch).block(OPERATION_TIMEOUT); + } + }); + + // The sendOperation creation and assignment is not a blocking call. It does not get invoked until there is a + // subscriber to that operation. For the purpose of this example, we block so the program does not end before + // the send operation is complete. Any of the `.subscribe` overloads also work to start the Mono asynchronously. + try { + sendOperation.block(OPERATION_TIMEOUT); + } finally { + // Disposing of our producer. + producer.close(); + } + } +} + + diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/BackCompatTest.java b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/BackCompatTest.java index 93483adeeedc..dbb62f6a9db9 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/BackCompatTest.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/BackCompatTest.java @@ -19,6 +19,7 @@ import reactor.test.StepVerifier; import java.nio.ByteBuffer; +import java.time.Duration; import java.time.Instant; import java.util.Date; import java.util.HashMap; @@ -99,7 +100,8 @@ public void backCompatWithJavaSDKOlderThan0110() { .filter(received -> isMatchingEvent(received, messageTrackingValue)).take(1)) .then(() -> producer.send(eventData, sendOptions).block(TIMEOUT)) .assertNext(event -> validateAmqpProperties(applicationProperties, event.getData())) - .verifyComplete(); + .expectComplete() + .verify(Duration.ofSeconds(45)); } private void validateAmqpProperties(Map expected, EventData event) { diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubClientMetadataIntegrationTest.java b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubClientMetadataIntegrationTest.java index a039b0a7fa39..0dd3db73b4bc 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubClientMetadataIntegrationTest.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubClientMetadataIntegrationTest.java @@ -15,9 +15,6 @@ import reactor.core.publisher.Flux; import reactor.test.StepVerifier; -import java.security.InvalidKeyException; -import java.security.NoSuchAlgorithmException; - /** * Tests the metadata operations such as fetching partition properties and event hub properties. */ @@ -104,7 +101,7 @@ public void getPartitionPropertiesMultipleCalls() { * Verifies that error conditions are handled for fetching Event Hub metadata. */ @Test - public void getPartitionPropertiesInvalidToken() throws InvalidKeyException, NoSuchAlgorithmException { + public void getPartitionPropertiesInvalidToken() { // Arrange final ConnectionStringProperties original = getConnectionStringProperties(); final TokenCredential invalidTokenCredential = new EventHubSharedKeyCredential( @@ -130,7 +127,7 @@ public void getPartitionPropertiesInvalidToken() throws InvalidKeyException, NoS * Verifies that error conditions are handled for fetching partition metadata. */ @Test - public void getPartitionPropertiesNonExistentHub() throws InvalidKeyException, NoSuchAlgorithmException { + public void getPartitionPropertiesNonExistentHub() { // Arrange final ConnectionStringProperties original = getConnectionStringProperties(); final TokenCredential validCredentials = new EventHubSharedKeyCredential( diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubConnectionTest.java b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubConnectionTest.java index 120f871bd0ac..cb21b35b7b4d 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubConnectionTest.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubConnectionTest.java @@ -11,7 +11,7 @@ import com.azure.core.amqp.ProxyOptions; import com.azure.core.amqp.implementation.AmqpReceiveLink; import com.azure.core.amqp.implementation.AmqpSendLink; -import com.azure.core.amqp.implementation.CBSAuthorizationType; +import com.azure.core.amqp.implementation.CbsAuthorizationType; import com.azure.core.amqp.implementation.ConnectionOptions; import com.azure.core.credential.TokenCredential; import com.azure.messaging.eventhubs.implementation.EventHubAmqpConnection; @@ -59,7 +59,7 @@ public class EventHubConnectionTest { public void setup() { MockitoAnnotations.initMocks(this); ConnectionOptions connectionOptions = new ConnectionOptions(HOST_NAME, "event-hub-path", tokenCredential, - CBSAuthorizationType.SHARED_ACCESS_SIGNATURE, AmqpTransportType.AMQP_WEB_SOCKETS, retryOptions, + CbsAuthorizationType.SHARED_ACCESS_SIGNATURE, AmqpTransportType.AMQP_WEB_SOCKETS, retryOptions, ProxyOptions.SYSTEM_DEFAULTS, Schedulers.parallel()); provider = new EventHubConnection(Mono.just(connection), connectionOptions); } diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubConsumerAsyncClientTest.java b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubConsumerAsyncClientTest.java index 499c897c11f9..7aa341a6d98b 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubConsumerAsyncClientTest.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubConsumerAsyncClientTest.java @@ -5,11 +5,10 @@ import com.azure.core.amqp.AmqpEndpointState; import com.azure.core.amqp.AmqpRetryOptions; -import com.azure.core.amqp.AmqpShutdownSignal; import com.azure.core.amqp.AmqpTransportType; import com.azure.core.amqp.ProxyOptions; import com.azure.core.amqp.implementation.AmqpReceiveLink; -import com.azure.core.amqp.implementation.CBSAuthorizationType; +import com.azure.core.amqp.implementation.CbsAuthorizationType; import com.azure.core.amqp.implementation.ConnectionOptions; import com.azure.core.amqp.implementation.MessageSerializer; import com.azure.core.credential.TokenCredential; @@ -43,7 +42,6 @@ import reactor.core.scheduler.Schedulers; import reactor.test.StepVerifier; -import java.io.IOException; import java.time.Duration; import java.time.Instant; import java.util.Collections; @@ -84,10 +82,8 @@ public class EventHubConsumerAsyncClientTest { private final ClientLogger logger = new ClientLogger(EventHubConsumerAsyncClientTest.class); private final String messageTrackingUUID = UUID.randomUUID().toString(); - private final Flux errorProcessor = Flux.never(); - private final Flux endpointProcessor = Flux.never(); + private final DirectProcessor endpointProcessor = DirectProcessor.create(); private final DirectProcessor messageProcessor = DirectProcessor.create(); - private final DirectProcessor shutdownProcessor = DirectProcessor.create(); @Mock private AmqpReceiveLink amqpReceiveLink; @@ -111,12 +107,10 @@ public void setup() { MockitoAnnotations.initMocks(this); when(amqpReceiveLink.receive()).thenReturn(messageProcessor); - when(amqpReceiveLink.getErrors()).thenReturn(errorProcessor); - when(amqpReceiveLink.getConnectionStates()).thenReturn(endpointProcessor); - when(amqpReceiveLink.getShutdownSignals()).thenReturn(shutdownProcessor); + when(amqpReceiveLink.getEndpointStates()).thenReturn(endpointProcessor); connectionOptions = new ConnectionOptions(HOSTNAME, "event-hub-path", tokenCredential, - CBSAuthorizationType.SHARED_ACCESS_SIGNATURE, AmqpTransportType.AMQP_WEB_SOCKETS, new AmqpRetryOptions(), + CbsAuthorizationType.SHARED_ACCESS_SIGNATURE, AmqpTransportType.AMQP_WEB_SOCKETS, new AmqpRetryOptions(), ProxyOptions.SYSTEM_DEFAULTS, Schedulers.parallel()); eventHubConnection = new EventHubConnection(Mono.just(connection), connectionOptions); when(connection.createSession(any())).thenReturn(Mono.just(session)); @@ -223,15 +217,11 @@ public void returnsNewListener() { EventHubSession session3 = mock(EventHubSession.class); when(link2.receive()).thenReturn(processor2); - when(link2.getErrors()).thenReturn(Flux.never()); - when(link2.getConnectionStates()).thenReturn(Flux.just(AmqpEndpointState.ACTIVE)); - when(link2.getShutdownSignals()).thenReturn(Flux.never()); + when(link2.getEndpointStates()).thenReturn(Flux.create(sink -> sink.next(AmqpEndpointState.ACTIVE))); when(link2.getCredits()).thenReturn(numberOfEvents); when(link3.receive()).thenReturn(processor3); - when(link3.getErrors()).thenReturn(Flux.never()); - when(link3.getConnectionStates()).thenReturn(Flux.just(AmqpEndpointState.ACTIVE)); - when(link3.getShutdownSignals()).thenReturn(Flux.never()); + when(link3.getEndpointStates()).thenReturn(Flux.create(sink -> sink.next(AmqpEndpointState.ACTIVE))); when(link3.getCredits()).thenReturn(numberOfEvents); when(connection1.createSession(any())).thenReturn(Mono.just(session2), Mono.just(session3)); @@ -447,12 +437,10 @@ public void suppliesNoCreditsWhenNoSubscribers() { * Verifies that the consumer closes and completes any listeners on a shutdown signal. */ @Test - public void listensToShutdownSignals() throws InterruptedException, IOException { + public void listensToShutdownSignals() throws InterruptedException { // Arrange final int numberOfEvents = 7; final CountDownLatch shutdownReceived = new CountDownLatch(3); - final AmqpShutdownSignal shutdownSignal = new AmqpShutdownSignal(false, false, - "Test message"); when(amqpReceiveLink.getCredits()).thenReturn(numberOfEvents); @@ -484,7 +472,8 @@ public void listensToShutdownSignals() throws InterruptedException, IOException // Act sendMessages(messageProcessor.sink(), numberOfEvents, PARTITION_ID); - shutdownProcessor.onNext(shutdownSignal); + endpointProcessor.onNext(AmqpEndpointState.CLOSED); + endpointProcessor.onComplete(); // Assert try { @@ -541,15 +530,11 @@ public void receivesMultiplePartitions() { EventHubSession session3 = mock(EventHubSession.class); when(link2.receive()).thenReturn(processor2); - when(link2.getErrors()).thenReturn(Flux.never()); - when(link2.getConnectionStates()).thenReturn(Flux.just(AmqpEndpointState.ACTIVE)); - when(link2.getShutdownSignals()).thenReturn(Flux.never()); + when(link2.getEndpointStates()).thenReturn(Flux.create(sink -> sink.next(AmqpEndpointState.ACTIVE))); when(link2.getCredits()).thenReturn(numberOfEvents); when(link3.receive()).thenReturn(processor3); - when(link3.getErrors()).thenReturn(Flux.never()); - when(link3.getConnectionStates()).thenReturn(Flux.just(AmqpEndpointState.ACTIVE)); - when(link3.getShutdownSignals()).thenReturn(Flux.never()); + when(link3.getEndpointStates()).thenReturn(Flux.create(sink -> sink.next(AmqpEndpointState.ACTIVE))); when(link3.getCredits()).thenReturn(numberOfEvents); when(connection1.createSession(any())).thenAnswer(invocation -> { @@ -619,15 +604,15 @@ public void receivesMultiplePartitionsWhenOneCloses() { EventHubSession session3 = mock(EventHubSession.class); when(link2.receive()).thenReturn(processor2); - when(link2.getErrors()).thenReturn(Flux.never()); - when(link2.getConnectionStates()).thenReturn(Flux.just(AmqpEndpointState.ACTIVE)); - when(link2.getShutdownSignals()).thenReturn(Flux.never()); + when(link2.getEndpointStates()).thenReturn(Flux.create(sink -> { + sink.next(AmqpEndpointState.ACTIVE); + })); when(link2.getCredits()).thenReturn(numberOfEvents); when(link3.receive()).thenReturn(processor3); - when(link3.getErrors()).thenReturn(Flux.never()); - when(link3.getConnectionStates()).thenReturn(Flux.just(AmqpEndpointState.ACTIVE)); - when(link3.getShutdownSignals()).thenReturn(Flux.never()); + when(link3.getEndpointStates()).thenReturn(Flux.create(sink -> { + sink.next(AmqpEndpointState.ACTIVE); + })); when(link3.getCredits()).thenReturn(numberOfEvents); when(connection1.createSession(any())).thenAnswer(invocation -> { diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubConsumerClientTest.java b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubConsumerClientTest.java index 1f6130c94692..6940f7b8457c 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubConsumerClientTest.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubConsumerClientTest.java @@ -7,7 +7,7 @@ import com.azure.core.amqp.AmqpTransportType; import com.azure.core.amqp.ProxyOptions; import com.azure.core.amqp.implementation.AmqpReceiveLink; -import com.azure.core.amqp.implementation.CBSAuthorizationType; +import com.azure.core.amqp.implementation.CbsAuthorizationType; import com.azure.core.amqp.implementation.ConnectionOptions; import com.azure.core.amqp.implementation.MessageSerializer; import com.azure.core.credential.TokenCredential; @@ -94,13 +94,11 @@ public void setup() { MockitoAnnotations.initMocks(this); when(amqpReceiveLink.receive()).thenReturn(messageProcessor); - when(amqpReceiveLink.getErrors()).thenReturn(Flux.never()); - when(amqpReceiveLink.getConnectionStates()).thenReturn(Flux.never()); - when(amqpReceiveLink.getShutdownSignals()).thenReturn(Flux.never()); + when(amqpReceiveLink.getEndpointStates()).thenReturn(Flux.never()); when(amqpReceiveLink.getCredits()).thenReturn(10); connectionOptions = new ConnectionOptions(HOSTNAME, "event-hub-path", tokenCredential, - CBSAuthorizationType.SHARED_ACCESS_SIGNATURE, AmqpTransportType.AMQP_WEB_SOCKETS, new AmqpRetryOptions(), + CbsAuthorizationType.SHARED_ACCESS_SIGNATURE, AmqpTransportType.AMQP_WEB_SOCKETS, new AmqpRetryOptions(), ProxyOptions.SYSTEM_DEFAULTS, Schedulers.parallel()); linkProvider = new EventHubConnection(Mono.just(connection), connectionOptions); when(connection.createSession(argThat(name -> name.endsWith(PARTITION_ID)))) @@ -237,9 +235,7 @@ public void receivesMultipleTimes() { EmitterProcessor processor = EmitterProcessor.create(100, false); FluxSink sink2 = processor.sink(FluxSink.OverflowStrategy.BUFFER); when(amqpReceiveLink2.receive()).thenReturn(processor); - when(amqpReceiveLink2.getErrors()).thenReturn(Flux.never()); - when(amqpReceiveLink2.getConnectionStates()).thenReturn(Flux.never()); - when(amqpReceiveLink2.getShutdownSignals()).thenReturn(Flux.never()); + when(amqpReceiveLink2.getEndpointStates()).thenReturn(Flux.never()); when(amqpReceiveLink2.getCredits()).thenReturn(10); // Act diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubProducerAsyncClientIntegrationTest.java b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubProducerAsyncClientIntegrationTest.java index 32ada50cd853..de95c04f17e9 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubProducerAsyncClientIntegrationTest.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubProducerAsyncClientIntegrationTest.java @@ -177,16 +177,20 @@ public void sendWithCredentials() { .buildAsyncProducerClient(); // Act & Assert - StepVerifier.create(client.getEventHubProperties()) - .assertNext(properties -> { - Assertions.assertEquals(getEventHubName(), properties.getName()); - Assertions.assertEquals(2, properties.getPartitionIds().stream().count()); - }) - .expectComplete() - .verify(TIMEOUT); - - StepVerifier.create(client.send(event, options)) - .expectComplete() - .verify(TIMEOUT); + try { + StepVerifier.create(client.getEventHubProperties()) + .assertNext(properties -> { + Assertions.assertEquals(getEventHubName(), properties.getName()); + Assertions.assertEquals(2, properties.getPartitionIds().stream().count()); + }) + .expectComplete() + .verify(TIMEOUT); + + StepVerifier.create(client.send(event, options)) + .expectComplete() + .verify(TIMEOUT); + } finally { + dispose(client); + } } } diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubProducerAsyncClientTest.java b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubProducerAsyncClientTest.java index 3798de2137fb..bd69306be76d 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubProducerAsyncClientTest.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubProducerAsyncClientTest.java @@ -10,7 +10,7 @@ import com.azure.core.amqp.exception.AmqpErrorCondition; import com.azure.core.amqp.exception.AmqpException; import com.azure.core.amqp.implementation.AmqpSendLink; -import com.azure.core.amqp.implementation.CBSAuthorizationType; +import com.azure.core.amqp.implementation.CbsAuthorizationType; import com.azure.core.amqp.implementation.ConnectionOptions; import com.azure.core.amqp.implementation.MessageSerializer; import com.azure.core.amqp.implementation.TracerProvider; @@ -89,7 +89,7 @@ public void setup() { tracerProvider = new TracerProvider(Collections.emptyList()); ConnectionOptions connectionOptions = new ConnectionOptions(HOSTNAME, "event-hub-path", tokenCredential, - CBSAuthorizationType.SHARED_ACCESS_SIGNATURE, AmqpTransportType.AMQP_WEB_SOCKETS, retryOptions, + CbsAuthorizationType.SHARED_ACCESS_SIGNATURE, AmqpTransportType.AMQP_WEB_SOCKETS, retryOptions, ProxyOptions.SYSTEM_DEFAULTS, Schedulers.parallel()); eventHubConnection = new EventHubConnection(Mono.just(connection), connectionOptions); producer = new EventHubProducerAsyncClient(HOSTNAME, EVENT_HUB_NAME, eventHubConnection, retryOptions, tracerProvider, @@ -731,16 +731,36 @@ public void doesNotCloseSharedConnection() { public void closesDedicatedConnection() { // Arrange EventHubConnection hubConnection = mock(EventHubConnection.class); - EventHubProducerAsyncClient sharedProducer = new EventHubProducerAsyncClient(HOSTNAME, EVENT_HUB_NAME, + EventHubProducerAsyncClient dedicatedProducer = new EventHubProducerAsyncClient(HOSTNAME, EVENT_HUB_NAME, hubConnection, retryOptions, tracerProvider, messageSerializer, false); // Act - sharedProducer.close(); + dedicatedProducer.close(); // Verify verify(hubConnection, times(1)).close(); } + + /** + * Verifies that when we have a non-shared connection, the producer closes that connection. Only once. + */ + @Test + public void closesDedicatedConnectionOnlyOnce() { + // Arrange + EventHubConnection hubConnection = mock(EventHubConnection.class); + EventHubProducerAsyncClient dedicatedProducer = new EventHubProducerAsyncClient(HOSTNAME, EVENT_HUB_NAME, + hubConnection, retryOptions, tracerProvider, messageSerializer, false); + + // Act + dedicatedProducer.close(); + dedicatedProducer.close(); + + // Verify + verify(hubConnection, times(1)).close(); + } + + static final String TEST_CONTENTS = "SSLorem ipsum dolor sit amet, consectetur adipiscing elit. Donec vehicula posuere lobortis. Aliquam finibus volutpat dolor, faucibus pellentesque ipsum bibendum vitae. Class aptent taciti sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. Ut sit amet urna hendrerit, dapibus justo a, sodales justo. Mauris finibus augue id pulvinar congue. Nam maximus luctus ipsum, at commodo ligula euismod ac. Phasellus vitae lacus sit amet diam porta placerat. \n" + "Ut sodales efficitur sapien ut posuere. Morbi sed tellus est. Proin eu erat purus. Proin massa nunc, condimentum id iaculis dignissim, consectetur et odio. Cras suscipit sem eu libero aliquam tincidunt. Nullam ut arcu suscipit, eleifend velit in, cursus libero. Ut eleifend facilisis odio sit amet feugiat. Phasellus at nunc sit amet elit sagittis commodo ac in nisi. Fusce vitae aliquam quam. Integer vel nibh euismod, tempus elit vitae, pharetra est. Duis vulputate enim a elementum dignissim. Morbi dictum enim id elit scelerisque, in elementum nulla pharetra. \n" + "Aenean aliquet aliquet condimentum. Proin dapibus dui id libero tempus feugiat. Sed commodo ligula a lectus mattis, vitae tincidunt velit auctor. Fusce quis semper dui. Phasellus eu efficitur sem. Ut non sem sit amet enim condimentum venenatis id dictum massa. Nullam sagittis lacus a neque sodales, et ultrices arcu mattis. Aliquam erat volutpat. \n" diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubProducerClientIntegrationTest.java b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubProducerClientIntegrationTest.java index da15f3d36686..4d622d2decf4 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubProducerClientIntegrationTest.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubProducerClientIntegrationTest.java @@ -140,4 +140,23 @@ public void sendAllPartitions() { producer.send(batch); } } + + /** + * Sending with credentials. + */ + @Test + public void sendWithCredentials() { + // Arrange + final EventData event = new EventData("body"); + final SendOptions options = new SendOptions().setPartitionId(PARTITION_ID); + final EventHubProducerClient client = createBuilder(true) + .buildProducerClient(); + + // Act & Assert + try { + client.send(event, options); + } finally { + dispose(client); + } + } } diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubProducerClientTest.java b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubProducerClientTest.java index 581c41a725da..c26330c72cf4 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubProducerClientTest.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubProducerClientTest.java @@ -11,7 +11,7 @@ import com.azure.core.amqp.exception.AmqpErrorContext; import com.azure.core.amqp.exception.AmqpException; import com.azure.core.amqp.implementation.AmqpSendLink; -import com.azure.core.amqp.implementation.CBSAuthorizationType; +import com.azure.core.amqp.implementation.CbsAuthorizationType; import com.azure.core.amqp.implementation.ConnectionOptions; import com.azure.core.amqp.implementation.MessageSerializer; import com.azure.core.amqp.implementation.TracerProvider; @@ -93,7 +93,7 @@ public void setup() { final TracerProvider tracerProvider = new TracerProvider(Collections.emptyList()); ConnectionOptions connectionOptions = new ConnectionOptions(HOSTNAME, "event-hub-path", tokenCredential, - CBSAuthorizationType.SHARED_ACCESS_SIGNATURE, AmqpTransportType.AMQP_WEB_SOCKETS, retryOptions, + CbsAuthorizationType.SHARED_ACCESS_SIGNATURE, AmqpTransportType.AMQP_WEB_SOCKETS, retryOptions, ProxyOptions.SYSTEM_DEFAULTS, Schedulers.parallel()); linkProvider = new EventHubConnection(Mono.just(connection), connectionOptions); asyncProducer = new EventHubProducerAsyncClient(HOSTNAME, EVENT_HUB_NAME, linkProvider, retryOptions, diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubPropertiesTest.java b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubPropertiesTest.java index c5bee70d1e72..7d9740d18de9 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubPropertiesTest.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventHubPropertiesTest.java @@ -36,22 +36,41 @@ public void setsProperties() { } /** - * Verifies that the {@link EventHubProperties#getPartitionIds()} array is not {@code null} when we pass {@code null} - * to the constructor. + * Throws when we try to set null partitionIds. */ @Test - public void setsPropertiesNoPartitions() { + public void requiresPartitions() { // Arrange final String name = "Some-event-hub-name"; final Instant instant = Instant.ofEpochSecond(145620); - // Act - final EventHubProperties eventHubProperties = new EventHubProperties(name, instant, null); + // Act & Assert + Assertions.assertThrows(NullPointerException.class, () -> new EventHubProperties(name, instant, null)); + } - // Assert - Assertions.assertEquals(name, eventHubProperties.getName()); - Assertions.assertEquals(instant, eventHubProperties.getCreatedAt()); - Assertions.assertNotNull(eventHubProperties.getPartitionIds()); - Assertions.assertEquals(0, eventHubProperties.getPartitionIds().stream().count()); + /** + * Throws when we try to set null createdAt. + */ + @Test + public void requiresCreatedAt() { + // Arrange + final String name = "Some-event-hub-name"; + final String[] partitionIds = new String[]{"one-partition", "two-partition", "three-partition"}; + + // Act & Assert + Assertions.assertThrows(NullPointerException.class, () -> new EventHubProperties(name, null, partitionIds)); } + + /** + */ + @Test + public void requiresName() { + // Arrange + final Instant instant = Instant.ofEpochSecond(145620); + final String[] partitionIds = new String[]{"one-partition", "two-partition", "three-partition"}; + + // Act & Assert + Assertions.assertThrows(NullPointerException.class, () -> new EventHubProperties(null, instant, partitionIds)); + } + } diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventPositionIntegrationTest.java b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventPositionIntegrationTest.java index 377f77bca46c..2d0ab37cf2eb 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventPositionIntegrationTest.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/EventPositionIntegrationTest.java @@ -238,7 +238,6 @@ public void receiveMessageFromEnqueuedTimeReceivedMessage() { } } - /** * Tests that we can get an event using the inclusive offset. */ @@ -275,7 +274,7 @@ public void receiveMessageFromOffsetNonInclusive() { final EventData expectedEvent = events[4]; // Choose the offset before it, so we get that event back. - final EventPosition position = EventPosition.fromOffset(events[3].getOffset() - 1); + final EventPosition position = EventPosition.fromOffset(expectedEvent.getOffset() - 1); final EventHubConsumerAsyncClient consumer = client.createConsumer(DEFAULT_CONSUMER_GROUP_NAME, DEFAULT_PREFETCH_COUNT); // Act & Assert diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/IntegrationTestBase.java b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/IntegrationTestBase.java index d191b4e49d21..e6f1fc55ec33 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/IntegrationTestBase.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/IntegrationTestBase.java @@ -21,6 +21,7 @@ import org.junit.jupiter.api.BeforeEach; import org.junit.jupiter.api.TestInfo; import org.mockito.Mockito; +import reactor.core.scheduler.Schedulers; import java.io.Closeable; import java.io.IOException; @@ -49,6 +50,7 @@ public abstract class IntegrationTestBase extends TestBase { private static final String AZURE_EVENTHUBS_EVENT_HUB_NAME = "AZURE_EVENTHUBS_EVENT_HUB_NAME"; private ConnectionStringProperties properties; + private String testName; protected IntegrationTestBase(ClientLogger logger) { this.logger = logger; @@ -58,6 +60,7 @@ protected IntegrationTestBase(ClientLogger logger) { public void setupTest(TestInfo testInfo) { logger.info("[{}]: Performing integration test set-up.", testInfo.getDisplayName()); + testName = testInfo.getDisplayName(); skipIfNotRecordMode(); properties = new ConnectionStringProperties(getConnectionString()); @@ -157,7 +160,8 @@ protected EventHubClientBuilder createBuilder(boolean useCredentials) { final EventHubClientBuilder builder = new EventHubClientBuilder() .proxyOptions(ProxyOptions.SYSTEM_DEFAULTS) .retry(RETRY_OPTIONS) - .transportType(AmqpTransportType.AMQP); + .transportType(AmqpTransportType.AMQP) + .scheduler(Schedulers.newParallel("eh-integration")); if (useCredentials) { final String fqdn = getFullyQualifiedDomainName(); @@ -242,8 +246,8 @@ protected void dispose(Closeable... closeables) { try { closeable.close(); } catch (IOException error) { - logger.error(String.format("[%s]: %s didn't close properly.", - getTestName(), closeable.getClass().getSimpleName()), error); + logger.error(String.format("[%s]: %s didn't close properly.", testName, + closeable.getClass().getSimpleName()), error); } } } diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/InteropAmqpPropertiesTest.java b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/InteropAmqpPropertiesTest.java index a6643bba39e1..19ab8b864657 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/InteropAmqpPropertiesTest.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/InteropAmqpPropertiesTest.java @@ -7,6 +7,7 @@ import com.azure.core.amqp.implementation.MessageSerializer; import com.azure.core.util.logging.ClientLogger; import com.azure.messaging.eventhubs.models.EventPosition; +import com.azure.messaging.eventhubs.models.PartitionEvent; import com.azure.messaging.eventhubs.models.SendOptions; import org.apache.qpid.proton.Proton; import org.apache.qpid.proton.amqp.Binary; @@ -54,7 +55,8 @@ public InteropAmqpPropertiesTest() { protected void beforeTest() { sendOptions = new SendOptions().setPartitionId(PARTITION_ID); - client = createBuilder().buildAsyncClient(); + client = createBuilder().shareConnection() + .buildAsyncClient(); producer = client.createProducer(); consumer = client.createConsumer(EventHubClientBuilder.DEFAULT_CONSUMER_GROUP_NAME, DEFAULT_PREFETCH_COUNT); } @@ -107,25 +109,33 @@ public void interoperableWithDirectProtonAmqpMessage() { message.setBody(new Data(Binary.create(ByteBuffer.wrap(PAYLOAD.getBytes())))); final EventData msgEvent = serializer.deserialize(message, EventData.class); + final EventPosition enqueuedTime = EventPosition.fromEnqueuedTime(Instant.now()); + producer.send(msgEvent, sendOptions).block(TIMEOUT); + // Act & Assert // We're setting a tracking identifier because we don't want to receive some random operations. We want to // receive the event we sent. - StepVerifier.create(consumer.receiveFromPartition(PARTITION_ID, EventPosition.latest()) - .filter(event -> isMatchingEvent(event, messageTrackingValue)).take(1).map(x -> x.getData())) - .then(() -> producer.send(msgEvent, sendOptions).block(TIMEOUT)) + StepVerifier.create(consumer.receiveFromPartition(PARTITION_ID, enqueuedTime) + .filter(event -> isMatchingEvent(event, messageTrackingValue)).take(1).map(PartitionEvent::getData)) .assertNext(event -> { validateAmqpProperties(message, expectedAnnotations, applicationProperties, event); receivedEventData.set(event); }) - .verifyComplete(); + .expectComplete() + .verify(TIMEOUT); Assertions.assertNotNull(receivedEventData.get()); - StepVerifier.create(consumer.receiveFromPartition(PARTITION_ID, EventPosition.latest()) - .filter(event -> isMatchingEvent(event, messageTrackingValue)).take(1).map(x -> x.getData())) - .then(() -> producer.send(receivedEventData.get(), sendOptions).block(TIMEOUT)) + System.out.println("Sending another event we received."); + final EventPosition enqueuedTime2 = EventPosition.fromEnqueuedTime(Instant.now()); + producer.send(receivedEventData.get(), sendOptions).block(TIMEOUT); + +// .filter(event -> isMatchingEvent(event, messageTrackingValue)) + StepVerifier.create(consumer.receiveFromPartition(PARTITION_ID, enqueuedTime2) + .take(1).map(PartitionEvent::getData)) .assertNext(event -> validateAmqpProperties(message, expectedAnnotations, applicationProperties, event)) - .verifyComplete(); + .expectComplete() + .verify(TIMEOUT); } private void validateAmqpProperties(Message message, Map messageAnnotations, diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/MessagesTest.java b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/MessagesTest.java new file mode 100644 index 000000000000..afb6a9b716c6 --- /dev/null +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/MessagesTest.java @@ -0,0 +1,35 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.messaging.eventhubs; + +import org.junit.jupiter.params.ParameterizedTest; +import org.junit.jupiter.params.provider.MethodSource; + +import java.lang.reflect.Field; +import java.util.Objects; +import java.util.stream.Stream; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotEquals; + +class MessagesTest { + + static Stream keys() { + return Stream.of(Messages.class.getFields()).map(Field::getName); + } + + @ParameterizedTest + @MethodSource("keys") + void getMessage(String messageKey) { + assertNotEquals(messageKey, Messages.getMessage(messageKey)); + } + + @ParameterizedTest + @MethodSource("keys") + void messageField(String messageKey) throws NoSuchFieldException, IllegalAccessException { + Field field = Messages.class.getField(messageKey); + field.setAccessible(true); + assertEquals(Messages.getMessage(messageKey), Objects.toString(field.get(Messages.class))); + } +} diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/PartitionBasedLoadBalancerTest.java b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/PartitionBasedLoadBalancerTest.java index 233ad8ee2488..eaeb4d322e32 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/PartitionBasedLoadBalancerTest.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/PartitionBasedLoadBalancerTest.java @@ -345,7 +345,8 @@ public void testCheckpointStoreFailure() throws Exception { sleep(5); verify(eventHubAsyncClient, atLeast(1)).getPartitionIds(); verify(eventHubAsyncClient, never()).createConsumer(anyString(), anyInt()); - verify(eventHubConsumer, never()).receiveFromPartition(anyString(), any(EventPosition.class), any(ReceiveOptions.class)); + verify(eventHubConsumer, never()) + .receiveFromPartition(anyString(), any(EventPosition.class), any(ReceiveOptions.class)); verify(partitionProcessor, never()).processEvent(any(EventContext.class)); verify(partitionProcessor, never()).processError(any(ErrorContext.class)); verify(eventHubConsumer, never()).close(); @@ -369,7 +370,8 @@ public void testEventHubClientFailure() { sleep(2); verify(eventHubAsyncClient, atLeast(1)).getPartitionIds(); verify(eventHubAsyncClient, never()).createConsumer(anyString(), anyInt()); - verify(eventHubConsumer, never()).receiveFromPartition(anyString(), any(EventPosition.class), any(ReceiveOptions.class)); + verify(eventHubConsumer, never()) + .receiveFromPartition(anyString(), any(EventPosition.class), any(ReceiveOptions.class)); verify(partitionProcessor, never()).processEvent(any(EventContext.class)); verify(partitionProcessor, never()).processError(any(ErrorContext.class)); verify(eventHubConsumer, never()).close(); @@ -392,7 +394,7 @@ public void testEmptyOwnerId() { .setETag(UUID.randomUUID().toString()) .setLastModifiedTime(System.currentTimeMillis()) .setOwnerId(""); - checkpointStore.claimOwnership(claim1, claim2).subscribe(); + checkpointStore.claimOwnership(Arrays.asList(claim1, claim2)).subscribe(); List partitionIds = Arrays.asList("1", "2", "3"); when(eventHubAsyncClient.getPartitionIds()).thenReturn(Flux.fromIterable(partitionIds)); diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/ProxyReceiveTest.java b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/ProxyReceiveTest.java index 4515484a95a4..f6cc19fb49ba 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/ProxyReceiveTest.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/ProxyReceiveTest.java @@ -76,6 +76,7 @@ public static void cleanup() throws Exception { protected void beforeTest() { EventHubClientBuilder builder = new EventHubClientBuilder() .transportType(AmqpTransportType.AMQP_WEB_SOCKETS) + .shareConnection() .connectionString(getConnectionString()); if (HAS_PUSHED_EVENTS.getAndSet(true)) { diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/implementation/CBSChannelTest.java b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/implementation/CBSChannelTest.java index d74548dfa62b..3a6b4bb3aa93 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/implementation/CBSChannelTest.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/implementation/CBSChannelTest.java @@ -34,7 +34,7 @@ import java.time.Duration; import java.time.OffsetDateTime; -import static com.azure.core.amqp.implementation.CBSAuthorizationType.SHARED_ACCESS_SIGNATURE; +import static com.azure.core.amqp.implementation.CbsAuthorizationType.SHARED_ACCESS_SIGNATURE; public class CBSChannelTest extends IntegrationTestBase { private static final String CONNECTION_ID = "CbsChannelTest-Connection"; diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/implementation/EventHubReactorConnectionTest.java b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/implementation/EventHubReactorConnectionTest.java index 0bebe993c2ae..485612210e05 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/implementation/EventHubReactorConnectionTest.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/implementation/EventHubReactorConnectionTest.java @@ -6,7 +6,7 @@ import com.azure.core.amqp.AmqpRetryOptions; import com.azure.core.amqp.AmqpTransportType; import com.azure.core.amqp.ProxyOptions; -import com.azure.core.amqp.implementation.CBSAuthorizationType; +import com.azure.core.amqp.implementation.CbsAuthorizationType; import com.azure.core.amqp.implementation.ConnectionOptions; import com.azure.core.amqp.implementation.MessageSerializer; import com.azure.core.amqp.implementation.ReactorDispatcher; @@ -69,7 +69,7 @@ public void setup() throws IOException { final ProxyOptions proxy = ProxyOptions.SYSTEM_DEFAULTS; connectionOptions = new ConnectionOptions(HOSTNAME, "event-hub-name", - tokenCredential, CBSAuthorizationType.SHARED_ACCESS_SIGNATURE, AmqpTransportType.AMQP, new AmqpRetryOptions(), + tokenCredential, CbsAuthorizationType.SHARED_ACCESS_SIGNATURE, AmqpTransportType.AMQP, new AmqpRetryOptions(), proxy, scheduler); final ReactorDispatcher reactorDispatcher = new ReactorDispatcher(reactor); diff --git a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/implementation/ReactorConnectionIntegrationTest.java b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/implementation/ReactorConnectionIntegrationTest.java index 703de36e2faf..9e38bdc0a5d1 100644 --- a/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/implementation/ReactorConnectionIntegrationTest.java +++ b/sdk/eventhubs/azure-messaging-eventhubs/src/test/java/com/azure/messaging/eventhubs/implementation/ReactorConnectionIntegrationTest.java @@ -6,7 +6,7 @@ import com.azure.core.amqp.AmqpTransportType; import com.azure.core.amqp.ProxyOptions; import com.azure.core.amqp.implementation.AzureTokenManagerProvider; -import com.azure.core.amqp.implementation.CBSAuthorizationType; +import com.azure.core.amqp.implementation.CbsAuthorizationType; import com.azure.core.amqp.implementation.ClaimsBasedSecurityChannel; import com.azure.core.amqp.implementation.ConnectionOptions; import com.azure.core.amqp.implementation.ConnectionStringProperties; @@ -27,7 +27,7 @@ import java.time.OffsetDateTime; import java.time.ZoneOffset; -import static com.azure.core.amqp.implementation.CBSAuthorizationType.SHARED_ACCESS_SIGNATURE; +import static com.azure.core.amqp.implementation.CbsAuthorizationType.SHARED_ACCESS_SIGNATURE; public class ReactorConnectionIntegrationTest extends IntegrationTestBase { @@ -80,7 +80,7 @@ public void getCbsNode() { public void getCbsNodeAuthorize() { // Arrange final AzureTokenManagerProvider provider = new AzureTokenManagerProvider( - CBSAuthorizationType.SHARED_ACCESS_SIGNATURE, + CbsAuthorizationType.SHARED_ACCESS_SIGNATURE, getConnectionStringProperties().getEndpoint().getHost(), ClientConstants.AZURE_ACTIVE_DIRECTORY_SCOPE); diff --git a/sdk/eventhubs/microsoft-azure-eventhubs-eph/pom.xml b/sdk/eventhubs/microsoft-azure-eventhubs-eph/pom.xml index a1df513061bd..65b26e9fd0e0 100644 --- a/sdk/eventhubs/microsoft-azure-eventhubs-eph/pom.xml +++ b/sdk/eventhubs/microsoft-azure-eventhubs-eph/pom.xml @@ -7,7 +7,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml @@ -40,31 +40,36 @@ com.microsoft.azure azure-storage + 8.0.0 com.google.code.gson gson + 2.8.5 junit junit + 4.13-beta-3 test org.slf4j slf4j-simple + 1.7.25 test com.microsoft.azure msal4j - 0.4.0-preview + 0.4.0-preview test com.microsoft.azure adal4j + 1.6.4 test @@ -76,6 +81,7 @@ org.apache.maven.plugins maven-checkstyle-plugin + 3.1.0 true true diff --git a/sdk/eventhubs/microsoft-azure-eventhubs-extensions/pom.xml b/sdk/eventhubs/microsoft-azure-eventhubs-extensions/pom.xml index 4aeccb792001..60f0acb0fd1c 100644 --- a/sdk/eventhubs/microsoft-azure-eventhubs-extensions/pom.xml +++ b/sdk/eventhubs/microsoft-azure-eventhubs-extensions/pom.xml @@ -7,7 +7,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml @@ -40,31 +40,36 @@ org.apache.logging.log4j log4j-api + 2.11.1 org.apache.logging.log4j log4j-core + 2.11.1 junit junit + 4.13-beta-3 test org.slf4j slf4j-simple + 1.7.25 test com.microsoft.azure msal4j - 0.4.0-preview + 0.4.0-preview test com.microsoft.azure adal4j + 1.6.4 test @@ -76,6 +81,7 @@ org.apache.maven.plugins maven-checkstyle-plugin + 3.1.0 true true diff --git a/sdk/eventhubs/microsoft-azure-eventhubs/pom.xml b/sdk/eventhubs/microsoft-azure-eventhubs/pom.xml index fb9ebbfa6e38..a62fc2bb4e8b 100644 --- a/sdk/eventhubs/microsoft-azure-eventhubs/pom.xml +++ b/sdk/eventhubs/microsoft-azure-eventhubs/pom.xml @@ -7,7 +7,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml @@ -35,52 +35,60 @@ org.apache.qpid proton-j + 0.33.2 com.microsoft.azure qpid-proton-j-extensions + 1.2.1 org.slf4j slf4j-api + 1.7.28 com.microsoft.azure azure-client-authentication - ${client-runtime.version} + 1.6.15 compile com.nimbusds nimbus-jose-jwt - 6.0.1 + 6.0.1 junit junit + 4.13-beta-3 test org.slf4j slf4j-simple + 1.7.25 test com.microsoft.azure msal4j + 0.5.0-preview test com.microsoft.azure adal4j + 1.6.4 test org.mockito mockito-core + 3.0.0 test @@ -92,6 +100,7 @@ + diff --git a/sdk/identity/azure-identity/pom.xml b/sdk/identity/azure-identity/pom.xml index 932675cc4a0a..e930a9a15b19 100644 --- a/sdk/identity/azure-identity/pom.xml +++ b/sdk/identity/azure-identity/pom.xml @@ -15,7 +15,7 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../../pom.client.xml @@ -23,48 +23,62 @@ com.azure azure-core - 1.1.0-beta.1 + 1.1.0 + + + org.slf4j + slf4j-api + 1.7.28 com.microsoft.azure msal4j + 0.5.0-preview com.nimbusds oauth2-oidc-sdk + 6.14 org.nanohttpd nanohttpd + 2.3.1 junit junit + 4.13-beta-3 test org.mockito mockito-core + 3.0.0 test org.powermock powermock-module-junit4 + 2.0.2 test org.powermock powermock-api-mockito2 + 2.0.2 test net.java.dev.jna jna-platform + 5.4.0 io.projectreactor reactor-test + 3.3.0.RELEASE test diff --git a/sdk/keyvault/azure-security-keyvault-certificates/README.md b/sdk/keyvault/azure-security-keyvault-certificates/README.md index 54d439574211..d5b9bfe40dae 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/README.md +++ b/sdk/keyvault/azure-security-keyvault-certificates/README.md @@ -217,12 +217,16 @@ System.out.printf("Updated Certificate with name %s and enabled status %s", upda ### Delete a Certificate -Delete an existing Certificate by calling `deleteCertificate`. +Delete an existing Certificate by calling `beginDeleteCertificate`. ```Java -DeletedCertificate deletedCertificate = certificateClient.deleteCertificate("certificateName"); -System.out.printf("Deleted certificate with name %s and recovery id %s", deletedCertificate.getName(), - deletedCertificate.getRecoveryId()); +SyncPoller deleteCertificatePoller = + certificateClient.beginDeleteCertificate("certificateName"); +// Deleted Certificate is accessible as soon as polling beings. +PollResponse pollResponse = deleteCertificatePoller.poll(); +System.out.printf("Deleted certitifcate with name %s and recovery id %s", pollResponse.getValue().getName(), + pollResponse.getValue().getRecoveryId()); +deleteCertificatePoller.waitForCompletion(); ``` ### List Certificates @@ -232,7 +236,7 @@ List the certificates in the key vault by calling `listPropertiesOfCertificates` ```java // List operations don't return the certificates with their full information. So, for each returned certificate we call getCertificate to get the certificate with all its properties excluding the policy. for (CertificateProperties certificateProperties : certificateClient.listPropertiesOfCertificates()) { - KeyVaultCertificate certificateWithAllProperties = certificateClient.getCertificate(certificateProperties); + KeyVaultCertificate certificateWithAllProperties = certificateClient.getCertificate(certificateProperties.getName(), certificateProperties.getVersion()); System.out.printf("Received certificate with name %s and secret id %s", certificateWithAllProperties.getName(), certificateWithAllProperties.getSecretId()); } @@ -304,12 +308,15 @@ certificateAsyncClient.getCertificate("certificateName") ### Delete a Certificate Asynchronously -Delete an existing Certificate by calling `deleteCertificate`. +Delete an existing Certificate by calling `beginDeleteCertificate`. ```java -certificateAsyncClient.deleteCertificate("certificateName") - .subscribe(deletedSecretResponse -> - System.out.printf("Deleted Certificate's Recovery Id %s \n", deletedSecretResponse.getRecoveryId())); +certificateAsyncClient.beginDeleteCertificate("certificateName") + .subscribe(pollResponse -> { + System.out.println("Delete Status: " + pollResponse.getStatus().toString()); + System.out.println("Delete Certificate Name: " + pollResponse.getValue().getName()); + System.out.println("Certificate Delete Date: " + pollResponse.getValue().getDeletedOn().toString()); + }); ``` ### List Certificates Asynchronously @@ -319,7 +326,7 @@ List the certificates in the key vault by calling `listPropertiesOfCertificates` ```Java // The List Certificates operation returns certificates without their full properties, so for each certificate returned we call `getCertificate` to get all its attributes excluding the policy. certificateAsyncClient.listPropertiesOfCertificates() - .subscribe(certificateProperties -> certificateAsyncClient.getCertificate(certificateProperties) + .subscribe(certificateProperties -> certificateAsyncClient.getCertificate(certificateProperties.getName(), certificateProperties.getVersion()); .subscribe(certificateResponse -> System.out.printf("Received certificate with name %s and key id %s", certificateResponse.getName(), certificateResponse.getKeyId()))); ``` diff --git a/sdk/keyvault/azure-security-keyvault-certificates/pom.xml b/sdk/keyvault/azure-security-keyvault-certificates/pom.xml index 3808a73f0824..f213d4c4228f 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/pom.xml +++ b/sdk/keyvault/azure-security-keyvault-certificates/pom.xml @@ -6,7 +6,7 @@ azure-client-sdk-parent com.azure - 1.6.0 + 1.7.0 ../../../pom.client.xml @@ -36,30 +36,33 @@ com.azure azure-core - 1.1.0-beta.1 + 1.1.0 com.azure azure-core-http-netty - 1.1.0-beta.1 + 1.1.0 commons-codec commons-codec + 1.13 junit junit + 4.13-beta-3 test io.projectreactor reactor-test + 3.3.0.RELEASE test diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateAsyncClient.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateAsyncClient.java index f53fecc7cee9..6ab2eba3df67 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateAsyncClient.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateAsyncClient.java @@ -38,8 +38,9 @@ import com.azure.security.keyvault.certificates.models.KeyVaultCertificateWithPolicy; import com.azure.security.keyvault.certificates.models.CertificatePolicyAction; import com.azure.security.keyvault.certificates.models.LifeTimeAction; -import com.azure.security.keyvault.certificates.models.CertificateImportOptions; +import com.azure.security.keyvault.certificates.models.ImportCertificateOptions; +import java.net.HttpURLConnection; import java.net.URL; import java.time.Duration; import java.util.List; @@ -73,6 +74,7 @@ public class CertificateAsyncClient { static final String ACCEPT_LANGUAGE = "en-US"; static final int DEFAULT_MAX_PAGE_RESULTS = 25; static final String CONTENT_TYPE_HEADER_VALUE = "application/json"; + static final String KEY_VAULT_SCOPE = "https://vault.azure.net/.default"; private final String vaultUrl; private final CertificateService service; private final ClientLogger logger = new ClientLogger(CertificateAsyncClient.class); @@ -106,7 +108,7 @@ public String getVaultUrl() { *

Create certificate is a long running operation. The {@link PollerFlux poller} allows users to automatically poll on the create certificate * operation status. It is possible to monitor each intermediate poll response during the poll operation.

* - * {@codesnippet com.azure.security.keyvault.certificates.CertificateAsyncClient.createCertificate#String-CertificatePolicy-Boolean-Map} + * {@codesnippet com.azure.security.keyvault.certificates.CertificateAsyncClient.beginCreateCertificate#String-CertificatePolicy-Boolean-Map} * * @param name The name of the certificate to be created. * @param policy The policy of the certificate to be created. @@ -157,7 +159,7 @@ Mono> fetchResultOperation(String name) { *

Create certificate is a long running operation. The {@link PollerFlux poller} allows users to automatically poll on the create certificate * operation status. It is possible to monitor each intermediate poll response during the poll operation.

* - * {@codesnippet com.azure.security.keyvault.certificates.CertificateAsyncClient.createCertificate#String-CertificatePolicy} + * {@codesnippet com.azure.security.keyvault.certificates.CertificateAsyncClient.beginCreateCertificate#String-CertificatePolicy} * * @param name The name of the certificate to be created. * @param policy The policy of the certificate to be created. @@ -197,6 +199,7 @@ private Mono> processCertificateOperationResp status = LongRunningOperationStatus.FAILED; break; default: + status = LongRunningOperationStatus.fromString(certificateOperationResponse.getValue().getStatus(), true); //should not reach here break; } @@ -211,6 +214,28 @@ Mono> createCertificateWithResponse(String name, return service.createCertificate(vaultUrl, name, API_VERSION, ACCEPT_LANGUAGE, certificateRequestParameters, CONTENT_TYPE_HEADER_VALUE, context); } + + /** + * Gets a pending {@link CertificateOperation} from the key vault. This operation requires the certificates/get permission. + * + *

Code Samples

+ *

Get a pending certificate operation. The {@link PollerFlux poller} allows users to automatically poll on the certificate + * operation status. It is possible to monitor each intermediate poll response during the poll operation.

+ * + * {@codesnippet com.azure.security.keyvault.certificates.CertificateAsyncClient.getCertificateOperation#String} + * + * @param name The name of the certificate. + * @throws ResourceNotFoundException when a certificate operation for a certificate with {@code name} doesn't exist. + * @return A {@link PollerFlux} polling on the certificate operation status. + */ + public PollerFlux getCertificateOperation(String name) { + return new PollerFlux<>(Duration.ofSeconds(1), + (pollingContext) -> Mono.empty(), + createPollOperation(name), + cancelOperation(name), + fetchResultOperation(name)); + } + /** * Gets information about the latest version of the specified certificate. This operation requires the certificates/get permission. * @@ -380,30 +405,6 @@ Mono> updateCertificatePropertiesWithResponse(Cert .doOnError(error -> logger.warning("Failed to update the certificate - {}", certificateProperties.getName(), error)); } - /** - * Gets information about the certificate which represents the {@link CertificateProperties} from the key vault. This - * operation requires the certificates/get permission. - * - *

The list operations {@link CertificateAsyncClient#listPropertiesOfCertificates()} and {@link CertificateAsyncClient#listPropertiesOfCertificateVersions(String)} return - * the {@link Flux} containing {@link CertificateProperties} as output excluding the properties like secretId and keyId of the certificate. - * This operation can then be used to get the full certificate with its properties excluding the policy from {@code certificateProperties}.

- * - * {@codesnippet com.azure.security.keyvault.certificates.CertificateAsyncClient.getCertificate#CertificateProperties} - * - * @param certificateProperties The {@link CertificateProperties} holding attributes of the certificate being requested. - * @throws ResourceNotFoundException when a certificate with {@link CertificateProperties#getName() name} and {@link CertificateProperties#getVersion() version} doesn't exist in the key vault. - * @throws HttpRequestException if {@link CertificateProperties#getName()} name} or {@link CertificateProperties#getVersion() version} is empty string. - * @return A {@link Mono} containing a {@link Response} whose {@link Response#getValue() value} contains the requested {@link KeyVaultCertificate certificate}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getCertificate(CertificateProperties certificateProperties) { - try { - return withContext(context -> getCertificateWithResponse(certificateProperties.getName(), certificateProperties.getVersion(), context)).flatMap(FluxUtil::toMono); - } catch (RuntimeException ex) { - return monoError(logger, ex); - } - } - /** * Deletes a certificate from a specified key vault. All the versions of the certificate along with its associated policy * get deleted. If soft-delete is enabled on the key vault then the certificate is placed in the deleted state and requires to be @@ -413,45 +414,43 @@ public Mono getCertificate(CertificateProperties certificat *

Code Samples

*

Deletes the certificate in the Azure Key Vault. Prints out the deleted certificate details when a response has been received.

* - * {@codesnippet com.azure.security.keyvault.certificates.CertificateAsyncClient.deleteCertificate#string} + * {@codesnippet com.azure.security.keyvault.certificates.CertificateAsyncClient.beginDeleteCertificate#string} * * @param name The name of the certificate to be deleted. * @throws ResourceNotFoundException when a certificate with {@code name} doesn't exist in the key vault. * @throws HttpRequestException when a certificate with {@code name} is empty string. - * @return A {@link Mono} containing the {@link DeletedCertificate deleted certificate}. + * @return A {@link PollerFlux} to poll on the {@link DeletedCertificate deleted certificate}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono deleteCertificate(String name) { - try { - return withContext(context -> deleteCertificateWithResponse(name, context)).flatMap(FluxUtil::toMono); - } catch (RuntimeException ex) { - return monoError(logger, ex); - } + public PollerFlux beginDeleteCertificate(String name) { + return new PollerFlux<>(Duration.ofSeconds(1), + activationOperation(name), + createDeletePollOperation(name), + (context, firstResponse) -> Mono.empty(), + (context) -> Mono.empty()); } - /** - * Deletes a certificate from a specified key vault. All the versions of the certificate along with its associated policy - * get deleted. If soft-delete is enabled on the key vault then the certificate is placed in the deleted state and requires to be - * purged for permanent deletion else the certificate is permanently deleted. The delete operation applies to any certificate stored in - * Azure Key Vault but it cannot be applied to an individual version of a certificate. This operation requires the certificates/delete permission. - * - *

Code Samples

- *

Deletes the certificate in the Azure Key Vault. Prints out the deleted certificate details when a response has been received.

- * - * {@codesnippet com.azure.security.keyvault.certificates.CertificateAsyncClient.deleteCertificateWithResponse#string} - * - * @param name The name of the certificate to be deleted. - * @throws ResourceNotFoundException when a certificate with {@code name} doesn't exist in the key vault. - * @throws HttpRequestException when a certificate with {@code name} is empty string. - * @return A {@link Mono} containing a {@link Response} whose {@link Response#getValue() value} contains the {@link DeletedCertificate deleted certificate}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> deleteCertificateWithResponse(String name) { - try { - return withContext(context -> deleteCertificateWithResponse(name, context)); - } catch (RuntimeException ex) { - return monoError(logger, ex); - } + private Function, Mono> activationOperation(String name) { + return (pollingContext) -> withContext(context -> deleteCertificateWithResponse(name, context) + .flatMap(deletedCertificateResponse -> Mono.just(deletedCertificateResponse.getValue()))); + } + + /* + Polling operation to poll on create delete certificate operation status. + */ + private Function, Mono>> createDeletePollOperation(String keyName) { + return pollingContext -> + withContext(context -> service.getDeletedCertificatePoller(vaultUrl, keyName, API_VERSION, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) + .flatMap(deletedCertificateResponse -> { + if (deletedCertificateResponse.getStatusCode() == HttpURLConnection.HTTP_NOT_FOUND) { + return Mono.defer(() -> Mono.just(new PollResponse<>(LongRunningOperationStatus.IN_PROGRESS, + pollingContext.getLatestResponse().getValue()))); + } + return Mono.defer(() -> Mono.just(new PollResponse<>(LongRunningOperationStatus.SUCCESSFULLY_COMPLETED, deletedCertificateResponse.getValue()))); + })) + // This means either vault has soft-delete disabled or permission is not granted for the get deleted certificate operation. + // In both cases deletion operation was successful when activation operation succeeded before reaching here. + .onErrorReturn(new PollResponse<>(LongRunningOperationStatus.SUCCESSFULLY_COMPLETED, pollingContext.getLatestResponse().getValue())); } Mono> deleteCertificateWithResponse(String name, Context context) { @@ -582,45 +581,45 @@ Mono> purgeDeletedCertificateWithResponse(String name, Context co *

Recovers the deleted certificate from the key vault enabled for soft-delete. Prints out the * recovered certificate details when a response has been received.

- * {@codesnippet com.azure.security.certificatevault.certificates.CertificateAsyncClient.recoverDeletedCertificate#string} + * {@codesnippet com.azure.security.certificatevault.certificates.CertificateAsyncClient.beginRecoverDeletedCertificate#string} * * @param name The name of the deleted certificate to be recovered. * @throws ResourceNotFoundException when a certificate with {@code name} doesn't exist in the certificate vault. * @throws HttpRequestException when a certificate with {@code name} is empty string. - * @return A {@link Mono} containing the {@link KeyVaultCertificate recovered certificate}. + * @return A {@link PollerFlux} to poll on the {@link KeyVaultCertificate recovered certificate}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono recoverDeletedCertificate(String name) { - try { - return withContext(context -> recoverDeletedCertificateWithResponse(name, context)).flatMap(FluxUtil::toMono); - } catch (RuntimeException ex) { - return monoError(logger, ex); - } + public PollerFlux beginRecoverDeletedCertificate(String name) { + return new PollerFlux<>(Duration.ofSeconds(1), + recoverActivationOperation(name), + createRecoverPollOperation(name), + (context, firstResponse) -> Mono.empty(), + context -> Mono.empty()); } - /** - * Recovers the deleted certificate back to its current version under /certificates and can only be performed on a soft-delete enabled vault. - * The RecoverDeletedCertificate operation performs the reversal of the Delete operation and must be issued during the retention interval - * (available in the deleted certificate's attributes). This operation requires the certificates/recover permission. - * - *

Code Samples

- *

Recovers the deleted certificate from the key vault enabled for soft-delete. Prints out the - * recovered certificate details when a response has been received.

+ private Function, Mono> recoverActivationOperation(String name) { + return (pollingContext) -> withContext(context -> recoverDeletedCertificateWithResponse(name, context) + .flatMap(certificateResponse -> Mono.just(certificateResponse.getValue()))); + } - * {@codesnippet com.azure.security.certificatevault.certificates.CertificateAsyncClient.recoverDeletedCertificateWithResponse#string} - * - * @param name The name of the deleted certificate to be recovered. - * @throws ResourceNotFoundException when a certificate with {@code name} doesn't exist in the certificate vault. - * @throws HttpRequestException when a certificate with {@code name} is empty string. - * @return A {@link Mono} containing a {@link Response} whose {@link Response#getValue() value} contains the {@link KeyVaultCertificate recovered certificate}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> recoverDeletedCertificateWithResponse(String name) { - try { - return withContext(context -> recoverDeletedCertificateWithResponse(name, context)); - } catch (RuntimeException ex) { - return monoError(logger, ex); - } + /* + Polling operation to poll on create delete certificate operation status. + */ + private Function, Mono>> createRecoverPollOperation(String keyName) { + return pollingContext -> + withContext(context -> service.getCertificatePoller(vaultUrl, keyName, "", API_VERSION, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) + .flatMap(certificateResponse -> { + if (certificateResponse.getStatusCode() == HttpURLConnection.HTTP_NOT_FOUND) { + return Mono.defer(() -> Mono.just(new PollResponse<>(LongRunningOperationStatus.IN_PROGRESS, + pollingContext.getLatestResponse().getValue()))); + } + return Mono.defer(() -> Mono.just(new PollResponse<>(LongRunningOperationStatus.SUCCESSFULLY_COMPLETED, + certificateResponse.getValue()))); + })) + // This means permission is not granted for the get deleted key operation. + // In both cases deletion operation was successful when activation operation succeeded before reaching here. + .onErrorReturn(new PollResponse<>(LongRunningOperationStatus.SUCCESSFULLY_COMPLETED, + pollingContext.getLatestResponse().getValue())); } Mono> recoverDeletedCertificateWithResponse(String name, Context context) { @@ -748,7 +747,7 @@ Mono> restoreCertificateBackupWithResponse(byte[] * the response. This operation requires the certificates/list permission. * *

It is possible to get certificates with all the properties excluding the policy from this information. Convert the {@link Flux} containing {@link CertificateProperties} to - * {@link Flux} containing {@link KeyVaultCertificate certificate} using {@link CertificateAsyncClient#getCertificate(CertificateProperties certificateProperties)} within {@link Flux#flatMap(Function)}.

+ * {@link Flux} containing {@link KeyVaultCertificate certificate} using {@link CertificateAsyncClient#getCertificateVersion(String, String)} within {@link Flux#flatMap(Function)}.

* * {@codesnippet com.azure.security.keyvault.certificates.CertificateAsyncClient.listCertificates} * @@ -772,7 +771,7 @@ public PagedFlux listPropertiesOfCertificates(Boolean inc * the response. This operation requires the certificates/list permission. * *

It is possible to get certificates with all the properties excluding the policy from this information. Convert the {@link Flux} containing {@link CertificateProperties} to - * {@link Flux} containing {@link KeyVaultCertificate certificate} using {@link CertificateAsyncClient#getCertificate(CertificateProperties certificateProperties)} within {@link Flux#flatMap(Function)}.

+ * {@link Flux} containing {@link KeyVaultCertificate certificate} using {@link CertificateAsyncClient#getCertificateVersion(String, String)} within {@link Flux#flatMap(Function)}.

* * {@codesnippet com.azure.security.keyvault.certificates.CertificateAsyncClient.listCertificates} * @@ -846,7 +845,33 @@ private Mono> listCertificatesFirstPage(Boo public PagedFlux listDeletedCertificates() { try { return new PagedFlux<>( - () -> withContext(context -> listDeletedCertificatesFirstPage(context)), + () -> withContext(context -> listDeletedCertificatesFirstPage(false, context)), + continuationToken -> withContext( + context -> listDeletedCertificatesNextPage(continuationToken, context))); + } catch (RuntimeException ex) { + return new PagedFlux<>(() -> monoError(logger, ex)); + } + } + + /** + * Lists the {@link DeletedCertificate deleted certificates} in the key vault currently available for recovery. This + * operation includes deletion-specific information and is applicable for vaults enabled for soft-delete. This + * operation requires the {@code certificates/get/list} permission. + * + *

Code Samples

+ *

Lists the deleted certificates in the key vault. Prints out the + * recovery id of each deleted certificate when a response has been received.

+ * + * {@codesnippet com.azure.security.keyvault.certificates.CertificateAsyncClient.listDeletedCertificates} + * + * @param includePending indicate if pending deleted certificates should be included in the results. + * @return A {@link PagedFlux} containing all of the {@link DeletedCertificate deleted certificates} in the vault. + */ + @ServiceMethod(returns = ReturnType.COLLECTION) + public PagedFlux listDeletedCertificates(Boolean includePending) { + try { + return new PagedFlux<>( + () -> withContext(context -> listDeletedCertificatesFirstPage(includePending, context)), continuationToken -> withContext( context -> listDeletedCertificatesNextPage(continuationToken, context))); } catch (RuntimeException ex) { @@ -854,9 +879,9 @@ public PagedFlux listDeletedCertificates() { } } - PagedFlux listDeletedCertificates(Context context) { + PagedFlux listDeletedCertificates(Boolean includePending, Context context) { return new PagedFlux<>( - () -> listDeletedCertificatesFirstPage(context), + () -> listDeletedCertificatesFirstPage(includePending, context), continuationToken -> listDeletedCertificatesNextPage(continuationToken, context)); } @@ -885,9 +910,9 @@ private Mono> listDeletedCertificatesNextPage( /* * Calls the service and retrieve first page result. It makes one call and retrieve {@code DEFAULT_MAX_PAGE_RESULTS} values. */ - private Mono> listDeletedCertificatesFirstPage(Context context) { + private Mono> listDeletedCertificatesFirstPage(Boolean includePending, Context context) { try { - return service.getDeletedCertificates(vaultUrl, DEFAULT_MAX_PAGE_RESULTS, API_VERSION, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) + return service.getDeletedCertificates(vaultUrl, DEFAULT_MAX_PAGE_RESULTS, includePending, API_VERSION, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) .doOnRequest(ignored -> logger.info("Listing deleted certificates")) .doOnSuccess(response -> logger.info("Listed deleted certificates")) .doOnError(error -> logger.warning("Failed to list deleted certificates", error)); @@ -903,7 +928,7 @@ private Mono> listDeletedCertificatesFirstPage * *

It is possible to get the certificates with properties excluding the policy for all the versions from this information. Convert the {@link PagedFlux} * containing {@link CertificateProperties} to {@link PagedFlux} containing {@link KeyVaultCertificate certificate} using - * {@link CertificateAsyncClient#getCertificate(CertificateProperties certificateProperties)} within {@link Flux#flatMap(Function)}.

+ * {@link CertificateAsyncClient#getCertificateVersion(String, String)} within {@link Flux#flatMap(Function)}.

* * {@codesnippet com.azure.security.keyvault.certificates.CertificateAsyncClient.listCertificateVersions} * @@ -954,61 +979,6 @@ private Mono> listCertificateVersionsNextPa } } - /** - * Merges a certificate or a certificate chain with a key pair currently available in the service. This operation requires - * the {@code certificates/create} permission. - * - *

Code Samples

- *

Merges a certificate with a kay pair available in the service.

- * - * {@codesnippet com.azure.security.keyvault.certificates.CertificateAsyncClient.mergeCertificate#String-List} - * - * @param name the name of the certificate. - * @param x509Certificates the certificate or certificate chain to merge. - * - * @throws HttpRequestException if {@code x509Certificates} is invalid/corrupt or {@code name} is empty. - * @return A {@link Mono} containing the merged certificate. - */ - public Mono mergeCertificate(String name, List x509Certificates) { - try { - return withContext(context -> mergeCertificateWithResponse(name, x509Certificates, context)).flatMap(FluxUtil::toMono); - } catch (RuntimeException ex) { - return monoError(logger, ex); - } - } - - /** - * Merges a certificate or a certificate chain with a key pair currently available in the service. This operation requires - * the {@code certificates/create} permission. - * - *

Code Samples

- *

Merges a certificate with a kay pair available in the service.

- * - * {@codesnippet com.azure.security.keyvault.certificates.CertificateAsyncClient.mergeCertificateWithResponse#String-List} - * - * @param name the name of the certificate. - * @param x509Certificates the certificate or certificate chain to merge. - * - * @throws HttpRequestException if {@code x509Certificates} is invalid/corrupt or {@code name} is empty. - * @return A {@link Mono} containing a {@link Response} whose {@link Response#getValue() value} contains the merged certificate. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> mergeCertificateWithResponse(String name, List x509Certificates) { - try { - return withContext(context -> mergeCertificateWithResponse(name, x509Certificates, context)); - } catch (RuntimeException ex) { - return monoError(logger, ex); - } - } - - Mono> mergeCertificateWithResponse(String name, List x509Certificates, Context context) { - CertificateMergeParameters mergeParameters = new CertificateMergeParameters().x509Certificates(x509Certificates); - return service.mergeCertificate(vaultUrl, name, API_VERSION, ACCEPT_LANGUAGE, mergeParameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.info("Merging certificate - {}", name)) - .doOnSuccess(response -> logger.info("Merged certificate - {}", response.getValue().getProperties().getName())) - .doOnError(error -> logger.warning("Failed to merge certificate - {}", name, error)); - } - /** * Merges a certificate or a certificate chain with a key pair currently available in the service. This operation requires * the {@code certificates/create} permission. @@ -1020,8 +990,8 @@ Mono> mergeCertificateWithResponse(String name, Li * * @param mergeCertificateOptions the merge certificate options holding the x509 certificates. * - * @throws NullPointerException when {@code mergeCertificateConfig} is null. - * @throws HttpRequestException if {@code mergeCertificateConfig} is invalid/corrupt. + * @throws NullPointerException when {@code mergeCertificateOptions} is null. + * @throws HttpRequestException if {@code mergeCertificateOptions} is invalid/corrupt. * @return A {@link Mono} containing the merged certificate. */ @ServiceMethod(returns = ReturnType.SINGLE) @@ -1044,28 +1014,28 @@ public Mono mergeCertificate(MergeCertificateOptions mergeC * * @param mergeCertificateOptions the merge certificate options holding the x509 certificates. * - * @throws NullPointerException when {@code mergeCertificateConfig} is null. - * @throws HttpRequestException if {@code mergeCertificateConfig} is invalid/corrupt. + * @throws NullPointerException when {@code mergeCertificateOptions} is null. + * @throws HttpRequestException if {@code mergeCertificateOptions} is invalid/corrupt. * @return A {@link Mono} containing a {@link Response} whose {@link Response#getValue() value} contains the merged certificate. */ @ServiceMethod(returns = ReturnType.SINGLE) public Mono> mergeCertificateWithResponse(MergeCertificateOptions mergeCertificateOptions) { try { - Objects.requireNonNull(mergeCertificateOptions, "'mergeCertificateConfig' cannot be null."); + Objects.requireNonNull(mergeCertificateOptions, "'mergeCertificateOptions' cannot be null."); return withContext(context -> mergeCertificateWithResponse(mergeCertificateOptions, context)); } catch (RuntimeException ex) { return monoError(logger, ex); } } - Mono> mergeCertificateWithResponse(MergeCertificateOptions mergeCertificateConfig, Context context) { - CertificateMergeParameters mergeParameters = new CertificateMergeParameters().x509Certificates(mergeCertificateConfig.getX509Certificates()) - .tags(mergeCertificateConfig.getTags()) - .certificateAttributes(new CertificateRequestAttributes().enabled(mergeCertificateConfig.isEnabled())); - return service.mergeCertificate(vaultUrl, mergeCertificateConfig.getName(), API_VERSION, ACCEPT_LANGUAGE, mergeParameters, CONTENT_TYPE_HEADER_VALUE, context) - .doOnRequest(ignored -> logger.info("Merging certificate - {}", mergeCertificateConfig.getName())) + Mono> mergeCertificateWithResponse(MergeCertificateOptions mergeCertificateOptions, Context context) { + CertificateMergeParameters mergeParameters = new CertificateMergeParameters().x509Certificates(mergeCertificateOptions.getX509Certificates()) + .tags(mergeCertificateOptions.getTags()) + .certificateAttributes(new CertificateRequestAttributes().enabled(mergeCertificateOptions.isEnabled())); + return service.mergeCertificate(vaultUrl, mergeCertificateOptions.getName(), API_VERSION, ACCEPT_LANGUAGE, mergeParameters, CONTENT_TYPE_HEADER_VALUE, context) + .doOnRequest(ignored -> logger.info("Merging certificate - {}", mergeCertificateOptions.getName())) .doOnSuccess(response -> logger.info("Merged certificate - {}", response.getValue().getProperties().getName())) - .doOnError(error -> logger.warning("Failed to merge certificate - {}", mergeCertificateConfig.getName(), error)); + .doOnError(error -> logger.warning("Failed to merge certificate - {}", mergeCertificateOptions.getName(), error)); } /** @@ -1177,7 +1147,7 @@ Mono> updateCertificatePolicyWithResponse(String cer CertificatePolicyRequest policyRequest = new CertificatePolicyRequest(policy); return service.updateCertificatePolicy(vaultUrl, API_VERSION, ACCEPT_LANGUAGE, certificateName, policyRequest, CONTENT_TYPE_HEADER_VALUE, context) .doOnRequest(ignored -> logger.info("Updating certificate policy - {}", certificateName)) - .doOnSuccess(response -> logger.info("Updated the certificate policy - {}", response.getValue().getUpdated())) + .doOnSuccess(response -> logger.info("Updated the certificate policy - {}", response.getValue().getUpdatedOn())) .doOnError(error -> logger.warning("Failed to update the certificate policy - {}", certificateName, error)); } @@ -1267,7 +1237,7 @@ Mono> createIssuerWithResponse(CertificateIssuer iss CertificateIssuerSetParameters parameters = new CertificateIssuerSetParameters() .provider(issuer.getProperties().getProvider()) .credentials(new IssuerCredentials().accountId(issuer.getAccountId()).password(issuer.getPassword())) - .organizationDetails(new OrganizationDetails().adminDetails(issuer.getAdministrators())) + .organizationDetails(new OrganizationDetails().adminDetails(issuer.getAdministratorContacts())) .credentials(new IssuerCredentials().password(issuer.getPassword()).accountId(issuer.getAccountId())); return service.setCertificateIssuer(vaultUrl, API_VERSION, ACCEPT_LANGUAGE, issuer.getName(), parameters, CONTENT_TYPE_HEADER_VALUE, context) .doOnRequest(ignored -> logger.info("Creating certificate issuer - {}", issuer.getName())) @@ -1329,54 +1299,6 @@ Mono> getIssuerWithResponse(String name, Context con .doOnError(error -> logger.warning("Failed to retreive the certificate issuer - {}", name, error)); } - /** - * Gets information about the certificate issuer which represents the {@link IssuerProperties} from the key vault. This operation - * requires the certificates/manageissuers/getissuers permission. - * - *

The list operations {@link CertificateAsyncClient#listIssuers()} return the {@link PagedFlux} containing - * {@link IssuerProperties issuerProperties} as output excluding the properties like accountId and organization details of the certificate issuer. - * This operation can then be used to get the full certificate issuer with its properties from {@code issuerProperties}.

- * - * {@codesnippet com.azure.security.keyvault.certificates.CertificateAsyncClient.getIssuer#issuerProperties} - * - * @param issuerProperties The {@link IssuerProperties issuerProperties} holding attributes of the certificate issuer being requested. - * @throws ResourceNotFoundException when a certificate with {@link IssuerProperties#getName() name} doesn't exist in the key vault. - * @throws HttpRequestException if {@link IssuerProperties#getName() name} is empty string. - * @return A {@link Mono} containing the requested {@link CertificateIssuer certificate issuer}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono getIssuer(IssuerProperties issuerProperties) { - try { - return withContext(context -> getIssuerWithResponse(issuerProperties.getName(), context)).flatMap(FluxUtil::toMono); - } catch (RuntimeException ex) { - return monoError(logger, ex); - } - } - - /** - * Gets information about the certificate issuer which represents the {@link IssuerProperties} from the key vault. This operation - * requires the certificates/manageissuers/getissuers permission. - * - *

The list operations {@link CertificateAsyncClient#listIssuers()} return the {@link PagedFlux} containing - * {@link IssuerProperties issuerProperties} as output excluding the properties like accountId and organization details of the certificate issuer. - * This operation can then be used to get the full certificate issuer with its properties from {@code issuerProperties}.

- * - * {@codesnippet com.azure.security.keyvault.certificates.CertificateAsyncClient.getIssuerWithResponse#issuerProperties} - * - * @param issuerProperties The {@link IssuerProperties issuerProperties} holding attributes of the certificate issuer being requested. - * @throws ResourceNotFoundException when a certificate with {@link IssuerProperties#getName() name} doesn't exist in the key vault. - * @throws HttpRequestException if {@link IssuerProperties#getName() name} is empty string. - * @return A {@link Mono} containing a {@link Response} whose {@link Response#getValue() value} contains the requested {@link CertificateIssuer certificate issuer}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> getIssuerWithResponse(IssuerProperties issuerProperties) { - try { - return withContext(context -> getIssuerWithResponse(issuerProperties.getName(), context)); - } catch (RuntimeException ex) { - return monoError(logger, ex); - } - } - /** * Deletes the specified certificate issuer. The DeleteCertificateIssuer operation permanently removes the specified certificate * issuer from the key vault. This operation requires the {@code certificates/manageissuers/deleteissuers permission}. @@ -1440,30 +1362,29 @@ Mono> deleteIssuerWithResponse(String name, Context * *

It is possible to get the certificate issuer with all of its properties from this information. Convert the {@link PagedFlux} * containing {@link IssuerProperties issuerProperties} to {@link PagedFlux} containing {@link CertificateIssuer issuer} using - * {@link CertificateAsyncClient#getIssuer(IssuerProperties issuerProperties)} within {@link PagedFlux#flatMap(Function)}.

- * - * {@codesnippet com.azure.security.keyvault.certificates.CertificateAsyncClient.listIssuers} + * {@link CertificateAsyncClient#getIssuer(String)} + * {@codesnippet com.azure.security.keyvault.certificates.CertificateAsyncClient.listPropertiesOfIssuers} * * @return A {@link PagedFlux} containing all of the {@link IssuerProperties certificate issuers} in the vault. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedFlux listIssuers() { + public PagedFlux listPropertiesOfIssuers() { try { return new PagedFlux<>( - () -> withContext(context -> listCertificateIssuersFirstPage(context)), - continuationToken -> withContext(context -> listCertificateIssuersNextPage(continuationToken, context))); + () -> withContext(context -> listPropertiesOfIssuersFirstPage(context)), + continuationToken -> withContext(context -> listPropertiesOfIssuersNextPage(continuationToken, context))); } catch (RuntimeException ex) { return new PagedFlux<>(() -> monoError(logger, ex)); } } - PagedFlux listIssuers(Context context) { + PagedFlux listPropertiesOfIssuers(Context context) { return new PagedFlux<>( - () -> listCertificateIssuersFirstPage(context), - continuationToken -> listCertificateIssuersNextPage(continuationToken, context)); + () -> listPropertiesOfIssuersFirstPage(context), + continuationToken -> listPropertiesOfIssuersNextPage(continuationToken, context)); } - private Mono> listCertificateIssuersFirstPage(Context context) { + private Mono> listPropertiesOfIssuersFirstPage(Context context) { try { return service.getCertificateIssuers(vaultUrl, DEFAULT_MAX_PAGE_RESULTS, API_VERSION, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) .doOnRequest(ignored -> logger.info("Listing certificate issuers - {}")) @@ -1481,7 +1402,7 @@ private Mono> listCertificateIssuersFirstPage(Co * @param continuationToken The {@link PagedResponse#nextLink()} from a previous, successful call to one of the listKeys operations. * @return A {@link Mono} of {@link PagedResponse} from the next page of results. */ - private Mono> listCertificateIssuersNextPage(String continuationToken, Context context) { + private Mono> listPropertiesOfIssuersNextPage(String continuationToken, Context context) { try { return service.getCertificateIssuers(vaultUrl, continuationToken, ACCEPT_LANGUAGE, CONTENT_TYPE_HEADER_VALUE, context) .doOnRequest(ignored -> logger.info("Listing next certificate issuers page - Page {} ", continuationToken)) @@ -1544,7 +1465,7 @@ public Mono> updateIssuerWithResponse(CertificateIss Mono> updateIssuerWithResponse(CertificateIssuer issuer, Context context) { CertificateIssuerUpdateParameters updateParameters = new CertificateIssuerUpdateParameters() .provider(issuer.getProperties().getProvider()) - .organizationDetails(new OrganizationDetails().adminDetails(issuer.getAdministrators())) + .organizationDetails(new OrganizationDetails().adminDetails(issuer.getAdministratorContacts())) .credentials(new IssuerCredentials().password(issuer.getPassword()).accountId(issuer.getAccountId())); return service.updateCertificateIssuer(vaultUrl, issuer.getName(), API_VERSION, ACCEPT_LANGUAGE, updateParameters, CONTENT_TYPE_HEADER_VALUE, context) .doOnRequest(ignored -> logger.info("Updating certificate issuer - {}", issuer.getName())) @@ -1715,52 +1636,6 @@ Mono> deleteCertificateOperationWithResponse(Stri .doOnError(error -> logger.warning("Failed to delete the certificate operation - {}", certificateName, error)); } - /** - * Cancels a certificate creation operation that is already in progress. This operation requires the {@code certificates/update} permission. - * - *

Code Samples

- *

Triggers certificate creation and then cancels the certificate creation operation in the Azure Key Vault. Prints out the - * updated certificate operation details when a response has been received.

- * - * {@codesnippet com.azure.security.keyvault.certificates.CertificateAsyncClient.cancelCertificateOperation#string} - * - * @param certificateName The name of the certificate which is in the process of being created. - * @throws ResourceNotFoundException when a certificate operation for a certificate with {@code name} doesn't exist in the key vault. - * @throws HttpRequestException when the {@code name} is empty string. - * @return A {@link Mono} containing a {@link Response} whose {@link Response#getValue() value} contains the {@link CertificateOperation cancelled certificate operation}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono cancelCertificateOperation(String certificateName) { - try { - return withContext(context -> cancelCertificateOperationWithResponse(certificateName, context)).flatMap(FluxUtil::toMono); - } catch (RuntimeException ex) { - return monoError(logger, ex); - } - } - - /** - * Cancels a certificate creation operation that is already in progress. This operation requires the {@code certificates/update} permission. - * - *

Code Samples

- *

Triggers certificate creation and then cancels the certificate creation operation in the Azure Key Vault. Prints out the - * updated certificate operation details when a response has been received.

- * - * {@codesnippet com.azure.security.keyvault.certificates.CertificateAsyncClient.cancelCertificateOperationWithResponse#string} - * - * @param certificateName The name of the certificate which is in the process of being created. - * @throws ResourceNotFoundException when a certificate operation for a certificate with {@code name} doesn't exist in the key vault. - * @throws HttpRequestException when the {@code name} is empty string. - * @return A {@link Mono} containing a {@link Response} whose {@link Response#getValue() value} contains the {@link CertificateOperation cancelled certificate operation}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> cancelCertificateOperationWithResponse(String certificateName) { - try { - return withContext(context -> cancelCertificateOperationWithResponse(certificateName, context)); - } catch (RuntimeException ex) { - return monoError(logger, ex); - } - } - Mono> cancelCertificateOperationWithResponse(String certificateName, Context context) { CertificateOperationUpdateParameter parameter = new CertificateOperationUpdateParameter().cancellationRequested(true); return service.updateCertificateOperation(vaultUrl, certificateName, API_VERSION, ACCEPT_LANGUAGE, parameter, CONTENT_TYPE_HEADER_VALUE, context) @@ -1773,14 +1648,14 @@ Mono> cancelCertificateOperationWithResponse(Stri * Imports a pre-existing certificate to the key vault. The specified certificate must be in PFX or PEM format, * and must contain the private key as well as the x509 certificates. This operation requires the {@code certificates/import} permission. * - * @param importOptions The details of the certificate to import to the key vault - * @throws HttpRequestException when the {@code importOptions} are invalid. + * @param importCertificateOptions The details of the certificate to import to the key vault + * @throws HttpRequestException when the {@code importCertificateOptions} are invalid. * @return A {@link Response} whose {@link Response#getValue() value} contains the {@link KeyVaultCertificate imported certificate}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono importCertificate(CertificateImportOptions importOptions) { + public Mono importCertificate(ImportCertificateOptions importCertificateOptions) { try { - return withContext(context -> importCertificateWithResponse(importOptions, context)).flatMap(FluxUtil::toMono); + return withContext(context -> importCertificateWithResponse(importCertificateOptions, context)).flatMap(FluxUtil::toMono); } catch (RuntimeException ex) { return monoError(logger, ex); } @@ -1790,28 +1665,28 @@ public Mono importCertificate(CertificateImportOptions impo * Imports a pre-existing certificate to the key vault. The specified certificate must be in PFX or PEM format, * and must contain the private key as well as the x509 certificates. This operation requires the {@code certificates/import} permission. * - * @param importOptions The details of the certificate to import to the key vault - * @throws HttpRequestException when the {@code importOptions} are invalid. + * @param importCertificateOptions The details of the certificate to import to the key vault + * @throws HttpRequestException when the {@code importCertificateOptions} are invalid. * @return A {@link Mono} containing a {@link Response} whose {@link Response#getValue() value} contains the {@link KeyVaultCertificate imported certificate}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Mono> importCertificateWithResponse(CertificateImportOptions importOptions) { + public Mono> importCertificateWithResponse(ImportCertificateOptions importCertificateOptions) { try { - return withContext(context -> importCertificateWithResponse(importOptions, context)); + return withContext(context -> importCertificateWithResponse(importCertificateOptions, context)); } catch (RuntimeException ex) { return monoError(logger, ex); } } - Mono> importCertificateWithResponse(CertificateImportOptions importOptions, Context context) { + Mono> importCertificateWithResponse(ImportCertificateOptions importCertificateOptions, Context context) { CertificateImportParameters parameters = new CertificateImportParameters() - .base64EncodedCertificate(Base64Url.encode(importOptions.getValue()).toString()) - .certificateAttributes(new CertificateRequestAttributes(importOptions)) - .certificatePolicy(importOptions.getCertificatePolicy()) - .password(importOptions.getPassword()) - .tags(importOptions.getTags()); + .base64EncodedCertificate(Base64Url.encode(importCertificateOptions.getValue()).toString()) + .certificateAttributes(new CertificateRequestAttributes(importCertificateOptions)) + .certificatePolicy(importCertificateOptions.getCertificatePolicy()) + .password(importCertificateOptions.getPassword()) + .tags(importCertificateOptions.getTags()); - return service.importCertificate(vaultUrl, importOptions.getName(), API_VERSION, ACCEPT_LANGUAGE, parameters, + return service.importCertificate(vaultUrl, importCertificateOptions.getName(), API_VERSION, ACCEPT_LANGUAGE, parameters, CONTENT_TYPE_HEADER_VALUE, context); } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateClient.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateClient.java index 15950b78bfca..c69737297bad 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateClient.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateClient.java @@ -25,7 +25,7 @@ import com.azure.security.keyvault.certificates.models.KeyVaultCertificateWithPolicy; import com.azure.security.keyvault.certificates.models.CertificatePolicyAction; import com.azure.security.keyvault.certificates.models.LifeTimeAction; -import com.azure.security.keyvault.certificates.models.CertificateImportOptions; +import com.azure.security.keyvault.certificates.models.ImportCertificateOptions; import java.util.List; import java.util.Map; @@ -79,17 +79,18 @@ public String getVaultUrl() { *

Create certificate is a long running operation. The createCertificate indefinitely waits for the operation to complete and * returns its last status. The details of the last certificate operation status are printed when a response is received

* - * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.createCertificate#String-CertificatePolicy-Map} + * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.beginCreateCertificate#String-CertificatePolicy-Boolean-Map} * * @param name The name of the certificate to be created. * @param policy The policy of the certificate to be created. + * @param isEnabled The enabled status of the certificate. * @param tags The application specific metadata to set. * @throws ResourceModifiedException when invalid certificate policy configuration is provided. - * @return A {@link SyncPoller} polling on the create certificate operation status. + * @return A {@link SyncPoller} to poll on the create certificate operation status. */ @ServiceMethod(returns = ReturnType.SINGLE) - public SyncPoller beginCreateCertificate(String name, CertificatePolicy policy, Map tags) { - return client.beginCreateCertificate(name, policy, true, tags).getSyncPoller(); + public SyncPoller beginCreateCertificate(String name, CertificatePolicy policy, Boolean isEnabled, Map tags) { + return client.beginCreateCertificate(name, policy, isEnabled, tags).getSyncPoller(); } /** @@ -100,18 +101,36 @@ public SyncPoller beginCreateCertific *

Create certificate is a long running operation. The createCertificate indefinitely waits for the operation to complete and * returns its last status. The details of the last certificate operation status are printed when a response is received

* - * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.createCertificate#String-CertificatePolicy} + * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.beginCreateCertificate#String-CertificatePolicy} * * @param name The name of the certificate to be created. * @param policy The policy of the certificate to be created. * @throws ResourceModifiedException when invalid certificate policy configuration is provided. - * @return A {@link SyncPoller} polling on the create certificate operation status. + * @return A {@link SyncPoller} to poll on the create certificate operation status. */ @ServiceMethod(returns = ReturnType.SINGLE) public SyncPoller beginCreateCertificate(String name, CertificatePolicy policy) { return client.beginCreateCertificate(name, policy).getSyncPoller(); } + /** + * Gets a pending {@link CertificateOperation} from the key vault. This operation requires the certificates/get permission. + * + *

Code Samples

+ *

Geta a pending certificate operation. The {@link SyncPoller poller} allows users to automatically poll on the certificate + * operation status.

+ * + * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.getCertificateOperation#String} + * + * @param name The name of the certificate. + * @throws ResourceNotFoundException when a certificate operation for a certificate with {@code name} doesn't exist. + * @return A {@link SyncPoller} to poll on the certificate operation status. + */ + @ServiceMethod(returns = ReturnType.SINGLE) + public SyncPoller getCertificateOperation(String name) { + return client.getCertificateOperation(name).getSyncPoller(); + } + /** * Gets information about the latest version of the specified certificate. This operation requires the certificates/get permission. * @@ -148,27 +167,6 @@ public Response getCertificateWithResponse(String return client.getCertificateWithResponse(name).block(); } - - /** - * Gets information about the certificate which represents the {@link CertificateProperties} from the key vault. This - * operation requires the certificates/get permission. - * - *

The list operations {@link CertificateClient#listPropertiesOfCertificates()} and {@link CertificateClient#listPropertiesOfCertificateVersions(String)} return - * the {@link PagedIterable} containing {@link CertificateProperties} as output excluding the properties like secretId and keyId of the certificate. - * This operation can then be used to get the full certificate with its properties excluding the policy from {@code certificateProperties}.

- * - * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.getCertificate#CertificateProperties} - * - * @param certificateProperties The {@link CertificateProperties} holding attributes of the certificate being requested. - * @throws ResourceNotFoundException when a certificate with {@link CertificateProperties#getName() name} and {@link CertificateProperties#getVersion() version} doesn't exist in the key vault. - * @throws HttpRequestException if {@link CertificateProperties#getName()} name} or {@link CertificateProperties#getVersion() version} is empty string. - * @return The requested {@link KeyVaultCertificate certificate}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public KeyVaultCertificate getCertificate(CertificateProperties certificateProperties) { - return getCertificateVersionWithResponse(certificateProperties.getName(), certificateProperties.getVersion(), Context.NONE).getValue(); - } - /** * Gets information about the latest version of the specified certificate. This operation requires the certificates/get permission. * @@ -262,39 +260,16 @@ public Response updateCertificatePropertiesWithResponse(Cer *

Deletes the certificate in the Azure Key Vault. Prints out the * deleted certificate details when a response has been received.

* - * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.deleteCertificate#string} - * - * @param name The name of the certificate to be deleted. - * @throws ResourceNotFoundException when a certificate with {@code name} doesn't exist in the key vault. - * @throws HttpRequestException when a certificate with {@code name} is empty string. - * @return The {@link DeletedCertificate deleted certificate}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public DeletedCertificate deleteCertificate(String name) { - return deleteCertificateWithResponse(name, Context.NONE).getValue(); - } - - /** - * Deletes a certificate from a specified key vault. All the versions of the certificate along with its associated policy - * get deleted. If soft-delete is enabled on the key vault then the certificate is placed in the deleted state and requires to be - * purged for permanent deletion else the certificate is permanently deleted. The delete operation applies to any certificate stored in - * Azure Key Vault but it cannot be applied to an individual version of a certificate. This operation requires the certificates/delete permission. - * - *

Code Samples

- *

Deletes the certificate in the Azure Key Vault. Prints out the - * deleted certificate details when a response has been received.

- * - * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.deleteCertificateWithResponse#String-Context} + * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.beginDeleteCertificate#string} * * @param name The name of the certificate to be deleted. - * @param context Additional context that is passed through the Http pipeline during the service call. * @throws ResourceNotFoundException when a certificate with {@code name} doesn't exist in the key vault. * @throws HttpRequestException when a certificate with {@code name} is empty string. - * @return A {@link Response} whose {@link Response#getValue() value} contains the {@link DeletedCertificate deleted certificate}. + * @return A {@link SyncPoller} to poll on and retrieve {@link DeletedCertificate deleted certificate}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response deleteCertificateWithResponse(String name, Context context) { - return client.deleteCertificateWithResponse(name, context).block(); + public SyncPoller beginDeleteCertificate(String name) { + return client.beginDeleteCertificate(name).getSyncPoller(); } /** @@ -389,38 +364,16 @@ public Response purgeDeletedCertificateWithResponse(String name, Context c *

Recovers the deleted certificate from the key vault enabled for soft-delete. Prints out the * recovered certificate details when a response has been received.

- * {@codesnippet com.azure.security.certificatevault.certificates.CertificateClient.recoverDeletedCertificate#string} + * {@codesnippet com.azure.security.certificatevault.certificates.CertificateClient.beginRecoverDeletedCertificate#string} * * @param name The name of the deleted certificate to be recovered. * @throws ResourceNotFoundException when a certificate with {@code name} doesn't exist in the certificate vault. * @throws HttpRequestException when a certificate with {@code name} is empty string. - * @return The {@link KeyVaultCertificate recovered certificate}. + * @return A {@link SyncPoller} to poll on and retrieve {@link KeyVaultCertificate recovered certificate}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public KeyVaultCertificate recoverDeletedCertificate(String name) { - return recoverDeletedCertificateWithResponse(name, Context.NONE).getValue(); - } - - /** - * Recovers the deleted certificate back to its current version under /certificates and can only be performed on a soft-delete enabled vault. - * The RecoverDeletedCertificate operation performs the reversal of the Delete operation and must be issued during the retention interval - * (available in the deleted certificate's attributes). This operation requires the certificates/recover permission. - * - *

Code Samples

- *

Recovers the deleted certificate from the key vault enabled for soft-delete. Prints out the - * recovered certificate details when a response has been received.

- - * {@codesnippet com.azure.security.certificatevault.certificates.CertificateClient.recoverDeletedCertificateWithResponse#String-Context} - * - * @param name The name of the deleted certificate to be recovered. - * @param context Additional context that is passed through the Http pipeline during the service call. - * @throws ResourceNotFoundException when a certificate with {@code name} doesn't exist in the certificate vault. - * @throws HttpRequestException when a certificate with {@code name} is empty string. - * @return A {@link Response} whose {@link Response#getValue() value} contains the {@link KeyVaultCertificate recovered certificate}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response recoverDeletedCertificateWithResponse(String name, Context context) { - return client.recoverDeletedCertificateWithResponse(name, context).block(); + public SyncPoller beginRecoverDeletedCertificate(String name) { + return client.beginRecoverDeletedCertificate(name).getSyncPoller(); } /** @@ -510,7 +463,7 @@ public Response restoreCertificateBackupWithResponse(byte[] * the response. This operation requires the certificates/list permission. * *

It is possible to get certificates with all the properties excluding the policy from this information. Loop over the {@link CertificateProperties} and - * call {@link CertificateClient#getCertificate(CertificateProperties)} . This will return the {@link KeyVaultCertificate certificate} + * call {@link CertificateClient#getCertificateVersion(String, String)} . This will return the {@link KeyVaultCertificate certificate} * with all its properties excluding the policy.

* * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.listCertificates} @@ -529,7 +482,7 @@ public PagedIterable listPropertiesOfCertificates() { * the response. This operation requires the certificates/list permission. * *

It is possible to get certificates with all the properties excluding the policy from this information. Loop over the {@link CertificateProperties} and - * call {@link CertificateClient#getCertificate(CertificateProperties)} . This will return the {@link KeyVaultCertificate certificate} + * call {@link CertificateClient#getCertificateVersion(String, String)} . This will return the {@link KeyVaultCertificate certificate} * with all its properties excluding the policy.

* * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.listCertificates#context} @@ -558,7 +511,7 @@ public PagedIterable listPropertiesOfCertificates(boolean */ @ServiceMethod(returns = ReturnType.COLLECTION) public PagedIterable listDeletedCertificates() { - return listDeletedCertificates(Context.NONE); + return listDeletedCertificates(false, Context.NONE); } @@ -573,12 +526,13 @@ public PagedIterable listDeletedCertificates() { * * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.listDeletedCertificates#context} * + * @param includePending indicate if pending deleted certificates should be included in the results. * @param context Additional context that is passed through the Http pipeline during the service call. * @return A {@link PagedIterable} containing all of the {@link DeletedCertificate deleted certificates} in the vault. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listDeletedCertificates(Context context) { - return new PagedIterable<>(client.listDeletedCertificates(context)); + public PagedIterable listDeletedCertificates(Boolean includePending, Context context) { + return new PagedIterable<>(client.listDeletedCertificates(includePending, context)); } /** @@ -587,7 +541,7 @@ public PagedIterable listDeletedCertificates(Context context * the response. This operation requires the certificates/list permission. * *

It is possible to get the certificates with properties excluding the policy for all the versions from this information. Loop over the {@link CertificateProperties} and - * call {@link CertificateClient#getCertificate(CertificateProperties)}. This will return the {@link KeyVaultCertificate certificate} + * call {@link CertificateClient#getCertificateVersion(String, String)}. This will return the {@link KeyVaultCertificate certificate} * with all its properties excluding the policy.

* * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.listCertificateVersions} @@ -608,7 +562,7 @@ public PagedIterable listPropertiesOfCertificateVersions( * the response. This operation requires the certificates/list permission. * *

It is possible to get the certificates with properties excluding the policy for all the versions from this information. Loop over the {@link CertificateProperties} and - * call {@link CertificateClient#getCertificate(CertificateProperties)}. This will return the {@link KeyVaultCertificate certificate} + * call {@link CertificateClient#getCertificateVersion(String, String)}. This will return the {@link KeyVaultCertificate certificate} * with all its properties excluding the policy.

* * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.listCertificateVersions#context} @@ -633,14 +587,14 @@ public PagedIterable listPropertiesOfCertificateVersions( * * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.getCertificatePolicy#string} * - * @param name The name of the certificate whose policy is to be retrieved, cannot be null + * @param certificateName The name of the certificate whose policy is to be retrieved, cannot be null * @throws ResourceNotFoundException when a certificate with {@code name} doesn't exist in the key vault. * @throws HttpRequestException if {@code name} is empty string. * @return The requested {@link CertificatePolicy certificate policy}. */ @ServiceMethod(returns = ReturnType.SINGLE) - public CertificatePolicy getCertificatePolicy(String name) { - return getCertificatePolicyWithResponse(name, Context.NONE).getValue(); + public CertificatePolicy getCertificatePolicy(String certificateName) { + return getCertificatePolicyWithResponse(certificateName, Context.NONE).getValue(); } /** @@ -652,14 +606,14 @@ public CertificatePolicy getCertificatePolicy(String name) { * * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.getCertificatePolicyWithResponse#string} * - * @param name The name of the certificate whose policy is to be retrieved, cannot be null + * @param certificateName The name of the certificate whose policy is to be retrieved, cannot be null * @param context Additional context that is passed through the Http pipeline during the service call. * @throws ResourceNotFoundException when a certificate with {@code name} doesn't exist in the key vault. * @throws HttpRequestException if {@code name} is empty string. * @return A {@link Response} whose {@link Response#getValue() value} contains the requested {@link CertificatePolicy certificate policy}. */ - public Response getCertificatePolicyWithResponse(String name, Context context) { - return client.getCertificatePolicyWithResponse(name, context).block(); + public Response getCertificatePolicyWithResponse(String certificateName, Context context) { + return client.getCertificatePolicyWithResponse(certificateName, context).block(); } /** @@ -808,47 +762,6 @@ public CertificateIssuer getIssuer(String name) { return getIssuerWithResponse(name, Context.NONE).getValue(); } - /** - * Gets information about the certificate issuer which represents the {@link IssuerProperties} from the key vault. This operation - * requires the certificates/manageissuers/getissuers permission. - * - *

The list operations {@link CertificateClient#listIssuers()} return the {@link PagedIterable} containing - * {@link IssuerProperties issuerProperties} as output excluding the properties like accountId and organization details of the certificate issuer. - * This operation can then be used to get the full certificate issuer with its properties from {@code issuerProperties}.

- * - * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.getIssuer#issuerProperties} - * - * @param issuerProperties The {@link IssuerProperties issuerProperties} holding attributes of the certificate issuer being requested. - * @throws ResourceNotFoundException when a certificate with {@link IssuerProperties#getName() name} doesn't exist in the key vault. - * @throws HttpRequestException if {@link IssuerProperties#getName() name} is empty string. - * @return The requested {@link CertificateIssuer certificate issuer}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public CertificateIssuer getIssuer(IssuerProperties issuerProperties) { - return getIssuerWithResponse(issuerProperties, Context.NONE).getValue(); - } - - /** - * Gets information about the certificate issuer which represents the {@link IssuerProperties} from the key vault. This operation - * requires the certificates/manageissuers/getissuers permission. - * - *

The list operations {@link CertificateClient#listIssuers()} return the {@link PagedIterable} containing - * {@link IssuerProperties issuerProperties} as output excluding the properties like accountId and organization details of the certificate issuer. - * This operation can then be used to get the full certificate issuer with its properties from {@code issuerProperties}.

- * - * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.getIssuerWithResponse#issuerProperties-context} - * - * @param issuerProperties The {@link IssuerProperties issuerProperties} holding attributes of the certificate issuer being requested. - * @param context Additional context that is passed through the Http pipeline during the service call. - * @throws ResourceNotFoundException when a certificate with {@link IssuerProperties#getName() name} doesn't exist in the key vault. - * @throws HttpRequestException if {@link IssuerProperties#getName() name} is empty string. - * @return A {@link Response} whose {@link Response#getValue() value} contains the requested {@link CertificateIssuer certificate issuer}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response getIssuerWithResponse(IssuerProperties issuerProperties, Context context) { - return client.getIssuerWithResponse(issuerProperties.getName(), context).block(); - } - /** * Deletes the specified certificate issuer. The DeleteCertificateIssuer operation permanently removes the specified certificate * issuer from the key vault. This operation requires the {@code certificates/manageissuers/deleteissuers permission}. @@ -896,16 +809,16 @@ public CertificateIssuer deleteIssuer(String name) { * {@code certificates/manageissuers/getissuers} permission. * *

It is possible to get the certificate issuer with all of its properties from this information. Loop over the {@link IssuerProperties issuerProperties} and - * call {@link CertificateClient#getIssuer(IssuerProperties issuerProperties)} . This will return the {@link CertificateIssuer issuer} + * call {@link CertificateClient#getIssuer(String)} . This will return the {@link CertificateIssuer issuer} * with all its properties.

. * - * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.listIssuers} + * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.listPropertiesOfIssuers} * * @return A {@link PagedIterable} containing all of the {@link IssuerProperties certificate issuers} in the vault. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listIssuers() { - return listIssuers(Context.NONE); + public PagedIterable listPropertiesOfIssuers() { + return listPropertiesOfIssuers(Context.NONE); } /** @@ -914,17 +827,17 @@ public PagedIterable listIssuers() { * {@code certificates/manageissuers/getissuers} permission. * *

It is possible to get the certificate issuer with all of its properties from this information. Loop over the {@link IssuerProperties issuerProperties} and - * call {@link CertificateClient#getIssuer(IssuerProperties issuerProperties)} . This will return the {@link CertificateIssuer issuer} + * call {@link CertificateClient#getIssuer(String)}. This will return the {@link CertificateIssuer issuer} * with all its properties.

. * - * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.listIssuers#context} + * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.listPropertiesOfIssuers#context} * * @param context Additional context that is passed through the Http pipeline during the service call. * @return A {@link PagedIterable} containing all of the {@link IssuerProperties certificate issuers} in the vault. */ @ServiceMethod(returns = ReturnType.COLLECTION) - public PagedIterable listIssuers(Context context) { - return new PagedIterable<>(client.listIssuers(context)); + public PagedIterable listPropertiesOfIssuers(Context context) { + return new PagedIterable<>(client.listPropertiesOfIssuers(context)); } /** @@ -1115,85 +1028,6 @@ public Response deleteCertificateOperationWithResponse(Str return client.deleteCertificateOperationWithResponse(certificateName, context).block(); } - /** - * Cancels a certificate creation operation that is already in progress. This operation requires the {@code certificates/update} permission. - * - *

Code Samples

- *

Triggers certificate creation and then cancels the certificate creation operation in the Azure Key Vault. Subscribes to the call and prints out the - * updated certificate operation details when a response has been received.

- * - * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.cancelCertificateOperation#string} - * - * @param certificateName The name of the certificate which is in the process of being created. - * @throws ResourceNotFoundException when a certificate operation for a certificate with {@code name} doesn't exist in the key vault. - * @throws HttpRequestException when the {@code name} is empty string. - * @return A {@link Response} whose {@link Response#getValue() value} contains the {@link CertificateOperation cancelled certificate operation}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public CertificateOperation cancelCertificateOperation(String certificateName) { - return cancelCertificateOperationWithResponse(certificateName, Context.NONE).getValue(); - } - - - /** - * Cancels a certificate creation operation that is already in progress. This operation requires the {@code certificates/update} permission. - * - *

Code Samples

- *

Triggers certificate creation and then cancels the certificate creation operation in the Azure Key Vault. Subscribes to the call and prints out the - * updated certificate operation details when a response has been received.

- * - * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.cancelCertificateOperationWithResponse#string} - * - * @param certificateName The name of the certificate which is in the process of being created. - * @param context Additional context that is passed through the Http pipeline during the service call. - * @throws ResourceNotFoundException when a certificate operation for a certificate with {@code name} doesn't exist in the key vault. - * @throws HttpRequestException when the {@code name} is empty string. - * @return A {@link Response} whose {@link Response#getValue() value} contains the {@link CertificateOperation cancelled certificate operation}. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response cancelCertificateOperationWithResponse(String certificateName, Context context) { - return client.cancelCertificateOperationWithResponse(certificateName, context).block(); - } - - /** - * Merges a certificate or a certificate chain with a key pair currently available in the service. This operation requires - * the {@code certificates/create} permission. - * - *

Code Samples

- *

Merges a certificate with a kay pair available in the service.

- * - * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.mergeCertificate#String-List} - * - * @param name the name of the certificate. - * @param x509Certificates the certificate or certificate chain to merge. - * @throws HttpRequestException if {@code x509Certificates} is invalid/corrupt or {@code name} is empty. - * @return The merged certificate. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public KeyVaultCertificate mergeCertificate(String name, List x509Certificates) { - return mergeCertificateWithResponse(name, x509Certificates, Context.NONE).getValue(); - } - - /** - * Merges a certificate or a certificate chain with a key pair currently available in the service. This operation requires - * the {@code certificates/create} permission. - * - *

Code Samples

- *

Merges a certificate with a kay pair available in the service.

- * - * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.mergeCertificateWithResponse#String-List-Context} - * - * @param name the name of the certificate. - * @param x509Certificates the certificate or certificate chain to merge. - * @param context Additional context that is passed through the Http pipeline during the service call. - * @throws HttpRequestException if {@code x509Certificates} is invalid/corrupt or {@code name} is empty. - * @return The merged certificate. - */ - @ServiceMethod(returns = ReturnType.SINGLE) - public Response mergeCertificateWithResponse(String name, List x509Certificates, Context context) { - return client.mergeCertificateWithResponse(name, x509Certificates, context).block(); - } - /** * Merges a certificate or a certificate chain with a key pair currently available in the service. This operation requires * the {@code certificates/create} permission. @@ -1203,14 +1037,14 @@ public Response mergeCertificateWithResponse(String name, L * * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.mergeCertificate#config} * - * @param mergeCertificateConfig the merge certificate configuration holding the x509 certificates. - * @throws NullPointerException when {@code mergeCertificateConfig} is null. - * @throws HttpRequestException if {@code mergeCertificateConfig} is invalid/corrupt. + * @param mergeCertificateOptions the merge certificate configuration holding the x509 certificates. + * @throws NullPointerException when {@code mergeCertificateOptions} is null. + * @throws HttpRequestException if {@code mergeCertificateOptions} is invalid/corrupt. * @return The merged certificate. */ @ServiceMethod(returns = ReturnType.SINGLE) - public KeyVaultCertificate mergeCertificate(MergeCertificateOptions mergeCertificateConfig) { - return mergeCertificateWithResponse(mergeCertificateConfig, Context.NONE).getValue(); + public KeyVaultCertificate mergeCertificate(MergeCertificateOptions mergeCertificateOptions) { + return mergeCertificateWithResponse(mergeCertificateOptions, Context.NONE).getValue(); } /** @@ -1222,40 +1056,40 @@ public KeyVaultCertificate mergeCertificate(MergeCertificateOptions mergeCertifi * * {@codesnippet com.azure.security.keyvault.certificates.CertificateClient.mergeCertificateWithResponse#config} * - * @param mergeCertificateConfig the merge certificate configuration holding the x509 certificates. + * @param mergeCertificateOptions the merge certificate configuration holding the x509 certificates. * @param context Additional context that is passed through the Http pipeline during the service call. - * @throws NullPointerException when {@code mergeCertificateConfig} is null. - * @throws HttpRequestException if {@code mergeCertificateConfig} is invalid/corrupt. + * @throws NullPointerException when {@code mergeCertificateOptions} is null. + * @throws HttpRequestException if {@code mergeCertificateOptions} is invalid/corrupt. * @return A {@link Response} whose {@link Response#getValue() value} contains the merged certificate. */ @ServiceMethod(returns = ReturnType.SINGLE) - public Response mergeCertificateWithResponse(MergeCertificateOptions mergeCertificateConfig, Context context) { - Objects.requireNonNull(mergeCertificateConfig, "'mergeCertificateConfig' cannot be null."); - return client.mergeCertificateWithResponse(mergeCertificateConfig, context).block(); + public Response mergeCertificateWithResponse(MergeCertificateOptions mergeCertificateOptions, Context context) { + Objects.requireNonNull(mergeCertificateOptions, "'mergeCertificateOptions' cannot be null."); + return client.mergeCertificateWithResponse(mergeCertificateOptions, context).block(); } /** * Imports a pre-existing certificate to the key vault. The specified certificate must be in PFX or PEM format, * and must contain the private key as well as the x509 certificates. This operation requires the {@code certificates/import} permission. * - * @param importOptions The details of the certificate to import to the key vault - * @throws HttpRequestException when the {@code importOptions} are invalid. + * @param importCertificateOptions The details of the certificate to import to the key vault + * @throws HttpRequestException when the {@code importCertificateOptions} are invalid. * @return the {@link KeyVaultCertificate imported certificate}. */ - public KeyVaultCertificate importCertificate(CertificateImportOptions importOptions) { - return importCertificateWithResponse(importOptions, Context.NONE).getValue(); + public KeyVaultCertificate importCertificate(ImportCertificateOptions importCertificateOptions) { + return importCertificateWithResponse(importCertificateOptions, Context.NONE).getValue(); } /** * Imports a pre-existing certificate to the key vault. The specified certificate must be in PFX or PEM format, * and must contain the private key as well as the x509 certificates. This operation requires the {@code certificates/import} permission. * - * @param importOptions The details of the certificate to import to the key vault + * @param importCertificateOptions The details of the certificate to import to the key vault * @param context Additional context that is passed through the Http pipeline during the service call. - * @throws HttpRequestException when the {@code importOptions} are invalid. + * @throws HttpRequestException when the {@code importCertificateOptions} are invalid. * @return A {@link Response} whose {@link Response#getValue() value} contains the {@link KeyVaultCertificate imported certificate}. */ - public Response importCertificateWithResponse(CertificateImportOptions importOptions, Context context) { - return client.importCertificateWithResponse(importOptions, context).block(); + public Response importCertificateWithResponse(ImportCertificateOptions importCertificateOptions, Context context) { + return client.importCertificateWithResponse(importCertificateOptions, context).block(); } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateClientBuilder.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateClientBuilder.java index 059ac90feab8..8fbc0583e74e 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateClientBuilder.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateClientBuilder.java @@ -18,6 +18,8 @@ import com.azure.core.util.CoreUtils; import com.azure.core.util.Configuration; import com.azure.core.util.logging.ClientLogger; +import com.azure.security.keyvault.certificates.implementation.KeyVaultCredentialPolicy; + import java.net.MalformedURLException; import java.net.URL; import java.util.ArrayList; diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateRequestAttributes.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateRequestAttributes.java index bb0295beed40..7bebba4d4bdb 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateRequestAttributes.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateRequestAttributes.java @@ -3,7 +3,7 @@ package com.azure.security.keyvault.certificates; -import com.azure.security.keyvault.certificates.models.CertificateImportOptions; +import com.azure.security.keyvault.certificates.models.ImportCertificateOptions; import com.azure.security.keyvault.certificates.models.CertificateProperties; import com.fasterxml.jackson.annotation.JsonProperty; @@ -25,14 +25,14 @@ class CertificateRequestAttributes { if (certificateProperties.getNotBefore() != null) { this.notBefore = certificateProperties.getNotBefore().toEpochSecond(); } - if (certificateProperties.getExpires() != null) { - this.expires = certificateProperties.getExpires().toEpochSecond(); + if (certificateProperties.getExpiresOn() != null) { + this.expires = certificateProperties.getExpiresOn().toEpochSecond(); } this.enabled = certificateProperties.isEnabled(); } - CertificateRequestAttributes(CertificateImportOptions certificateImportOptions) { - this.enabled = certificateImportOptions.isEnabled(); + CertificateRequestAttributes(ImportCertificateOptions importCertificateOptions) { + this.enabled = importCertificateOptions.isEnabled(); } CertificateRequestAttributes() { diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateService.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateService.java index a4accb6b7753..209a3c0979fd 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateService.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/CertificateService.java @@ -107,6 +107,18 @@ Mono> getCertificate(@HostParam("url") String url, @HeaderParam("Content-Type") String type, Context context); + @Get("certificates/{certificate-name}/{certificate-version}") + @ExpectedResponses({200, 404}) + @UnexpectedResponseExceptionType(code = {403}, value = ResourceModifiedException.class) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getCertificatePoller(@HostParam("url") String url, + @PathParam("certificate-name") String certificateName, + @PathParam("certificate-version") String certificateVersion, + @QueryParam("api-version") String apiVersion, + @HeaderParam("accept-language") String acceptLanguage, + @HeaderParam("Content-Type") String type, + Context context); + @Get("certificates/{certificate-name}/{certificate-version}") @ExpectedResponses({200}) @UnexpectedResponseExceptionType(code = {404}, value = ResourceNotFoundException.class) @@ -181,6 +193,16 @@ Mono> getDeletedCertificate(@HostParam("url") Strin @HeaderParam("Content-Type") String type, Context context); + @Get("deletedcertificates/{certificate-name}") + @ExpectedResponses({200, 404}) + @UnexpectedResponseExceptionType(HttpResponseException.class) + Mono> getDeletedCertificatePoller(@HostParam("url") String url, + @PathParam("certificate-name") String certificateName, + @QueryParam("api-version") String apiVersion, + @HeaderParam("accept-language") String acceptLanguage, + @HeaderParam("Content-Type") String type, + Context context); + @Delete("deletedcertificates/{certificate-name}") @ExpectedResponses({204}) @UnexpectedResponseExceptionType(code = {404}, value = ResourceNotFoundException.class) @@ -233,6 +255,7 @@ Mono> restoreCertificate(@HostParam("url") String @ReturnValueWireType(DeletedCertificatePage.class) Mono> getDeletedCertificates(@HostParam("url") String url, @QueryParam("maxresults") Integer maxresults, + @QueryParam("includePending") Boolean includePending, @QueryParam("api-version") String apiVersion, @HeaderParam("accept-language") String acceptLanguage, @HeaderParam("Content-Type") String type, diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/OrganizationDetails.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/OrganizationDetails.java index 1233408f1380..8a35d867f3e1 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/OrganizationDetails.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/OrganizationDetails.java @@ -4,7 +4,7 @@ package com.azure.security.keyvault.certificates; -import com.azure.security.keyvault.certificates.models.Administrator; +import com.azure.security.keyvault.certificates.models.AdministratorContact; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; @@ -23,7 +23,7 @@ class OrganizationDetails { * Details of the organization administrator. */ @JsonProperty(value = "admin_details") - private List adminDetails; + private List adminDetails; /** * Get the id value. @@ -50,7 +50,7 @@ OrganizationDetails id(String id) { * * @return the adminDetails value */ - List adminDetails() { + List adminDetails() { return this.adminDetails; } @@ -60,7 +60,7 @@ List adminDetails() { * @param adminDetails the adminDetails value to set * @return the OrganizationDetails object itself. */ - OrganizationDetails adminDetails(List adminDetails) { + OrganizationDetails adminDetails(List adminDetails) { this.adminDetails = adminDetails; return this; } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/WellKnownIssuerNames.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/WellKnownIssuerNames.java new file mode 100644 index 000000000000..81af66c229e1 --- /dev/null +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/WellKnownIssuerNames.java @@ -0,0 +1,27 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.security.keyvault.certificates; + +import com.azure.security.keyvault.certificates.models.CertificatePolicy; +import com.azure.security.keyvault.certificates.models.MergeCertificateOptions; + +/** + * Represents well known issuer names to refer in {@link CertificatePolicy} + */ +public class WellKnownIssuerNames { + + /** + * Create a self-issued certificate. + */ + public static final String SELF = "Self"; + + + /** + * Creates a certificate that requires merging an external X.509 certificate using + * {@link CertificateClient#mergeCertificate(MergeCertificateOptions)} or + * {@link CertificateAsyncClient#mergeCertificate(MergeCertificateOptions)}. + */ + public static final String UNKNOWN = "Unknown"; + +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/KeyVaultCredentialPolicy.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/implementation/KeyVaultCredentialPolicy.java similarity index 98% rename from sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/KeyVaultCredentialPolicy.java rename to sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/implementation/KeyVaultCredentialPolicy.java index 5e5e11daa788..2c133ec55a00 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/KeyVaultCredentialPolicy.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/implementation/KeyVaultCredentialPolicy.java @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.security.keyvault.certificates; +package com.azure.security.keyvault.certificates.implementation; import com.azure.core.credential.TokenCredential; import com.azure.core.credential.TokenRequestContext; diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/ScopeTokenCache.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/implementation/ScopeTokenCache.java similarity index 96% rename from sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/ScopeTokenCache.java rename to sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/implementation/ScopeTokenCache.java index fe04fc7900b6..42de6b85c5b3 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/ScopeTokenCache.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/implementation/ScopeTokenCache.java @@ -1,7 +1,7 @@ // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. -package com.azure.security.keyvault.certificates; +package com.azure.security.keyvault.certificates.implementation; import com.azure.core.credential.AccessToken; import com.azure.core.credential.TokenRequestContext; diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/Administrator.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/AdministratorContact.java similarity index 83% rename from sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/Administrator.java rename to sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/AdministratorContact.java index 70d18fe71596..394fe695b7aa 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/Administrator.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/AdministratorContact.java @@ -8,7 +8,7 @@ /** * Represents an administrator in {@link CertificateIssuer} */ -public final class Administrator { +public final class AdministratorContact { /** * First name. */ @@ -31,7 +31,7 @@ public final class Administrator { * Phone number. */ @JsonProperty(value = "phone") - private String contact; + private String phone; /** * Creates an administrator of the issuer. @@ -39,7 +39,7 @@ public final class Administrator { * @param lastName the last name of the issuer. * @param email the email of the issuer. */ - public Administrator(String firstName, String lastName, String email) { + public AdministratorContact(String firstName, String lastName, String email) { this.firstName = firstName; this.lastName = lastName; this.email = email; @@ -50,13 +50,13 @@ public Administrator(String firstName, String lastName, String email) { * @param firstName the firstName of the admin. * @param lastName the last name of the admin. * @param email the email of the admin. - * @param contact tne contact info of the admin. + * @param phone the contact info of the admin. */ - public Administrator(String firstName, String lastName, String email, String contact) { + public AdministratorContact(String firstName, String lastName, String email, String phone) { this.firstName = firstName; this.lastName = lastName; this.email = email; - this.contact = contact; + this.phone = phone; } /** @@ -87,7 +87,7 @@ public String getEmail() { * Get the contact of the admin. * @return the contact of admin. */ - public String getContact() { - return contact; + public String getPhone() { + return phone; } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateIssuer.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateIssuer.java index 74b06a9a5c1a..55d80ab0621b 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateIssuer.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateIssuer.java @@ -35,7 +35,7 @@ public final class CertificateIssuer { /** * The administrators. */ - private List administrators; + private List administratorContacts; /** * The Issuer properties @@ -97,7 +97,7 @@ public String getName() { } /** - * Get the account id of the isssuer. + * Get the account id of the issuer. * @return the account id */ public String getAccountId() { @@ -105,7 +105,7 @@ public String getAccountId() { } /** - * Set the account id of the isssuer. + * Set the account id of the issuer. * @param accountId the account id to set. * @return the Issuer object itself. */ @@ -115,7 +115,7 @@ public CertificateIssuer setAccountId(String accountId) { } /** - * Get the password of the isssuer. + * Get the password of the issuer. * @return the password */ public String getPassword() { @@ -123,7 +123,7 @@ public String getPassword() { } /** - * Set the password id of the isssuer. + * Set the password id of the issuer. * @param password the password set. * @return the Issuer object itself. */ @@ -133,7 +133,7 @@ public CertificateIssuer setPassword(String password) { } /** - * Get the organization id of the isssuer. + * Get the organization id of the issuer. * @return the organization id */ public String getOrganizationId() { @@ -151,20 +151,20 @@ public CertificateIssuer setOrganizationId(String organizationId) { } /** - * Get the administrators of the isssuer. + * Get the administrators of the issuer. * @return the administrators */ - public List getAdministrators() { - return administrators; + public List getAdministratorContacts() { + return administratorContacts; } /** - * Set the administrators of the isssuer. - * @param administrators the administrators to set. + * Set the administrators of the issuer. + * @param administratorContacts the administrators to set. * @return the Issuer object itself. */ - public CertificateIssuer setAdministrators(List administrators) { - this.administrators = administrators; + public CertificateIssuer setAdministratorContacts(List administratorContacts) { + this.administratorContacts = administratorContacts; return this; } @@ -210,14 +210,14 @@ private void unpackCredentials(Map credentials) { @JsonProperty(value = "org_details") @SuppressWarnings("unchecked") - private void unpacOrganizationalDetails(Map orgDetails) { - this.administrators = orgDetails.containsKey("admin_details") ? parseAdministrators((List) orgDetails.get("admin_details")) : null; + private void unpackOrganizationalDetails(Map orgDetails) { + this.administratorContacts = orgDetails.containsKey("admin_details") ? parseAdministrators((List) orgDetails.get("admin_details")) : null; this.organizationId = (String) orgDetails.get("id"); } @SuppressWarnings("unchecked") - private List parseAdministrators(List admins) { - List output = new ArrayList<>(); + private List parseAdministrators(List admins) { + List output = new ArrayList<>(); for (Object admin : admins) { LinkedHashMap map = (LinkedHashMap) admin; @@ -225,7 +225,7 @@ private List parseAdministrators(List admins) { String lastName = map.containsKey("last_name") ? map.get("last_name") : ""; String email = map.containsKey("email") ? map.get("email") : ""; String phone = map.containsKey("phone") ? map.get("phone") : ""; - output.add(new Administrator(firstName, lastName, email, phone)); + output.add(new AdministratorContact(firstName, lastName, email, phone)); } return output; } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateOperation.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateOperation.java index 219471baa5a2..5fe138181791 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateOperation.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateOperation.java @@ -64,7 +64,7 @@ public final class CertificateOperation { * Error encountered, if any, during the certificate operation. */ @JsonProperty(value = "error") - private Error error; + private CertificateOperationError error; /** * Location which contains the result of the certificate operation. @@ -155,7 +155,7 @@ public String getStatusDetails() { * * @return the error */ - public Error getError() { + public CertificateOperationError getError() { return this.error; } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateOperationError.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateOperationError.java new file mode 100644 index 000000000000..bd666606a0ea --- /dev/null +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateOperationError.java @@ -0,0 +1,57 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. + +package com.azure.security.keyvault.certificates.models; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Represents the error in {@link CertificateOperation}. + */ +public class CertificateOperationError { + /** + * The error code. + */ + @JsonProperty(value = "code", access = JsonProperty.Access.WRITE_ONLY) + private String code; + + /** + * The error message. + */ + @JsonProperty(value = "message", access = JsonProperty.Access.WRITE_ONLY) + private String message; + + /** + * The getInnerError property. + */ + @JsonProperty(value = "innererror", access = JsonProperty.Access.WRITE_ONLY) + private CertificateOperationError innerError; + + /** + * Get the code. + * + * @return the code + */ + public String getCode() { + return this.code; + } + + /** + * Get the message. + * + * @return the message + */ + public String getMessage() { + return this.message; + } + + /** + * Get the inner error. + * + * @return the inner error + */ + public CertificateOperationError getInnerError() { + return this.innerError; + } + +} diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificatePolicy.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificatePolicy.java index a35680dfef41..54f19d1440c4 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificatePolicy.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificatePolicy.java @@ -20,8 +20,6 @@ */ public final class CertificatePolicy { - public static final CertificatePolicy DEFAULT = new CertificatePolicy("Self", "CN=DefaultPolicy"); - /** * The subject name. Should be a valid X509 distinguished Name. */ @@ -74,12 +72,12 @@ public final class CertificatePolicy { /** * Creation time in UTC. */ - private OffsetDateTime created; + private OffsetDateTime createdOn; /** * Last updated time in UTC. */ - private OffsetDateTime updated; + private OffsetDateTime updatedOn; /** * Determines whether the object is enabled. @@ -150,6 +148,19 @@ public CertificatePolicy(String issuerName, SubjectAlternativeNames subjectAlter this.subjectAlternativeNames = subjectAlternativeNames; } + /** + * Creates certificate policy. + * @param issuerName The issuer name to set. + * @param subjectName The subject name to set. + * @param subjectAlternativeNames The subject alternative names to set. + */ + public CertificatePolicy(String issuerName, String subjectName, SubjectAlternativeNames subjectAlternativeNames) { + this.issuerName = issuerName; + this.subjectName = subjectName; + this.subjectAlternativeNames = subjectAlternativeNames; + } + + CertificatePolicy() { } @@ -277,8 +288,8 @@ public CertificateKeyCurveName getKeyCurveName() { * * @return the created UTC time. */ - public OffsetDateTime getCreated() { - return created; + public OffsetDateTime getCreatedOn() { + return createdOn; } /** @@ -286,8 +297,8 @@ public OffsetDateTime getCreated() { * * @return the last updated UTC time. */ - public OffsetDateTime getUpdated() { - return updated; + public OffsetDateTime getUpdatedOn() { + return updatedOn; } @@ -491,6 +502,14 @@ public List getLifeTimeActions() { return this.lifeTimeActions; } + /** + * Get the default certificate policy. + * @return the default certificate policy. + */ + public static CertificatePolicy getDefaultPolicy() { + return new CertificatePolicy("Self", "CN=DefaultPolicy"); + } + @JsonProperty("key_props") private void unpackKeyProperties(Map keyProps) { @@ -576,8 +595,8 @@ private void unpackLifeTimeActions(List lifetimeActions) { @JsonProperty("attributes") private void unpackAttributes(Map attributes) { this.enabled = (Boolean) attributes.get("enabled"); - this.created = epochToOffsetDateTime(attributes.get("created")); - this.updated = epochToOffsetDateTime(attributes.get("updated")); + this.createdOn = epochToOffsetDateTime(attributes.get("created")); + this.updatedOn = epochToOffsetDateTime(attributes.get("updated")); } private OffsetDateTime epochToOffsetDateTime(Object epochValue) { diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateProperties.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateProperties.java index 8f19742bbc53..1d4cc3be986e 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateProperties.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateProperties.java @@ -35,17 +35,17 @@ public class CertificateProperties { /** * Expiry date in UTC. */ - private OffsetDateTime expires; + private OffsetDateTime expiresOn; /** * Creation time in UTC. */ - private OffsetDateTime created; + private OffsetDateTime createdOn; /** * Last updated time in UTC. */ - private OffsetDateTime updated; + private OffsetDateTime updatedOn; /** * Reflects the deletion recovery level currently in effect for certificates in @@ -109,8 +109,8 @@ public OffsetDateTime getNotBefore() { * * @return the expires UTC time. */ - public OffsetDateTime getExpires() { - return this.expires; + public OffsetDateTime getExpiresOn() { + return this.expiresOn; } /** @@ -118,8 +118,8 @@ public OffsetDateTime getExpires() { * * @return the created UTC time. */ - public OffsetDateTime getCreated() { - return created; + public OffsetDateTime getCreatedOn() { + return createdOn; } /** @@ -127,8 +127,8 @@ public OffsetDateTime getCreated() { * * @return the last updated UTC time. */ - public OffsetDateTime getUpdated() { - return updated; + public OffsetDateTime getUpdatedOn() { + return updatedOn; } @@ -214,9 +214,9 @@ public byte[] getX509Thumbprint() { void unpackBaseAttributes(Map attributes) { this.enabled = (Boolean) attributes.get("enabled"); this.notBefore = epochToOffsetDateTime(attributes.get("nbf")); - this.expires = epochToOffsetDateTime(attributes.get("exp")); - this.created = epochToOffsetDateTime(attributes.get("created")); - this.updated = epochToOffsetDateTime(attributes.get("updated")); + this.expiresOn = epochToOffsetDateTime(attributes.get("exp")); + this.createdOn = epochToOffsetDateTime(attributes.get("created")); + this.updatedOn = epochToOffsetDateTime(attributes.get("updated")); this.recoveryLevel = (String) attributes.get("recoveryLevel"); this.tags = (Map) lazyValueSelection(attributes.get("tags"), this.tags); unpackId((String) attributes.get("id")); diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/DeletedCertificate.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/DeletedCertificate.java index 725bf233765a..8d6f560ad21d 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/DeletedCertificate.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/DeletedCertificate.java @@ -37,7 +37,7 @@ public final class DeletedCertificate extends KeyVaultCertificate { /** * The time when the certificate was deleted, in UTC. */ - private OffsetDateTime deletedDate; + private OffsetDateTime deletedOn; /** * Get the recoveryId identifier. @@ -62,8 +62,8 @@ public OffsetDateTime getScheduledPurgeDate() { * * @return the deletedDate UTC time. */ - public OffsetDateTime getDeletedDate() { - return this.deletedDate; + public OffsetDateTime getDeletedOn() { + return this.deletedOn; } @@ -82,6 +82,6 @@ private void unpackScheduledPurgeDate(Long scheduledPurgeDate) { */ @JsonProperty("deletedDate") private void deletedDate(Long deletedDate) { - this.deletedDate = OffsetDateTime.ofInstant(Instant.ofEpochMilli(deletedDate * 1000L), ZoneOffset.UTC); + this.deletedOn = OffsetDateTime.ofInstant(Instant.ofEpochMilli(deletedDate * 1000L), ZoneOffset.UTC); } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateImportOptions.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/ImportCertificateOptions.java similarity index 90% rename from sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateImportOptions.java rename to sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/ImportCertificateOptions.java index e7b8c7c9ec9d..95c01c9b864d 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/CertificateImportOptions.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/ImportCertificateOptions.java @@ -11,7 +11,7 @@ /** * Represents the configuration used to import a certificate in the key vault. */ -public final class CertificateImportOptions { +public final class ImportCertificateOptions { /** * The file location of the certificate. @@ -49,7 +49,7 @@ public final class CertificateImportOptions { * @param name The name of the key. * @param value The PFX or PEM formatted value of the certificate containing both the x509 certificates and the private key. */ - public CertificateImportOptions(String name, byte[] value) { + public ImportCertificateOptions(String name, byte[] value) { Objects.requireNonNull(value, "The certificate value parameter cannot be null."); this.name = name; this.value = CoreUtils.clone(value); @@ -60,7 +60,7 @@ public CertificateImportOptions(String name, byte[] value) { * @param enabled The enabled status to set. * @return the CertificateImportOptions itself */ - public CertificateImportOptions setEnabled(Boolean enabled) { + public ImportCertificateOptions setEnabled(Boolean enabled) { this.enabled = enabled; return this; } @@ -87,7 +87,7 @@ public CertificatePolicy getCertificatePolicy() { * @param certificatePolicy the management policy for the certificate * @return the updated CertificateImportOptions itself */ - public CertificateImportOptions setCertificatePolicy(CertificatePolicy certificatePolicy) { + public ImportCertificateOptions setCertificatePolicy(CertificatePolicy certificatePolicy) { this.certificatePolicy = certificatePolicy; return this; } @@ -97,7 +97,7 @@ public CertificateImportOptions setCertificatePolicy(CertificatePolicy certifica * @param tags The metadata to set. * @return the updated CertificateImportOptions itself */ - public CertificateImportOptions setTags(Map tags) { + public ImportCertificateOptions setTags(Map tags) { this.tags = tags; return this; } @@ -116,7 +116,7 @@ public Map getTags() { * @param password The password used to encrypt the certificate. * @return the updated CertificateImportOptions itself */ - public CertificateImportOptions setPassword(String password) { + public ImportCertificateOptions setPassword(String password) { this.password = password; return this; } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/SubjectAlternativeNames.java b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/SubjectAlternativeNames.java index 2656c86ea2f1..18524c49b2b4 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/SubjectAlternativeNames.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/main/java/com/azure/security/keyvault/certificates/models/SubjectAlternativeNames.java @@ -27,7 +27,12 @@ public final class SubjectAlternativeNames { * User principal names. */ @JsonProperty(value = "upns") - private List upns; + private List userPrincipalNames; + + /** + * Create an instance of SubjectAlternativeNames + */ + public SubjectAlternativeNames() { } /** * Get the emails. @@ -38,36 +43,15 @@ public List getEmails() { return this.emails; } - /* - * Constructor to setup the SubjectAlternativeNames - * @param sans the subject alternative names content - * @param sansType the type of the content. - */ - SubjectAlternativeNames(List sans, SubjectAlternativeNamesType sansType) { - switch (sansType) { - case EMAILS: - this.emails = sans; - break; - case DNS_NAMES: - this.dnsNames = sans; - break; - case UPNS: - this.upns = sans; - break; - default: - //should never reach here - return; - } - } - /** - * Create Subject Alternative names with emails. + * Set the emails. * * @param emails the emails to set - * @return the SubjectAlternativeNames. + * @return the updated SubjectAlternativeNames object itself. */ - public static SubjectAlternativeNames fromEmails(List emails) { - return new SubjectAlternativeNames(emails, SubjectAlternativeNamesType.EMAILS); + public SubjectAlternativeNames setEmails(List emails) { + this.emails = emails; + return this; } /** @@ -80,13 +64,14 @@ public List getDnsNames() { } /** - * Create Subject Alternative names with dns names. + * Set the dns names. * * @param dnsNames the dns names to set - * @return the SubjectAlternativeNames. + * @return the updated SubjectAlternativeNames object itself. */ - public static SubjectAlternativeNames fromDnsNames(List dnsNames) { - return new SubjectAlternativeNames(dnsNames, SubjectAlternativeNamesType.DNS_NAMES); + public SubjectAlternativeNames setDnsNames(List dnsNames) { + this.dnsNames = dnsNames; + return this; } /** @@ -95,22 +80,17 @@ public static SubjectAlternativeNames fromDnsNames(List dnsNames) { * @return the list of User Principal Names */ public List getUserPrincipalNames() { - return this.upns; + return this.userPrincipalNames; } /** - * Create Subject Alternative names with User Principal names. + * Set the User Principal Names. * - * @param upns the user principal names value to set - * @return the SubjectAlternativeNames. + * @param userPrincipalNames the user principal names to set + * @return the updated SubjectAlternativeNames object itself. */ - public static SubjectAlternativeNames fromUserPrincipalNames(List upns) { - return new SubjectAlternativeNames(upns, SubjectAlternativeNamesType.UPNS); - } - - private enum SubjectAlternativeNamesType { - EMAILS, - DNS_NAMES, - UPNS; + public SubjectAlternativeNames setUserPrincipalNames(List userPrincipalNames) { + this.userPrincipalNames = userPrincipalNames; + return this; } } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/BackupAndRestoreOperations.java b/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/BackupAndRestoreOperations.java index a888e9c6dbfd..45636dfa066b 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/BackupAndRestoreOperations.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/BackupAndRestoreOperations.java @@ -5,6 +5,7 @@ import com.azure.core.util.Context; import com.azure.core.util.polling.LongRunningOperationStatus; +import com.azure.core.util.polling.PollResponse; import com.azure.core.util.polling.SyncPoller; import com.azure.identity.DefaultAzureCredentialBuilder; import com.azure.security.keyvault.certificates.models.CertificatePolicy; @@ -48,13 +49,13 @@ public static void main(String[] args) throws IOException, InterruptedException, // Let's create a self signed certificate valid for 1 year. if the certificate // already exists in the key vault, then a new version of the certificate is created. CertificatePolicy policy = new CertificatePolicy("Self", "CN=SelfSignedJavaPkcs12") - .setSubjectAlternativeNames(SubjectAlternativeNames.fromEmails(Arrays.asList("wow@gmail.com"))) + .setSubjectAlternativeNames(new SubjectAlternativeNames().setEmails(Arrays.asList("wow@gmail.com"))) .setReuseKey(true) .setKeyCurveName(CertificateKeyCurveName.P_256); Map tags = new HashMap<>(); tags.put("foo", "bar"); - SyncPoller certificatePoller = certificateClient.beginCreateCertificate("certificateName", policy, tags); + SyncPoller certificatePoller = certificateClient.beginCreateCertificate("certificateName", policy, true, tags); certificatePoller.waitUntil(LongRunningOperationStatus.SUCCESSFULLY_COMPLETED); KeyVaultCertificate cert = certificatePoller.getFinalResult(); @@ -67,9 +68,13 @@ public static void main(String[] args) throws IOException, InterruptedException, writeBackupToFile(certificateBackup, backupFilePath); // The certificate is no longer in use, so you delete it. - DeletedCertificate deletedCertificate = certificateClient.deleteCertificate("certificateName"); - System.out.printf("Deleted certitifcate with name %s and recovery id %s", deletedCertificate.getName(), - deletedCertificate.getRecoveryId()); + SyncPoller deletedCertificatePoller = + certificateClient.beginDeleteCertificate("certificateName"); + // Deleted Certificate is accessible as soon as polling beings. + PollResponse pollResponse = deletedCertificatePoller.poll(); + System.out.printf("Deleted certitifcate with name %s and recovery id %s", pollResponse.getValue().getName(), + pollResponse.getValue().getRecoveryId()); + deletedCertificatePoller.waitForCompletion(); //To ensure certificate is deleted on server side. Thread.sleep(30000); diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/BackupAndRestoreOperationsAsync.java b/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/BackupAndRestoreOperationsAsync.java index 8fb6ebff89d0..e200cda7e909 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/BackupAndRestoreOperationsAsync.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/BackupAndRestoreOperationsAsync.java @@ -43,7 +43,7 @@ public static void main(String[] args) throws IOException, InterruptedException, // Let's create a self signed certificate valid for 1 year. if the certificate // already exists in the key vault, then a new version of the certificate is created. CertificatePolicy policy = new CertificatePolicy("Self", "CN=SelfSignedJavaPkcs12") - .setSubjectAlternativeNames(SubjectAlternativeNames.fromEmails(Arrays.asList("wow@gmail.com"))) + .setSubjectAlternativeNames(new SubjectAlternativeNames().setEmails(Arrays.asList("wow@gmail.com"))) .setReuseKey(true) .setKeyCurveName(CertificateKeyCurveName.P_256); Map tags = new HashMap<>(); @@ -71,10 +71,12 @@ public static void main(String[] args) throws IOException, InterruptedException, Thread.sleep(7000); // The certificate is no longer in use, so you delete it. - certificateAsyncClient.deleteCertificate("certificateName") - .subscribe(deletedSecretResponse -> - System.out.printf("Deleted Certificate's Recovery Id %s %n", deletedSecretResponse.getRecoveryId())); - + certificateAsyncClient.beginDeleteCertificate("certificateName") + .subscribe(pollResponse -> { + System.out.println("Delete Status: " + pollResponse.getStatus().toString()); + System.out.println("Delete Certificate Name: " + pollResponse.getValue().getName()); + System.out.println("Certificate Delete Date: " + pollResponse.getValue().getDeletedOn().toString()); + }); //To ensure certificate is deleted on server side. Thread.sleep(30000); diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/CertificateAsyncClientJavaDocCodeSnippets.java b/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/CertificateAsyncClientJavaDocCodeSnippets.java index 180b7d72a358..e2ebafb4cadf 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/CertificateAsyncClientJavaDocCodeSnippets.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/CertificateAsyncClientJavaDocCodeSnippets.java @@ -11,6 +11,7 @@ import com.azure.core.http.policy.HttpLogOptions; import com.azure.core.http.policy.RetryPolicy; import com.azure.identity.DefaultAzureCredentialBuilder; +import com.azure.security.keyvault.certificates.implementation.KeyVaultCredentialPolicy; import com.azure.security.keyvault.certificates.models.KeyVaultCertificate; import com.azure.security.keyvault.certificates.models.CertificatePolicy; import com.azure.security.keyvault.certificates.models.CertificateContact; @@ -151,7 +152,8 @@ public void getCertificateWithResponseCodeSnippets() { // BEGIN: com.azure.security.keyvault.certificates.CertificateAsyncClient.getCertificate#CertificateProperties certificateAsyncClient.getCertificate("certificateName") .subscriberContext(Context.of(key1, value1, key2, value2)) - .subscribe(certificate -> certificateAsyncClient.getCertificate(certificate.getProperties()) + .subscribe(certificate -> certificateAsyncClient.getCertificateVersion(certificate.getName(), + certificate.getProperties().getVersion()) .subscribe(certificateResponse -> System.out.printf("Certificate is returned with name %s and secretId %s %n", certificateResponse.getProperties().getName(), certificateResponse.getSecretId()))); @@ -163,7 +165,7 @@ public void getCertificateWithResponseCodeSnippets() { */ public void createCertificateCodeSnippets() { CertificateAsyncClient certificateAsyncClient = getCertificateAsyncClient(); - // BEGIN: com.azure.security.keyvault.certificates.CertificateAsyncClient.createCertificate#String-CertificatePolicy-Boolean-Map + // BEGIN: com.azure.security.keyvault.certificates.CertificateAsyncClient.beginCreateCertificate#String-CertificatePolicy-Boolean-Map CertificatePolicy policy = new CertificatePolicy("Self", "CN=SelfSignedJavaPkcs12"); Map tags = new HashMap<>(); tags.put("foo", "bar"); @@ -174,9 +176,9 @@ public void createCertificateCodeSnippets() { System.out.println(pollResponse.getValue().getStatus()); System.out.println(pollResponse.getValue().getStatusDetails()); }); - // END: com.azure.security.keyvault.certificates.CertificateAsyncClient.createCertificate#String-CertificatePolicy-Boolean-Map + // END: com.azure.security.keyvault.certificates.CertificateAsyncClient.beginCreateCertificate#String-CertificatePolicy-Boolean-Map - // BEGIN: com.azure.security.keyvault.certificates.CertificateAsyncClient.createCertificate#String-CertificatePolicy + // BEGIN: com.azure.security.keyvault.certificates.CertificateAsyncClient.beginCreateCertificate#String-CertificatePolicy CertificatePolicy certPolicy = new CertificatePolicy("Self", "CN=SelfSignedJavaPkcs12"); certificateAsyncClient.beginCreateCertificate("certificateName", certPolicy) .subscribe(pollResponse -> { @@ -185,7 +187,20 @@ public void createCertificateCodeSnippets() { System.out.println(pollResponse.getValue().getStatus()); System.out.println(pollResponse.getValue().getStatusDetails()); }); - // END: com.azure.security.keyvault.certificates.CertificateAsyncClient.createCertificate#String-CertificatePolicy + // END: com.azure.security.keyvault.certificates.CertificateAsyncClient.beginCreateCertificate#String-CertificatePolicy + } + + public void getCertificateOperation() { + CertificateAsyncClient certificateAsyncClient = getCertificateAsyncClient(); + // BEGIN: com.azure.security.keyvault.certificates.CertificateAsyncClient.getCertificateOperation#String + certificateAsyncClient.getCertificateOperation("certificateName") + .subscribe(pollResponse -> { + System.out.println("---------------------------------------------------------------------------------"); + System.out.println(pollResponse.getStatus()); + System.out.println(pollResponse.getValue().getStatus()); + System.out.println(pollResponse.getValue().getStatusDetails()); + }); + // END: com.azure.security.keyvault.certificates.CertificateAsyncClient.getCertificateOperation#String } /** @@ -249,27 +264,6 @@ public void getCertificateIssuerCodeSnippets() { issuerResponse.getValue().getProperties().getProvider()); }); // END: com.azure.security.keyvault.certificates.CertificateAsyncClient.getIssuerWithResponse#string - - // BEGIN: com.azure.security.keyvault.certificates.CertificateAsyncClient.getIssuer#issuerProperties - certificateAsyncClient.getIssuer("issuerName") - .subscriberContext(Context.of(key1, value1, key2, value2)) - .subscribe(issuer -> certificateAsyncClient.getIssuer(issuer.getProperties()) - .subscribe(issuerResponse -> { - System.out.printf("Issuer returned with %s and %s", issuerResponse.getName(), - issuerResponse.getProperties().getProvider()); - })); - // END: com.azure.security.keyvault.certificates.CertificateAsyncClient.getIssuer#issuerProperties - - - // BEGIN: com.azure.security.keyvault.certificates.CertificateAsyncClient.getIssuerWithResponse#issuerProperties - certificateAsyncClient.getIssuerWithResponse("issuerName") - .subscriberContext(Context.of(key1, value1, key2, value2)) - .subscribe(issuer -> certificateAsyncClient.getIssuerWithResponse(issuer.getValue().getProperties()) - .subscribe(issuerResponse -> { - System.out.printf("Issuer returned with %s and %s", issuerResponse.getValue().getName(), - issuerResponse.getValue().getProperties().getProvider()); - })); - // END: com.azure.security.keyvault.certificates.CertificateAsyncClient.getIssuerWithResponse#issuerProperties } /** @@ -383,24 +377,18 @@ public void updateCertificateWithResponseCodeSnippets() { } /** - * Method to insert code snippets for {@link CertificateAsyncClient#deleteCertificate(String)} + * Method to insert code snippets for {@link CertificateAsyncClient#beginDeleteCertificate(String)} */ public void deleteCertificateCodeSnippets() { CertificateAsyncClient certificateAsyncClient = getCertificateAsyncClient(); - // BEGIN: com.azure.security.keyvault.certificates.CertificateAsyncClient.deleteCertificate#string - certificateAsyncClient.deleteCertificate("certificateName") - .subscriberContext(Context.of(key1, value1, key2, value2)) - .subscribe(deletedSecretResponse -> - System.out.printf("Deleted Certificate's Recovery Id %s %n", deletedSecretResponse.getRecoveryId())); - // END: com.azure.security.keyvault.certificates.CertificateAsyncClient.deleteCertificate#string - - // BEGIN: com.azure.security.keyvault.certificates.CertificateAsyncClient.deleteCertificateWithResponse#string - certificateAsyncClient.deleteCertificateWithResponse("certificateName") - .subscriberContext(Context.of(key1, value1, key2, value2)) - .subscribe(deletedSecretResponse -> - System.out.printf("Deleted Certificate's Recovery Id %s %n", - deletedSecretResponse.getValue().getRecoveryId())); - // END: com.azure.security.keyvault.certificates.CertificateAsyncClient.deleteCertificateWithResponse#string + // BEGIN: com.azure.security.keyvault.certificates.CertificateAsyncClient.beginDeleteCertificate#string + certificateAsyncClient.beginDeleteCertificate("certificateName") + .subscribe(pollResponse -> { + System.out.println("Delete Status: " + pollResponse.getStatus().toString()); + System.out.println("Delete Certificate Name: " + pollResponse.getValue().getName()); + System.out.println("Certificate Delete Date: " + pollResponse.getValue().getDeletedOn().toString()); + }); + // END: com.azure.security.keyvault.certificates.CertificateAsyncClient.beginDeleteCertificate#string } /** @@ -470,25 +458,18 @@ public void purgeDeletedCertificateWithResponseCodeSnippets() { } /** - * Method to insert code snippets for {@link CertificateAsyncClient#recoverDeletedCertificate(String)} + * Method to insert code snippets for {@link CertificateAsyncClient#beginRecoverDeletedCertificate(String)} */ public void recoverDeletedCertificateCodeSnippets() { CertificateAsyncClient certificateAsyncClient = getCertificateAsyncClient(); - // BEGIN: com.azure.security.certificatevault.certificates.CertificateAsyncClient.recoverDeletedCertificate#string - certificateAsyncClient.recoverDeletedCertificate("deletedCertificateName") - .subscriberContext(Context.of(key1, value1, key2, value2)) - .subscribe(recoveredSecretResponse -> - System.out.printf("Recovered Certificate with name %s %n", - recoveredSecretResponse.getProperties().getName())); - // END: com.azure.security.certificatevault.certificates.CertificateAsyncClient.recoverDeletedCertificate#string - - // BEGIN: com.azure.security.certificatevault.certificates.CertificateAsyncClient.recoverDeletedCertificateWithResponse#string - certificateAsyncClient.recoverDeletedCertificateWithResponse("deletedCertificateName") - .subscriberContext(Context.of(key1, value1, key2, value2)) - .subscribe(recoveredSecretResponse -> - System.out.printf("Recovered Certificate with name %s %n", - recoveredSecretResponse.getValue().getProperties().getName())); - // END: com.azure.security.certificatevault.certificates.CertificateAsyncClient.recoverDeletedCertificateWithResponse#string + // BEGIN: com.azure.security.certificatevault.certificates.CertificateAsyncClient.beginRecoverDeletedCertificate#string + certificateAsyncClient.beginRecoverDeletedCertificate("deletedCertificateName") + .subscribe(pollResponse -> { + System.out.println("Recovery Status: " + pollResponse.getStatus().toString()); + System.out.println("Recover Certificate Name: " + pollResponse.getValue().getName()); + System.out.println("Recover Certificate Id: " + pollResponse.getValue().getId()); + }); + // END: com.azure.security.certificatevault.certificates.CertificateAsyncClient.beginRecoverDeletedCertificate#string } /** @@ -542,24 +523,25 @@ public void listCertificatesCodeSnippets() { // BEGIN: com.azure.security.keyvault.certificates.CertificateAsyncClient.listCertificates certificateAsyncClient.listPropertiesOfCertificates() .subscriberContext(Context.of(key1, value1, key2, value2)) - .subscribe(certificateBase -> certificateAsyncClient.getCertificate(certificateBase) + .subscribe(certificate -> certificateAsyncClient.getCertificateVersion(certificate.getName(), + certificate.getVersion()) .subscribe(certificateResponse -> System.out.printf("Received certificate with name %s and key id %s", certificateResponse.getProperties().getName(), certificateResponse.getKeyId()))); // END: com.azure.security.keyvault.certificates.CertificateAsyncClient.listCertificates } /** - * Method to insert code snippets for {@link CertificateAsyncClient#listIssuers()} + * Method to insert code snippets for {@link CertificateAsyncClient#listPropertiesOfIssuers()} */ public void listCertificateIssuersCodeSnippets() { CertificateAsyncClient certificateAsyncClient = getCertificateAsyncClient(); - // BEGIN: com.azure.security.keyvault.certificates.CertificateAsyncClient.listIssuers - certificateAsyncClient.listIssuers() + // BEGIN: com.azure.security.keyvault.certificates.CertificateAsyncClient.listPropertiesOfIssuers + certificateAsyncClient.listPropertiesOfIssuers() .subscriberContext(Context.of(key1, value1, key2, value2)) - .subscribe(issuerBase -> certificateAsyncClient.getIssuer(issuerBase) + .subscribe(issuerProperties -> certificateAsyncClient.getIssuer(issuerProperties.getName()) .subscribe(issuerResponse -> System.out.printf("Received issuer with name %s and provider %s", issuerResponse.getName(), issuerResponse.getProperties().getProvider()))); - // END: com.azure.security.keyvault.certificates.CertificateAsyncClient.listIssuers + // END: com.azure.security.keyvault.certificates.CertificateAsyncClient.listPropertiesOfIssuers } /** @@ -583,7 +565,8 @@ public void listCertificateVersionsCodeSnippets() { // BEGIN: com.azure.security.keyvault.certificates.CertificateAsyncClient.listCertificateVersions certificateAsyncClient.listPropertiesOfCertificateVersions("certificateName") .subscriberContext(Context.of(key1, value1, key2, value2)) - .subscribe(certificateBase -> certificateAsyncClient.getCertificate(certificateBase) + .subscribe(certificate -> certificateAsyncClient.getCertificateVersion(certificate.getName(), + certificate.getVersion()) .subscribe(certificateResponse -> System.out.printf("Received certificate with name %s and key id %s", certificateResponse.getProperties().getName(), certificateResponse.getKeyId()))); // END: com.azure.security.keyvault.certificates.CertificateAsyncClient.listCertificateVersions @@ -608,30 +591,18 @@ public void contactsOperationsCodeSnippets() { // END: com.azure.security.keyvault.certificates.CertificateAsyncClient.listContacts // BEGIN: com.azure.security.keyvault.certificates.CertificateAsyncClient.deleteContacts - certificateAsyncClient.listContacts().subscribe(contact -> + certificateAsyncClient.deleteContacts().subscribe(contact -> System.out.printf("Deleted Contact name %s and email %s", contact.getName(), contact.getEmailAddress()) ); // END: com.azure.security.keyvault.certificates.CertificateAsyncClient.deleteContacts } /** - * Method to insert code snippets for {@link CertificateAsyncClient#cancelCertificateOperation(String)} and - * {@link CertificateAsyncClient#cancelCertificateOperationWithResponse(String)} + * Method to insert code snippets for {@link CertificateAsyncClient#deleteCertificateOperation(String)} and + * {@link CertificateAsyncClient#deleteCertificateOperationWithResponse(String, com.azure.core.util.Context)} */ public void certificateOperationCodeSnippets() { CertificateAsyncClient certificateAsyncClient = getCertificateAsyncClient(); - // BEGIN: com.azure.security.keyvault.certificates.CertificateAsyncClient.cancelCertificateOperation#string - certificateAsyncClient.cancelCertificateOperation("certificateName") - .subscribe(certificateOperation -> System.out.printf("Certificate operation status %s", - certificateOperation.getStatus())); - // END: com.azure.security.keyvault.certificates.CertificateAsyncClient.cancelCertificateOperation#string - - // BEGIN: com.azure.security.keyvault.certificates.CertificateAsyncClient.cancelCertificateOperationWithResponse#string - certificateAsyncClient.cancelCertificateOperationWithResponse("certificateName") - .subscribe(certificateOperationResponse -> System.out.printf("Certificate operation status %s", - certificateOperationResponse.getValue().getStatus())); - // END: com.azure.security.keyvault.certificates.CertificateAsyncClient.cancelCertificateOperationWithResponse#string - // BEGIN: com.azure.security.keyvault.certificates.CertificateAsyncClient.deleteCertificateOperationWithResponse#string certificateAsyncClient.deleteCertificateOperationWithResponse("certificateName") .subscribe(certificateOperationResponse -> System.out.printf("Deleted Certificate operation's last" @@ -647,24 +618,9 @@ public void certificateOperationCodeSnippets() { /** * Method to insert code snippets for {@link CertificateAsyncClient#mergeCertificate(MergeCertificateOptions)} - * and {@link CertificateAsyncClient#mergeCertificate(String, List)} */ public void mergeCertificateCodeSnippets() { CertificateAsyncClient certificateAsyncClient = getCertificateAsyncClient(); - // BEGIN: com.azure.security.keyvault.certificates.CertificateAsyncClient.mergeCertificate#String-List - List x509Certs = new ArrayList<>(); - certificateAsyncClient.mergeCertificate("certificateName", x509Certs) - .subscribe(certificate -> System.out.printf("Received Certificate with name %s and key id %s", - certificate.getProperties().getName(), certificate.getKeyId())); - // END: com.azure.security.keyvault.certificates.CertificateAsyncClient.mergeCertificate#String-List - - // BEGIN: com.azure.security.keyvault.certificates.CertificateAsyncClient.mergeCertificateWithResponse#String-List - List x509Certificates = new ArrayList<>(); - certificateAsyncClient.mergeCertificateWithResponse("certificateName", x509Certificates) - .subscribe(certificateResponse -> System.out.printf("Received Certificate with name %s and key id %s", - certificateResponse.getValue().getProperties().getName(), certificateResponse.getValue().getKeyId())); - // END: com.azure.security.keyvault.certificates.CertificateAsyncClient.mergeCertificateWithResponse#String-List - // BEGIN: com.azure.security.keyvault.certificates.CertificateAsyncClient.mergeCertificate#config List x509CertificatesToMerge = new ArrayList<>(); MergeCertificateOptions config = diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/CertificateClientJavaDocCodeSnippets.java b/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/CertificateClientJavaDocCodeSnippets.java index f1a86921bd82..5c7d5667e8d4 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/CertificateClientJavaDocCodeSnippets.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/CertificateClientJavaDocCodeSnippets.java @@ -9,6 +9,7 @@ import com.azure.core.http.rest.Response; import com.azure.core.util.Context; import com.azure.core.util.polling.LongRunningOperationStatus; +import com.azure.core.util.polling.PollResponse; import com.azure.core.util.polling.SyncPoller; import com.azure.identity.DefaultAzureCredentialBuilder; import com.azure.security.keyvault.certificates.models.CertificateOperation; @@ -17,7 +18,7 @@ import com.azure.security.keyvault.certificates.models.CertificateIssuer; import com.azure.security.keyvault.certificates.models.IssuerProperties; import com.azure.security.keyvault.certificates.models.MergeCertificateOptions; -import com.azure.security.keyvault.certificates.models.Administrator; +import com.azure.security.keyvault.certificates.models.AdministratorContact; import com.azure.security.keyvault.certificates.models.CertificateProperties; import com.azure.security.keyvault.certificates.models.KeyVaultCertificate; import com.azure.security.keyvault.certificates.models.KeyVaultCertificateWithPolicy; @@ -115,7 +116,8 @@ public void getCertificateWithResponseCodeSnippets() { // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.getCertificate#CertificateProperties for (CertificateProperties certificateProperties : certificateClient.listPropertiesOfCertificates()) { - KeyVaultCertificate certificateWithAllProperties = certificateClient.getCertificate(certificateProperties); + KeyVaultCertificate certificateWithAllProperties = certificateClient + .getCertificateVersion(certificateProperties.getName(), certificateProperties.getVersion()); System.out.printf("Received certificate with name %s and secret id %s", certificateWithAllProperties.getProperties().getName(), certificateWithAllProperties.getSecretId()); } @@ -127,17 +129,17 @@ public void getCertificateWithResponseCodeSnippets() { */ public void createCertificateCodeSnippets() { CertificateClient certificateClient = getCertificateClient(); - // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.createCertificate#String-CertificatePolicy-Map + // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.beginCreateCertificate#String-CertificatePolicy-Boolean-Map CertificatePolicy certificatePolicyPkcsSelf = new CertificatePolicy("Self", "CN=SelfSignedJavaPkcs12"); SyncPoller certPoller = certificateClient - .beginCreateCertificate("certificateName", certificatePolicyPkcsSelf); + .beginCreateCertificate("certificateName", certificatePolicyPkcsSelf, true, new HashMap<>()); certPoller.waitUntil(LongRunningOperationStatus.SUCCESSFULLY_COMPLETED); KeyVaultCertificate cert = certPoller.getFinalResult(); System.out.printf("Certificate created with name %s", cert.getName()); - // END: com.azure.security.keyvault.certificates.CertificateClient.createCertificate#String-CertificatePolicy-Map + // END: com.azure.security.keyvault.certificates.CertificateClient.beginCreateCertificate#String-CertificatePolicy-Boolean-Map - // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.createCertificate#String-CertificatePolicy + // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.beginCreateCertificate#String-CertificatePolicy CertificatePolicy certificatePolicy = new CertificatePolicy("Self", "CN=SelfSignedJavaPkcs12"); SyncPoller certificatePoller = certificateClient @@ -145,9 +147,22 @@ public void createCertificateCodeSnippets() { certificatePoller.waitUntil(LongRunningOperationStatus.SUCCESSFULLY_COMPLETED); KeyVaultCertificate certificate = certificatePoller.getFinalResult(); System.out.printf("Certificate created with name %s", certificate.getName()); - // END: com.azure.security.keyvault.certificates.CertificateClient.createCertificate#String-CertificatePolicy + // END: com.azure.security.keyvault.certificates.CertificateClient.beginCreateCertificate#String-CertificatePolicy } + public void getCertificateOperation() { + CertificateClient certificateClient = getCertificateClient(); + // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.getCertificateOperation#String + SyncPoller certPoller = certificateClient + .getCertificateOperation("certificateName"); + certPoller.waitUntil(LongRunningOperationStatus.SUCCESSFULLY_COMPLETED); + KeyVaultCertificate cert = certPoller.getFinalResult(); + System.out.printf("Certificate created with name %s", cert.getName()); + // END: com.azure.security.keyvault.certificates.CertificateClient.getCertificateOperation#String + + } + + /** * Method to insert code snippets for {@link CertificateClient#createIssuer(String, String)} */ @@ -162,7 +177,7 @@ public void createCertificateIssuerCodeSnippets() { // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.createIssuer#CertificateIssuer CertificateIssuer issuerToCreate = new CertificateIssuer("myissuer", "myProvider") .setAccountId("testAccount") - .setAdministrators(Arrays.asList(new Administrator("test", "name", + .setAdministratorContacts(Arrays.asList(new AdministratorContact("test", "name", "test@example.com"))); CertificateIssuer returnedIssuer = certificateClient.createIssuer(issuerToCreate); System.out.printf("Created Issuer with name %s provider %s", returnedIssuer.getName(), @@ -172,7 +187,7 @@ public void createCertificateIssuerCodeSnippets() { // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.createIssuerWithResponse#CertificateIssuer-Context CertificateIssuer issuer = new CertificateIssuer("issuerName", "myProvider") .setAccountId("testAccount") - .setAdministrators(Arrays.asList(new Administrator("test", "name", + .setAdministratorContacts(Arrays.asList(new AdministratorContact("test", "name", "test@example.com"))); Response issuerResponse = certificateClient.createIssuerWithResponse(issuer, new Context(key1, value1)); @@ -198,24 +213,6 @@ public void getCertificateIssuerCodeSnippets() { System.out.printf("Retrieved issuer with name %s and prodier %s", issuerResponse.getValue().getName(), issuerResponse.getValue().getProperties().getProvider()); // END: com.azure.security.keyvault.certificates.CertificateClient.getIssuerWithResponse#string-context - - // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.getIssuer#issuerProperties - for (IssuerProperties issuer : certificateClient.listIssuers()) { - CertificateIssuer retrievedIssuer = certificateClient.getIssuer(issuer); - System.out.printf("Received issuer with name %s and provider %s", retrievedIssuer.getName(), - retrievedIssuer.getProperties().getProvider()); - } - // END: com.azure.security.keyvault.certificates.CertificateClient.getIssuer#issuerProperties - - // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.getIssuerWithResponse#issuerProperties-context - for (IssuerProperties issuer : certificateClient.listIssuers()) { - Response retrievedIssuerResponse = certificateClient.getIssuerWithResponse(issuer, - new Context(key1, value1)); - System.out.printf("Received issuer with name %s and provider %s", - retrievedIssuerResponse.getValue().getName(), - retrievedIssuerResponse.getValue().getProperties().getProvider()); - } - // END: com.azure.security.keyvault.certificates.CertificateClient.getIssuerWithResponse#issuerProperties-context } /** @@ -299,28 +296,25 @@ public void updateCertificatePolicyCodeSnippets() { } /** - * Method to insert code snippets for {@link CertificateClient#deleteCertificate(String)} + * Method to insert code snippets for {@link CertificateClient#beginDeleteCertificate(String)} */ public void deleteCertificateCodeSnippets() { CertificateClient certificateClient = getCertificateClient(); - // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.deleteCertificate#string - DeletedCertificate deletedCertificate = certificateClient.deleteCertificate("certificateName"); - System.out.printf("Deleted certitifcate with name %s and recovery id %s", deletedCertificate.getName(), - deletedCertificate.getRecoveryId()); - // END: com.azure.security.keyvault.certificates.CertificateClient.deleteCertificate#string - - // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.deleteCertificateWithResponse#String-Context - Response deletedCertificateResponse = certificateClient - .deleteCertificateWithResponse("certificateName", new Context(key1, value1)); - System.out.printf("Deleted certitifcate with name %s and recovery id %s", - deletedCertificateResponse.getValue().getName(), deletedCertificateResponse.getValue().getRecoveryId()); - // END: com.azure.security.keyvault.certificates.CertificateClient.deleteCertificateWithResponse#String-Context + // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.beginDeleteCertificate#string + SyncPoller deleteCertificatePoller = + certificateClient.beginDeleteCertificate("certificateName"); + // Deleted Certificate is accessible as soon as polling beings. + PollResponse pollResponse = deleteCertificatePoller.poll(); + System.out.printf("Deleted certitifcate with name %s and recovery id %s", pollResponse.getValue().getName(), + pollResponse.getValue().getRecoveryId()); + deleteCertificatePoller.waitForCompletion(); + // END: com.azure.security.keyvault.certificates.CertificateClient.beginDeleteCertificate#string } /** * Method to insert code snippets for {@link CertificateClient#deleteIssuer(String)} */ - public void deleteCertificateIssuerCodeSnippets() { + public void deleteCertificateIssuefrCodeSnippets() { CertificateClient certificateClient = getCertificateClient(); // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.deleteIssuerWithResponse#string-context CertificateIssuer deletedIssuer = certificateClient.deleteIssuer("certificateName"); @@ -381,23 +375,19 @@ public void purgeDeletedCertificateWithResponseCodeSnippets() { } /** - * Method to insert code snippets for {@link CertificateClient#recoverDeletedCertificate(String)} (String)} + * Method to insert code snippets for {@link CertificateClient#beginRecoverDeletedCertificate(String)} (String)} */ public void recoverDeletedCertificateCodeSnippets() { CertificateClient certificateClient = getCertificateClient(); - // BEGIN: com.azure.security.certificatevault.certificates.CertificateClient.recoverDeletedCertificate#string - KeyVaultCertificate certificate = certificateClient.recoverDeletedCertificate("deletedCertificateName"); - System.out.printf(" Recovered Deleted certificate with name %s and id %s", certificate.getProperties().getName(), - certificate.getProperties().getId()); - // END: com.azure.security.certificatevault.certificates.CertificateClient.recoverDeletedCertificate#string - - // BEGIN: com.azure.security.certificatevault.certificates.CertificateClient.recoverDeletedCertificateWithResponse#String-Context - Response recoveredCertificate = certificateClient - .recoverDeletedCertificateWithResponse("deletedCertificateName", new Context(key1, value1)); - System.out.printf(" Recovered Deleted certificate with name %s and id %s", - recoveredCertificate.getValue().getProperties().getName(), - recoveredCertificate.getValue().getProperties().getId()); - // END: com.azure.security.certificatevault.certificates.CertificateClient.recoverDeletedCertificateWithResponse#String-Context + // BEGIN: com.azure.security.certificatevault.certificates.CertificateClient.beginRecoverDeletedCertificate#string + SyncPoller recoverCertPoller = certificateClient + .beginRecoverDeletedCertificate("deletedCertificateName"); + // Recovered certificate is accessible as soon as polling beings + PollResponse pollResponse = recoverCertPoller.poll(); + System.out.printf(" Recovered Deleted certificate with name %s and id %s", pollResponse.getValue() + .getProperties().getName(), pollResponse.getValue().getProperties().getId()); + recoverCertPoller.waitForCompletion(); + // END: com.azure.security.certificatevault.certificates.CertificateClient.beginRecoverDeletedCertificate#string } /** @@ -447,7 +437,8 @@ public void listCertificatesCodeSnippets() { CertificateClient certificateClient = getCertificateClient(); // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.listCertificates for (CertificateProperties certificateProperties : certificateClient.listPropertiesOfCertificates()) { - KeyVaultCertificate certificateWithAllProperties = certificateClient.getCertificate(certificateProperties); + KeyVaultCertificate certificateWithAllProperties = certificateClient + .getCertificateVersion(certificateProperties.getName(), certificateProperties.getVersion()); System.out.printf("Received certificate with name %s and secret id %s", certificateWithAllProperties.getProperties().getName(), certificateWithAllProperties.getSecretId()); @@ -457,7 +448,8 @@ public void listCertificatesCodeSnippets() { // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.listCertificates#context for (CertificateProperties certificateProperties : certificateClient .listPropertiesOfCertificates(true, new Context(key1, value1))) { - KeyVaultCertificate certificateWithAllProperties = certificateClient.getCertificate(certificateProperties); + KeyVaultCertificate certificateWithAllProperties = certificateClient + .getCertificateVersion(certificateProperties.getName(), certificateProperties.getVersion()); System.out.printf("Received certificate with name %s and secret id %s", certificateWithAllProperties.getProperties().getName(), certificateWithAllProperties.getSecretId()); @@ -466,25 +458,25 @@ public void listCertificatesCodeSnippets() { } /** - * Method to insert code snippets for {@link CertificateClient#listIssuers()} + * Method to insert code snippets for {@link CertificateClient#listPropertiesOfIssuers()} */ public void listCertificateIssuersCodeSnippets() { CertificateClient certificateClient = getCertificateClient(); - // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.listIssuers - for (IssuerProperties issuer : certificateClient.listIssuers()) { - CertificateIssuer retrievedIssuer = certificateClient.getIssuer(issuer); + // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.listPropertiesOfIssuers + for (IssuerProperties issuer : certificateClient.listPropertiesOfIssuers()) { + CertificateIssuer retrievedIssuer = certificateClient.getIssuer(issuer.getName()); System.out.printf("Received issuer with name %s and provider %s", retrievedIssuer.getName(), retrievedIssuer.getProperties().getProvider()); } - // END: com.azure.security.keyvault.certificates.CertificateClient.listIssuers + // END: com.azure.security.keyvault.certificates.CertificateClient.listPropertiesOfIssuers - // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.listIssuers#context - for (IssuerProperties issuer : certificateClient.listIssuers(new Context(key1, value1))) { - CertificateIssuer retrievedIssuer = certificateClient.getIssuer(issuer); + // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.listPropertiesOfIssuers#context + for (IssuerProperties issuer : certificateClient.listPropertiesOfIssuers(new Context(key1, value1))) { + CertificateIssuer retrievedIssuer = certificateClient.getIssuer(issuer.getName()); System.out.printf("Received issuer with name %s and provider %s", retrievedIssuer.getName(), retrievedIssuer.getProperties().getProvider()); } - // END: com.azure.security.keyvault.certificates.CertificateClient.listIssuers#context + // END: com.azure.security.keyvault.certificates.CertificateClient.listPropertiesOfIssuers#context } /** @@ -500,7 +492,7 @@ public void listDeletedCertificatesCodeSnippets() { // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.listDeletedCertificates#context for (DeletedCertificate deletedCertificate : certificateClient - .listDeletedCertificates(new Context(key1, value1))) { + .listDeletedCertificates(true, new Context(key1, value1))) { System.out.printf("Deleted certificate's recovery Id %s", deletedCertificate.getRecoveryId()); } // END: com.azure.security.keyvault.certificates.CertificateClient.listDeletedCertificates#context @@ -514,7 +506,8 @@ public void listCertificateVersionsCodeSnippets() { // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.listCertificateVersions for (CertificateProperties certificateProperties : certificateClient .listPropertiesOfCertificateVersions("certificateName")) { - KeyVaultCertificate certificateWithAllProperites = certificateClient.getCertificate(certificateProperties); + KeyVaultCertificate certificateWithAllProperites = certificateClient + .getCertificateVersion(certificateProperties.getName(), certificateProperties.getVersion()); System.out.printf("Received certificate's version with name %s, version %s and secret id %s", certificateWithAllProperites.getProperties().getName(), certificateWithAllProperites.getProperties().getVersion(), certificateWithAllProperites.getSecretId()); @@ -524,7 +517,8 @@ public void listCertificateVersionsCodeSnippets() { // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.listCertificateVersions#context for (CertificateProperties certificateProperties : certificateClient .listPropertiesOfCertificateVersions("certificateName")) { - KeyVaultCertificate certificateWithAllProperites = certificateClient.getCertificate(certificateProperties); + KeyVaultCertificate certificateWithAllProperites = certificateClient + .getCertificateVersion(certificateProperties.getName(), certificateProperties.getVersion()); System.out.printf("Received certificate's version with name %s, version %s and secret id %s", certificateWithAllProperites.getProperties().getName(), certificateWithAllProperites.getProperties().getVersion(), certificateWithAllProperites.getSecretId()); @@ -584,23 +578,11 @@ public void contactsOperationsCodeSnippets() { } /** - * Method to insert code snippets for {@link CertificateClient#cancelCertificateOperation(String)} and - * {@link CertificateClient#cancelCertificateOperationWithResponse(String, Context)} (String)} + * Method to insert code snippets for {@link CertificateClient#deleteCertificateOperation(String)} (String)} and + * {@link CertificateClient#deleteCertificateOperationWithResponse(String, Context)} */ public void certificateOperationCodeSnippets() { CertificateClient certificateClient = getCertificateClient(); - // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.cancelCertificateOperation#string - CertificateOperation certificateOperation = certificateClient - .cancelCertificateOperation("certificateName"); - System.out.printf("Certificate Operation status %s", certificateOperation.getStatus()); - // END: com.azure.security.keyvault.certificates.CertificateClient.cancelCertificateOperation#string - - // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.cancelCertificateOperationWithResponse#string - Response certificateOperationWithResponse = certificateClient - .cancelCertificateOperationWithResponse("certificateName", new Context(key1, value1)); - System.out.printf("Certificate Operation status %s", certificateOperationWithResponse.getValue().getStatus()); - // END: com.azure.security.keyvault.certificates.CertificateClient.cancelCertificateOperationWithResponse#string - // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.deleteCertificateOperationWithResponse#string CertificateOperation deletedCertificateOperation = certificateClient .deleteCertificateOperation("certificateName"); @@ -617,26 +599,9 @@ public void certificateOperationCodeSnippets() { /** * Method to insert code snippets for {@link CertificateAsyncClient#mergeCertificate(MergeCertificateOptions)} - * and {@link CertificateAsyncClient#mergeCertificate(String, List)} */ public void mergeCertificateCodeSnippets() { CertificateClient certificateClient = getCertificateClient(); - // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.mergeCertificate#String-List - List x509Certs = new ArrayList<>(); - KeyVaultCertificate certificate = certificateClient.mergeCertificate("certificateName", x509Certs); - System.out.printf("Received Certificate with name %s and key id %s", - certificate.getProperties().getName(), certificate.getKeyId()); - // END: com.azure.security.keyvault.certificates.CertificateClient.mergeCertificate#String-List - - // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.mergeCertificateWithResponse#String-List-Context - List x509Certificates = new ArrayList<>(); - Response certificateResponse = - certificateClient.mergeCertificateWithResponse("certificateName", x509Certs, - new Context(key1, value1)); - System.out.printf("Received Certificate with name %s and key id %s", - certificateResponse.getValue().getProperties().getName(), certificateResponse.getValue().getKeyId()); - // END: com.azure.security.keyvault.certificates.CertificateClient.mergeCertificateWithResponse#String-List-Context - // BEGIN: com.azure.security.keyvault.certificates.CertificateClient.mergeCertificate#config List x509CertificatesToMerge = new ArrayList<>(); MergeCertificateOptions config = diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/HelloWorld.java b/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/HelloWorld.java index d1f62ebee06b..73e1d9860b05 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/HelloWorld.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/HelloWorld.java @@ -4,6 +4,7 @@ package com.azure.security.keyvault.certificates; import com.azure.core.util.polling.LongRunningOperationStatus; +import com.azure.core.util.polling.PollResponse; import com.azure.core.util.polling.SyncPoller; import com.azure.identity.DefaultAzureCredentialBuilder; import com.azure.security.keyvault.certificates.models.CertificatePolicy; @@ -44,7 +45,7 @@ public static void main(String[] args) throws InterruptedException, IllegalArgum // Let's create a self signed certificate valid for 1 year. if the certificate // already exists in the key vault, then a new version of the certificate is created. CertificatePolicy policy = new CertificatePolicy("Self", "CN=SelfSignedJavaPkcs12") - .setSubjectAlternativeNames(SubjectAlternativeNames.fromEmails(Arrays.asList("wow@gmail.com"))) + .setSubjectAlternativeNames(new SubjectAlternativeNames().setEmails(Arrays.asList("wow@gmail.com"))) .setReuseKey(true) .setKeyType(CertificateKeyType.EC) .setKeyCurveName(CertificateKeyCurveName.P_256) @@ -52,7 +53,7 @@ public static void main(String[] args) throws InterruptedException, IllegalArgum Map tags = new HashMap<>(); tags.put("foo", "bar"); - SyncPoller certificatePoller = certificateClient.beginCreateCertificate("certificateName92", policy, tags); + SyncPoller certificatePoller = certificateClient.beginCreateCertificate("certificateName92", policy, true, tags); certificatePoller.waitUntil(LongRunningOperationStatus.SUCCESSFULLY_COMPLETED); KeyVaultCertificate cert = certificatePoller.getFinalResult(); @@ -81,7 +82,7 @@ public static void main(String[] args) throws InterruptedException, IllegalArgum //Let's create a certificate signed by our issuer. certificateClient.beginCreateCertificate("myCertificate", - new CertificatePolicy("myIssuer", "CN=SelfSignedJavaPkcs12"), tags) + new CertificatePolicy("myIssuer", "CN=SelfSignedJavaPkcs12"), true, tags) .waitUntil(LongRunningOperationStatus.SUCCESSFULLY_COMPLETED); // Let's Get the latest version of our certificate from the key vault. @@ -90,11 +91,21 @@ public static void main(String[] args) throws InterruptedException, IllegalArgum myCert.getSecretId()); // The certificates and issuers are no longer needed, need to delete it from the key vault. - DeletedCertificate deletedCertificate = certificateClient.deleteCertificate("certificateName"); - System.out.printf("Certificate is deleted with name %s and its recovery id is %s \n", deletedCertificate.getName(), deletedCertificate.getRecoveryId()); - - deletedCertificate = certificateClient.deleteCertificate("myCertificate"); - System.out.printf("Certificate is deleted with name %s and its recovery id is %s \n", deletedCertificate.getName(), deletedCertificate.getRecoveryId()); + SyncPoller deletedCertificatePoller = + certificateClient.beginDeleteCertificate("certificateName"); + // Deleted Certificate is accessible as soon as polling beings. + PollResponse pollResponse = deletedCertificatePoller.poll(); + System.out.printf("Deleted certitifcate with name %s and recovery id %s", pollResponse.getValue().getName(), + pollResponse.getValue().getRecoveryId()); + deletedCertificatePoller.waitForCompletion(); + + SyncPoller deletedCertPoller = + certificateClient.beginDeleteCertificate("myCertificate"); + // Deleted Certificate is accessible as soon as polling beings. + PollResponse deletePollResponse = deletedCertPoller.poll(); + System.out.printf("Deleted certitifcate with name %s and recovery id %s", deletePollResponse.getValue().getName(), + deletePollResponse.getValue().getRecoveryId()); + deletedCertificatePoller.waitForCompletion(); CertificateIssuer deleteCertificateIssuer = certificateClient.deleteIssuer("myIssuer"); System.out.printf("Certificate issuer is permanently deleted with name %s and provider is %s \n", deleteCertificateIssuer.getName(), deleteCertificateIssuer.getProperties().getProvider()); diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/HelloWorldAsync.java b/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/HelloWorldAsync.java index 06c45c039635..799739929f61 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/HelloWorldAsync.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/HelloWorldAsync.java @@ -38,7 +38,7 @@ public static void main(String[] args) throws InterruptedException { // Let's create a self signed certificate valid for 1 year. if the certificate // already exists in the key vault, then a new version of the certificate is created. CertificatePolicy policy = new CertificatePolicy("Self", "CN=SelfSignedJavaPkcs12") - .setSubjectAlternativeNames(SubjectAlternativeNames.fromEmails(Arrays.asList("wow@gmail.com"))) + .setSubjectAlternativeNames(new SubjectAlternativeNames().setEmails(Arrays.asList("wow@gmail.com"))) .setReuseKey(true) .setKeyType(CertificateKeyType.EC) .setKeyCurveName(CertificateKeyCurveName.P_256); @@ -114,14 +114,19 @@ public static void main(String[] args) throws InterruptedException { Thread.sleep(2000); // The certificates and issuers are no longer needed, need to delete it from the key vault. - certificateAsyncClient.deleteCertificate("certificateName") - .subscribe(deletedSecretResponse -> - System.out.printf("Deleted Certificate's Recovery Id %s %n", deletedSecretResponse.getRecoveryId())); - - certificateAsyncClient.deleteCertificate("myCertificate") - .subscribe(deletedSecretResponse -> - System.out.printf("Deleted Certificate's Recovery Id %s %n", deletedSecretResponse.getRecoveryId())); + certificateAsyncClient.beginDeleteCertificate("certificateName") + .subscribe(pollResponse -> { + System.out.println("Delete Status: " + pollResponse.getStatus().toString()); + System.out.println("Delete Certificate Name: " + pollResponse.getValue().getName()); + System.out.println("Certificate Delete Date: " + pollResponse.getValue().getDeletedOn().toString()); + }); + certificateAsyncClient.beginDeleteCertificate("myCertificate") + .subscribe(pollResponse -> { + System.out.println("Delete Status: " + pollResponse.getStatus().toString()); + System.out.println("Delete Certificate Name: " + pollResponse.getValue().getName()); + System.out.println("Certificate Delete Date: " + pollResponse.getValue().getDeletedOn().toString()); + }); certificateAsyncClient.deleteIssuerWithResponse("myIssuer") .subscribe(deletedIssuerResponse -> diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/ListOperations.java b/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/ListOperations.java index 9c4815d63d29..d427dc934e55 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/ListOperations.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/ListOperations.java @@ -44,7 +44,7 @@ public static void main(String[] args) throws IllegalArgumentException { Map tags = new HashMap<>(); tags.put("foo", "bar"); - SyncPoller certificatePoller = certificateClient.beginCreateCertificate("certName", policy, tags); + SyncPoller certificatePoller = certificateClient.beginCreateCertificate("certName", policy, true, tags); certificatePoller.waitUntil(LongRunningOperationStatus.SUCCESSFULLY_COMPLETED); KeyVaultCertificate cert = certificatePoller.getFinalResult(); @@ -52,31 +52,36 @@ public static void main(String[] args) throws IllegalArgumentException { //Let's create a certificate issuer. CertificateIssuer issuer = new CertificateIssuer("myIssuer", "Test"); CertificateIssuer myIssuer = certificateClient.createIssuer(issuer); - System.out.printf("Issuer created with name %s and provider %s", myIssuer.getName(), myIssuer.getProperties().getProvider()); + System.out.printf("Issuer created with name %s and provider %s", myIssuer.getName(), + myIssuer.getProperties().getProvider()); //Let's create a certificate signed by our issuer. certificateClient.beginCreateCertificate("myCertificate", - new CertificatePolicy("myIssuer", "CN=SignedJavaPkcs12"), tags) + new CertificatePolicy("myIssuer", "CN=SignedJavaPkcs12"), true, tags) .waitUntil(LongRunningOperationStatus.SUCCESSFULLY_COMPLETED); // Let's list all the certificates in the key vault. for (CertificateProperties certificate : certificateClient.listPropertiesOfCertificates()) { - KeyVaultCertificate certificateWithAllProperties = certificateClient.getCertificate(certificate); - System.out.printf("Received certificate with name %s and secret id %s", certificateWithAllProperties.getProperties().getName(), + KeyVaultCertificate certificateWithAllProperties = certificateClient + .getCertificateVersion(certificate.getName(), certificate.getVersion()); + System.out.printf("Received certificate with name %s and secret id %s", certificateWithAllProperties + .getProperties().getName(), certificateWithAllProperties.getSecretId()); } // Let's list all certificate versions of the certificate. for (CertificateProperties certificate : certificateClient.listPropertiesOfCertificateVersions("myCertificate")) { - KeyVaultCertificate certificateWithAllProperties = certificateClient.getCertificate(certificate); - System.out.printf("Received certificate with name %s and version %s", certificateWithAllProperties.getProperties().getName(), + KeyVaultCertificate certificateWithAllProperties = certificateClient + .getCertificateVersion(certificate.getName(), certificate.getVersion()); + System.out.printf("Received certificate with name %s and version %s", certificateWithAllProperties + .getProperties().getName(), certificateWithAllProperties.getProperties().getVersion()); } //Let's list all certificate issuers in the key vault. - for (IssuerProperties certIssuer : certificateClient.listIssuers()) { - CertificateIssuer retrievedIssuer = certificateClient.getIssuer(certIssuer); + for (IssuerProperties certIssuer : certificateClient.listPropertiesOfIssuers()) { + CertificateIssuer retrievedIssuer = certificateClient.getIssuer(certIssuer.getName()); System.out.printf("Received issuer with name %s and provider %s", retrievedIssuer.getName(), retrievedIssuer.getProperties().getProvider()); } diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/ListOperationsAsync.java b/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/ListOperationsAsync.java index 8b51548d6a8f..37637ab8c09b 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/ListOperationsAsync.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/ListOperationsAsync.java @@ -37,7 +37,7 @@ public static void main(String[] args) throws InterruptedException { // Let's create a self signed certificate valid for 1 year. if the certificate // already exists in the key vault, then a new version of the certificate is created. CertificatePolicy policy = new CertificatePolicy("Self", "CN=SelfSignedJavaPkcs12") - .setSubjectAlternativeNames(SubjectAlternativeNames.fromEmails(Arrays.asList("wow@gmail.com"))) + .setSubjectAlternativeNames(new SubjectAlternativeNames().setEmails(Arrays.asList("wow@gmail.com"))) .setReuseKey(true) .setKeyCurveName(CertificateKeyCurveName.P_256); Map tags = new HashMap<>(); @@ -74,7 +74,8 @@ public static void main(String[] args) throws InterruptedException { // Let's list all the certificates in the key vault. certificateAsyncClient.listPropertiesOfCertificates() - .subscribe(certificateBase -> certificateAsyncClient.getCertificate(certificateBase) + .subscribe(certificateProeprties -> certificateAsyncClient + .getCertificateVersion(certificateProeprties.getName(), certificateProeprties.getVersion()) .subscribe(certificateResponse -> System.out.printf("Received certificate with name %s and key id %s \n", certificateResponse.getProperties().getName(), certificateResponse.getKeyId()))); @@ -82,15 +83,16 @@ public static void main(String[] args) throws InterruptedException { // Let's list all certificate versions of the certificate. certificateAsyncClient.listPropertiesOfCertificateVersions("myCertificate") - .subscribe(certificateBase -> certificateAsyncClient.getCertificate(certificateBase) + .subscribe(certificateProeprties -> certificateAsyncClient + .getCertificateVersion(certificateProeprties.getName(), certificateProeprties.getVersion()) .subscribe(certificateResponse -> System.out.printf("Received certificate with name %s and key id %s\n", certificateResponse.getProperties().getName(), certificateResponse.getKeyId()))); Thread.sleep(5000); //Let's list all certificate issuers in the key vault. - certificateAsyncClient.listIssuers() - .subscribe(issuerBase -> certificateAsyncClient.getIssuer(issuerBase) + certificateAsyncClient.listPropertiesOfIssuers() + .subscribe(issuerProperties -> certificateAsyncClient.getIssuer(issuerProperties.getName()) .subscribe(issuerResponse -> System.out.printf("Received issuer with name %s and provider %s\n", issuerResponse.getName(), issuerResponse.getProperties().getProvider()))); diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/ManagingDeletedCertificates.java b/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/ManagingDeletedCertificates.java index acd1a54b6b2b..fc6a9084d5d4 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/ManagingDeletedCertificates.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/ManagingDeletedCertificates.java @@ -4,6 +4,7 @@ package com.azure.security.keyvault.certificates; import com.azure.core.util.polling.LongRunningOperationStatus; +import com.azure.core.util.polling.PollResponse; import com.azure.core.util.polling.SyncPoller; import com.azure.identity.DefaultAzureCredentialBuilder; import com.azure.security.keyvault.certificates.models.CertificatePolicy; @@ -45,37 +46,48 @@ public static void main(String[] args) throws IllegalArgumentException, Interrup // Let's create a self signed certificate valid for 1 year. if the certificate // already exists in the key vault, then a new version of the certificate is created. CertificatePolicy policy = new CertificatePolicy("Self", "CN=SelfSignedJavaPkcs12") - .setSubjectAlternativeNames(SubjectAlternativeNames.fromEmails(Arrays.asList("wow@gmail.com"))) + .setSubjectAlternativeNames(new SubjectAlternativeNames().setEmails(Arrays.asList("wow@gmail.com"))) .setReuseKey(true) .setKeyCurveName(CertificateKeyCurveName.P_256); Map tags = new HashMap<>(); tags.put("foo", "bar"); - SyncPoller certificatePoller = certificateClient.beginCreateCertificate("certificateName", policy, tags); + SyncPoller certificatePoller = certificateClient.beginCreateCertificate("certificateName", policy, true, tags); certificatePoller.waitUntil(LongRunningOperationStatus.SUCCESSFULLY_COMPLETED); KeyVaultCertificate cert = certificatePoller.getFinalResult(); // The certificate is no longer needed, need to delete it from the key vault. - DeletedCertificate deletedCertificate = certificateClient.deleteCertificate("certificateName"); - System.out.printf("Certificate is deleted with name %s and its recovery id is %s %n", deletedCertificate.getName(), deletedCertificate.getRecoveryId()); - + SyncPoller deletedCertificatePoller = + certificateClient.beginDeleteCertificate("certificateName"); + // Deleted Certificate is accessible as soon as polling beings. + PollResponse pollResponse = deletedCertificatePoller.poll(); + System.out.printf("Deleted certitifcate with name %s and recovery id %s", pollResponse.getValue().getName(), + pollResponse.getValue().getRecoveryId()); + deletedCertificatePoller.waitForCompletion(); //To ensure certificate is deleted on server side. Thread.sleep(30000); // We accidentally deleted the certificate. Let's recover it. // A deleted certificate can only be recovered if the key vault is soft-delete enabled. - KeyVaultCertificate certificate = certificateClient.recoverDeletedCertificate("certificateName"); - System.out.printf(" Recovered Deleted certificate with name %s and id %s", certificate.getProperties().getName(), - certificate.getProperties().getId()); + SyncPoller recoverCertPoller = certificateClient + .beginRecoverDeletedCertificate("certificateName"); + // Recovered certificate is accessible as soon as polling beings + PollResponse recoverPollResponse = recoverCertPoller.poll(); + System.out.printf(" Recovered Deleted certificate with name %s and id %s", recoverPollResponse.getValue() + .getProperties().getName(), recoverPollResponse.getValue().getProperties().getId()); + recoverCertPoller.waitForCompletion(); //To ensure certificate is recovered on server side. Thread.sleep(30000); // The certificates are no longer needed, need to delete them from the key vault. - deletedCertificate = certificateClient.deleteCertificate("certificateName"); - System.out.printf("Certificate is deleted with name %s and its recovery id is %s %n", deletedCertificate.getName(), deletedCertificate.getRecoveryId()); - + deletedCertificatePoller = certificateClient.beginDeleteCertificate("certificateName"); + // Deleted Certificate is accessible as soon as polling beings. + PollResponse deletePollResponse = deletedCertificatePoller.poll(); + System.out.printf("Deleted certitifcate with name %s and recovery id %s", deletePollResponse.getValue().getName(), + deletePollResponse.getValue().getRecoveryId()); + deletedCertificatePoller.waitForCompletion(); //To ensure certificate is deleted on server side. Thread.sleep(30000); diff --git a/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/ManagingDeletedCertificatesAsync.java b/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/ManagingDeletedCertificatesAsync.java index 214700f9cba8..000016a16593 100644 --- a/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/ManagingDeletedCertificatesAsync.java +++ b/sdk/keyvault/azure-security-keyvault-certificates/src/samples/java/com/azure/security/keyvault/certificates/ManagingDeletedCertificatesAsync.java @@ -40,7 +40,7 @@ public static void main(String[] args) throws InterruptedException { // Let's create a self signed certificate valid for 1 year. if the certificate // already exists in the key vault, then a new version of the certificate is created. CertificatePolicy policy = new CertificatePolicy("Self", "CN=SelfSignedJavaPkcs12") - .setSubjectAlternativeNames(SubjectAlternativeNames.fromEmails(Arrays.asList("wow@gmail.com"))) + .setSubjectAlternativeNames(new SubjectAlternativeNames().setEmails(Arrays.asList("wow@gmail.com"))) .setReuseKey(true) .setKeyCurveName(CertificateKeyCurveName.P_256); Map tags = new HashMap<>(); @@ -57,26 +57,35 @@ public static void main(String[] args) throws InterruptedException { Thread.sleep(22000); // The certificate is no longer needed, need to delete it from the key vault. - certificateAsyncClient.deleteCertificate("certificateName") - .subscribe(deletedSecretResponse -> - System.out.printf("Deleted Certificate's Recovery Id %s %n", deletedSecretResponse.getRecoveryId())); + certificateAsyncClient.beginDeleteCertificate("certificateName") + .subscribe(pollResponse -> { + System.out.println("Delete Status: " + pollResponse.getStatus().toString()); + System.out.println("Delete Certificate Name: " + pollResponse.getValue().getName()); + System.out.println("Certificate Delete Date: " + pollResponse.getValue().getDeletedOn().toString()); + }); //To ensure certificates is deleted on server side. Thread.sleep(30000); // We accidentally deleted the certificate. Let's recover it. // A deleted certificate can only be recovered if the key vault is soft-delete enabled. - certificateAsyncClient.recoverDeletedCertificate("certificateName") - .subscribe(recoveredSecretResponse -> - System.out.printf("Recovered Certificate with name %s %n", recoveredSecretResponse.getProperties().getName())); + certificateAsyncClient.beginRecoverDeletedCertificate("certificateName") + .subscribe(pollResponse -> { + System.out.println("Recovery Status: " + pollResponse.getStatus().toString()); + System.out.println("Recover Certificate Name: " + pollResponse.getValue().getName()); + System.out.println("Recover Certificate Id: " + pollResponse.getValue().getId()); + }); //To ensure certificates is recovered on server side. Thread.sleep(10000); // The certificate is longer needed, need to delete them from the key vault. - certificateAsyncClient.deleteCertificate("certificateName") - .subscribe(deletedSecretResponse -> - System.out.printf("Deleted Certificate's Recovery Id %s %n", deletedSecretResponse.getRecoveryId())); + certificateAsyncClient.beginDeleteCertificate("certificateName") + .subscribe(pollResponse -> { + System.out.println("Delete Status: " + pollResponse.getStatus().toString()); + System.out.println("Delete Certificate Name: " + pollResponse.getValue().getName()); + System.out.println("Certificate Delete Date: " + pollResponse.getValue().getDeletedOn().toString()); + }); // To ensure certificate is deleted on server side. Thread.sleep(30000); diff --git a/sdk/keyvault/azure-security-keyvault-keys/pom.xml b/sdk/keyvault/azure-security-keyvault-keys/pom.xml index 96aac497bdc8..dbc410381df2 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/pom.xml +++ b/sdk/keyvault/azure-security-keyvault-keys/pom.xml @@ -5,7 +5,7 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../../pom.client.xml @@ -36,45 +36,51 @@ com.azure azure-core - 1.1.0-beta.1 + 1.1.0 com.azure azure-core-http-netty - 1.1.0-beta.1 + 1.1.0 commons-codec commons-codec + 1.13 org.junit.jupiter junit-jupiter-api + 5.4.2 test org.junit.jupiter junit-jupiter-engine + 5.4.2 test org.junit.jupiter junit-jupiter-params + 5.4.2 test org.hamcrest hamcrest-library + 2.2 test io.projectreactor reactor-test + 3.3.0.RELEASE test diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/KeyClientTestBase.java b/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/KeyClientTestBase.java index fd255870d238..89d86b36d0d3 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/KeyClientTestBase.java +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/KeyClientTestBase.java @@ -3,31 +3,30 @@ package com.azure.security.keyvault.keys; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertNotNull; -import static org.junit.jupiter.api.Assertions.fail; - -import com.azure.core.credential.AccessToken; import com.azure.core.credential.TokenCredential; import com.azure.core.exception.HttpResponseException; import com.azure.core.http.HttpClient; import com.azure.core.http.HttpPipeline; import com.azure.core.http.HttpPipelineBuilder; import com.azure.core.http.netty.NettyAsyncHttpClientBuilder; -import com.azure.core.http.policy.*; -import com.azure.core.http.rest.Response; +import com.azure.core.http.policy.BearerTokenAuthenticationPolicy; +import com.azure.core.http.policy.HttpLogDetailLevel; +import com.azure.core.http.policy.HttpLogOptions; +import com.azure.core.http.policy.HttpLoggingPolicy; +import com.azure.core.http.policy.HttpPipelinePolicy; import com.azure.core.http.policy.HttpPolicyProviders; +import com.azure.core.http.policy.RetryPolicy; +import com.azure.core.http.policy.UserAgentPolicy; +import com.azure.core.http.rest.Response; import com.azure.core.test.TestBase; import com.azure.core.util.Configuration; +import com.azure.identity.DefaultAzureCredentialBuilder; import com.azure.security.keyvault.keys.implementation.AzureKeyVaultConfiguration; import com.azure.security.keyvault.keys.models.CreateKeyOptions; -import com.azure.security.keyvault.keys.models.KeyVaultKey; -import com.azure.identity.DefaultAzureCredentialBuilder; import com.azure.security.keyvault.keys.models.KeyType; +import com.azure.security.keyvault.keys.models.KeyVaultKey; import org.junit.jupiter.api.Test; -import reactor.core.publisher.Mono; -import java.time.Duration; import java.time.OffsetDateTime; import java.time.ZoneOffset; import java.util.ArrayList; @@ -39,6 +38,10 @@ import java.util.function.Consumer; import java.util.function.Function; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.fail; + public abstract class KeyClientTestBase extends TestBase { private static final String KEY_NAME = "javaKeyTemp"; @@ -58,11 +61,9 @@ T clientSetup(Function clientBuilder) { ? "http://localhost:8080" : System.getenv("AZURE_KEYVAULT_ENDPOINT"); - TokenCredential credential; + TokenCredential credential = null; - if (interceptorManager.isPlaybackMode()) { - credential = resource -> Mono.just(new AccessToken("Some fake token", OffsetDateTime.now(ZoneOffset.UTC).plus(Duration.ofMinutes(30)))); - } else { + if (!interceptorManager.isPlaybackMode()) { credential = new DefaultAzureCredentialBuilder().build(); } @@ -72,8 +73,9 @@ T clientSetup(Function clientBuilder) { policies.add(new UserAgentPolicy(AzureKeyVaultConfiguration.SDK_NAME, AzureKeyVaultConfiguration.SDK_VERSION, Configuration.getGlobalConfiguration().clone(), KeyServiceVersion.getLatest())); HttpPolicyProviders.addBeforeRetryPolicies(policies); policies.add(new RetryPolicy()); - policies.add(new BearerTokenAuthenticationPolicy(credential, KeyAsyncClient.KEY_VAULT_SCOPE)); - policies.addAll(policies); + if (credential != null) { + policies.add(new BearerTokenAuthenticationPolicy(credential, KeyAsyncClient.KEY_VAULT_SCOPE)); + } HttpPolicyProviders.addAfterRetryPolicies(policies); policies.add(new HttpLoggingPolicy(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS))); diff --git a/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/cryptography/CryptographyClientTestBase.java b/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/cryptography/CryptographyClientTestBase.java index 1917a10f96bf..5709682a81ab 100644 --- a/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/cryptography/CryptographyClientTestBase.java +++ b/sdk/keyvault/azure-security-keyvault-keys/src/test/java/com/azure/security/keyvault/keys/cryptography/CryptographyClientTestBase.java @@ -3,25 +3,25 @@ package com.azure.security.keyvault.keys.cryptography; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertNotNull; -import static org.junit.jupiter.api.Assertions.fail; - -import com.azure.core.credential.AccessToken; import com.azure.core.credential.TokenCredential; import com.azure.core.exception.HttpResponseException; import com.azure.core.http.HttpClient; import com.azure.core.http.HttpPipeline; import com.azure.core.http.HttpPipelineBuilder; import com.azure.core.http.netty.NettyAsyncHttpClientBuilder; -import com.azure.core.http.policy.*; +import com.azure.core.http.policy.BearerTokenAuthenticationPolicy; +import com.azure.core.http.policy.HttpLogDetailLevel; +import com.azure.core.http.policy.HttpLogOptions; +import com.azure.core.http.policy.HttpLoggingPolicy; +import com.azure.core.http.policy.HttpPipelinePolicy; import com.azure.core.http.policy.HttpPolicyProviders; +import com.azure.core.http.policy.RetryPolicy; +import com.azure.core.http.policy.UserAgentPolicy; import com.azure.core.test.TestBase; import com.azure.core.util.Configuration; import com.azure.identity.DefaultAzureCredentialBuilder; import com.azure.security.keyvault.keys.implementation.AzureKeyVaultConfiguration; import org.junit.jupiter.api.Test; -import reactor.core.publisher.Mono; import java.math.BigInteger; import java.security.InvalidAlgorithmParameterException; @@ -31,13 +31,18 @@ import java.security.spec.KeySpec; import java.security.spec.RSAPrivateCrtKeySpec; import java.security.spec.RSAPublicKeySpec; -import java.time.Duration; -import java.time.OffsetDateTime; -import java.time.ZoneOffset; -import java.util.*; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; +import java.util.Objects; import java.util.function.Consumer; import java.util.function.Function; +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.fail; + public abstract class CryptographyClientTestBase extends TestBase { @@ -54,7 +59,7 @@ T clientSetup(Function clientBuilder) { ? "http://localhost:8080" : System.getenv("AZURE_KEYVAULT_ENDPOINT"); - TokenCredential credential; + TokenCredential credential = null; HttpClient httpClient; String tenantId = System.getenv("AZURE_TENANT_ID"); @@ -66,9 +71,7 @@ T clientSetup(Function clientBuilder) { assertNotNull(clientSecret); } - if (interceptorManager.isPlaybackMode()) { - credential = resource -> Mono.just(new AccessToken("Some fake token", OffsetDateTime.now(ZoneOffset.UTC).plus(Duration.ofMinutes(30)))); - } else { + if (!interceptorManager.isPlaybackMode()) { credential = new DefaultAzureCredentialBuilder().build(); } @@ -77,8 +80,9 @@ T clientSetup(Function clientBuilder) { policies.add(new UserAgentPolicy(AzureKeyVaultConfiguration.SDK_NAME, AzureKeyVaultConfiguration.SDK_VERSION, Configuration.getGlobalConfiguration().clone(), CryptographyServiceVersion.getLatest())); HttpPolicyProviders.addBeforeRetryPolicies(policies); policies.add(new RetryPolicy()); - policies.add(new BearerTokenAuthenticationPolicy(credential, CryptographyAsyncClient.KEY_VAULT_SCOPE)); - policies.addAll(policies); + if (credential != null) { + policies.add(new BearerTokenAuthenticationPolicy(credential, CryptographyAsyncClient.KEY_VAULT_SCOPE)); + } HttpPolicyProviders.addAfterRetryPolicies(policies); policies.add(new HttpLoggingPolicy(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS))); diff --git a/sdk/keyvault/azure-security-keyvault-secrets/pom.xml b/sdk/keyvault/azure-security-keyvault-secrets/pom.xml index a935518c817f..17ae014949ab 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/pom.xml +++ b/sdk/keyvault/azure-security-keyvault-secrets/pom.xml @@ -5,7 +5,7 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../../pom.client.xml @@ -34,45 +34,51 @@ com.azure azure-core - 1.1.0-beta.1 + 1.1.0 com.azure azure-core-http-netty - 1.1.0-beta.1 + 1.1.0 commons-codec commons-codec + 1.13 org.junit.jupiter junit-jupiter-api + 5.4.2 test org.junit.jupiter junit-jupiter-engine + 5.4.2 test org.junit.jupiter junit-jupiter-params + 5.4.2 test org.hamcrest hamcrest-library + 2.2 test io.projectreactor reactor-test + 3.3.0.RELEASE test diff --git a/sdk/keyvault/azure-security-keyvault-secrets/src/test/java/com/azure/security/keyvault/secrets/SecretClientTestBase.java b/sdk/keyvault/azure-security-keyvault-secrets/src/test/java/com/azure/security/keyvault/secrets/SecretClientTestBase.java index a935f94146a0..7bc64e3579f2 100644 --- a/sdk/keyvault/azure-security-keyvault-secrets/src/test/java/com/azure/security/keyvault/secrets/SecretClientTestBase.java +++ b/sdk/keyvault/azure-security-keyvault-secrets/src/test/java/com/azure/security/keyvault/secrets/SecretClientTestBase.java @@ -3,11 +3,6 @@ package com.azure.security.keyvault.secrets; -import static org.junit.jupiter.api.Assertions.assertEquals; -import static org.junit.jupiter.api.Assertions.assertNotNull; -import static org.junit.jupiter.api.Assertions.fail; - -import com.azure.core.credential.AccessToken; import com.azure.core.credential.TokenCredential; import com.azure.core.exception.HttpResponseException; import com.azure.core.http.HttpClient; @@ -28,7 +23,8 @@ import com.azure.identity.DefaultAzureCredentialBuilder; import com.azure.security.keyvault.secrets.models.KeyVaultSecret; import com.azure.security.keyvault.secrets.models.SecretProperties; -import java.time.Duration; +import org.junit.jupiter.api.Test; + import java.time.OffsetDateTime; import java.time.ZoneOffset; import java.util.ArrayList; @@ -39,8 +35,10 @@ import java.util.function.BiConsumer; import java.util.function.Consumer; import java.util.function.Function; -import org.junit.jupiter.api.Test; -import reactor.core.publisher.Mono; + +import static org.junit.jupiter.api.Assertions.assertEquals; +import static org.junit.jupiter.api.Assertions.assertNotNull; +import static org.junit.jupiter.api.Assertions.fail; public abstract class SecretClientTestBase extends TestBase { @@ -56,11 +54,9 @@ void beforeTestSetup() { } T clientSetup(Function clientBuilder) { - TokenCredential credential; + TokenCredential credential = null; - if (interceptorManager.isPlaybackMode()) { - credential = resource -> Mono.just(new AccessToken("Some fake token", OffsetDateTime.now(ZoneOffset.UTC).plus(Duration.ofMinutes(30)))); - } else { + if (!interceptorManager.isPlaybackMode()) { credential = new DefaultAzureCredentialBuilder().build(); } @@ -70,8 +66,9 @@ T clientSetup(Function clientBuilder) { policies.add(new UserAgentPolicy(AzureKeyVaultConfiguration.SDK_NAME, AzureKeyVaultConfiguration.SDK_VERSION, Configuration.getGlobalConfiguration().clone(), SecretServiceVersion.getLatest())); HttpPolicyProviders.addBeforeRetryPolicies(policies); policies.add(new RetryPolicy()); - policies.add(new BearerTokenAuthenticationPolicy(credential, SecretAsyncClient.KEY_VAULT_SCOPE)); - policies.addAll(policies); + if (credential != null) { + policies.add(new BearerTokenAuthenticationPolicy(credential, SecretAsyncClient.KEY_VAULT_SCOPE)); + } HttpPolicyProviders.addAfterRetryPolicies(policies); policies.add(new HttpLoggingPolicy(new HttpLogOptions().setLogLevel(HttpLogDetailLevel.BODY_AND_HEADERS))); diff --git a/sdk/keyvault/microsoft-azure-keyvault-complete/pom.xml b/sdk/keyvault/microsoft-azure-keyvault-complete/pom.xml index fc73c573340d..0b45b1de807e 100644 --- a/sdk/keyvault/microsoft-azure-keyvault-complete/pom.xml +++ b/sdk/keyvault/microsoft-azure-keyvault-complete/pom.xml @@ -7,7 +7,7 @@ the MIT License. See License.txt in the project root for license information. -- com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml diff --git a/sdk/keyvault/microsoft-azure-keyvault-core/pom.xml b/sdk/keyvault/microsoft-azure-keyvault-core/pom.xml index a0cb7e38410f..f1796827a667 100644 --- a/sdk/keyvault/microsoft-azure-keyvault-core/pom.xml +++ b/sdk/keyvault/microsoft-azure-keyvault-core/pom.xml @@ -8,7 +8,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml @@ -40,10 +40,12 @@ org.apache.commons commons-lang3 + 3.8.1 com.google.guava guava + 24.1.1-jre @@ -52,6 +54,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -65,6 +68,7 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 diff --git a/sdk/keyvault/microsoft-azure-keyvault-cryptography/pom.xml b/sdk/keyvault/microsoft-azure-keyvault-cryptography/pom.xml index b872a5384eff..070940200186 100644 --- a/sdk/keyvault/microsoft-azure-keyvault-cryptography/pom.xml +++ b/sdk/keyvault/microsoft-azure-keyvault-cryptography/pom.xml @@ -7,7 +7,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml @@ -53,20 +53,24 @@ com.fasterxml.jackson.core jackson-databind + 2.10.0 org.apache.commons commons-lang3 + 3.8.1 commons-codec commons-codec + 1.13 com.google.guava guava + 24.1.1-jre @@ -74,11 +78,13 @@ junit junit + 4.13-beta-3 test org.bouncycastle bcprov-jdk15on + 1.60 test @@ -88,6 +94,7 @@ org.apache.maven.plugins maven-resources-plugin + 2.4.3 ${basedir}/target/test-classes diff --git a/sdk/keyvault/microsoft-azure-keyvault-extensions/pom.xml b/sdk/keyvault/microsoft-azure-keyvault-extensions/pom.xml index cb46c7477604..63eaf2a7c36a 100644 --- a/sdk/keyvault/microsoft-azure-keyvault-extensions/pom.xml +++ b/sdk/keyvault/microsoft-azure-keyvault-extensions/pom.xml @@ -8,7 +8,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml @@ -63,26 +63,31 @@ com.microsoft.azure azure-mgmt-resources + 1.3.0 com.microsoft.rest client-runtime + 1.6.15 com.google.guava guava + 24.1.1-jre org.apache.commons commons-lang3 + 3.8.1 commons-codec commons-codec + 1.13 @@ -91,12 +96,14 @@ com.microsoft.azure azure-mgmt-resources + 1.3.1-SNAPSHOT test-jar test com.microsoft.azure adal4j + 1.6.4 test @@ -104,17 +111,19 @@ junit junit + 4.13-beta-3 test org.bouncycastle bcprov-jdk15on + 1.60 test org.mockito mockito-core - 1.10.19 + 1.10.19 test @@ -124,6 +133,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -136,6 +146,7 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 diff --git a/sdk/keyvault/microsoft-azure-keyvault-test/pom.xml b/sdk/keyvault/microsoft-azure-keyvault-test/pom.xml index 5690465309e3..5186a53eeb2c 100644 --- a/sdk/keyvault/microsoft-azure-keyvault-test/pom.xml +++ b/sdk/keyvault/microsoft-azure-keyvault-test/pom.xml @@ -6,7 +6,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml @@ -34,6 +34,7 @@ junit junit + 4.13-beta-3 test @@ -57,41 +58,44 @@ com.microsoft.azure azure-mgmt-storage - 1.3.0 + 1.3.0 test com.microsoft.azure azure-mgmt-graph-rbac - 1.3.0 + 1.3.0 test com.microsoft.azure azure-mgmt-resources + 1.3.0 test com.microsoft.azure azure-mgmt-keyvault + 1.11.1 test com.microsoft.azure azure-mgmt-resources - 1.3.1-SNAPSHOT + 1.3.1-SNAPSHOT test-jar test com.microsoft.azure adal4j + 1.6.4 test com.microsoft.azure azure-storage - 4.4.0 + 4.4.0 test diff --git a/sdk/keyvault/microsoft-azure-keyvault-webkey/pom.xml b/sdk/keyvault/microsoft-azure-keyvault-webkey/pom.xml index ee6f3eb9d658..0edfb8039bc8 100644 --- a/sdk/keyvault/microsoft-azure-keyvault-webkey/pom.xml +++ b/sdk/keyvault/microsoft-azure-keyvault-webkey/pom.xml @@ -6,7 +6,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml @@ -39,30 +39,36 @@ com.fasterxml.jackson.core jackson-databind + 2.10.0 com.fasterxml.jackson.core jackson-core + 2.10.0 com.fasterxml.jackson.core jackson-annotations + 2.10.0 commons-codec commons-codec + 1.13 com.google.guava guava + 24.1.1-jre junit junit + 4.13-beta-3 test @@ -73,6 +79,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -85,6 +92,7 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 diff --git a/sdk/keyvault/microsoft-azure-keyvault/pom.xml b/sdk/keyvault/microsoft-azure-keyvault/pom.xml index 02cf7e08550c..0ea71fa8c16d 100644 --- a/sdk/keyvault/microsoft-azure-keyvault/pom.xml +++ b/sdk/keyvault/microsoft-azure-keyvault/pom.xml @@ -6,7 +6,7 @@ the MIT License. See License.txt in the project root for license information. -- com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml @@ -56,12 +56,14 @@ the MIT License. See License.txt in the project root for license information. -- com.microsoft.azure azure-client-runtime + 1.6.15 com.microsoft.rest client-runtime + 1.6.15 @@ -69,24 +71,28 @@ the MIT License. See License.txt in the project root for license information. -- com.microsoft.azure azure-mgmt-storage + 1.3.0 test com.microsoft.azure azure-mgmt-graph-rbac + 1.3.0 test com.microsoft.azure azure-mgmt-resources + 1.3.0 test com.microsoft.azure azure-mgmt-keyvault + 1.11.1 test @@ -99,6 +105,7 @@ the MIT License. See License.txt in the project root for license information. -- com.microsoft.azure azure-mgmt-resources + 1.3.1-SNAPSHOT test-jar test @@ -106,12 +113,14 @@ the MIT License. See License.txt in the project root for license information. -- com.microsoft.azure adal4j + 1.6.4 test com.microsoft.azure azure-storage + 8.0.0 test @@ -120,12 +129,14 @@ the MIT License. See License.txt in the project root for license information. -- com.microsoft.azure azure-client-authentication + 1.6.15 test junit junit + 4.13-beta-3 test @@ -137,6 +148,7 @@ the MIT License. See License.txt in the project root for license information. -- org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -150,11 +162,13 @@ the MIT License. See License.txt in the project root for license information. -- org.codehaus.mojo build-helper-maven-plugin + 3.0.0 org.apache.maven.plugins maven-failsafe-plugin + 2.22.0 ${basedir}/azure-keyvault/target/azure-keyvault-${project.version}.jar diff --git a/sdk/loganalytics/microsoft-azure-loganalytics/pom.xml b/sdk/loganalytics/microsoft-azure-loganalytics/pom.xml index 6e766ab17b8b..3608cbd58053 100644 --- a/sdk/loganalytics/microsoft-azure-loganalytics/pom.xml +++ b/sdk/loganalytics/microsoft-azure-loganalytics/pom.xml @@ -17,7 +17,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml https://github.com/Azure/azure-sdk-for-java @@ -49,31 +49,31 @@ com.microsoft.azure azure-client-runtime - ${runtime.version} + 1.6.3 junit junit - 4.12 + 4.13-beta-3 test com.microsoft.azure azure-client-authentication - ${runtime.version} + 1.6.3 test com.microsoft.azure azure-arm-client-runtime - ${runtime.version} + 1.6.3 test-jar test com.microsoft.azure azure-arm-client-runtime - ${runtime.version} + 1.6.3 @@ -81,7 +81,7 @@ org.codehaus.mojo properties-maven-plugin - 1.0.0 + 1.0.0 generate-resources @@ -99,6 +99,7 @@ org.apache.maven.plugins maven-jar-plugin + 3.1.2 @@ -111,11 +112,12 @@ org.codehaus.mojo build-helper-maven-plugin + 3.0.0 org.apache.maven.plugins maven-compiler-plugin - 3.1 + 3.8.1 1.7 1.7 @@ -135,7 +137,7 @@ org.apache.maven.plugins maven-javadoc-plugin - 2.8 + 3.1.1 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search @@ -152,7 +154,7 @@ org.apache.maven.plugins maven-surefire-plugin - 2.20 + 3.0.0-M3 false diff --git a/sdk/maintenance/ci.mgmt.yml b/sdk/maintenance/ci.mgmt.yml new file mode 100644 index 000000000000..a50c0e578b16 --- /dev/null +++ b/sdk/maintenance/ci.mgmt.yml @@ -0,0 +1,74 @@ +resources: + repositories: + - repository: azure-sdk-build-tools + type: git + name: internal/azure-sdk-build-tools + +trigger: + branches: + include: + - master + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/maintenance/ + exclude: + - sdk/maintenance/microsoft-azure + +pr: + branches: + include: + - master + - feature/* + - hotfix/* + - release/* + paths: + include: + - sdk/maintenance/ + exclude: + - sdk/maintenance/microsoft-azure + + +variables: + BuildOptions: '--batch-mode -Dgpg.skip -Dmaven.wagon.http.pool=false' + ServiceDirectory: maintenance + ProfileFlag: '' + +jobs: + - job: 'Build' + + variables: + - template: ../../eng/pipelines/templates/variables/globals.yml + + strategy: + matrix: + Java 8: + ArtifactName: 'packages' + JavaVersion: '1.8' + Java 7: + ArtifactName: 'packages' + JavaVersion: '1.7' + + pool: + vmImage: 'ubuntu-16.04' + + steps: + - task: Maven@3 + displayName: 'Build' + inputs: + mavenPomFile: sdk/$(ServiceDirectory)/pom.mgmt.xml + goals: 'compile' + options: '$(BuildOptions) $(ProfileFlag) "-DpackageOutputDirectory=$(Build.ArtifactStagingDirectory)" -DskipTests' + mavenOptions: '$(MemoryOptions) $(LoggingOptions)' + javaHomeOption: 'JDKVersion' + jdkVersionOption: $(JavaVersion) + jdkArchitectureOption: 'x64' + publishJUnitResults: false + + - task: PublishTestResults@2 + condition: succeededOrFailed() + inputs: + mergeTestResults: true + testRunTitle: 'On Java $(JavaVersion)' diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/pom.xml b/sdk/maintenance/mgmt-v2018_06_01_preview/pom.xml new file mode 100644 index 000000000000..6b2230fbe7f1 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/pom.xml @@ -0,0 +1,135 @@ + + + 4.0.0 + com.microsoft.azure.maintenance.v2018_06_01_preview + + com.microsoft.azure + azure-arm-parent + 1.2.0 + ../../../pom.management.xml + + azure-mgmt-maintenance + 1.0.0-beta + jar + Microsoft Azure SDK for Maintenance Management + This package contains Microsoft Maintenance Management SDK. + https://github.com/Azure/azure-sdk-for-java + + + The MIT License (MIT) + http://opensource.org/licenses/MIT + repo + + + + scm:git:https://github.com/Azure/azure-sdk-for-java + scm:git:git@github.com:Azure/azure-sdk-for-java.git + HEAD + + + UTF-8 + + + + + microsoft + Microsoft + + + + + com.microsoft.azure + azure-client-runtime + + + com.microsoft.azure + azure-arm-client-runtime + + + junit + junit + test + + + com.microsoft.azure + azure-client-authentication + test + + + com.microsoft.azure + azure-mgmt-resources + test + + + com.microsoft.azure + azure-arm-client-runtime + test-jar + test + + 1.6.5 + + + + + + org.apache.maven.plugins + maven-jar-plugin + + + + true + true + + + + + + org.codehaus.mojo + build-helper-maven-plugin + + + org.apache.maven.plugins + maven-compiler-plugin + 3.1 + + 1.7 + 1.7 + + + com.microsoft.azure.management.apigeneration.LangDefinitionProcessor + + + true + true + + true + true + + + + + org.apache.maven.plugins + maven-javadoc-plugin + 2.8 + + *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.search + + + /** +
* Copyright (c) Microsoft Corporation. All rights reserved. +
* Licensed under the MIT License. See License.txt in the project root for +
* license information. +
*/ + ]]> +
+
+
+
+
+
diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/ApplyUpdate.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/ApplyUpdate.java new file mode 100644 index 000000000000..d41cfb7de0d0 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/ApplyUpdate.java @@ -0,0 +1,51 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview; + +import com.microsoft.azure.arm.model.HasInner; +import com.microsoft.azure.arm.resources.models.HasManager; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation.MaintenanceManager; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation.ApplyUpdateInner; +import org.joda.time.DateTime; + +/** + * Type representing ApplyUpdate. + */ +public interface ApplyUpdate extends HasInner, HasManager { + /** + * @return the id value. + */ + String id(); + + /** + * @return the lastUpdateTime value. + */ + DateTime lastUpdateTime(); + + /** + * @return the name value. + */ + String name(); + + /** + * @return the resourceId value. + */ + String resourceId(); + + /** + * @return the status value. + */ + UpdateStatus status(); + + /** + * @return the type value. + */ + String type(); + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/ApplyUpdates.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/ApplyUpdates.java new file mode 100644 index 000000000000..99b855d62353 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/ApplyUpdates.java @@ -0,0 +1,75 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview; + +import rx.Observable; + +/** + * Type representing ApplyUpdates. + */ +public interface ApplyUpdates { + /** + * Track Updates to resource with parent. + * Track maintenance updates to resource with parent. + * + * @param resourceGroupName Resource group name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param applyUpdateName applyUpdate Id + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable getParentAsync(String resourceGroupName, String resourceParentType, String resourceParentName, String providerName, String resourceType, String resourceName, String applyUpdateName); + + /** + * Track Updates to resource. + * Track maintenance updates to resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param applyUpdateName applyUpdate Id + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable getAsync(String resourceGroupName, String providerName, String resourceType, String resourceName, String applyUpdateName); + + /** + * Apply Updates to resource with parent. + * Apply maintenance updates to resource with parent. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable createOrUpdateParentAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName); + + /** + * Apply Updates to resource. + * Apply maintenance updates to resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable createOrUpdateAsync(String resourceGroupName, String providerName, String resourceType, String resourceName); + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/ConfigurationAssignment.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/ConfigurationAssignment.java new file mode 100644 index 000000000000..f5651aeeaee3 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/ConfigurationAssignment.java @@ -0,0 +1,222 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview; + +import com.microsoft.azure.arm.model.HasInner; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation.ConfigurationAssignmentInner; +import com.microsoft.azure.arm.model.Indexable; +import com.microsoft.azure.arm.model.Updatable; +import com.microsoft.azure.arm.model.Appliable; +import com.microsoft.azure.arm.model.Creatable; +import com.microsoft.azure.arm.resources.models.HasManager; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation.MaintenanceManager; + +/** + * Type representing ConfigurationAssignment. + */ +public interface ConfigurationAssignment extends HasInner, Indexable, Updatable, HasManager { + /** + * @return the id value. + */ + String id(); + + /** + * @return the location value. + */ + String location(); + + /** + * @return the maintenanceConfigurationId value. + */ + String maintenanceConfigurationId(); + + /** + * @return the name value. + */ + String name(); + + /** + * @return the resourceId value. + */ + String resourceId(); + + /** + * @return the type value. + */ + String type(); + + /** + * The entirety of the ConfigurationAssignment definition. + */ + interface Definition extends DefinitionStages.Blank, DefinitionStages.WithProvider, DefinitionStages.WithResourceParentType, DefinitionStages.WithResourceParentName, DefinitionStages.WithResourceType, DefinitionStages.WithResourceName, DefinitionStages.WithCreate { + } + + /** + * Grouping of ConfigurationAssignment definition stages. + */ + interface DefinitionStages { + /** + * The first stage of a ConfigurationAssignment definition. + */ + interface Blank extends WithProvider { + } + + /** + * The stage of the configurationassignment definition allowing to specify Provider. + */ + interface WithProvider { + /** + * Specifies resourceGroupName, providerName. + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @return the next definition stage + */ + WithResourceParentType withExistingProvider(String resourceGroupName, String providerName); + } + + /** + * The stage of the configurationassignment definition allowing to specify ResourceParentType. + */ + interface WithResourceParentType { + /** + * Specifies resourceParentType. + * @param resourceParentType Resource parent type + * @return the next definition stage + */ + WithResourceParentName withResourceParentType(String resourceParentType); + } + + /** + * The stage of the configurationassignment definition allowing to specify ResourceParentName. + */ + interface WithResourceParentName { + /** + * Specifies resourceParentName. + * @param resourceParentName Resource parent identifier + * @return the next definition stage + */ + WithResourceType withResourceParentName(String resourceParentName); + } + + /** + * The stage of the configurationassignment definition allowing to specify ResourceType. + */ + interface WithResourceType { + /** + * Specifies resourceType. + * @param resourceType Resource type + * @return the next definition stage + */ + WithResourceName withResourceType(String resourceType); + } + + /** + * The stage of the configurationassignment definition allowing to specify ResourceName. + */ + interface WithResourceName { + /** + * Specifies resourceName. + * @param resourceName Resource identifier + * @return the next definition stage + */ + WithCreate withResourceName(String resourceName); + } + + /** + * The stage of the configurationassignment definition allowing to specify Location. + */ + interface WithLocation { + /** + * Specifies location. + * @param location Location of the resource + * @return the next definition stage + */ + WithCreate withLocation(String location); + } + + /** + * The stage of the configurationassignment definition allowing to specify MaintenanceConfigurationId. + */ + interface WithMaintenanceConfigurationId { + /** + * Specifies maintenanceConfigurationId. + * @param maintenanceConfigurationId The maintenance configuration Id + * @return the next definition stage + */ + WithCreate withMaintenanceConfigurationId(String maintenanceConfigurationId); + } + + /** + * The stage of the configurationassignment definition allowing to specify ResourceId. + */ + interface WithResourceId { + /** + * Specifies resourceId. + * @param resourceId The unique resourceId + * @return the next definition stage + */ + WithCreate withResourceId(String resourceId); + } + + /** + * The stage of the definition which contains all the minimum required inputs for + * the resource to be created (via {@link WithCreate#create()}), but also allows + * for any other optional settings to be specified. + */ + interface WithCreate extends Creatable, DefinitionStages.WithLocation, DefinitionStages.WithMaintenanceConfigurationId, DefinitionStages.WithResourceId { + } + } + /** + * The template for a ConfigurationAssignment update operation, containing all the settings that can be modified. + */ + interface Update extends Appliable, UpdateStages.WithLocation, UpdateStages.WithMaintenanceConfigurationId, UpdateStages.WithResourceId { + } + + /** + * Grouping of ConfigurationAssignment update stages. + */ + interface UpdateStages { + /** + * The stage of the configurationassignment update allowing to specify Location. + */ + interface WithLocation { + /** + * Specifies location. + * @param location Location of the resource + * @return the next update stage + */ + Update withLocation(String location); + } + + /** + * The stage of the configurationassignment update allowing to specify MaintenanceConfigurationId. + */ + interface WithMaintenanceConfigurationId { + /** + * Specifies maintenanceConfigurationId. + * @param maintenanceConfigurationId The maintenance configuration Id + * @return the next update stage + */ + Update withMaintenanceConfigurationId(String maintenanceConfigurationId); + } + + /** + * The stage of the configurationassignment update allowing to specify ResourceId. + */ + interface WithResourceId { + /** + * Specifies resourceId. + * @param resourceId The unique resourceId + * @return the next update stage + */ + Update withResourceId(String resourceId); + } + + } +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/ConfigurationAssignments.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/ConfigurationAssignments.java new file mode 100644 index 000000000000..653fadd9c271 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/ConfigurationAssignments.java @@ -0,0 +1,95 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview; + +import com.microsoft.azure.arm.collection.SupportsCreating; +import rx.Completable; +import rx.Observable; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation.ConfigurationAssignmentInner; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation.ConfigurationAssignmentsInner; +import com.microsoft.azure.arm.model.HasInner; + +/** + * Type representing ConfigurationAssignments. + */ +public interface ConfigurationAssignments extends SupportsCreating, HasInner { + /** + * Unregister configuration for resource. + * Unregister configuration for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param configurationAssignmentName Unique configuration assignment name + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable deleteParentAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName, String configurationAssignmentName); + + /** + * Create configuration assignment. + * Register configuration for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param configurationAssignmentName Configuration assignment name + * @param configurationAssignment The configurationAssignment + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable createOrUpdateAsync(String resourceGroupName, String providerName, String resourceType, String resourceName, String configurationAssignmentName, ConfigurationAssignmentInner configurationAssignment); + + /** + * Unregister configuration for resource. + * Unregister configuration for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param configurationAssignmentName Unique configuration assignment name + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable deleteAsync(String resourceGroupName, String providerName, String resourceType, String resourceName, String configurationAssignmentName); + + /** + * List configurationAssignments for resource. + * List configurationAssignments for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable listParentAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName); + + /** + * List configurationAssignments for resource. + * List configurationAssignments for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable listAsync(String resourceGroupName, String providerName, String resourceType, String resourceName); + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/ErrorDetails.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/ErrorDetails.java new file mode 100644 index 000000000000..9aa7d019c0ac --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/ErrorDetails.java @@ -0,0 +1,70 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * An error response details received from the Azure Maintenance service. + */ +public class ErrorDetails { + /** + * Service-defined error code. This code serves as a sub-status for the + * HTTP error code specified in the response. + */ + @JsonProperty(value = "code") + private String code; + + /** + * Human-readable representation of the error. + */ + @JsonProperty(value = "message") + private String message; + + /** + * Get service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response. + * + * @return the code value + */ + public String code() { + return this.code; + } + + /** + * Set service-defined error code. This code serves as a sub-status for the HTTP error code specified in the response. + * + * @param code the code value to set + * @return the ErrorDetails object itself. + */ + public ErrorDetails withCode(String code) { + this.code = code; + return this; + } + + /** + * Get human-readable representation of the error. + * + * @return the message value + */ + public String message() { + return this.message; + } + + /** + * Set human-readable representation of the error. + * + * @param message the message value to set + * @return the ErrorDetails object itself. + */ + public ErrorDetails withMessage(String message) { + this.message = message; + return this; + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/ImpactType.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/ImpactType.java new file mode 100644 index 000000000000..eca44d4bcb65 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/ImpactType.java @@ -0,0 +1,47 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview; + +import java.util.Collection; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.microsoft.rest.ExpandableStringEnum; + +/** + * Defines values for ImpactType. + */ +public final class ImpactType extends ExpandableStringEnum { + /** Static value None for ImpactType. */ + public static final ImpactType NONE = fromString("None"); + + /** Static value Freeze for ImpactType. */ + public static final ImpactType FREEZE = fromString("Freeze"); + + /** Static value Restart for ImpactType. */ + public static final ImpactType RESTART = fromString("Restart"); + + /** Static value Redeploy for ImpactType. */ + public static final ImpactType REDEPLOY = fromString("Redeploy"); + + /** + * Creates or finds a ImpactType from its string representation. + * @param name a name to look for + * @return the corresponding ImpactType + */ + @JsonCreator + public static ImpactType fromString(String name) { + return fromString(name, ImpactType.class); + } + + /** + * @return known ImpactType values + */ + public static Collection values() { + return values(ImpactType.class); + } +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/MaintenanceConfiguration.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/MaintenanceConfiguration.java new file mode 100644 index 000000000000..168d5ae9e718 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/MaintenanceConfiguration.java @@ -0,0 +1,156 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview; + +import com.microsoft.azure.arm.model.HasInner; +import com.microsoft.azure.arm.resources.models.Resource; +import com.microsoft.azure.arm.resources.models.GroupableResourceCore; +import com.microsoft.azure.arm.resources.models.HasResourceGroup; +import com.microsoft.azure.arm.model.Refreshable; +import com.microsoft.azure.arm.model.Updatable; +import com.microsoft.azure.arm.model.Appliable; +import com.microsoft.azure.arm.model.Creatable; +import com.microsoft.azure.arm.resources.models.HasManager; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation.MaintenanceManager; +import java.util.Map; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation.MaintenanceConfigurationInner; + +/** + * Type representing MaintenanceConfiguration. + */ +public interface MaintenanceConfiguration extends HasInner, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager { + /** + * @return the extensionProperties value. + */ + Map extensionProperties(); + + /** + * @return the maintenanceScope value. + */ + MaintenanceScope maintenanceScope(); + + /** + * @return the namespace value. + */ + String namespace(); + + /** + * The entirety of the MaintenanceConfiguration definition. + */ + interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, DefinitionStages.WithCreate { + } + + /** + * Grouping of MaintenanceConfiguration definition stages. + */ + interface DefinitionStages { + /** + * The first stage of a MaintenanceConfiguration definition. + */ + interface Blank extends GroupableResourceCore.DefinitionWithRegion { + } + + /** + * The stage of the MaintenanceConfiguration definition allowing to specify the resource group. + */ + interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup { + } + + /** + * The stage of the maintenanceconfiguration definition allowing to specify ExtensionProperties. + */ + interface WithExtensionProperties { + /** + * Specifies extensionProperties. + * @param extensionProperties Gets or sets extensionProperties of the maintenanceConfiguration + * @return the next definition stage + */ + WithCreate withExtensionProperties(Map extensionProperties); + } + + /** + * The stage of the maintenanceconfiguration definition allowing to specify MaintenanceScope. + */ + interface WithMaintenanceScope { + /** + * Specifies maintenanceScope. + * @param maintenanceScope Gets or sets maintenanceScope of the configuration. Possible values include: 'All', 'Host', 'Resource', 'InResource' + * @return the next definition stage + */ + WithCreate withMaintenanceScope(MaintenanceScope maintenanceScope); + } + + /** + * The stage of the maintenanceconfiguration definition allowing to specify Namespace. + */ + interface WithNamespace { + /** + * Specifies namespace. + * @param namespace Gets or sets namespace of the resource + * @return the next definition stage + */ + WithCreate withNamespace(String namespace); + } + + /** + * The stage of the definition which contains all the minimum required inputs for + * the resource to be created (via {@link WithCreate#create()}), but also allows + * for any other optional settings to be specified. + */ + interface WithCreate extends Creatable, Resource.DefinitionWithTags, DefinitionStages.WithExtensionProperties, DefinitionStages.WithMaintenanceScope, DefinitionStages.WithNamespace { + } + } + /** + * The template for a MaintenanceConfiguration update operation, containing all the settings that can be modified. + */ + interface Update extends Appliable, Resource.UpdateWithTags, UpdateStages.WithExtensionProperties, UpdateStages.WithMaintenanceScope, UpdateStages.WithNamespace { + } + + /** + * Grouping of MaintenanceConfiguration update stages. + */ + interface UpdateStages { + /** + * The stage of the maintenanceconfiguration update allowing to specify ExtensionProperties. + */ + interface WithExtensionProperties { + /** + * Specifies extensionProperties. + * @param extensionProperties Gets or sets extensionProperties of the maintenanceConfiguration + * @return the next update stage + */ + Update withExtensionProperties(Map extensionProperties); + } + + /** + * The stage of the maintenanceconfiguration update allowing to specify MaintenanceScope. + */ + interface WithMaintenanceScope { + /** + * Specifies maintenanceScope. + * @param maintenanceScope Gets or sets maintenanceScope of the configuration. Possible values include: 'All', 'Host', 'Resource', 'InResource' + * @return the next update stage + */ + Update withMaintenanceScope(MaintenanceScope maintenanceScope); + } + + /** + * The stage of the maintenanceconfiguration update allowing to specify Namespace. + */ + interface WithNamespace { + /** + * Specifies namespace. + * @param namespace Gets or sets namespace of the resource + * @return the next update stage + */ + Update withNamespace(String namespace); + } + + } +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/MaintenanceConfigurations.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/MaintenanceConfigurations.java new file mode 100644 index 000000000000..199238faf6c5 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/MaintenanceConfigurations.java @@ -0,0 +1,24 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview; + +import com.microsoft.azure.arm.collection.SupportsCreating; +import com.microsoft.azure.arm.resources.collection.SupportsDeletingByResourceGroup; +import com.microsoft.azure.arm.resources.collection.SupportsBatchDeletion; +import com.microsoft.azure.arm.resources.collection.SupportsGettingByResourceGroup; +import rx.Observable; +import com.microsoft.azure.arm.collection.SupportsListing; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation.MaintenanceConfigurationsInner; +import com.microsoft.azure.arm.model.HasInner; + +/** + * Type representing MaintenanceConfigurations. + */ +public interface MaintenanceConfigurations extends SupportsCreating, SupportsDeletingByResourceGroup, SupportsBatchDeletion, SupportsGettingByResourceGroup, SupportsListing, HasInner { +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/MaintenanceError.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/MaintenanceError.java new file mode 100644 index 000000000000..ac45958f393b --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/MaintenanceError.java @@ -0,0 +1,43 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * An error response received from the Azure Maintenance service. + */ +public class MaintenanceError { + /** + * Details of the error. + */ + @JsonProperty(value = "error") + private ErrorDetails error; + + /** + * Get details of the error. + * + * @return the error value + */ + public ErrorDetails error() { + return this.error; + } + + /** + * Set details of the error. + * + * @param error the error value to set + * @return the MaintenanceError object itself. + */ + public MaintenanceError withError(ErrorDetails error) { + this.error = error; + return this; + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/MaintenanceErrorException.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/MaintenanceErrorException.java new file mode 100644 index 000000000000..dacd03cc1094 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/MaintenanceErrorException.java @@ -0,0 +1,44 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview; + +import com.microsoft.rest.RestException; +import okhttp3.ResponseBody; +import retrofit2.Response; + +/** + * Exception thrown for an invalid response with MaintenanceError information. + */ +public class MaintenanceErrorException extends RestException { + /** + * Initializes a new instance of the MaintenanceErrorException class. + * + * @param message the exception message or the response content if a message is not available + * @param response the HTTP response + */ + public MaintenanceErrorException(final String message, final Response response) { + super(message, response); + } + + /** + * Initializes a new instance of the MaintenanceErrorException class. + * + * @param message the exception message or the response content if a message is not available + * @param response the HTTP response + * @param body the deserialized response body + */ + public MaintenanceErrorException(final String message, final Response response, final MaintenanceError body) { + super(message, response, body); + } + + @Override + public MaintenanceError body() { + return (MaintenanceError) super.body(); + } +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/MaintenanceScope.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/MaintenanceScope.java new file mode 100644 index 000000000000..03158518bd3c --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/MaintenanceScope.java @@ -0,0 +1,47 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview; + +import java.util.Collection; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.microsoft.rest.ExpandableStringEnum; + +/** + * Defines values for MaintenanceScope. + */ +public final class MaintenanceScope extends ExpandableStringEnum { + /** Static value All for MaintenanceScope. */ + public static final MaintenanceScope ALL = fromString("All"); + + /** Static value Host for MaintenanceScope. */ + public static final MaintenanceScope HOST = fromString("Host"); + + /** Static value Resource for MaintenanceScope. */ + public static final MaintenanceScope RESOURCE = fromString("Resource"); + + /** Static value InResource for MaintenanceScope. */ + public static final MaintenanceScope IN_RESOURCE = fromString("InResource"); + + /** + * Creates or finds a MaintenanceScope from its string representation. + * @param name a name to look for + * @return the corresponding MaintenanceScope + */ + @JsonCreator + public static MaintenanceScope fromString(String name) { + return fromString(name, MaintenanceScope.class); + } + + /** + * @return known MaintenanceScope values + */ + public static Collection values() { + return values(MaintenanceScope.class); + } +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/Operation.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/Operation.java new file mode 100644 index 000000000000..26ebef713a2d --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/Operation.java @@ -0,0 +1,40 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview; + +import com.microsoft.azure.arm.model.HasInner; +import com.microsoft.azure.arm.resources.models.HasManager; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation.MaintenanceManager; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation.OperationInner; + +/** + * Type representing Operation. + */ +public interface Operation extends HasInner, HasManager { + /** + * @return the display value. + */ + OperationInfo display(); + + /** + * @return the name value. + */ + String name(); + + /** + * @return the origin value. + */ + String origin(); + + /** + * @return the properties value. + */ + Object properties(); + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/OperationInfo.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/OperationInfo.java new file mode 100644 index 000000000000..04621fbd63f8 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/OperationInfo.java @@ -0,0 +1,121 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Information about an operation. + */ +public class OperationInfo { + /** + * Name of the provider. + */ + @JsonProperty(value = "provider") + private String provider; + + /** + * Name of the resource type. + */ + @JsonProperty(value = "resource") + private String resource; + + /** + * Name of the operation. + */ + @JsonProperty(value = "operation") + private String operation; + + /** + * Description of the operation. + */ + @JsonProperty(value = "description") + private String description; + + /** + * Get name of the provider. + * + * @return the provider value + */ + public String provider() { + return this.provider; + } + + /** + * Set name of the provider. + * + * @param provider the provider value to set + * @return the OperationInfo object itself. + */ + public OperationInfo withProvider(String provider) { + this.provider = provider; + return this; + } + + /** + * Get name of the resource type. + * + * @return the resource value + */ + public String resource() { + return this.resource; + } + + /** + * Set name of the resource type. + * + * @param resource the resource value to set + * @return the OperationInfo object itself. + */ + public OperationInfo withResource(String resource) { + this.resource = resource; + return this; + } + + /** + * Get name of the operation. + * + * @return the operation value + */ + public String operation() { + return this.operation; + } + + /** + * Set name of the operation. + * + * @param operation the operation value to set + * @return the OperationInfo object itself. + */ + public OperationInfo withOperation(String operation) { + this.operation = operation; + return this; + } + + /** + * Get description of the operation. + * + * @return the description value + */ + public String description() { + return this.description; + } + + /** + * Set description of the operation. + * + * @param description the description value to set + * @return the OperationInfo object itself. + */ + public OperationInfo withDescription(String description) { + this.description = description; + return this; + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/Operations.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/Operations.java new file mode 100644 index 000000000000..3454918e750b --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/Operations.java @@ -0,0 +1,28 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview; + +import rx.Observable; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation.OperationsInner; +import com.microsoft.azure.arm.model.HasInner; + +/** + * Type representing Operations. + */ +public interface Operations extends HasInner { + /** + * List available operations. + * List the available operations supported by the Microsoft.Maintenance resource provider. + * + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable listAsync(); + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/Update.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/Update.java new file mode 100644 index 000000000000..5e0705c254f0 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/Update.java @@ -0,0 +1,51 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview; + +import com.microsoft.azure.arm.model.HasInner; +import com.microsoft.azure.arm.resources.models.HasManager; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation.MaintenanceManager; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation.UpdateInner; +import org.joda.time.DateTime; + +/** + * Type representing Update. + */ +public interface Update extends HasInner, HasManager { + /** + * @return the impactDurationInSec value. + */ + Integer impactDurationInSec(); + + /** + * @return the impactType value. + */ + ImpactType impactType(); + + /** + * @return the maintenanceScope value. + */ + MaintenanceScope maintenanceScope(); + + /** + * @return the notBefore value. + */ + DateTime notBefore(); + + /** + * @return the resourceId value. + */ + String resourceId(); + + /** + * @return the status value. + */ + UpdateStatus status(); + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/UpdateStatus.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/UpdateStatus.java new file mode 100644 index 000000000000..c177cf90e946 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/UpdateStatus.java @@ -0,0 +1,50 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview; + +import java.util.Collection; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.microsoft.rest.ExpandableStringEnum; + +/** + * Defines values for UpdateStatus. + */ +public final class UpdateStatus extends ExpandableStringEnum { + /** Static value Pending for UpdateStatus. */ + public static final UpdateStatus PENDING = fromString("Pending"); + + /** Static value InProgress for UpdateStatus. */ + public static final UpdateStatus IN_PROGRESS = fromString("InProgress"); + + /** Static value Completed for UpdateStatus. */ + public static final UpdateStatus COMPLETED = fromString("Completed"); + + /** Static value RetryNow for UpdateStatus. */ + public static final UpdateStatus RETRY_NOW = fromString("RetryNow"); + + /** Static value RetryLater for UpdateStatus. */ + public static final UpdateStatus RETRY_LATER = fromString("RetryLater"); + + /** + * Creates or finds a UpdateStatus from its string representation. + * @param name a name to look for + * @return the corresponding UpdateStatus + */ + @JsonCreator + public static UpdateStatus fromString(String name) { + return fromString(name, UpdateStatus.class); + } + + /** + * @return known UpdateStatus values + */ + public static Collection values() { + return values(UpdateStatus.class); + } +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/Updates.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/Updates.java new file mode 100644 index 000000000000..d050b66ef1d1 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/Updates.java @@ -0,0 +1,45 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview; + +import rx.Observable; + +/** + * Type representing Updates. + */ +public interface Updates { + /** + * Get Updates to resource. + * Get updates to resources. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable listParentAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName); + + /** + * Get Updates to resource. + * Get updates to resources. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable listAsync(String resourceGroupName, String providerName, String resourceType, String resourceName); + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ApplyUpdateImpl.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ApplyUpdateImpl.java new file mode 100644 index 000000000000..79878545aa6a --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ApplyUpdateImpl.java @@ -0,0 +1,58 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.ApplyUpdate; +import com.microsoft.azure.arm.model.implementation.WrapperImpl; +import org.joda.time.DateTime; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.UpdateStatus; + +class ApplyUpdateImpl extends WrapperImpl implements ApplyUpdate { + private final MaintenanceManager manager; + ApplyUpdateImpl(ApplyUpdateInner inner, MaintenanceManager manager) { + super(inner); + this.manager = manager; + } + + @Override + public MaintenanceManager manager() { + return this.manager; + } + + @Override + public String id() { + return this.inner().id(); + } + + @Override + public DateTime lastUpdateTime() { + return this.inner().lastUpdateTime(); + } + + @Override + public String name() { + return this.inner().name(); + } + + @Override + public String resourceId() { + return this.inner().resourceId(); + } + + @Override + public UpdateStatus status() { + return this.inner().status(); + } + + @Override + public String type() { + return this.inner().type(); + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ApplyUpdateInner.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ApplyUpdateInner.java new file mode 100644 index 000000000000..7f192e862260 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ApplyUpdateInner.java @@ -0,0 +1,101 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.UpdateStatus; +import org.joda.time.DateTime; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.ProxyResource; + +/** + * Apply Update request. + */ +@JsonFlatten +public class ApplyUpdateInner extends ProxyResource { + /** + * The status. Possible values include: 'Pending', 'InProgress', + * 'Completed', 'RetryNow', 'RetryLater'. + */ + @JsonProperty(value = "properties.status") + private UpdateStatus status; + + /** + * The resourceId. + */ + @JsonProperty(value = "properties.resourceId") + private String resourceId; + + /** + * Last Update time. + */ + @JsonProperty(value = "properties.lastUpdateTime") + private DateTime lastUpdateTime; + + /** + * Get the status. Possible values include: 'Pending', 'InProgress', 'Completed', 'RetryNow', 'RetryLater'. + * + * @return the status value + */ + public UpdateStatus status() { + return this.status; + } + + /** + * Set the status. Possible values include: 'Pending', 'InProgress', 'Completed', 'RetryNow', 'RetryLater'. + * + * @param status the status value to set + * @return the ApplyUpdateInner object itself. + */ + public ApplyUpdateInner withStatus(UpdateStatus status) { + this.status = status; + return this; + } + + /** + * Get the resourceId. + * + * @return the resourceId value + */ + public String resourceId() { + return this.resourceId; + } + + /** + * Set the resourceId. + * + * @param resourceId the resourceId value to set + * @return the ApplyUpdateInner object itself. + */ + public ApplyUpdateInner withResourceId(String resourceId) { + this.resourceId = resourceId; + return this; + } + + /** + * Get last Update time. + * + * @return the lastUpdateTime value + */ + public DateTime lastUpdateTime() { + return this.lastUpdateTime; + } + + /** + * Set last Update time. + * + * @param lastUpdateTime the lastUpdateTime value to set + * @return the ApplyUpdateInner object itself. + */ + public ApplyUpdateInner withLastUpdateTime(DateTime lastUpdateTime) { + this.lastUpdateTime = lastUpdateTime; + return this; + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ApplyUpdatesImpl.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ApplyUpdatesImpl.java new file mode 100644 index 000000000000..3adadefd7ff1 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ApplyUpdatesImpl.java @@ -0,0 +1,78 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * abc + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import com.microsoft.azure.arm.model.implementation.WrapperImpl; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.ApplyUpdates; +import rx.functions.Func1; +import rx.Observable; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.ApplyUpdate; + +class ApplyUpdatesImpl extends WrapperImpl implements ApplyUpdates { + private final MaintenanceManager manager; + + ApplyUpdatesImpl(MaintenanceManager manager) { + super(manager.inner().applyUpdates()); + this.manager = manager; + } + + public MaintenanceManager manager() { + return this.manager; + } + + @Override + public Observable getParentAsync(String resourceGroupName, String resourceParentType, String resourceParentName, String providerName, String resourceType, String resourceName, String applyUpdateName) { + ApplyUpdatesInner client = this.inner(); + return client.getParentAsync(resourceGroupName, resourceParentType, resourceParentName, providerName, resourceType, resourceName, applyUpdateName) + .map(new Func1() { + @Override + public ApplyUpdate call(ApplyUpdateInner inner) { + return new ApplyUpdateImpl(inner, manager()); + } + }); + } + + @Override + public Observable getAsync(String resourceGroupName, String providerName, String resourceType, String resourceName, String applyUpdateName) { + ApplyUpdatesInner client = this.inner(); + return client.getAsync(resourceGroupName, providerName, resourceType, resourceName, applyUpdateName) + .map(new Func1() { + @Override + public ApplyUpdate call(ApplyUpdateInner inner) { + return new ApplyUpdateImpl(inner, manager()); + } + }); + } + + @Override + public Observable createOrUpdateParentAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName) { + ApplyUpdatesInner client = this.inner(); + return client.createOrUpdateParentAsync(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName) + .map(new Func1() { + @Override + public ApplyUpdate call(ApplyUpdateInner inner) { + return new ApplyUpdateImpl(inner, manager()); + } + }); + } + + @Override + public Observable createOrUpdateAsync(String resourceGroupName, String providerName, String resourceType, String resourceName) { + ApplyUpdatesInner client = this.inner(); + return client.createOrUpdateAsync(resourceGroupName, providerName, resourceType, resourceName) + .map(new Func1() { + @Override + public ApplyUpdate call(ApplyUpdateInner inner) { + return new ApplyUpdateImpl(inner, manager()); + } + }); + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ApplyUpdatesInner.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ApplyUpdatesInner.java new file mode 100644 index 000000000000..78de9592f2da --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ApplyUpdatesInner.java @@ -0,0 +1,531 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import retrofit2.Retrofit; +import com.google.common.reflect.TypeToken; +import com.microsoft.azure.CloudException; +import com.microsoft.rest.ServiceCallback; +import com.microsoft.rest.ServiceFuture; +import com.microsoft.rest.ServiceResponse; +import java.io.IOException; +import okhttp3.ResponseBody; +import retrofit2.http.GET; +import retrofit2.http.Header; +import retrofit2.http.Headers; +import retrofit2.http.Path; +import retrofit2.http.PUT; +import retrofit2.http.Query; +import retrofit2.Response; +import rx.functions.Func1; +import rx.Observable; + +/** + * An instance of this class provides access to all the operations defined + * in ApplyUpdates. + */ +public class ApplyUpdatesInner { + /** The Retrofit service to perform REST calls. */ + private ApplyUpdatesService service; + /** The service client containing this operation class. */ + private MaintenanceManagementClientImpl client; + + /** + * Initializes an instance of ApplyUpdatesInner. + * + * @param retrofit the Retrofit instance built from a Retrofit Builder. + * @param client the instance of the service client containing this operation class. + */ + public ApplyUpdatesInner(Retrofit retrofit, MaintenanceManagementClientImpl client) { + this.service = retrofit.create(ApplyUpdatesService.class); + this.client = client; + } + + /** + * The interface defining all the services for ApplyUpdates to be + * used by Retrofit to perform actually REST calls. + */ + interface ApplyUpdatesService { + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.maintenance.v2018_06_01_preview.ApplyUpdates getParent" }) + @GET("subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}") + Observable> getParent(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("resourceParentType") String resourceParentType, @Path("resourceParentName") String resourceParentName, @Path("providerName") String providerName, @Path("resourceType") String resourceType, @Path("resourceName") String resourceName, @Path("applyUpdateName") String applyUpdateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.maintenance.v2018_06_01_preview.ApplyUpdates get" }) + @GET("subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/{applyUpdateName}") + Observable> get(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("providerName") String providerName, @Path("resourceType") String resourceType, @Path("resourceName") String resourceName, @Path("applyUpdateName") String applyUpdateName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.maintenance.v2018_06_01_preview.ApplyUpdates createOrUpdateParent" }) + @PUT("subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/default") + Observable> createOrUpdateParent(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("providerName") String providerName, @Path("resourceParentType") String resourceParentType, @Path("resourceParentName") String resourceParentName, @Path("resourceType") String resourceType, @Path("resourceName") String resourceName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.maintenance.v2018_06_01_preview.ApplyUpdates createOrUpdate" }) + @PUT("subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/applyUpdates/default") + Observable> createOrUpdate(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("providerName") String providerName, @Path("resourceType") String resourceType, @Path("resourceName") String resourceName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + } + + /** + * Track Updates to resource with parent. + * Track maintenance updates to resource with parent. + * + * @param resourceGroupName Resource group name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param applyUpdateName applyUpdate Id + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the ApplyUpdateInner object if successful. + */ + public ApplyUpdateInner getParent(String resourceGroupName, String resourceParentType, String resourceParentName, String providerName, String resourceType, String resourceName, String applyUpdateName) { + return getParentWithServiceResponseAsync(resourceGroupName, resourceParentType, resourceParentName, providerName, resourceType, resourceName, applyUpdateName).toBlocking().single().body(); + } + + /** + * Track Updates to resource with parent. + * Track maintenance updates to resource with parent. + * + * @param resourceGroupName Resource group name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param applyUpdateName applyUpdate Id + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getParentAsync(String resourceGroupName, String resourceParentType, String resourceParentName, String providerName, String resourceType, String resourceName, String applyUpdateName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getParentWithServiceResponseAsync(resourceGroupName, resourceParentType, resourceParentName, providerName, resourceType, resourceName, applyUpdateName), serviceCallback); + } + + /** + * Track Updates to resource with parent. + * Track maintenance updates to resource with parent. + * + * @param resourceGroupName Resource group name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param applyUpdateName applyUpdate Id + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the ApplyUpdateInner object + */ + public Observable getParentAsync(String resourceGroupName, String resourceParentType, String resourceParentName, String providerName, String resourceType, String resourceName, String applyUpdateName) { + return getParentWithServiceResponseAsync(resourceGroupName, resourceParentType, resourceParentName, providerName, resourceType, resourceName, applyUpdateName).map(new Func1, ApplyUpdateInner>() { + @Override + public ApplyUpdateInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Track Updates to resource with parent. + * Track maintenance updates to resource with parent. + * + * @param resourceGroupName Resource group name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param applyUpdateName applyUpdate Id + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the ApplyUpdateInner object + */ + public Observable> getParentWithServiceResponseAsync(String resourceGroupName, String resourceParentType, String resourceParentName, String providerName, String resourceType, String resourceName, String applyUpdateName) { + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (resourceParentType == null) { + throw new IllegalArgumentException("Parameter resourceParentType is required and cannot be null."); + } + if (resourceParentName == null) { + throw new IllegalArgumentException("Parameter resourceParentName is required and cannot be null."); + } + if (providerName == null) { + throw new IllegalArgumentException("Parameter providerName is required and cannot be null."); + } + if (resourceType == null) { + throw new IllegalArgumentException("Parameter resourceType is required and cannot be null."); + } + if (resourceName == null) { + throw new IllegalArgumentException("Parameter resourceName is required and cannot be null."); + } + if (applyUpdateName == null) { + throw new IllegalArgumentException("Parameter applyUpdateName is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.getParent(this.client.subscriptionId(), resourceGroupName, resourceParentType, resourceParentName, providerName, resourceType, resourceName, applyUpdateName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getParentDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getParentDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Track Updates to resource. + * Track maintenance updates to resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param applyUpdateName applyUpdate Id + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the ApplyUpdateInner object if successful. + */ + public ApplyUpdateInner get(String resourceGroupName, String providerName, String resourceType, String resourceName, String applyUpdateName) { + return getWithServiceResponseAsync(resourceGroupName, providerName, resourceType, resourceName, applyUpdateName).toBlocking().single().body(); + } + + /** + * Track Updates to resource. + * Track maintenance updates to resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param applyUpdateName applyUpdate Id + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getAsync(String resourceGroupName, String providerName, String resourceType, String resourceName, String applyUpdateName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getWithServiceResponseAsync(resourceGroupName, providerName, resourceType, resourceName, applyUpdateName), serviceCallback); + } + + /** + * Track Updates to resource. + * Track maintenance updates to resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param applyUpdateName applyUpdate Id + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the ApplyUpdateInner object + */ + public Observable getAsync(String resourceGroupName, String providerName, String resourceType, String resourceName, String applyUpdateName) { + return getWithServiceResponseAsync(resourceGroupName, providerName, resourceType, resourceName, applyUpdateName).map(new Func1, ApplyUpdateInner>() { + @Override + public ApplyUpdateInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Track Updates to resource. + * Track maintenance updates to resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param applyUpdateName applyUpdate Id + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the ApplyUpdateInner object + */ + public Observable> getWithServiceResponseAsync(String resourceGroupName, String providerName, String resourceType, String resourceName, String applyUpdateName) { + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (providerName == null) { + throw new IllegalArgumentException("Parameter providerName is required and cannot be null."); + } + if (resourceType == null) { + throw new IllegalArgumentException("Parameter resourceType is required and cannot be null."); + } + if (resourceName == null) { + throw new IllegalArgumentException("Parameter resourceName is required and cannot be null."); + } + if (applyUpdateName == null) { + throw new IllegalArgumentException("Parameter applyUpdateName is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.get(this.client.subscriptionId(), resourceGroupName, providerName, resourceType, resourceName, applyUpdateName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Apply Updates to resource with parent. + * Apply maintenance updates to resource with parent. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the ApplyUpdateInner object if successful. + */ + public ApplyUpdateInner createOrUpdateParent(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName) { + return createOrUpdateParentWithServiceResponseAsync(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName).toBlocking().single().body(); + } + + /** + * Apply Updates to resource with parent. + * Apply maintenance updates to resource with parent. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture createOrUpdateParentAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createOrUpdateParentWithServiceResponseAsync(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName), serviceCallback); + } + + /** + * Apply Updates to resource with parent. + * Apply maintenance updates to resource with parent. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the ApplyUpdateInner object + */ + public Observable createOrUpdateParentAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName) { + return createOrUpdateParentWithServiceResponseAsync(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName).map(new Func1, ApplyUpdateInner>() { + @Override + public ApplyUpdateInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Apply Updates to resource with parent. + * Apply maintenance updates to resource with parent. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the ApplyUpdateInner object + */ + public Observable> createOrUpdateParentWithServiceResponseAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName) { + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (providerName == null) { + throw new IllegalArgumentException("Parameter providerName is required and cannot be null."); + } + if (resourceParentType == null) { + throw new IllegalArgumentException("Parameter resourceParentType is required and cannot be null."); + } + if (resourceParentName == null) { + throw new IllegalArgumentException("Parameter resourceParentName is required and cannot be null."); + } + if (resourceType == null) { + throw new IllegalArgumentException("Parameter resourceType is required and cannot be null."); + } + if (resourceName == null) { + throw new IllegalArgumentException("Parameter resourceName is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.createOrUpdateParent(this.client.subscriptionId(), resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = createOrUpdateParentDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse createOrUpdateParentDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Apply Updates to resource. + * Apply maintenance updates to resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the ApplyUpdateInner object if successful. + */ + public ApplyUpdateInner createOrUpdate(String resourceGroupName, String providerName, String resourceType, String resourceName) { + return createOrUpdateWithServiceResponseAsync(resourceGroupName, providerName, resourceType, resourceName).toBlocking().single().body(); + } + + /** + * Apply Updates to resource. + * Apply maintenance updates to resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture createOrUpdateAsync(String resourceGroupName, String providerName, String resourceType, String resourceName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createOrUpdateWithServiceResponseAsync(resourceGroupName, providerName, resourceType, resourceName), serviceCallback); + } + + /** + * Apply Updates to resource. + * Apply maintenance updates to resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the ApplyUpdateInner object + */ + public Observable createOrUpdateAsync(String resourceGroupName, String providerName, String resourceType, String resourceName) { + return createOrUpdateWithServiceResponseAsync(resourceGroupName, providerName, resourceType, resourceName).map(new Func1, ApplyUpdateInner>() { + @Override + public ApplyUpdateInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Apply Updates to resource. + * Apply maintenance updates to resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the ApplyUpdateInner object + */ + public Observable> createOrUpdateWithServiceResponseAsync(String resourceGroupName, String providerName, String resourceType, String resourceName) { + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (providerName == null) { + throw new IllegalArgumentException("Parameter providerName is required and cannot be null."); + } + if (resourceType == null) { + throw new IllegalArgumentException("Parameter resourceType is required and cannot be null."); + } + if (resourceName == null) { + throw new IllegalArgumentException("Parameter resourceName is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.createOrUpdate(this.client.subscriptionId(), resourceGroupName, providerName, resourceType, resourceName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = createOrUpdateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse createOrUpdateDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ConfigurationAssignmentImpl.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ConfigurationAssignmentImpl.java new file mode 100644 index 000000000000..d00b3ac2ee85 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ConfigurationAssignmentImpl.java @@ -0,0 +1,159 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.ConfigurationAssignment; +import com.microsoft.azure.arm.model.implementation.CreatableUpdatableImpl; +import rx.Observable; + +class ConfigurationAssignmentImpl extends CreatableUpdatableImpl implements ConfigurationAssignment, ConfigurationAssignment.Definition, ConfigurationAssignment.Update { + private final MaintenanceManager manager; + private String resourceGroupName; + private String providerName; + private String resourceParentType; + private String resourceParentName; + private String resourceType; + private String resourceName; + private String configurationAssignmentName; + + ConfigurationAssignmentImpl(String name, MaintenanceManager manager) { + super(name, new ConfigurationAssignmentInner()); + this.manager = manager; + // Set resource name + this.configurationAssignmentName = name; + // + } + + ConfigurationAssignmentImpl(ConfigurationAssignmentInner inner, MaintenanceManager manager) { + super(inner.name(), inner); + this.manager = manager; + // Set resource name + this.configurationAssignmentName = inner.name(); + // set resource ancestor and positional variables + this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourcegroups"); + this.providerName = IdParsingUtils.getValueFromIdByName(inner.id(), "providers"); + this.configurationAssignmentName = IdParsingUtils.getValueFromIdByName(inner.id(), "configurationAssignments"); + this.resourceParentType = IdParsingUtils.getValueFromIdByPosition(inner.id(), 6); + this.resourceParentName = IdParsingUtils.getValueFromIdByPosition(inner.id(), 7); + this.resourceType = IdParsingUtils.getValueFromIdByPosition(inner.id(), 8); + this.resourceName = IdParsingUtils.getValueFromIdByPosition(inner.id(), 9); + // + } + + @Override + public MaintenanceManager manager() { + return this.manager; + } + + @Override + public Observable createResourceAsync() { + ConfigurationAssignmentsInner client = this.manager().inner().configurationAssignments(); + return client.createOrUpdateParentAsync(this.resourceGroupName, this.providerName, this.resourceParentType, this.resourceParentName, this.resourceType, this.resourceName, this.configurationAssignmentName, this.inner()) + .map(innerToFluentMap(this)); + } + + @Override + public Observable updateResourceAsync() { + ConfigurationAssignmentsInner client = this.manager().inner().configurationAssignments(); + return client.createOrUpdateParentAsync(this.resourceGroupName, this.providerName, this.resourceParentType, this.resourceParentName, this.resourceType, this.resourceName, this.configurationAssignmentName, this.inner()) + .map(innerToFluentMap(this)); + } + + @Override + protected Observable getInnerAsync() { + ConfigurationAssignmentsInner client = this.manager().inner().configurationAssignments(); + return null; // NOP getInnerAsync implementation as get is not supported + } + + @Override + public boolean isInCreateMode() { + return this.inner().id() == null; + } + + + @Override + public String id() { + return this.inner().id(); + } + + @Override + public String location() { + return this.inner().location(); + } + + @Override + public String maintenanceConfigurationId() { + return this.inner().maintenanceConfigurationId(); + } + + @Override + public String name() { + return this.inner().name(); + } + + @Override + public String resourceId() { + return this.inner().resourceId(); + } + + @Override + public String type() { + return this.inner().type(); + } + + @Override + public ConfigurationAssignmentImpl withExistingProvider(String resourceGroupName, String providerName) { + this.resourceGroupName = resourceGroupName; + this.providerName = providerName; + return this; + } + + @Override + public ConfigurationAssignmentImpl withResourceParentType(String resourceParentType) { + this.resourceParentType = resourceParentType; + return this; + } + + @Override + public ConfigurationAssignmentImpl withResourceParentName(String resourceParentName) { + this.resourceParentName = resourceParentName; + return this; + } + + @Override + public ConfigurationAssignmentImpl withResourceType(String resourceType) { + this.resourceType = resourceType; + return this; + } + + @Override + public ConfigurationAssignmentImpl withResourceName(String resourceName) { + this.resourceName = resourceName; + return this; + } + + @Override + public ConfigurationAssignmentImpl withLocation(String location) { + this.inner().withLocation(location); + return this; + } + + @Override + public ConfigurationAssignmentImpl withMaintenanceConfigurationId(String maintenanceConfigurationId) { + this.inner().withMaintenanceConfigurationId(maintenanceConfigurationId); + return this; + } + + @Override + public ConfigurationAssignmentImpl withResourceId(String resourceId) { + this.inner().withResourceId(resourceId); + return this; + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ConfigurationAssignmentInner.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ConfigurationAssignmentInner.java new file mode 100644 index 000000000000..ee87202bfd2a --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ConfigurationAssignmentInner.java @@ -0,0 +1,98 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.ProxyResource; + +/** + * Configuration Assignment. + */ +@JsonFlatten +public class ConfigurationAssignmentInner extends ProxyResource { + /** + * Location of the resource. + */ + @JsonProperty(value = "location") + private String location; + + /** + * The maintenance configuration Id. + */ + @JsonProperty(value = "properties.maintenanceConfigurationId") + private String maintenanceConfigurationId; + + /** + * The unique resourceId. + */ + @JsonProperty(value = "properties.resourceId") + private String resourceId; + + /** + * Get location of the resource. + * + * @return the location value + */ + public String location() { + return this.location; + } + + /** + * Set location of the resource. + * + * @param location the location value to set + * @return the ConfigurationAssignmentInner object itself. + */ + public ConfigurationAssignmentInner withLocation(String location) { + this.location = location; + return this; + } + + /** + * Get the maintenance configuration Id. + * + * @return the maintenanceConfigurationId value + */ + public String maintenanceConfigurationId() { + return this.maintenanceConfigurationId; + } + + /** + * Set the maintenance configuration Id. + * + * @param maintenanceConfigurationId the maintenanceConfigurationId value to set + * @return the ConfigurationAssignmentInner object itself. + */ + public ConfigurationAssignmentInner withMaintenanceConfigurationId(String maintenanceConfigurationId) { + this.maintenanceConfigurationId = maintenanceConfigurationId; + return this; + } + + /** + * Get the unique resourceId. + * + * @return the resourceId value + */ + public String resourceId() { + return this.resourceId; + } + + /** + * Set the unique resourceId. + * + * @param resourceId the resourceId value to set + * @return the ConfigurationAssignmentInner object itself. + */ + public ConfigurationAssignmentInner withResourceId(String resourceId) { + this.resourceId = resourceId; + return this; + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ConfigurationAssignmentsImpl.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ConfigurationAssignmentsImpl.java new file mode 100644 index 000000000000..ebc10f536dd0 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ConfigurationAssignmentsImpl.java @@ -0,0 +1,116 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import com.microsoft.azure.arm.model.implementation.WrapperImpl; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.ConfigurationAssignments; +import rx.functions.Func1; +import rx.Observable; +import java.util.List; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.ConfigurationAssignment; + +class ConfigurationAssignmentsImpl extends WrapperImpl implements ConfigurationAssignments { + private final MaintenanceManager manager; + + ConfigurationAssignmentsImpl(MaintenanceManager manager) { + super(manager.inner().configurationAssignments()); + this.manager = manager; + } + + public MaintenanceManager manager() { + return this.manager; + } + + @Override + public ConfigurationAssignmentImpl define(String name) { + return wrapModel(name); + } + + private ConfigurationAssignmentImpl wrapModel(ConfigurationAssignmentInner inner) { + return new ConfigurationAssignmentImpl(inner, manager()); + } + + private ConfigurationAssignmentImpl wrapModel(String name) { + return new ConfigurationAssignmentImpl(name, this.manager()); + } + + @Override + public Observable deleteParentAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName, String configurationAssignmentName) { + ConfigurationAssignmentsInner client = this.inner(); + return client.deleteParentAsync(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, configurationAssignmentName) + .map(new Func1() { + @Override + public ConfigurationAssignment call(ConfigurationAssignmentInner inner) { + return new ConfigurationAssignmentImpl(inner, manager()); + } + }); + } + + @Override + public Observable createOrUpdateAsync(String resourceGroupName, String providerName, String resourceType, String resourceName, String configurationAssignmentName, ConfigurationAssignmentInner configurationAssignment) { + ConfigurationAssignmentsInner client = this.inner(); + return client.createOrUpdateAsync(resourceGroupName, providerName, resourceType, resourceName, configurationAssignmentName, configurationAssignment) + .map(new Func1() { + @Override + public ConfigurationAssignment call(ConfigurationAssignmentInner inner) { + return new ConfigurationAssignmentImpl(inner, manager()); + } + }); + } + + @Override + public Observable deleteAsync(String resourceGroupName, String providerName, String resourceType, String resourceName, String configurationAssignmentName) { + ConfigurationAssignmentsInner client = this.inner(); + return client.deleteAsync(resourceGroupName, providerName, resourceType, resourceName, configurationAssignmentName) + .map(new Func1() { + @Override + public ConfigurationAssignment call(ConfigurationAssignmentInner inner) { + return new ConfigurationAssignmentImpl(inner, manager()); + } + }); + } + + @Override + public Observable listParentAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName) { + ConfigurationAssignmentsInner client = this.inner(); + return client.listParentAsync(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName) + .flatMap(new Func1, Observable>() { + @Override + public Observable call(List innerList) { + return Observable.from(innerList); + } + }) + .map(new Func1() { + @Override + public ConfigurationAssignment call(ConfigurationAssignmentInner inner) { + return new ConfigurationAssignmentImpl(inner, manager()); + } + }); + } + + @Override + public Observable listAsync(String resourceGroupName, String providerName, String resourceType, String resourceName) { + ConfigurationAssignmentsInner client = this.inner(); + return client.listAsync(resourceGroupName, providerName, resourceType, resourceName) + .flatMap(new Func1, Observable>() { + @Override + public Observable call(List innerList) { + return Observable.from(innerList); + } + }) + .map(new Func1() { + @Override + public ConfigurationAssignment call(ConfigurationAssignmentInner inner) { + return new ConfigurationAssignmentImpl(inner, manager()); + } + }); + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ConfigurationAssignmentsInner.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ConfigurationAssignmentsInner.java new file mode 100644 index 000000000000..0635e4044ff8 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/ConfigurationAssignmentsInner.java @@ -0,0 +1,805 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import retrofit2.Retrofit; +import com.google.common.reflect.TypeToken; +import com.microsoft.azure.CloudException; +import com.microsoft.rest.ServiceCallback; +import com.microsoft.rest.ServiceFuture; +import com.microsoft.rest.ServiceResponse; +import com.microsoft.rest.Validator; +import java.io.IOException; +import java.util.List; +import okhttp3.ResponseBody; +import retrofit2.http.Body; +import retrofit2.http.GET; +import retrofit2.http.Header; +import retrofit2.http.Headers; +import retrofit2.http.HTTP; +import retrofit2.http.Path; +import retrofit2.http.PUT; +import retrofit2.http.Query; +import retrofit2.Response; +import rx.functions.Func1; +import rx.Observable; + +/** + * An instance of this class provides access to all the operations defined + * in ConfigurationAssignments. + */ +public class ConfigurationAssignmentsInner { + /** The Retrofit service to perform REST calls. */ + private ConfigurationAssignmentsService service; + /** The service client containing this operation class. */ + private MaintenanceManagementClientImpl client; + + /** + * Initializes an instance of ConfigurationAssignmentsInner. + * + * @param retrofit the Retrofit instance built from a Retrofit Builder. + * @param client the instance of the service client containing this operation class. + */ + public ConfigurationAssignmentsInner(Retrofit retrofit, MaintenanceManagementClientImpl client) { + this.service = retrofit.create(ConfigurationAssignmentsService.class); + this.client = client; + } + + /** + * The interface defining all the services for ConfigurationAssignments to be + * used by Retrofit to perform actually REST calls. + */ + interface ConfigurationAssignmentsService { + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.maintenance.v2018_06_01_preview.ConfigurationAssignments createOrUpdateParent" }) + @PUT("subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}") + Observable> createOrUpdateParent(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("providerName") String providerName, @Path("resourceParentType") String resourceParentType, @Path("resourceParentName") String resourceParentName, @Path("resourceType") String resourceType, @Path("resourceName") String resourceName, @Path("configurationAssignmentName") String configurationAssignmentName, @Body ConfigurationAssignmentInner configurationAssignment, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.maintenance.v2018_06_01_preview.ConfigurationAssignments deleteParent" }) + @HTTP(path = "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}", method = "DELETE", hasBody = true) + Observable> deleteParent(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("providerName") String providerName, @Path("resourceParentType") String resourceParentType, @Path("resourceParentName") String resourceParentName, @Path("resourceType") String resourceType, @Path("resourceName") String resourceName, @Path("configurationAssignmentName") String configurationAssignmentName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.maintenance.v2018_06_01_preview.ConfigurationAssignments createOrUpdate" }) + @PUT("subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}") + Observable> createOrUpdate(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("providerName") String providerName, @Path("resourceType") String resourceType, @Path("resourceName") String resourceName, @Path("configurationAssignmentName") String configurationAssignmentName, @Body ConfigurationAssignmentInner configurationAssignment, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.maintenance.v2018_06_01_preview.ConfigurationAssignments delete" }) + @HTTP(path = "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments/{configurationAssignmentName}", method = "DELETE", hasBody = true) + Observable> delete(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("providerName") String providerName, @Path("resourceType") String resourceType, @Path("resourceName") String resourceName, @Path("configurationAssignmentName") String configurationAssignmentName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.maintenance.v2018_06_01_preview.ConfigurationAssignments listParent" }) + @GET("subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments") + Observable> listParent(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("providerName") String providerName, @Path("resourceParentType") String resourceParentType, @Path("resourceParentName") String resourceParentName, @Path("resourceType") String resourceType, @Path("resourceName") String resourceName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.maintenance.v2018_06_01_preview.ConfigurationAssignments list" }) + @GET("subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/configurationAssignments") + Observable> list(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("providerName") String providerName, @Path("resourceType") String resourceType, @Path("resourceName") String resourceName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + } + + /** + * Create configuration assignment. + * Register configuration for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param configurationAssignmentName Configuration assignment name + * @param configurationAssignment The configurationAssignment + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the ConfigurationAssignmentInner object if successful. + */ + public ConfigurationAssignmentInner createOrUpdateParent(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName, String configurationAssignmentName, ConfigurationAssignmentInner configurationAssignment) { + return createOrUpdateParentWithServiceResponseAsync(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, configurationAssignmentName, configurationAssignment).toBlocking().single().body(); + } + + /** + * Create configuration assignment. + * Register configuration for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param configurationAssignmentName Configuration assignment name + * @param configurationAssignment The configurationAssignment + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture createOrUpdateParentAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName, String configurationAssignmentName, ConfigurationAssignmentInner configurationAssignment, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createOrUpdateParentWithServiceResponseAsync(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, configurationAssignmentName, configurationAssignment), serviceCallback); + } + + /** + * Create configuration assignment. + * Register configuration for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param configurationAssignmentName Configuration assignment name + * @param configurationAssignment The configurationAssignment + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the ConfigurationAssignmentInner object + */ + public Observable createOrUpdateParentAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName, String configurationAssignmentName, ConfigurationAssignmentInner configurationAssignment) { + return createOrUpdateParentWithServiceResponseAsync(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, configurationAssignmentName, configurationAssignment).map(new Func1, ConfigurationAssignmentInner>() { + @Override + public ConfigurationAssignmentInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Create configuration assignment. + * Register configuration for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param configurationAssignmentName Configuration assignment name + * @param configurationAssignment The configurationAssignment + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the ConfigurationAssignmentInner object + */ + public Observable> createOrUpdateParentWithServiceResponseAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName, String configurationAssignmentName, ConfigurationAssignmentInner configurationAssignment) { + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (providerName == null) { + throw new IllegalArgumentException("Parameter providerName is required and cannot be null."); + } + if (resourceParentType == null) { + throw new IllegalArgumentException("Parameter resourceParentType is required and cannot be null."); + } + if (resourceParentName == null) { + throw new IllegalArgumentException("Parameter resourceParentName is required and cannot be null."); + } + if (resourceType == null) { + throw new IllegalArgumentException("Parameter resourceType is required and cannot be null."); + } + if (resourceName == null) { + throw new IllegalArgumentException("Parameter resourceName is required and cannot be null."); + } + if (configurationAssignmentName == null) { + throw new IllegalArgumentException("Parameter configurationAssignmentName is required and cannot be null."); + } + if (configurationAssignment == null) { + throw new IllegalArgumentException("Parameter configurationAssignment is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + Validator.validate(configurationAssignment); + return service.createOrUpdateParent(this.client.subscriptionId(), resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, configurationAssignmentName, configurationAssignment, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = createOrUpdateParentDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse createOrUpdateParentDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Unregister configuration for resource. + * Unregister configuration for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param configurationAssignmentName Unique configuration assignment name + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the ConfigurationAssignmentInner object if successful. + */ + public ConfigurationAssignmentInner deleteParent(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName, String configurationAssignmentName) { + return deleteParentWithServiceResponseAsync(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, configurationAssignmentName).toBlocking().single().body(); + } + + /** + * Unregister configuration for resource. + * Unregister configuration for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param configurationAssignmentName Unique configuration assignment name + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture deleteParentAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName, String configurationAssignmentName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteParentWithServiceResponseAsync(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, configurationAssignmentName), serviceCallback); + } + + /** + * Unregister configuration for resource. + * Unregister configuration for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param configurationAssignmentName Unique configuration assignment name + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the ConfigurationAssignmentInner object + */ + public Observable deleteParentAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName, String configurationAssignmentName) { + return deleteParentWithServiceResponseAsync(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, configurationAssignmentName).map(new Func1, ConfigurationAssignmentInner>() { + @Override + public ConfigurationAssignmentInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Unregister configuration for resource. + * Unregister configuration for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param configurationAssignmentName Unique configuration assignment name + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the ConfigurationAssignmentInner object + */ + public Observable> deleteParentWithServiceResponseAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName, String configurationAssignmentName) { + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (providerName == null) { + throw new IllegalArgumentException("Parameter providerName is required and cannot be null."); + } + if (resourceParentType == null) { + throw new IllegalArgumentException("Parameter resourceParentType is required and cannot be null."); + } + if (resourceParentName == null) { + throw new IllegalArgumentException("Parameter resourceParentName is required and cannot be null."); + } + if (resourceType == null) { + throw new IllegalArgumentException("Parameter resourceType is required and cannot be null."); + } + if (resourceName == null) { + throw new IllegalArgumentException("Parameter resourceName is required and cannot be null."); + } + if (configurationAssignmentName == null) { + throw new IllegalArgumentException("Parameter configurationAssignmentName is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.deleteParent(this.client.subscriptionId(), resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, configurationAssignmentName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = deleteParentDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse deleteParentDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Create configuration assignment. + * Register configuration for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param configurationAssignmentName Configuration assignment name + * @param configurationAssignment The configurationAssignment + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the ConfigurationAssignmentInner object if successful. + */ + public ConfigurationAssignmentInner createOrUpdate(String resourceGroupName, String providerName, String resourceType, String resourceName, String configurationAssignmentName, ConfigurationAssignmentInner configurationAssignment) { + return createOrUpdateWithServiceResponseAsync(resourceGroupName, providerName, resourceType, resourceName, configurationAssignmentName, configurationAssignment).toBlocking().single().body(); + } + + /** + * Create configuration assignment. + * Register configuration for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param configurationAssignmentName Configuration assignment name + * @param configurationAssignment The configurationAssignment + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture createOrUpdateAsync(String resourceGroupName, String providerName, String resourceType, String resourceName, String configurationAssignmentName, ConfigurationAssignmentInner configurationAssignment, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createOrUpdateWithServiceResponseAsync(resourceGroupName, providerName, resourceType, resourceName, configurationAssignmentName, configurationAssignment), serviceCallback); + } + + /** + * Create configuration assignment. + * Register configuration for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param configurationAssignmentName Configuration assignment name + * @param configurationAssignment The configurationAssignment + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the ConfigurationAssignmentInner object + */ + public Observable createOrUpdateAsync(String resourceGroupName, String providerName, String resourceType, String resourceName, String configurationAssignmentName, ConfigurationAssignmentInner configurationAssignment) { + return createOrUpdateWithServiceResponseAsync(resourceGroupName, providerName, resourceType, resourceName, configurationAssignmentName, configurationAssignment).map(new Func1, ConfigurationAssignmentInner>() { + @Override + public ConfigurationAssignmentInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Create configuration assignment. + * Register configuration for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param configurationAssignmentName Configuration assignment name + * @param configurationAssignment The configurationAssignment + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the ConfigurationAssignmentInner object + */ + public Observable> createOrUpdateWithServiceResponseAsync(String resourceGroupName, String providerName, String resourceType, String resourceName, String configurationAssignmentName, ConfigurationAssignmentInner configurationAssignment) { + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (providerName == null) { + throw new IllegalArgumentException("Parameter providerName is required and cannot be null."); + } + if (resourceType == null) { + throw new IllegalArgumentException("Parameter resourceType is required and cannot be null."); + } + if (resourceName == null) { + throw new IllegalArgumentException("Parameter resourceName is required and cannot be null."); + } + if (configurationAssignmentName == null) { + throw new IllegalArgumentException("Parameter configurationAssignmentName is required and cannot be null."); + } + if (configurationAssignment == null) { + throw new IllegalArgumentException("Parameter configurationAssignment is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + Validator.validate(configurationAssignment); + return service.createOrUpdate(this.client.subscriptionId(), resourceGroupName, providerName, resourceType, resourceName, configurationAssignmentName, configurationAssignment, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = createOrUpdateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse createOrUpdateDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Unregister configuration for resource. + * Unregister configuration for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param configurationAssignmentName Unique configuration assignment name + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the ConfigurationAssignmentInner object if successful. + */ + public ConfigurationAssignmentInner delete(String resourceGroupName, String providerName, String resourceType, String resourceName, String configurationAssignmentName) { + return deleteWithServiceResponseAsync(resourceGroupName, providerName, resourceType, resourceName, configurationAssignmentName).toBlocking().single().body(); + } + + /** + * Unregister configuration for resource. + * Unregister configuration for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param configurationAssignmentName Unique configuration assignment name + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture deleteAsync(String resourceGroupName, String providerName, String resourceType, String resourceName, String configurationAssignmentName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteWithServiceResponseAsync(resourceGroupName, providerName, resourceType, resourceName, configurationAssignmentName), serviceCallback); + } + + /** + * Unregister configuration for resource. + * Unregister configuration for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param configurationAssignmentName Unique configuration assignment name + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the ConfigurationAssignmentInner object + */ + public Observable deleteAsync(String resourceGroupName, String providerName, String resourceType, String resourceName, String configurationAssignmentName) { + return deleteWithServiceResponseAsync(resourceGroupName, providerName, resourceType, resourceName, configurationAssignmentName).map(new Func1, ConfigurationAssignmentInner>() { + @Override + public ConfigurationAssignmentInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Unregister configuration for resource. + * Unregister configuration for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param configurationAssignmentName Unique configuration assignment name + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the ConfigurationAssignmentInner object + */ + public Observable> deleteWithServiceResponseAsync(String resourceGroupName, String providerName, String resourceType, String resourceName, String configurationAssignmentName) { + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (providerName == null) { + throw new IllegalArgumentException("Parameter providerName is required and cannot be null."); + } + if (resourceType == null) { + throw new IllegalArgumentException("Parameter resourceType is required and cannot be null."); + } + if (resourceName == null) { + throw new IllegalArgumentException("Parameter resourceName is required and cannot be null."); + } + if (configurationAssignmentName == null) { + throw new IllegalArgumentException("Parameter configurationAssignmentName is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.delete(this.client.subscriptionId(), resourceGroupName, providerName, resourceType, resourceName, configurationAssignmentName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = deleteDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse deleteDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * List configurationAssignments for resource. + * List configurationAssignments for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the List<ConfigurationAssignmentInner> object if successful. + */ + public List listParent(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName) { + return listParentWithServiceResponseAsync(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName).toBlocking().single().body(); + } + + /** + * List configurationAssignments for resource. + * List configurationAssignments for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listParentAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName, final ServiceCallback> serviceCallback) { + return ServiceFuture.fromResponse(listParentWithServiceResponseAsync(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName), serviceCallback); + } + + /** + * List configurationAssignments for resource. + * List configurationAssignments for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<ConfigurationAssignmentInner> object + */ + public Observable> listParentAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName) { + return listParentWithServiceResponseAsync(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName).map(new Func1>, List>() { + @Override + public List call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List configurationAssignments for resource. + * List configurationAssignments for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<ConfigurationAssignmentInner> object + */ + public Observable>> listParentWithServiceResponseAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName) { + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (providerName == null) { + throw new IllegalArgumentException("Parameter providerName is required and cannot be null."); + } + if (resourceParentType == null) { + throw new IllegalArgumentException("Parameter resourceParentType is required and cannot be null."); + } + if (resourceParentName == null) { + throw new IllegalArgumentException("Parameter resourceParentName is required and cannot be null."); + } + if (resourceType == null) { + throw new IllegalArgumentException("Parameter resourceType is required and cannot be null."); + } + if (resourceName == null) { + throw new IllegalArgumentException("Parameter resourceName is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.listParent(this.client.subscriptionId(), resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listParentDelegate(response); + List items = null; + if (result.body() != null) { + items = result.body().items(); + } + ServiceResponse> clientResponse = new ServiceResponse>(items, result.response()); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> listParentDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * List configurationAssignments for resource. + * List configurationAssignments for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the List<ConfigurationAssignmentInner> object if successful. + */ + public List list(String resourceGroupName, String providerName, String resourceType, String resourceName) { + return listWithServiceResponseAsync(resourceGroupName, providerName, resourceType, resourceName).toBlocking().single().body(); + } + + /** + * List configurationAssignments for resource. + * List configurationAssignments for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listAsync(String resourceGroupName, String providerName, String resourceType, String resourceName, final ServiceCallback> serviceCallback) { + return ServiceFuture.fromResponse(listWithServiceResponseAsync(resourceGroupName, providerName, resourceType, resourceName), serviceCallback); + } + + /** + * List configurationAssignments for resource. + * List configurationAssignments for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<ConfigurationAssignmentInner> object + */ + public Observable> listAsync(String resourceGroupName, String providerName, String resourceType, String resourceName) { + return listWithServiceResponseAsync(resourceGroupName, providerName, resourceType, resourceName).map(new Func1>, List>() { + @Override + public List call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List configurationAssignments for resource. + * List configurationAssignments for resource. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<ConfigurationAssignmentInner> object + */ + public Observable>> listWithServiceResponseAsync(String resourceGroupName, String providerName, String resourceType, String resourceName) { + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (providerName == null) { + throw new IllegalArgumentException("Parameter providerName is required and cannot be null."); + } + if (resourceType == null) { + throw new IllegalArgumentException("Parameter resourceType is required and cannot be null."); + } + if (resourceName == null) { + throw new IllegalArgumentException("Parameter resourceName is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.list(this.client.subscriptionId(), resourceGroupName, providerName, resourceType, resourceName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listDelegate(response); + List items = null; + if (result.body() != null) { + items = result.body().items(); + } + ServiceResponse> clientResponse = new ServiceResponse>(items, result.response()); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> listDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/IdParsingUtils.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/IdParsingUtils.java new file mode 100644 index 000000000000..5ddb8804ce8d --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/IdParsingUtils.java @@ -0,0 +1,57 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; +import java.util.Arrays; +import java.util.Iterator; + +class IdParsingUtils { + public static String getValueFromIdByName(String id, String name) { + if (id == null) { + return null; + } + Iterable iterable = Arrays.asList(id.split("/")); + Iterator itr = iterable.iterator(); + while (itr.hasNext()) { + String part = itr.next(); + if (part != null && part.trim() != "") { + if (part.equalsIgnoreCase(name)) { + if (itr.hasNext()) { + return itr.next(); + } else { + return null; + } + } + } + } + return null; + } + + public static String getValueFromIdByPosition(String id, int pos) { + if (id == null) { + return null; + } + Iterable iterable = Arrays.asList(id.split("/")); + Iterator itr = iterable.iterator(); + int index = 0; + while (itr.hasNext()) { + String part = itr.next(); + if (part != null && part.trim() != "") { + if (index == pos) { + if (itr.hasNext()) { + return itr.next(); + } else { + return null; + } + } + } + index++; + } + return null; + } +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/MaintenanceConfigurationImpl.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/MaintenanceConfigurationImpl.java new file mode 100644 index 000000000000..e05f7aad82dc --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/MaintenanceConfigurationImpl.java @@ -0,0 +1,81 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import com.microsoft.azure.arm.resources.models.implementation.GroupableResourceCoreImpl; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.MaintenanceConfiguration; +import rx.Observable; +import java.util.Map; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.MaintenanceScope; + +class MaintenanceConfigurationImpl extends GroupableResourceCoreImpl implements MaintenanceConfiguration, MaintenanceConfiguration.Definition, MaintenanceConfiguration.Update { + MaintenanceConfigurationImpl(String name, MaintenanceConfigurationInner inner, MaintenanceManager manager) { + super(name, inner, manager); + } + + @Override + public Observable createResourceAsync() { + MaintenanceConfigurationsInner client = this.manager().inner().maintenanceConfigurations(); + return client.createOrUpdateAsync(this.resourceGroupName(), this.name(), this.inner()) + .map(innerToFluentMap(this)); + } + + @Override + public Observable updateResourceAsync() { + MaintenanceConfigurationsInner client = this.manager().inner().maintenanceConfigurations(); + return client.updateMethodAsync(this.resourceGroupName(), this.name(), this.inner()) + .map(innerToFluentMap(this)); + } + + @Override + protected Observable getInnerAsync() { + MaintenanceConfigurationsInner client = this.manager().inner().maintenanceConfigurations(); + return client.getByResourceGroupAsync(this.resourceGroupName(), this.name()); + } + + @Override + public boolean isInCreateMode() { + return this.inner().id() == null; + } + + + @Override + public Map extensionProperties() { + return this.inner().extensionProperties(); + } + + @Override + public MaintenanceScope maintenanceScope() { + return this.inner().maintenanceScope(); + } + + @Override + public String namespace() { + return this.inner().namespace(); + } + + @Override + public MaintenanceConfigurationImpl withExtensionProperties(Map extensionProperties) { + this.inner().withExtensionProperties(extensionProperties); + return this; + } + + @Override + public MaintenanceConfigurationImpl withMaintenanceScope(MaintenanceScope maintenanceScope) { + this.inner().withMaintenanceScope(maintenanceScope); + return this; + } + + @Override + public MaintenanceConfigurationImpl withNamespace(String namespace) { + this.inner().withNamespace(namespace); + return this; + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/MaintenanceConfigurationInner.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/MaintenanceConfigurationInner.java new file mode 100644 index 000000000000..349151b613ed --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/MaintenanceConfigurationInner.java @@ -0,0 +1,153 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import java.util.Map; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.MaintenanceScope; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; +import com.microsoft.azure.Resource; + +/** + * Maintenance configuration record type. + */ +@JsonFlatten +public class MaintenanceConfigurationInner extends Resource { + /** + * Gets or sets location of the resource. + */ + @JsonProperty(value = "location") + private String location; + + /** + * Gets or sets tags of the resource. + */ + @JsonProperty(value = "tags") + private Map tags; + + /** + * Gets or sets namespace of the resource. + */ + @JsonProperty(value = "properties.namespace") + private String namespace; + + /** + * Gets or sets extensionProperties of the maintenanceConfiguration. + */ + @JsonProperty(value = "properties.extensionProperties") + private Map extensionProperties; + + /** + * Gets or sets maintenanceScope of the configuration. Possible values + * include: 'All', 'Host', 'Resource', 'InResource'. + */ + @JsonProperty(value = "properties.maintenanceScope") + private MaintenanceScope maintenanceScope; + + /** + * Get gets or sets location of the resource. + * + * @return the location value + */ + public String location() { + return this.location; + } + + /** + * Set gets or sets location of the resource. + * + * @param location the location value to set + * @return the MaintenanceConfigurationInner object itself. + */ + public MaintenanceConfigurationInner withLocation(String location) { + this.location = location; + return this; + } + + /** + * Get gets or sets tags of the resource. + * + * @return the tags value + */ + public Map tags() { + return this.tags; + } + + /** + * Set gets or sets tags of the resource. + * + * @param tags the tags value to set + * @return the MaintenanceConfigurationInner object itself. + */ + public MaintenanceConfigurationInner withTags(Map tags) { + this.tags = tags; + return this; + } + + /** + * Get gets or sets namespace of the resource. + * + * @return the namespace value + */ + public String namespace() { + return this.namespace; + } + + /** + * Set gets or sets namespace of the resource. + * + * @param namespace the namespace value to set + * @return the MaintenanceConfigurationInner object itself. + */ + public MaintenanceConfigurationInner withNamespace(String namespace) { + this.namespace = namespace; + return this; + } + + /** + * Get gets or sets extensionProperties of the maintenanceConfiguration. + * + * @return the extensionProperties value + */ + public Map extensionProperties() { + return this.extensionProperties; + } + + /** + * Set gets or sets extensionProperties of the maintenanceConfiguration. + * + * @param extensionProperties the extensionProperties value to set + * @return the MaintenanceConfigurationInner object itself. + */ + public MaintenanceConfigurationInner withExtensionProperties(Map extensionProperties) { + this.extensionProperties = extensionProperties; + return this; + } + + /** + * Get gets or sets maintenanceScope of the configuration. Possible values include: 'All', 'Host', 'Resource', 'InResource'. + * + * @return the maintenanceScope value + */ + public MaintenanceScope maintenanceScope() { + return this.maintenanceScope; + } + + /** + * Set gets or sets maintenanceScope of the configuration. Possible values include: 'All', 'Host', 'Resource', 'InResource'. + * + * @param maintenanceScope the maintenanceScope value to set + * @return the MaintenanceConfigurationInner object itself. + */ + public MaintenanceConfigurationInner withMaintenanceScope(MaintenanceScope maintenanceScope) { + this.maintenanceScope = maintenanceScope; + return this; + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/MaintenanceConfigurationsImpl.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/MaintenanceConfigurationsImpl.java new file mode 100644 index 000000000000..f5da8f539e2d --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/MaintenanceConfigurationsImpl.java @@ -0,0 +1,114 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * def + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import com.microsoft.azure.arm.resources.collection.implementation.GroupableResourcesCoreImpl; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.MaintenanceConfigurations; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.MaintenanceConfiguration; +import rx.Observable; +import rx.Completable; +import java.util.ArrayList; +import java.util.Arrays; +import java.util.Collection; +import com.microsoft.azure.arm.resources.ResourceUtilsCore; +import com.microsoft.azure.arm.utils.RXMapper; +import rx.functions.Func1; +import com.microsoft.azure.PagedList; +import com.microsoft.azure.Page; + +class MaintenanceConfigurationsImpl extends GroupableResourcesCoreImpl implements MaintenanceConfigurations { + protected MaintenanceConfigurationsImpl(MaintenanceManager manager) { + super(manager.inner().maintenanceConfigurations(), manager); + } + + @Override + protected Observable getInnerAsync(String resourceGroupName, String name) { + MaintenanceConfigurationsInner client = this.inner(); + return client.getByResourceGroupAsync(resourceGroupName, name); + } + + @Override + protected Completable deleteInnerAsync(String resourceGroupName, String name) { + MaintenanceConfigurationsInner client = this.inner(); + return client.deleteAsync(resourceGroupName, name).toCompletable(); + } + + @Override + public Observable deleteByIdsAsync(Collection ids) { + if (ids == null || ids.isEmpty()) { + return Observable.empty(); + } + Collection> observables = new ArrayList<>(); + for (String id : ids) { + final String resourceGroupName = ResourceUtilsCore.groupFromResourceId(id); + final String name = ResourceUtilsCore.nameFromResourceId(id); + Observable o = RXMapper.map(this.inner().deleteAsync(resourceGroupName, name), id); + observables.add(o); + } + return Observable.mergeDelayError(observables); + } + + @Override + public Observable deleteByIdsAsync(String...ids) { + return this.deleteByIdsAsync(new ArrayList(Arrays.asList(ids))); + } + + @Override + public void deleteByIds(Collection ids) { + if (ids != null && !ids.isEmpty()) { + this.deleteByIdsAsync(ids).toBlocking().last(); + } + } + + @Override + public void deleteByIds(String...ids) { + this.deleteByIds(new ArrayList(Arrays.asList(ids))); + } + + @Override + public PagedList list() { + MaintenanceConfigurationsInner client = this.inner(); + return this.wrapList(client.list()); + } + + @Override + public Observable listAsync() { + MaintenanceConfigurationsInner client = this.inner(); + return client.listAsync() + .flatMap(new Func1, Observable>() { + @Override + public Observable call(Page innerPage) { + return Observable.from(innerPage.items()); + } + }) + .map(new Func1() { + @Override + public MaintenanceConfiguration call(MaintenanceConfigurationInner inner) { + return wrapModel(inner); + } + }); + } + + @Override + public MaintenanceConfigurationImpl define(String name) { + return wrapModel(name); + } + + @Override + protected MaintenanceConfigurationImpl wrapModel(MaintenanceConfigurationInner inner) { + return new MaintenanceConfigurationImpl(inner.name(), inner, manager()); + } + + @Override + protected MaintenanceConfigurationImpl wrapModel(String name) { + return new MaintenanceConfigurationImpl(name, new MaintenanceConfigurationInner(), this.manager()); + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/MaintenanceConfigurationsInner.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/MaintenanceConfigurationsInner.java new file mode 100644 index 000000000000..dde8709e99fa --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/MaintenanceConfigurationsInner.java @@ -0,0 +1,527 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import com.microsoft.azure.arm.collection.InnerSupportsGet; +import com.microsoft.azure.arm.collection.InnerSupportsDelete; +import retrofit2.Retrofit; +import com.google.common.reflect.TypeToken; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.MaintenanceErrorException; +import com.microsoft.azure.Page; +import com.microsoft.azure.PagedList; +import com.microsoft.rest.ServiceCallback; +import com.microsoft.rest.ServiceFuture; +import com.microsoft.rest.ServiceResponse; +import com.microsoft.rest.Validator; +import java.io.IOException; +import java.util.List; +import okhttp3.ResponseBody; +import retrofit2.http.Body; +import retrofit2.http.GET; +import retrofit2.http.Header; +import retrofit2.http.Headers; +import retrofit2.http.HTTP; +import retrofit2.http.PATCH; +import retrofit2.http.Path; +import retrofit2.http.PUT; +import retrofit2.http.Query; +import retrofit2.Response; +import rx.functions.Func1; +import rx.Observable; + +/** + * An instance of this class provides access to all the operations defined + * in MaintenanceConfigurations. + */ +public class MaintenanceConfigurationsInner implements InnerSupportsGet, InnerSupportsDelete { + /** The Retrofit service to perform REST calls. */ + private MaintenanceConfigurationsService service; + /** The service client containing this operation class. */ + private MaintenanceManagementClientImpl client; + + /** + * Initializes an instance of MaintenanceConfigurationsInner. + * + * @param retrofit the Retrofit instance built from a Retrofit Builder. + * @param client the instance of the service client containing this operation class. + */ + public MaintenanceConfigurationsInner(Retrofit retrofit, MaintenanceManagementClientImpl client) { + this.service = retrofit.create(MaintenanceConfigurationsService.class); + this.client = client; + } + + /** + * The interface defining all the services for MaintenanceConfigurations to be + * used by Retrofit to perform actually REST calls. + */ + interface MaintenanceConfigurationsService { + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.maintenance.v2018_06_01_preview.MaintenanceConfigurations getByResourceGroup" }) + @GET("subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}") + Observable> getByResourceGroup(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("resourceName") String resourceName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.maintenance.v2018_06_01_preview.MaintenanceConfigurations createOrUpdate" }) + @PUT("subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}") + Observable> createOrUpdate(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("resourceName") String resourceName, @Body MaintenanceConfigurationInner configuration, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.maintenance.v2018_06_01_preview.MaintenanceConfigurations delete" }) + @HTTP(path = "subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}", method = "DELETE", hasBody = true) + Observable> delete(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("resourceName") String resourceName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.maintenance.v2018_06_01_preview.MaintenanceConfigurations updateMethod" }) + @PATCH("subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.Maintenance/maintenanceConfigurations/{resourceName}") + Observable> updateMethod(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("resourceName") String resourceName, @Body MaintenanceConfigurationInner configuration, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.maintenance.v2018_06_01_preview.MaintenanceConfigurations list" }) + @GET("subscriptions/{subscriptionId}/providers/Microsoft.Maintenance/maintenanceConfigurations") + Observable> list(@Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + } + + /** + * Get Configuration record. + * + * @param resourceGroupName Resource Group Name + * @param resourceName Resource Identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws MaintenanceErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the MaintenanceConfigurationInner object if successful. + */ + public MaintenanceConfigurationInner getByResourceGroup(String resourceGroupName, String resourceName) { + return getByResourceGroupWithServiceResponseAsync(resourceGroupName, resourceName).toBlocking().single().body(); + } + + /** + * Get Configuration record. + * + * @param resourceGroupName Resource Group Name + * @param resourceName Resource Identifier + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture getByResourceGroupAsync(String resourceGroupName, String resourceName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(getByResourceGroupWithServiceResponseAsync(resourceGroupName, resourceName), serviceCallback); + } + + /** + * Get Configuration record. + * + * @param resourceGroupName Resource Group Name + * @param resourceName Resource Identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the MaintenanceConfigurationInner object + */ + public Observable getByResourceGroupAsync(String resourceGroupName, String resourceName) { + return getByResourceGroupWithServiceResponseAsync(resourceGroupName, resourceName).map(new Func1, MaintenanceConfigurationInner>() { + @Override + public MaintenanceConfigurationInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Get Configuration record. + * + * @param resourceGroupName Resource Group Name + * @param resourceName Resource Identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the MaintenanceConfigurationInner object + */ + public Observable> getByResourceGroupWithServiceResponseAsync(String resourceGroupName, String resourceName) { + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (resourceName == null) { + throw new IllegalArgumentException("Parameter resourceName is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.getByResourceGroup(this.client.subscriptionId(), resourceGroupName, resourceName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = getByResourceGroupDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse getByResourceGroupDelegate(Response response) throws MaintenanceErrorException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(MaintenanceErrorException.class) + .build(response); + } + + /** + * Create or Update configuration record. + * + * @param resourceGroupName Resource Group Name + * @param resourceName Resource Identifier + * @param configuration The configuration + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws MaintenanceErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the MaintenanceConfigurationInner object if successful. + */ + public MaintenanceConfigurationInner createOrUpdate(String resourceGroupName, String resourceName, MaintenanceConfigurationInner configuration) { + return createOrUpdateWithServiceResponseAsync(resourceGroupName, resourceName, configuration).toBlocking().single().body(); + } + + /** + * Create or Update configuration record. + * + * @param resourceGroupName Resource Group Name + * @param resourceName Resource Identifier + * @param configuration The configuration + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture createOrUpdateAsync(String resourceGroupName, String resourceName, MaintenanceConfigurationInner configuration, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(createOrUpdateWithServiceResponseAsync(resourceGroupName, resourceName, configuration), serviceCallback); + } + + /** + * Create or Update configuration record. + * + * @param resourceGroupName Resource Group Name + * @param resourceName Resource Identifier + * @param configuration The configuration + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the MaintenanceConfigurationInner object + */ + public Observable createOrUpdateAsync(String resourceGroupName, String resourceName, MaintenanceConfigurationInner configuration) { + return createOrUpdateWithServiceResponseAsync(resourceGroupName, resourceName, configuration).map(new Func1, MaintenanceConfigurationInner>() { + @Override + public MaintenanceConfigurationInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Create or Update configuration record. + * + * @param resourceGroupName Resource Group Name + * @param resourceName Resource Identifier + * @param configuration The configuration + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the MaintenanceConfigurationInner object + */ + public Observable> createOrUpdateWithServiceResponseAsync(String resourceGroupName, String resourceName, MaintenanceConfigurationInner configuration) { + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (resourceName == null) { + throw new IllegalArgumentException("Parameter resourceName is required and cannot be null."); + } + if (configuration == null) { + throw new IllegalArgumentException("Parameter configuration is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + Validator.validate(configuration); + return service.createOrUpdate(this.client.subscriptionId(), resourceGroupName, resourceName, configuration, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = createOrUpdateDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse createOrUpdateDelegate(Response response) throws MaintenanceErrorException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(MaintenanceErrorException.class) + .build(response); + } + + /** + * Delete Configuration record. + * + * @param resourceGroupName Resource Group Name + * @param resourceName Resource Identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws MaintenanceErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the MaintenanceConfigurationInner object if successful. + */ + public MaintenanceConfigurationInner delete(String resourceGroupName, String resourceName) { + return deleteWithServiceResponseAsync(resourceGroupName, resourceName).toBlocking().single().body(); + } + + /** + * Delete Configuration record. + * + * @param resourceGroupName Resource Group Name + * @param resourceName Resource Identifier + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture deleteAsync(String resourceGroupName, String resourceName, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(deleteWithServiceResponseAsync(resourceGroupName, resourceName), serviceCallback); + } + + /** + * Delete Configuration record. + * + * @param resourceGroupName Resource Group Name + * @param resourceName Resource Identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the MaintenanceConfigurationInner object + */ + public Observable deleteAsync(String resourceGroupName, String resourceName) { + return deleteWithServiceResponseAsync(resourceGroupName, resourceName).map(new Func1, MaintenanceConfigurationInner>() { + @Override + public MaintenanceConfigurationInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Delete Configuration record. + * + * @param resourceGroupName Resource Group Name + * @param resourceName Resource Identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the MaintenanceConfigurationInner object + */ + public Observable> deleteWithServiceResponseAsync(String resourceGroupName, String resourceName) { + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (resourceName == null) { + throw new IllegalArgumentException("Parameter resourceName is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.delete(this.client.subscriptionId(), resourceGroupName, resourceName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = deleteDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse deleteDelegate(Response response) throws MaintenanceErrorException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(MaintenanceErrorException.class) + .build(response); + } + + /** + * Patch configuration record. + * + * @param resourceGroupName Resource Group Name + * @param resourceName Resource Identifier + * @param configuration The configuration + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws MaintenanceErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the MaintenanceConfigurationInner object if successful. + */ + public MaintenanceConfigurationInner updateMethod(String resourceGroupName, String resourceName, MaintenanceConfigurationInner configuration) { + return updateMethodWithServiceResponseAsync(resourceGroupName, resourceName, configuration).toBlocking().single().body(); + } + + /** + * Patch configuration record. + * + * @param resourceGroupName Resource Group Name + * @param resourceName Resource Identifier + * @param configuration The configuration + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture updateMethodAsync(String resourceGroupName, String resourceName, MaintenanceConfigurationInner configuration, final ServiceCallback serviceCallback) { + return ServiceFuture.fromResponse(updateMethodWithServiceResponseAsync(resourceGroupName, resourceName, configuration), serviceCallback); + } + + /** + * Patch configuration record. + * + * @param resourceGroupName Resource Group Name + * @param resourceName Resource Identifier + * @param configuration The configuration + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the MaintenanceConfigurationInner object + */ + public Observable updateMethodAsync(String resourceGroupName, String resourceName, MaintenanceConfigurationInner configuration) { + return updateMethodWithServiceResponseAsync(resourceGroupName, resourceName, configuration).map(new Func1, MaintenanceConfigurationInner>() { + @Override + public MaintenanceConfigurationInner call(ServiceResponse response) { + return response.body(); + } + }); + } + + /** + * Patch configuration record. + * + * @param resourceGroupName Resource Group Name + * @param resourceName Resource Identifier + * @param configuration The configuration + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the MaintenanceConfigurationInner object + */ + public Observable> updateMethodWithServiceResponseAsync(String resourceGroupName, String resourceName, MaintenanceConfigurationInner configuration) { + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (resourceName == null) { + throw new IllegalArgumentException("Parameter resourceName is required and cannot be null."); + } + if (configuration == null) { + throw new IllegalArgumentException("Parameter configuration is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + Validator.validate(configuration); + return service.updateMethod(this.client.subscriptionId(), resourceGroupName, resourceName, configuration, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>() { + @Override + public Observable> call(Response response) { + try { + ServiceResponse clientResponse = updateMethodDelegate(response); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse updateMethodDelegate(Response response) throws MaintenanceErrorException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory().newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken() { }.getType()) + .registerError(MaintenanceErrorException.class) + .build(response); + } + + /** + * Get Configuration records within a subscription. + * + * @return the PagedList object if successful. + */ + public PagedList list() { + PageImpl page = new PageImpl<>(); + page.setItems(listWithServiceResponseAsync().toBlocking().single().body()); + page.setNextPageLink(null); + return new PagedList(page) { + @Override + public Page nextPage(String nextPageLink) { + return null; + } + }; + } + + /** + * Get Configuration records within a subscription. + * + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listAsync(final ServiceCallback> serviceCallback) { + return ServiceFuture.fromResponse(listWithServiceResponseAsync(), serviceCallback); + } + + /** + * Get Configuration records within a subscription. + * + * @return the observable to the List<MaintenanceConfigurationInner> object + */ + public Observable> listAsync() { + return listWithServiceResponseAsync().map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + PageImpl page = new PageImpl<>(); + page.setItems(response.body()); + return page; + } + }); + } + + /** + * Get Configuration records within a subscription. + * + * @return the observable to the List<MaintenanceConfigurationInner> object + */ + public Observable>> listWithServiceResponseAsync() { + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.list(this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listDelegate(response); + List items = null; + if (result.body() != null) { + items = result.body().items(); + } + ServiceResponse> clientResponse = new ServiceResponse>(items, result.response()); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> listDelegate(Response response) throws MaintenanceErrorException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory()., MaintenanceErrorException>newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(MaintenanceErrorException.class) + .build(response); + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/MaintenanceManagementClientImpl.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/MaintenanceManagementClientImpl.java new file mode 100644 index 000000000000..90417a372d06 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/MaintenanceManagementClientImpl.java @@ -0,0 +1,252 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import com.microsoft.azure.AzureClient; +import com.microsoft.azure.AzureServiceClient; +import com.microsoft.rest.credentials.ServiceClientCredentials; +import com.microsoft.rest.RestClient; + +/** + * Initializes a new instance of the MaintenanceManagementClientImpl class. + */ +public class MaintenanceManagementClientImpl extends AzureServiceClient { + /** the {@link AzureClient} used for long running operations. */ + private AzureClient azureClient; + + /** + * Gets the {@link AzureClient} used for long running operations. + * @return the azure client; + */ + public AzureClient getAzureClient() { + return this.azureClient; + } + + /** Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. */ + private String subscriptionId; + + /** + * Gets Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + * + * @return the subscriptionId value. + */ + public String subscriptionId() { + return this.subscriptionId; + } + + /** + * Sets Subscription credentials that uniquely identify a Microsoft Azure subscription. The subscription ID forms part of the URI for every service call. + * + * @param subscriptionId the subscriptionId value. + * @return the service client itself + */ + public MaintenanceManagementClientImpl withSubscriptionId(String subscriptionId) { + this.subscriptionId = subscriptionId; + return this; + } + + /** Version of the API to be used with the client request. */ + private String apiVersion; + + /** + * Gets Version of the API to be used with the client request. + * + * @return the apiVersion value. + */ + public String apiVersion() { + return this.apiVersion; + } + + /** The preferred language for the response. */ + private String acceptLanguage; + + /** + * Gets The preferred language for the response. + * + * @return the acceptLanguage value. + */ + public String acceptLanguage() { + return this.acceptLanguage; + } + + /** + * Sets The preferred language for the response. + * + * @param acceptLanguage the acceptLanguage value. + * @return the service client itself + */ + public MaintenanceManagementClientImpl withAcceptLanguage(String acceptLanguage) { + this.acceptLanguage = acceptLanguage; + return this; + } + + /** The retry timeout in seconds for Long Running Operations. Default value is 30. */ + private int longRunningOperationRetryTimeout; + + /** + * Gets The retry timeout in seconds for Long Running Operations. Default value is 30. + * + * @return the longRunningOperationRetryTimeout value. + */ + public int longRunningOperationRetryTimeout() { + return this.longRunningOperationRetryTimeout; + } + + /** + * Sets The retry timeout in seconds for Long Running Operations. Default value is 30. + * + * @param longRunningOperationRetryTimeout the longRunningOperationRetryTimeout value. + * @return the service client itself + */ + public MaintenanceManagementClientImpl withLongRunningOperationRetryTimeout(int longRunningOperationRetryTimeout) { + this.longRunningOperationRetryTimeout = longRunningOperationRetryTimeout; + return this; + } + + /** Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. */ + private boolean generateClientRequestId; + + /** + * Gets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. + * + * @return the generateClientRequestId value. + */ + public boolean generateClientRequestId() { + return this.generateClientRequestId; + } + + /** + * Sets Whether a unique x-ms-client-request-id should be generated. When set to true a unique x-ms-client-request-id value is generated and included in each request. Default is true. + * + * @param generateClientRequestId the generateClientRequestId value. + * @return the service client itself + */ + public MaintenanceManagementClientImpl withGenerateClientRequestId(boolean generateClientRequestId) { + this.generateClientRequestId = generateClientRequestId; + return this; + } + + /** + * The ApplyUpdatesInner object to access its operations. + */ + private ApplyUpdatesInner applyUpdates; + + /** + * Gets the ApplyUpdatesInner object to access its operations. + * @return the ApplyUpdatesInner object. + */ + public ApplyUpdatesInner applyUpdates() { + return this.applyUpdates; + } + + /** + * The ConfigurationAssignmentsInner object to access its operations. + */ + private ConfigurationAssignmentsInner configurationAssignments; + + /** + * Gets the ConfigurationAssignmentsInner object to access its operations. + * @return the ConfigurationAssignmentsInner object. + */ + public ConfigurationAssignmentsInner configurationAssignments() { + return this.configurationAssignments; + } + + /** + * The MaintenanceConfigurationsInner object to access its operations. + */ + private MaintenanceConfigurationsInner maintenanceConfigurations; + + /** + * Gets the MaintenanceConfigurationsInner object to access its operations. + * @return the MaintenanceConfigurationsInner object. + */ + public MaintenanceConfigurationsInner maintenanceConfigurations() { + return this.maintenanceConfigurations; + } + + /** + * The OperationsInner object to access its operations. + */ + private OperationsInner operations; + + /** + * Gets the OperationsInner object to access its operations. + * @return the OperationsInner object. + */ + public OperationsInner operations() { + return this.operations; + } + + /** + * The UpdatesInner object to access its operations. + */ + private UpdatesInner updates; + + /** + * Gets the UpdatesInner object to access its operations. + * @return the UpdatesInner object. + */ + public UpdatesInner updates() { + return this.updates; + } + + /** + * Initializes an instance of MaintenanceManagementClient client. + * + * @param credentials the management credentials for Azure + */ + public MaintenanceManagementClientImpl(ServiceClientCredentials credentials) { + this("https://management.azure.com", credentials); + } + + /** + * Initializes an instance of MaintenanceManagementClient client. + * + * @param baseUrl the base URL of the host + * @param credentials the management credentials for Azure + */ + public MaintenanceManagementClientImpl(String baseUrl, ServiceClientCredentials credentials) { + super(baseUrl, credentials); + initialize(); + } + + /** + * Initializes an instance of MaintenanceManagementClient client. + * + * @param restClient the REST client to connect to Azure. + */ + public MaintenanceManagementClientImpl(RestClient restClient) { + super(restClient); + initialize(); + } + + protected void initialize() { + this.apiVersion = "2018-06-01-preview"; + this.acceptLanguage = "en-US"; + this.longRunningOperationRetryTimeout = 30; + this.generateClientRequestId = true; + this.applyUpdates = new ApplyUpdatesInner(restClient().retrofit(), this); + this.configurationAssignments = new ConfigurationAssignmentsInner(restClient().retrofit(), this); + this.maintenanceConfigurations = new MaintenanceConfigurationsInner(restClient().retrofit(), this); + this.operations = new OperationsInner(restClient().retrofit(), this); + this.updates = new UpdatesInner(restClient().retrofit(), this); + this.azureClient = new AzureClient(this); + } + + /** + * Gets the User-Agent header for the client. + * + * @return the user agent string. + */ + @Override + public String userAgent() { + return String.format("%s (%s, %s, auto-generated)", super.userAgent(), "MaintenanceManagementClient", "2018-06-01-preview"); + } +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/MaintenanceManager.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/MaintenanceManager.java new file mode 100644 index 000000000000..7ed4834ba386 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/MaintenanceManager.java @@ -0,0 +1,147 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import com.microsoft.azure.AzureEnvironment; +import com.microsoft.azure.AzureResponseBuilder; +import com.microsoft.azure.credentials.AzureTokenCredentials; +import com.microsoft.azure.management.apigeneration.Beta; +import com.microsoft.azure.management.apigeneration.Beta.SinceVersion; +import com.microsoft.azure.arm.resources.AzureConfigurable; +import com.microsoft.azure.serializer.AzureJacksonAdapter; +import com.microsoft.rest.RestClient; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.ApplyUpdates; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.ConfigurationAssignments; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.MaintenanceConfigurations; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.Operations; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.Updates; +import com.microsoft.azure.arm.resources.implementation.AzureConfigurableCoreImpl; +import com.microsoft.azure.arm.resources.implementation.ManagerCore; + +/** + * Entry point to Azure Maintenance resource management. + */ +public final class MaintenanceManager extends ManagerCore { + private ApplyUpdates applyUpdates; + private ConfigurationAssignments configurationAssignments; + private MaintenanceConfigurations maintenanceConfigurations; + private Operations operations; + private Updates updates; + /** + * Get a Configurable instance that can be used to create MaintenanceManager with optional configuration. + * + * @return the instance allowing configurations + */ + public static Configurable configure() { + return new MaintenanceManager.ConfigurableImpl(); + } + /** + * Creates an instance of MaintenanceManager that exposes Maintenance resource management API entry points. + * + * @param credentials the credentials to use + * @param subscriptionId the subscription UUID + * @return the MaintenanceManager + */ + public static MaintenanceManager authenticate(AzureTokenCredentials credentials, String subscriptionId) { + return new MaintenanceManager(new RestClient.Builder() + .withBaseUrl(credentials.environment(), AzureEnvironment.Endpoint.RESOURCE_MANAGER) + .withCredentials(credentials) + .withSerializerAdapter(new AzureJacksonAdapter()) + .withResponseBuilderFactory(new AzureResponseBuilder.Factory()) + .build(), subscriptionId); + } + /** + * Creates an instance of MaintenanceManager that exposes Maintenance resource management API entry points. + * + * @param restClient the RestClient to be used for API calls. + * @param subscriptionId the subscription UUID + * @return the MaintenanceManager + */ + public static MaintenanceManager authenticate(RestClient restClient, String subscriptionId) { + return new MaintenanceManager(restClient, subscriptionId); + } + /** + * The interface allowing configurations to be set. + */ + public interface Configurable extends AzureConfigurable { + /** + * Creates an instance of MaintenanceManager that exposes Maintenance management API entry points. + * + * @param credentials the credentials to use + * @param subscriptionId the subscription UUID + * @return the interface exposing Maintenance management API entry points that work across subscriptions + */ + MaintenanceManager authenticate(AzureTokenCredentials credentials, String subscriptionId); + } + + /** + * @return Entry point to manage ApplyUpdates. + */ + public ApplyUpdates applyUpdates() { + if (this.applyUpdates == null) { + this.applyUpdates = new ApplyUpdatesImpl(this); + } + return this.applyUpdates; + } + + /** + * @return Entry point to manage ConfigurationAssignments. + */ + public ConfigurationAssignments configurationAssignments() { + if (this.configurationAssignments == null) { + this.configurationAssignments = new ConfigurationAssignmentsImpl(this); + } + return this.configurationAssignments; + } + + /** + * @return Entry point to manage MaintenanceConfigurations. + */ + public MaintenanceConfigurations maintenanceConfigurations() { + if (this.maintenanceConfigurations == null) { + this.maintenanceConfigurations = new MaintenanceConfigurationsImpl(this); + } + return this.maintenanceConfigurations; + } + + /** + * @return Entry point to manage Operations. + */ + public Operations operations() { + if (this.operations == null) { + this.operations = new OperationsImpl(this); + } + return this.operations; + } + + /** + * @return Entry point to manage Updates. + */ + public Updates updates() { + if (this.updates == null) { + this.updates = new UpdatesImpl(this); + } + return this.updates; + } + + /** + * The implementation for Configurable interface. + */ + private static final class ConfigurableImpl extends AzureConfigurableCoreImpl implements Configurable { + public MaintenanceManager authenticate(AzureTokenCredentials credentials, String subscriptionId) { + return MaintenanceManager.authenticate(buildRestClient(credentials), subscriptionId); + } + } + private MaintenanceManager(RestClient restClient, String subscriptionId) { + super( + restClient, + subscriptionId, + new MaintenanceManagementClientImpl(restClient).withSubscriptionId(subscriptionId)); + } +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/OperationImpl.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/OperationImpl.java new file mode 100644 index 000000000000..d0f28e70914c --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/OperationImpl.java @@ -0,0 +1,47 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.Operation; +import com.microsoft.azure.arm.model.implementation.WrapperImpl; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.OperationInfo; + +class OperationImpl extends WrapperImpl implements Operation { + private final MaintenanceManager manager; + OperationImpl(OperationInner inner, MaintenanceManager manager) { + super(inner); + this.manager = manager; + } + + @Override + public MaintenanceManager manager() { + return this.manager; + } + + @Override + public OperationInfo display() { + return this.inner().display(); + } + + @Override + public String name() { + return this.inner().name(); + } + + @Override + public String origin() { + return this.inner().origin(); + } + + @Override + public Object properties() { + return this.inner().properties(); + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/OperationInner.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/OperationInner.java new file mode 100644 index 000000000000..cb7737810a81 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/OperationInner.java @@ -0,0 +1,122 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.OperationInfo; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Represents an operation returned by the GetOperations request. + */ +public class OperationInner { + /** + * Name of the operation. + */ + @JsonProperty(value = "name") + private String name; + + /** + * Display name of the operation. + */ + @JsonProperty(value = "display") + private OperationInfo display; + + /** + * Origin of the operation. + */ + @JsonProperty(value = "origin") + private String origin; + + /** + * Properties of the operation. + */ + @JsonProperty(value = "properties") + private Object properties; + + /** + * Get name of the operation. + * + * @return the name value + */ + public String name() { + return this.name; + } + + /** + * Set name of the operation. + * + * @param name the name value to set + * @return the OperationInner object itself. + */ + public OperationInner withName(String name) { + this.name = name; + return this; + } + + /** + * Get display name of the operation. + * + * @return the display value + */ + public OperationInfo display() { + return this.display; + } + + /** + * Set display name of the operation. + * + * @param display the display value to set + * @return the OperationInner object itself. + */ + public OperationInner withDisplay(OperationInfo display) { + this.display = display; + return this; + } + + /** + * Get origin of the operation. + * + * @return the origin value + */ + public String origin() { + return this.origin; + } + + /** + * Set origin of the operation. + * + * @param origin the origin value to set + * @return the OperationInner object itself. + */ + public OperationInner withOrigin(String origin) { + this.origin = origin; + return this; + } + + /** + * Get properties of the operation. + * + * @return the properties value + */ + public Object properties() { + return this.properties; + } + + /** + * Set properties of the operation. + * + * @param properties the properties value to set + * @return the OperationInner object itself. + */ + public OperationInner withProperties(Object properties) { + this.properties = properties; + return this; + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/OperationsImpl.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/OperationsImpl.java new file mode 100644 index 000000000000..1eaaa56a8d54 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/OperationsImpl.java @@ -0,0 +1,49 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * abc + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import com.microsoft.azure.arm.model.implementation.WrapperImpl; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.Operations; +import rx.functions.Func1; +import rx.Observable; +import java.util.List; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.Operation; + +class OperationsImpl extends WrapperImpl implements Operations { + private final MaintenanceManager manager; + + OperationsImpl(MaintenanceManager manager) { + super(manager.inner().operations()); + this.manager = manager; + } + + public MaintenanceManager manager() { + return this.manager; + } + + @Override + public Observable listAsync() { + OperationsInner client = this.inner(); + return client.listAsync() + .flatMap(new Func1, Observable>() { + @Override + public Observable call(List innerList) { + return Observable.from(innerList); + } + }) + .map(new Func1() { + @Override + public Operation call(OperationInner inner) { + return new OperationImpl(inner, manager()); + } + }); + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/OperationsInner.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/OperationsInner.java new file mode 100644 index 000000000000..a679e9476706 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/OperationsInner.java @@ -0,0 +1,138 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import retrofit2.Retrofit; +import com.google.common.reflect.TypeToken; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.MaintenanceErrorException; +import com.microsoft.rest.ServiceCallback; +import com.microsoft.rest.ServiceFuture; +import com.microsoft.rest.ServiceResponse; +import java.io.IOException; +import java.util.List; +import okhttp3.ResponseBody; +import retrofit2.http.GET; +import retrofit2.http.Header; +import retrofit2.http.Headers; +import retrofit2.http.Query; +import retrofit2.Response; +import rx.functions.Func1; +import rx.Observable; + +/** + * An instance of this class provides access to all the operations defined + * in Operations. + */ +public class OperationsInner { + /** The Retrofit service to perform REST calls. */ + private OperationsService service; + /** The service client containing this operation class. */ + private MaintenanceManagementClientImpl client; + + /** + * Initializes an instance of OperationsInner. + * + * @param retrofit the Retrofit instance built from a Retrofit Builder. + * @param client the instance of the service client containing this operation class. + */ + public OperationsInner(Retrofit retrofit, MaintenanceManagementClientImpl client) { + this.service = retrofit.create(OperationsService.class); + this.client = client; + } + + /** + * The interface defining all the services for Operations to be + * used by Retrofit to perform actually REST calls. + */ + interface OperationsService { + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.maintenance.v2018_06_01_preview.Operations list" }) + @GET("providers/Microsoft.Maintenance/operations") + Observable> list(@Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + } + + /** + * List available operations. + * List the available operations supported by the Microsoft.Maintenance resource provider. + * + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws MaintenanceErrorException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the List<OperationInner> object if successful. + */ + public List list() { + return listWithServiceResponseAsync().toBlocking().single().body(); + } + + /** + * List available operations. + * List the available operations supported by the Microsoft.Maintenance resource provider. + * + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listAsync(final ServiceCallback> serviceCallback) { + return ServiceFuture.fromResponse(listWithServiceResponseAsync(), serviceCallback); + } + + /** + * List available operations. + * List the available operations supported by the Microsoft.Maintenance resource provider. + * + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<OperationInner> object + */ + public Observable> listAsync() { + return listWithServiceResponseAsync().map(new Func1>, List>() { + @Override + public List call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * List available operations. + * List the available operations supported by the Microsoft.Maintenance resource provider. + * + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<OperationInner> object + */ + public Observable>> listWithServiceResponseAsync() { + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.list(this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listDelegate(response); + List items = null; + if (result.body() != null) { + items = result.body().items(); + } + ServiceResponse> clientResponse = new ServiceResponse>(items, result.response()); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> listDelegate(Response response) throws MaintenanceErrorException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory()., MaintenanceErrorException>newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(MaintenanceErrorException.class) + .build(response); + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/PageImpl.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/PageImpl.java new file mode 100644 index 000000000000..b2e29d9ad29b --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/PageImpl.java @@ -0,0 +1,75 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.azure.Page; +import java.util.List; + +/** + * An instance of this class defines a page of Azure resources and a link to + * get the next page of resources, if any. + * + * @param type of Azure resource + */ +public class PageImpl implements Page { + /** + * The link to the next page. + */ + @JsonProperty("") + private String nextPageLink; + + /** + * The list of items. + */ + @JsonProperty("value") + private List items; + + /** + * Gets the link to the next page. + * + * @return the link to the next page. + */ + @Override + public String nextPageLink() { + return this.nextPageLink; + } + + /** + * Gets the list of items. + * + * @return the list of items in {@link List}. + */ + @Override + public List items() { + return items; + } + + /** + * Sets the link to the next page. + * + * @param nextPageLink the link to the next page. + * @return this Page object itself. + */ + public PageImpl setNextPageLink(String nextPageLink) { + this.nextPageLink = nextPageLink; + return this; + } + + /** + * Sets the list of items. + * + * @param items the list of items in {@link List}. + * @return this Page object itself. + */ + public PageImpl setItems(List items) { + this.items = items; + return this; + } +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/UpdateImpl.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/UpdateImpl.java new file mode 100644 index 000000000000..32026e4649bc --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/UpdateImpl.java @@ -0,0 +1,60 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.Update; +import com.microsoft.azure.arm.model.implementation.WrapperImpl; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.ImpactType; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.MaintenanceScope; +import org.joda.time.DateTime; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.UpdateStatus; + +class UpdateImpl extends WrapperImpl implements Update { + private final MaintenanceManager manager; + UpdateImpl(UpdateInner inner, MaintenanceManager manager) { + super(inner); + this.manager = manager; + } + + @Override + public MaintenanceManager manager() { + return this.manager; + } + + @Override + public Integer impactDurationInSec() { + return this.inner().impactDurationInSec(); + } + + @Override + public ImpactType impactType() { + return this.inner().impactType(); + } + + @Override + public MaintenanceScope maintenanceScope() { + return this.inner().maintenanceScope(); + } + + @Override + public DateTime notBefore() { + return this.inner().notBefore(); + } + + @Override + public String resourceId() { + return this.inner().resourceId(); + } + + @Override + public UpdateStatus status() { + return this.inner().status(); + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/UpdateInner.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/UpdateInner.java new file mode 100644 index 000000000000..1a525afb0e8d --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/UpdateInner.java @@ -0,0 +1,183 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.MaintenanceScope; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.ImpactType; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.UpdateStatus; +import org.joda.time.DateTime; +import com.fasterxml.jackson.annotation.JsonProperty; +import com.microsoft.rest.serializer.JsonFlatten; + +/** + * Maintenance update on a resource. + */ +@JsonFlatten +public class UpdateInner { + /** + * The impact area. Possible values include: 'All', 'Host', 'Resource', + * 'InResource'. + */ + @JsonProperty(value = "maintenanceScope") + private MaintenanceScope maintenanceScope; + + /** + * The impact type. Possible values include: 'None', 'Freeze', 'Restart', + * 'Redeploy'. + */ + @JsonProperty(value = "impactType") + private ImpactType impactType; + + /** + * The status. Possible values include: 'Pending', 'InProgress', + * 'Completed', 'RetryNow', 'RetryLater'. + */ + @JsonProperty(value = "status") + private UpdateStatus status; + + /** + * Duration of impact in seconds. + */ + @JsonProperty(value = "impactDurationInSec") + private Integer impactDurationInSec; + + /** + * Time when Azure will start force updates if not self-updated by customer + * before this time. + */ + @JsonProperty(value = "notBefore") + private DateTime notBefore; + + /** + * The resourceId. + */ + @JsonProperty(value = "properties.resourceId") + private String resourceId; + + /** + * Get the impact area. Possible values include: 'All', 'Host', 'Resource', 'InResource'. + * + * @return the maintenanceScope value + */ + public MaintenanceScope maintenanceScope() { + return this.maintenanceScope; + } + + /** + * Set the impact area. Possible values include: 'All', 'Host', 'Resource', 'InResource'. + * + * @param maintenanceScope the maintenanceScope value to set + * @return the UpdateInner object itself. + */ + public UpdateInner withMaintenanceScope(MaintenanceScope maintenanceScope) { + this.maintenanceScope = maintenanceScope; + return this; + } + + /** + * Get the impact type. Possible values include: 'None', 'Freeze', 'Restart', 'Redeploy'. + * + * @return the impactType value + */ + public ImpactType impactType() { + return this.impactType; + } + + /** + * Set the impact type. Possible values include: 'None', 'Freeze', 'Restart', 'Redeploy'. + * + * @param impactType the impactType value to set + * @return the UpdateInner object itself. + */ + public UpdateInner withImpactType(ImpactType impactType) { + this.impactType = impactType; + return this; + } + + /** + * Get the status. Possible values include: 'Pending', 'InProgress', 'Completed', 'RetryNow', 'RetryLater'. + * + * @return the status value + */ + public UpdateStatus status() { + return this.status; + } + + /** + * Set the status. Possible values include: 'Pending', 'InProgress', 'Completed', 'RetryNow', 'RetryLater'. + * + * @param status the status value to set + * @return the UpdateInner object itself. + */ + public UpdateInner withStatus(UpdateStatus status) { + this.status = status; + return this; + } + + /** + * Get duration of impact in seconds. + * + * @return the impactDurationInSec value + */ + public Integer impactDurationInSec() { + return this.impactDurationInSec; + } + + /** + * Set duration of impact in seconds. + * + * @param impactDurationInSec the impactDurationInSec value to set + * @return the UpdateInner object itself. + */ + public UpdateInner withImpactDurationInSec(Integer impactDurationInSec) { + this.impactDurationInSec = impactDurationInSec; + return this; + } + + /** + * Get time when Azure will start force updates if not self-updated by customer before this time. + * + * @return the notBefore value + */ + public DateTime notBefore() { + return this.notBefore; + } + + /** + * Set time when Azure will start force updates if not self-updated by customer before this time. + * + * @param notBefore the notBefore value to set + * @return the UpdateInner object itself. + */ + public UpdateInner withNotBefore(DateTime notBefore) { + this.notBefore = notBefore; + return this; + } + + /** + * Get the resourceId. + * + * @return the resourceId value + */ + public String resourceId() { + return this.resourceId; + } + + /** + * Set the resourceId. + * + * @param resourceId the resourceId value to set + * @return the UpdateInner object itself. + */ + public UpdateInner withResourceId(String resourceId) { + this.resourceId = resourceId; + return this; + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/UpdatesImpl.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/UpdatesImpl.java new file mode 100644 index 000000000000..26b63ad855b7 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/UpdatesImpl.java @@ -0,0 +1,67 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + * abc + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import com.microsoft.azure.arm.model.implementation.WrapperImpl; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.Updates; +import rx.functions.Func1; +import rx.Observable; +import java.util.List; +import com.microsoft.azure.management.maintenance.v2018_06_01_preview.Update; + +class UpdatesImpl extends WrapperImpl implements Updates { + private final MaintenanceManager manager; + + UpdatesImpl(MaintenanceManager manager) { + super(manager.inner().updates()); + this.manager = manager; + } + + public MaintenanceManager manager() { + return this.manager; + } + + @Override + public Observable listParentAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName) { + UpdatesInner client = this.inner(); + return client.listParentAsync(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName) + .flatMap(new Func1, Observable>() { + @Override + public Observable call(List innerList) { + return Observable.from(innerList); + } + }) + .map(new Func1() { + @Override + public Update call(UpdateInner inner) { + return new UpdateImpl(inner, manager()); + } + }); + } + + @Override + public Observable listAsync(String resourceGroupName, String providerName, String resourceType, String resourceName) { + UpdatesInner client = this.inner(); + return client.listAsync(resourceGroupName, providerName, resourceType, resourceName) + .flatMap(new Func1, Observable>() { + @Override + public Observable call(List innerList) { + return Observable.from(innerList); + } + }) + .map(new Func1() { + @Override + public Update call(UpdateInner inner) { + return new UpdateImpl(inner, manager()); + } + }); + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/UpdatesInner.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/UpdatesInner.java new file mode 100644 index 000000000000..30bc1e2a9a91 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/UpdatesInner.java @@ -0,0 +1,297 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; + +import retrofit2.Retrofit; +import com.google.common.reflect.TypeToken; +import com.microsoft.azure.CloudException; +import com.microsoft.rest.ServiceCallback; +import com.microsoft.rest.ServiceFuture; +import com.microsoft.rest.ServiceResponse; +import java.io.IOException; +import java.util.List; +import okhttp3.ResponseBody; +import retrofit2.http.GET; +import retrofit2.http.Header; +import retrofit2.http.Headers; +import retrofit2.http.Path; +import retrofit2.http.Query; +import retrofit2.Response; +import rx.functions.Func1; +import rx.Observable; + +/** + * An instance of this class provides access to all the operations defined + * in Updates. + */ +public class UpdatesInner { + /** The Retrofit service to perform REST calls. */ + private UpdatesService service; + /** The service client containing this operation class. */ + private MaintenanceManagementClientImpl client; + + /** + * Initializes an instance of UpdatesInner. + * + * @param retrofit the Retrofit instance built from a Retrofit Builder. + * @param client the instance of the service client containing this operation class. + */ + public UpdatesInner(Retrofit retrofit, MaintenanceManagementClientImpl client) { + this.service = retrofit.create(UpdatesService.class); + this.client = client; + } + + /** + * The interface defining all the services for Updates to be + * used by Retrofit to perform actually REST calls. + */ + interface UpdatesService { + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.maintenance.v2018_06_01_preview.Updates listParent" }) + @GET("subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceParentType}/{resourceParentName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/updates") + Observable> listParent(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("providerName") String providerName, @Path("resourceParentType") String resourceParentType, @Path("resourceParentName") String resourceParentName, @Path("resourceType") String resourceType, @Path("resourceName") String resourceName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.maintenance.v2018_06_01_preview.Updates list" }) + @GET("subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/{providerName}/{resourceType}/{resourceName}/providers/Microsoft.Maintenance/updates") + Observable> list(@Path("subscriptionId") String subscriptionId, @Path("resourceGroupName") String resourceGroupName, @Path("providerName") String providerName, @Path("resourceType") String resourceType, @Path("resourceName") String resourceName, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + + } + + /** + * Get Updates to resource. + * Get updates to resources. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the List<UpdateInner> object if successful. + */ + public List listParent(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName) { + return listParentWithServiceResponseAsync(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName).toBlocking().single().body(); + } + + /** + * Get Updates to resource. + * Get updates to resources. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listParentAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName, final ServiceCallback> serviceCallback) { + return ServiceFuture.fromResponse(listParentWithServiceResponseAsync(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName), serviceCallback); + } + + /** + * Get Updates to resource. + * Get updates to resources. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<UpdateInner> object + */ + public Observable> listParentAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName) { + return listParentWithServiceResponseAsync(resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName).map(new Func1>, List>() { + @Override + public List call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Get Updates to resource. + * Get updates to resources. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceParentType Resource parent type + * @param resourceParentName Resource parent identifier + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<UpdateInner> object + */ + public Observable>> listParentWithServiceResponseAsync(String resourceGroupName, String providerName, String resourceParentType, String resourceParentName, String resourceType, String resourceName) { + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (providerName == null) { + throw new IllegalArgumentException("Parameter providerName is required and cannot be null."); + } + if (resourceParentType == null) { + throw new IllegalArgumentException("Parameter resourceParentType is required and cannot be null."); + } + if (resourceParentName == null) { + throw new IllegalArgumentException("Parameter resourceParentName is required and cannot be null."); + } + if (resourceType == null) { + throw new IllegalArgumentException("Parameter resourceType is required and cannot be null."); + } + if (resourceName == null) { + throw new IllegalArgumentException("Parameter resourceName is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.listParent(this.client.subscriptionId(), resourceGroupName, providerName, resourceParentType, resourceParentName, resourceType, resourceName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listParentDelegate(response); + List items = null; + if (result.body() != null) { + items = result.body().items(); + } + ServiceResponse> clientResponse = new ServiceResponse>(items, result.response()); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> listParentDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + + /** + * Get Updates to resource. + * Get updates to resources. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the List<UpdateInner> object if successful. + */ + public List list(String resourceGroupName, String providerName, String resourceType, String resourceName) { + return listWithServiceResponseAsync(resourceGroupName, providerName, resourceType, resourceName).toBlocking().single().body(); + } + + /** + * Get Updates to resource. + * Get updates to resources. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listAsync(String resourceGroupName, String providerName, String resourceType, String resourceName, final ServiceCallback> serviceCallback) { + return ServiceFuture.fromResponse(listWithServiceResponseAsync(resourceGroupName, providerName, resourceType, resourceName), serviceCallback); + } + + /** + * Get Updates to resource. + * Get updates to resources. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<UpdateInner> object + */ + public Observable> listAsync(String resourceGroupName, String providerName, String resourceType, String resourceName) { + return listWithServiceResponseAsync(resourceGroupName, providerName, resourceType, resourceName).map(new Func1>, List>() { + @Override + public List call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Get Updates to resource. + * Get updates to resources. + * + * @param resourceGroupName Resource group name + * @param providerName Resource provider name + * @param resourceType Resource type + * @param resourceName Resource identifier + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the List<UpdateInner> object + */ + public Observable>> listWithServiceResponseAsync(String resourceGroupName, String providerName, String resourceType, String resourceName) { + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (providerName == null) { + throw new IllegalArgumentException("Parameter providerName is required and cannot be null."); + } + if (resourceType == null) { + throw new IllegalArgumentException("Parameter resourceType is required and cannot be null."); + } + if (resourceName == null) { + throw new IllegalArgumentException("Parameter resourceName is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.list(this.client.subscriptionId(), resourceGroupName, providerName, resourceType, resourceName, this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listDelegate(response); + List items = null; + if (result.body() != null) { + items = result.body().items(); + } + ServiceResponse> clientResponse = new ServiceResponse>(items, result.response()); + return Observable.just(clientResponse); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> listDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + +} diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/package-info.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/package-info.java new file mode 100644 index 000000000000..f0be7343ffd1 --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/implementation/package-info.java @@ -0,0 +1,11 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. + +/** + * This package contains the implementation classes for MaintenanceManagementClient. + * Azure Maintenance Management Client. + */ +package com.microsoft.azure.management.maintenance.v2018_06_01_preview.implementation; diff --git a/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/package-info.java b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/package-info.java new file mode 100644 index 000000000000..700396d5e33f --- /dev/null +++ b/sdk/maintenance/mgmt-v2018_06_01_preview/src/main/java/com/microsoft/azure/management/maintenance/v2018_06_01_preview/package-info.java @@ -0,0 +1,11 @@ +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See License.txt in the project root for +// license information. +// +// Code generated by Microsoft (R) AutoRest Code Generator. + +/** + * This package contains the classes for MaintenanceManagementClient. + * Azure Maintenance Management Client. + */ +package com.microsoft.azure.management.maintenance.v2018_06_01_preview; diff --git a/sdk/maintenance/pom.mgmt.xml b/sdk/maintenance/pom.mgmt.xml new file mode 100644 index 000000000000..3b19797c8709 --- /dev/null +++ b/sdk/maintenance/pom.mgmt.xml @@ -0,0 +1,14 @@ + + + 4.0.0 + com.azure + azure-maintenance-management + pom + 1.0.0 + + mgmt-v2018_06_01_preview + + diff --git a/sdk/mediaservices/microsoft-azure-media/pom.xml b/sdk/mediaservices/microsoft-azure-media/pom.xml index 5e3907c1c30e..04ada0bebb62 100644 --- a/sdk/mediaservices/microsoft-azure-media/pom.xml +++ b/sdk/mediaservices/microsoft-azure-media/pom.xml @@ -25,7 +25,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml @@ -62,88 +62,92 @@ com.microsoft.azure azure-core - 0.9.8 + 0.9.8 com.microsoft.azure adal4j - 1.2.0 + 1.2.0 org.apache.httpcomponents httpclient - 4.3.6 + 4.3.6 javax.xml.bind jaxb-api - 2.2.7 + 2.2.7 provided javax.mail mail - 1.4.5 + 1.4.5 javax.inject javax.inject - 1 + 1 com.sun.jersey jersey-client - 1.19 + 1.19 com.sun.jersey jersey-json - 1.19 + 1.19 commons-logging commons-logging - 1.1.1 + 1.1.1 com.fasterxml.jackson.core jackson-databind + 2.10.0 com.fasterxml.jackson.core jackson-annotations + 2.10.0 com.fasterxml.jackson.core jackson-core + 2.10.0 io.jsonwebtoken jjwt - 0.5.1 + 0.5.1 org.hamcrest hamcrest-all - 1.3 + 1.3 test org.mockito mockito-all - 1.9.0 + 1.9.0 test junit junit - 4.12 + 4.13-beta-3 test org.bouncycastle bcprov-jdk15on + 1.60 test @@ -153,7 +157,7 @@ org.apache.maven.plugins maven-help-plugin - 2.1.1 + 2.1.1 validate @@ -170,7 +174,7 @@ org.apache.maven.plugins maven-compiler-plugin - 3.1 + 3.8.1 1.6 1.6 @@ -180,7 +184,7 @@ org.apache.maven.plugins maven-javadoc-plugin - + 3.1.1 *.implementation.*;*.utils.*;com.microsoft.schemas._2003._10.serialization;*.blob.core.storage /** diff --git a/sdk/servicebus/microsoft-azure-servicebus/pom.xml b/sdk/servicebus/microsoft-azure-servicebus/pom.xml index 246f05fa9c68..2c1636637842 100644 --- a/sdk/servicebus/microsoft-azure-servicebus/pom.xml +++ b/sdk/servicebus/microsoft-azure-servicebus/pom.xml @@ -6,7 +6,7 @@ 4.0.0 com.microsoft.azure azure-servicebus - 3.1.3 + 3.1.4 Microsoft Azure SDK for Service Bus Java library for Azure Service Bus @@ -15,7 +15,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml @@ -45,6 +45,7 @@ org.apache.maven.plugins maven-surefire-plugin + 3.0.0-M3 15 true @@ -57,28 +58,33 @@ org.apache.qpid proton-j + 0.33.2 com.microsoft.azure qpid-proton-j-extensions + 1.2.1 org.slf4j slf4j-api + 1.7.28 org.asynchttpclient async-http-client + 2.10.4 com.microsoft.azure azure-client-authentication - 1.6.7 + 1.6.7 compile junit junit + 4.13-beta-3 test diff --git a/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/pom.xml b/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/pom.xml index 56f27fd597f4..146fb5577f70 100644 --- a/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/pom.xml +++ b/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/pom.xml @@ -15,7 +15,7 @@ ../../../pom.management.xml azure-mgmt-sqlvirtualmachine - 1.0.0-beta + 1.0.0-beta-1 jar Microsoft Azure SDK for SqlVirtualMachine Management This package contains Microsoft SqlVirtualMachine Management SDK. diff --git a/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/SQLStorageSettings.java b/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/SQLStorageSettings.java new file mode 100644 index 000000000000..75281438eb6e --- /dev/null +++ b/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/SQLStorageSettings.java @@ -0,0 +1,70 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview; + +import java.util.List; +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Set disk storage settings for SQL Server. + */ +public class SQLStorageSettings { + /** + * Logical Unit Numbers for the disks. + */ + @JsonProperty(value = "luns") + private List luns; + + /** + * SQL Server default file path. + */ + @JsonProperty(value = "defaultFilePath") + private String defaultFilePath; + + /** + * Get logical Unit Numbers for the disks. + * + * @return the luns value + */ + public List luns() { + return this.luns; + } + + /** + * Set logical Unit Numbers for the disks. + * + * @param luns the luns value to set + * @return the SQLStorageSettings object itself. + */ + public SQLStorageSettings withLuns(List luns) { + this.luns = luns; + return this; + } + + /** + * Get sQL Server default file path. + * + * @return the defaultFilePath value + */ + public String defaultFilePath() { + return this.defaultFilePath; + } + + /** + * Set sQL Server default file path. + * + * @param defaultFilePath the defaultFilePath value to set + * @return the SQLStorageSettings object itself. + */ + public SQLStorageSettings withDefaultFilePath(String defaultFilePath) { + this.defaultFilePath = defaultFilePath; + return this; + } + +} diff --git a/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/SqlServerLicenseType.java b/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/SqlServerLicenseType.java index 6825e7a17c2d..964b78f5f3c1 100644 --- a/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/SqlServerLicenseType.java +++ b/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/SqlServerLicenseType.java @@ -22,6 +22,9 @@ public final class SqlServerLicenseType extends ExpandableStringEnum, Resource, GroupableResourceCore, HasResourceGroup, Refreshable, Updatable, HasManager { +public interface SqlVirtualMachine extends HasInner, Indexable, Updatable, HasManager { /** * @return the autoBackupSettings value. */ @@ -34,6 +32,11 @@ public interface SqlVirtualMachine extends HasInner, Res */ AutoPatchingSettings autoPatchingSettings(); + /** + * @return the id value. + */ + String id(); + /** * @return the identity value. */ @@ -44,6 +47,16 @@ public interface SqlVirtualMachine extends HasInner, Res */ KeyVaultCredentialSettings keyVaultCredentialSettings(); + /** + * @return the location value. + */ + String location(); + + /** + * @return the name value. + */ + String name(); + /** * @return the provisioningState value. */ @@ -79,6 +92,21 @@ public interface SqlVirtualMachine extends HasInner, Res */ String sqlVirtualMachineGroupResourceId(); + /** + * @return the storageConfigurationSettings value. + */ + StorageConfigurationSettings storageConfigurationSettings(); + + /** + * @return the tags value. + */ + Map tags(); + + /** + * @return the type value. + */ + String type(); + /** * @return the virtualMachineResourceId value. */ @@ -92,7 +120,7 @@ public interface SqlVirtualMachine extends HasInner, Res /** * The entirety of the SqlVirtualMachine definition. */ - interface Definition extends DefinitionStages.Blank, DefinitionStages.WithGroup, DefinitionStages.WithCreate { + interface Definition extends DefinitionStages.Blank, DefinitionStages.WithSqlVirtualMachineGroup, DefinitionStages.WithLocation, DefinitionStages.WithCreate { } /** @@ -102,13 +130,31 @@ interface DefinitionStages { /** * The first stage of a SqlVirtualMachine definition. */ - interface Blank extends GroupableResourceCore.DefinitionWithRegion { + interface Blank extends WithSqlVirtualMachineGroup { } /** - * The stage of the SqlVirtualMachine definition allowing to specify the resource group. + * The stage of the sqlvirtualmachine definition allowing to specify SqlVirtualMachineGroup. */ - interface WithGroup extends GroupableResourceCore.DefinitionStages.WithGroup { + interface WithSqlVirtualMachineGroup { + /** + * Specifies resourceGroupName. + * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal + * @return the next definition stage + */ + WithLocation withExistingSqlVirtualMachineGroup(String resourceGroupName); + } + + /** + * The stage of the sqlvirtualmachine definition allowing to specify Location. + */ + interface WithLocation { + /** + * Specifies location. + * @param location Resource location + * @return the next definition stage + */ + WithCreate withLocation(String location); } /** @@ -213,7 +259,7 @@ interface WithSqlManagement { interface WithSqlServerLicenseType { /** * Specifies sqlServerLicenseType. - * @param sqlServerLicenseType SQL Server license type. Possible values include: 'PAYG', 'AHUB' + * @param sqlServerLicenseType SQL Server license type. Possible values include: 'PAYG', 'AHUB', 'DR' * @return the next definition stage */ WithCreate withSqlServerLicenseType(SqlServerLicenseType sqlServerLicenseType); @@ -231,6 +277,30 @@ interface WithSqlVirtualMachineGroupResourceId { WithCreate withSqlVirtualMachineGroupResourceId(String sqlVirtualMachineGroupResourceId); } + /** + * The stage of the sqlvirtualmachine definition allowing to specify StorageConfigurationSettings. + */ + interface WithStorageConfigurationSettings { + /** + * Specifies storageConfigurationSettings. + * @param storageConfigurationSettings Storage Configuration Settings + * @return the next definition stage + */ + WithCreate withStorageConfigurationSettings(StorageConfigurationSettings storageConfigurationSettings); + } + + /** + * The stage of the sqlvirtualmachine definition allowing to specify Tags. + */ + interface WithTags { + /** + * Specifies tags. + * @param tags Resource tags + * @return the next definition stage + */ + WithCreate withTags(Map tags); + } + /** * The stage of the sqlvirtualmachine definition allowing to specify VirtualMachineResourceId. */ @@ -260,13 +330,13 @@ interface WithWsfcDomainCredentials { * the resource to be created (via {@link WithCreate#create()}), but also allows * for any other optional settings to be specified. */ - interface WithCreate extends Creatable, Resource.DefinitionWithTags, DefinitionStages.WithAutoBackupSettings, DefinitionStages.WithAutoPatchingSettings, DefinitionStages.WithIdentity, DefinitionStages.WithKeyVaultCredentialSettings, DefinitionStages.WithServerConfigurationsManagementSettings, DefinitionStages.WithSqlImageOffer, DefinitionStages.WithSqlImageSku, DefinitionStages.WithSqlManagement, DefinitionStages.WithSqlServerLicenseType, DefinitionStages.WithSqlVirtualMachineGroupResourceId, DefinitionStages.WithVirtualMachineResourceId, DefinitionStages.WithWsfcDomainCredentials { + interface WithCreate extends Creatable, DefinitionStages.WithAutoBackupSettings, DefinitionStages.WithAutoPatchingSettings, DefinitionStages.WithIdentity, DefinitionStages.WithKeyVaultCredentialSettings, DefinitionStages.WithServerConfigurationsManagementSettings, DefinitionStages.WithSqlImageOffer, DefinitionStages.WithSqlImageSku, DefinitionStages.WithSqlManagement, DefinitionStages.WithSqlServerLicenseType, DefinitionStages.WithSqlVirtualMachineGroupResourceId, DefinitionStages.WithStorageConfigurationSettings, DefinitionStages.WithTags, DefinitionStages.WithVirtualMachineResourceId, DefinitionStages.WithWsfcDomainCredentials { } } /** * The template for a SqlVirtualMachine update operation, containing all the settings that can be modified. */ - interface Update extends Appliable, Resource.UpdateWithTags, UpdateStages.WithAutoBackupSettings, UpdateStages.WithAutoPatchingSettings, UpdateStages.WithIdentity, UpdateStages.WithKeyVaultCredentialSettings, UpdateStages.WithServerConfigurationsManagementSettings, UpdateStages.WithSqlImageOffer, UpdateStages.WithSqlImageSku, UpdateStages.WithSqlManagement, UpdateStages.WithSqlServerLicenseType, UpdateStages.WithSqlVirtualMachineGroupResourceId, UpdateStages.WithVirtualMachineResourceId, UpdateStages.WithWsfcDomainCredentials { + interface Update extends Appliable, UpdateStages.WithAutoBackupSettings, UpdateStages.WithAutoPatchingSettings, UpdateStages.WithIdentity, UpdateStages.WithKeyVaultCredentialSettings, UpdateStages.WithServerConfigurationsManagementSettings, UpdateStages.WithSqlImageOffer, UpdateStages.WithSqlImageSku, UpdateStages.WithSqlManagement, UpdateStages.WithSqlServerLicenseType, UpdateStages.WithSqlVirtualMachineGroupResourceId, UpdateStages.WithStorageConfigurationSettings, UpdateStages.WithTags, UpdateStages.WithVirtualMachineResourceId, UpdateStages.WithWsfcDomainCredentials { } /** @@ -375,7 +445,7 @@ interface WithSqlManagement { interface WithSqlServerLicenseType { /** * Specifies sqlServerLicenseType. - * @param sqlServerLicenseType SQL Server license type. Possible values include: 'PAYG', 'AHUB' + * @param sqlServerLicenseType SQL Server license type. Possible values include: 'PAYG', 'AHUB', 'DR' * @return the next update stage */ Update withSqlServerLicenseType(SqlServerLicenseType sqlServerLicenseType); @@ -393,6 +463,30 @@ interface WithSqlVirtualMachineGroupResourceId { Update withSqlVirtualMachineGroupResourceId(String sqlVirtualMachineGroupResourceId); } + /** + * The stage of the sqlvirtualmachine update allowing to specify StorageConfigurationSettings. + */ + interface WithStorageConfigurationSettings { + /** + * Specifies storageConfigurationSettings. + * @param storageConfigurationSettings Storage Configuration Settings + * @return the next update stage + */ + Update withStorageConfigurationSettings(StorageConfigurationSettings storageConfigurationSettings); + } + + /** + * The stage of the sqlvirtualmachine update allowing to specify Tags. + */ + interface WithTags { + /** + * Specifies tags. + * @param tags Resource tags + * @return the next update stage + */ + Update withTags(Map tags); + } + /** * The stage of the sqlvirtualmachine update allowing to specify VirtualMachineResourceId. */ diff --git a/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/SqlVirtualMachines.java b/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/SqlVirtualMachines.java index 359f32a3574a..fa09ae5c0de0 100644 --- a/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/SqlVirtualMachines.java +++ b/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/SqlVirtualMachines.java @@ -9,17 +9,60 @@ package com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview; import com.microsoft.azure.arm.collection.SupportsCreating; -import com.microsoft.azure.arm.resources.collection.SupportsDeletingByResourceGroup; -import com.microsoft.azure.arm.resources.collection.SupportsBatchDeletion; -import com.microsoft.azure.arm.resources.collection.SupportsGettingByResourceGroup; import rx.Observable; -import com.microsoft.azure.arm.resources.collection.SupportsListingByResourceGroup; -import com.microsoft.azure.arm.collection.SupportsListing; +import rx.Completable; import com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview.implementation.SqlVirtualMachinesInner; import com.microsoft.azure.arm.model.HasInner; /** * Type representing SqlVirtualMachines. */ -public interface SqlVirtualMachines extends SupportsCreating, SupportsDeletingByResourceGroup, SupportsBatchDeletion, SupportsGettingByResourceGroup, SupportsListingByResourceGroup, SupportsListing, HasInner { +public interface SqlVirtualMachines extends SupportsCreating, HasInner { + /** + * Gets a SQL virtual machine. + * + * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + * @param sqlVirtualMachineName Name of the SQL virtual machine. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable getByResourceGroupAsync(String resourceGroupName, String sqlVirtualMachineName); + + /** + * Deletes a SQL virtual machine. + * + * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + * @param sqlVirtualMachineName Name of the SQL virtual machine. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Completable deleteAsync(String resourceGroupName, String sqlVirtualMachineName); + + /** + * Gets all SQL virtual machines in a subscription. + * + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable listAsync(); + + /** + * Gets all SQL virtual machines in a resource group. + * + * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable listByResourceGroupAsync(final String resourceGroupName); + + /** + * Gets the list of sql virtual machines in a SQL virtual machine group. + * + * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable for the request + */ + Observable listBySqlVmGroupAsync(final String resourceGroupName, final String sqlVirtualMachineGroupName); + } diff --git a/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/StorageConfigurationSettings.java b/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/StorageConfigurationSettings.java new file mode 100644 index 000000000000..12dbf1a0bc2c --- /dev/null +++ b/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/StorageConfigurationSettings.java @@ -0,0 +1,148 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview; + +import com.fasterxml.jackson.annotation.JsonProperty; + +/** + * Storage Configurations for SQL Data, Log and TempDb. + */ +public class StorageConfigurationSettings { + /** + * SQL Server Data Storage Settings. + */ + @JsonProperty(value = "sqlDataSettings") + private SQLStorageSettings sqlDataSettings; + + /** + * SQL Server Log Storage Settings. + */ + @JsonProperty(value = "sqlLogSettings") + private SQLStorageSettings sqlLogSettings; + + /** + * SQL Server TempDb Storage Settings. + */ + @JsonProperty(value = "sqlTempDbSettings") + private SQLStorageSettings sqlTempDbSettings; + + /** + * Disk configuration to apply to SQL Server. Possible values include: + * 'NEW', 'EXTEND', 'ADD'. + */ + @JsonProperty(value = "diskConfigurationType") + private DiskConfigurationType diskConfigurationType; + + /** + * Storage workload type. Possible values include: 'GENERAL', 'OLTP', 'DW'. + */ + @JsonProperty(value = "storageWorkloadType") + private StorageWorkloadType storageWorkloadType; + + /** + * Get sQL Server Data Storage Settings. + * + * @return the sqlDataSettings value + */ + public SQLStorageSettings sqlDataSettings() { + return this.sqlDataSettings; + } + + /** + * Set sQL Server Data Storage Settings. + * + * @param sqlDataSettings the sqlDataSettings value to set + * @return the StorageConfigurationSettings object itself. + */ + public StorageConfigurationSettings withSqlDataSettings(SQLStorageSettings sqlDataSettings) { + this.sqlDataSettings = sqlDataSettings; + return this; + } + + /** + * Get sQL Server Log Storage Settings. + * + * @return the sqlLogSettings value + */ + public SQLStorageSettings sqlLogSettings() { + return this.sqlLogSettings; + } + + /** + * Set sQL Server Log Storage Settings. + * + * @param sqlLogSettings the sqlLogSettings value to set + * @return the StorageConfigurationSettings object itself. + */ + public StorageConfigurationSettings withSqlLogSettings(SQLStorageSettings sqlLogSettings) { + this.sqlLogSettings = sqlLogSettings; + return this; + } + + /** + * Get sQL Server TempDb Storage Settings. + * + * @return the sqlTempDbSettings value + */ + public SQLStorageSettings sqlTempDbSettings() { + return this.sqlTempDbSettings; + } + + /** + * Set sQL Server TempDb Storage Settings. + * + * @param sqlTempDbSettings the sqlTempDbSettings value to set + * @return the StorageConfigurationSettings object itself. + */ + public StorageConfigurationSettings withSqlTempDbSettings(SQLStorageSettings sqlTempDbSettings) { + this.sqlTempDbSettings = sqlTempDbSettings; + return this; + } + + /** + * Get disk configuration to apply to SQL Server. Possible values include: 'NEW', 'EXTEND', 'ADD'. + * + * @return the diskConfigurationType value + */ + public DiskConfigurationType diskConfigurationType() { + return this.diskConfigurationType; + } + + /** + * Set disk configuration to apply to SQL Server. Possible values include: 'NEW', 'EXTEND', 'ADD'. + * + * @param diskConfigurationType the diskConfigurationType value to set + * @return the StorageConfigurationSettings object itself. + */ + public StorageConfigurationSettings withDiskConfigurationType(DiskConfigurationType diskConfigurationType) { + this.diskConfigurationType = diskConfigurationType; + return this; + } + + /** + * Get storage workload type. Possible values include: 'GENERAL', 'OLTP', 'DW'. + * + * @return the storageWorkloadType value + */ + public StorageWorkloadType storageWorkloadType() { + return this.storageWorkloadType; + } + + /** + * Set storage workload type. Possible values include: 'GENERAL', 'OLTP', 'DW'. + * + * @param storageWorkloadType the storageWorkloadType value to set + * @return the StorageConfigurationSettings object itself. + */ + public StorageConfigurationSettings withStorageWorkloadType(StorageWorkloadType storageWorkloadType) { + this.storageWorkloadType = storageWorkloadType; + return this; + } + +} diff --git a/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/StorageWorkloadType.java b/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/StorageWorkloadType.java new file mode 100644 index 000000000000..f8dade458566 --- /dev/null +++ b/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/StorageWorkloadType.java @@ -0,0 +1,44 @@ +/** + * Copyright (c) Microsoft Corporation. All rights reserved. + * Licensed under the MIT License. See License.txt in the project root for + * license information. + * + * Code generated by Microsoft (R) AutoRest Code Generator. + */ + +package com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview; + +import java.util.Collection; +import com.fasterxml.jackson.annotation.JsonCreator; +import com.microsoft.rest.ExpandableStringEnum; + +/** + * Defines values for StorageWorkloadType. + */ +public final class StorageWorkloadType extends ExpandableStringEnum { + /** Static value GENERAL for StorageWorkloadType. */ + public static final StorageWorkloadType GENERAL = fromString("GENERAL"); + + /** Static value OLTP for StorageWorkloadType. */ + public static final StorageWorkloadType OLTP = fromString("OLTP"); + + /** Static value DW for StorageWorkloadType. */ + public static final StorageWorkloadType DW = fromString("DW"); + + /** + * Creates or finds a StorageWorkloadType from its string representation. + * @param name a name to look for + * @return the corresponding StorageWorkloadType + */ + @JsonCreator + public static StorageWorkloadType fromString(String name) { + return fromString(name, StorageWorkloadType.class); + } + + /** + * @return known StorageWorkloadType values + */ + public static Collection values() { + return values(StorageWorkloadType.class); + } +} diff --git a/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/implementation/SqlVirtualMachineImpl.java b/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/implementation/SqlVirtualMachineImpl.java index 6cbd713dff1b..fc8c85ce4ed8 100644 --- a/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/implementation/SqlVirtualMachineImpl.java +++ b/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/implementation/SqlVirtualMachineImpl.java @@ -8,9 +8,10 @@ package com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview.implementation; -import com.microsoft.azure.arm.resources.models.implementation.GroupableResourceCoreImpl; import com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview.SqlVirtualMachine; +import com.microsoft.azure.arm.model.implementation.CreatableUpdatableImpl; import rx.Observable; +import java.util.Map; import com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview.ResourceIdentity; import com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview.SqlServerLicenseType; import com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview.SqlManagementMode; @@ -20,30 +21,55 @@ import com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview.AutoBackupSettings; import com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview.KeyVaultCredentialSettings; import com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview.ServerConfigurationsManagementSettings; +import com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview.StorageConfigurationSettings; + +class SqlVirtualMachineImpl extends CreatableUpdatableImpl implements SqlVirtualMachine, SqlVirtualMachine.Definition, SqlVirtualMachine.Update { + private final SqlVirtualMachineManager manager; + private String resourceGroupName; + private String sqlVirtualMachineName; + + SqlVirtualMachineImpl(String name, SqlVirtualMachineManager manager) { + super(name, new SqlVirtualMachineInner()); + this.manager = manager; + // Set resource name + this.sqlVirtualMachineName = name; + // + } -class SqlVirtualMachineImpl extends GroupableResourceCoreImpl implements SqlVirtualMachine, SqlVirtualMachine.Definition, SqlVirtualMachine.Update { - SqlVirtualMachineImpl(String name, SqlVirtualMachineInner inner, SqlVirtualMachineManager manager) { - super(name, inner, manager); + SqlVirtualMachineImpl(SqlVirtualMachineInner inner, SqlVirtualMachineManager manager) { + super(inner.name(), inner); + this.manager = manager; + // Set resource name + this.sqlVirtualMachineName = inner.name(); + // set resource ancestor and positional variables + this.resourceGroupName = IdParsingUtils.getValueFromIdByName(inner.id(), "resourceGroups"); + this.sqlVirtualMachineName = IdParsingUtils.getValueFromIdByName(inner.id(), "sqlVirtualMachines"); + // + } + + @Override + public SqlVirtualMachineManager manager() { + return this.manager; } @Override public Observable createResourceAsync() { SqlVirtualMachinesInner client = this.manager().inner().sqlVirtualMachines(); - return client.createOrUpdateAsync(this.resourceGroupName(), this.name(), this.inner()) + return client.createOrUpdateAsync(this.resourceGroupName, this.sqlVirtualMachineName, this.inner()) .map(innerToFluentMap(this)); } @Override public Observable updateResourceAsync() { SqlVirtualMachinesInner client = this.manager().inner().sqlVirtualMachines(); - return client.createOrUpdateAsync(this.resourceGroupName(), this.name(), this.inner()) + return client.createOrUpdateAsync(this.resourceGroupName, this.sqlVirtualMachineName, this.inner()) .map(innerToFluentMap(this)); } @Override protected Observable getInnerAsync() { SqlVirtualMachinesInner client = this.manager().inner().sqlVirtualMachines(); - return client.getByResourceGroupAsync(this.resourceGroupName(), this.name()); + return null; // NOP getInnerAsync implementation as get is not supported } @Override @@ -62,6 +88,11 @@ public AutoPatchingSettings autoPatchingSettings() { return this.inner().autoPatchingSettings(); } + @Override + public String id() { + return this.inner().id(); + } + @Override public ResourceIdentity identity() { return this.inner().identity(); @@ -72,6 +103,16 @@ public KeyVaultCredentialSettings keyVaultCredentialSettings() { return this.inner().keyVaultCredentialSettings(); } + @Override + public String location() { + return this.inner().location(); + } + + @Override + public String name() { + return this.inner().name(); + } + @Override public String provisioningState() { return this.inner().provisioningState(); @@ -107,6 +148,21 @@ public String sqlVirtualMachineGroupResourceId() { return this.inner().sqlVirtualMachineGroupResourceId(); } + @Override + public StorageConfigurationSettings storageConfigurationSettings() { + return this.inner().storageConfigurationSettings(); + } + + @Override + public Map tags() { + return this.inner().getTags(); + } + + @Override + public String type() { + return this.inner().type(); + } + @Override public String virtualMachineResourceId() { return this.inner().virtualMachineResourceId(); @@ -117,6 +173,18 @@ public WsfcDomainCredentials wsfcDomainCredentials() { return this.inner().wsfcDomainCredentials(); } + @Override + public SqlVirtualMachineImpl withExistingSqlVirtualMachineGroup(String resourceGroupName) { + this.resourceGroupName = resourceGroupName; + return this; + } + + @Override + public SqlVirtualMachineImpl withLocation(String location) { + this.inner().withLocation(location); + return this; + } + @Override public SqlVirtualMachineImpl withAutoBackupSettings(AutoBackupSettings autoBackupSettings) { this.inner().withAutoBackupSettings(autoBackupSettings); @@ -177,6 +245,18 @@ public SqlVirtualMachineImpl withSqlVirtualMachineGroupResourceId(String sqlVirt return this; } + @Override + public SqlVirtualMachineImpl withStorageConfigurationSettings(StorageConfigurationSettings storageConfigurationSettings) { + this.inner().withStorageConfigurationSettings(storageConfigurationSettings); + return this; + } + + @Override + public SqlVirtualMachineImpl withTags(Map tags) { + this.inner().withTags(tags); + return this; + } + @Override public SqlVirtualMachineImpl withVirtualMachineResourceId(String virtualMachineResourceId) { this.inner().withVirtualMachineResourceId(virtualMachineResourceId); diff --git a/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/implementation/SqlVirtualMachineInner.java b/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/implementation/SqlVirtualMachineInner.java index 7448ec5c2ab6..1d8994e2461c 100644 --- a/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/implementation/SqlVirtualMachineInner.java +++ b/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/implementation/SqlVirtualMachineInner.java @@ -17,6 +17,7 @@ import com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview.AutoBackupSettings; import com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview.KeyVaultCredentialSettings; import com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview.ServerConfigurationsManagementSettings; +import com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview.StorageConfigurationSettings; import com.fasterxml.jackson.annotation.JsonProperty; import com.microsoft.rest.serializer.JsonFlatten; import com.microsoft.azure.Resource; @@ -52,7 +53,7 @@ public class SqlVirtualMachineInner extends Resource { private String sqlImageOffer; /** - * SQL Server license type. Possible values include: 'PAYG', 'AHUB'. + * SQL Server license type. Possible values include: 'PAYG', 'AHUB', 'DR'. */ @JsonProperty(value = "properties.sqlServerLicenseType") private SqlServerLicenseType sqlServerLicenseType; @@ -110,6 +111,12 @@ public class SqlVirtualMachineInner extends Resource { @JsonProperty(value = "properties.serverConfigurationsManagementSettings") private ServerConfigurationsManagementSettings serverConfigurationsManagementSettings; + /** + * Storage Configuration Settings. + */ + @JsonProperty(value = "properties.storageConfigurationSettings") + private StorageConfigurationSettings storageConfigurationSettings; + /** * Get azure Active Directory identity of the server. * @@ -180,7 +187,7 @@ public SqlVirtualMachineInner withSqlImageOffer(String sqlImageOffer) { } /** - * Get sQL Server license type. Possible values include: 'PAYG', 'AHUB'. + * Get sQL Server license type. Possible values include: 'PAYG', 'AHUB', 'DR'. * * @return the sqlServerLicenseType value */ @@ -189,7 +196,7 @@ public SqlServerLicenseType sqlServerLicenseType() { } /** - * Set sQL Server license type. Possible values include: 'PAYG', 'AHUB'. + * Set sQL Server license type. Possible values include: 'PAYG', 'AHUB', 'DR'. * * @param sqlServerLicenseType the sqlServerLicenseType value to set * @return the SqlVirtualMachineInner object itself. @@ -359,4 +366,24 @@ public SqlVirtualMachineInner withServerConfigurationsManagementSettings(ServerC return this; } + /** + * Get storage Configuration Settings. + * + * @return the storageConfigurationSettings value + */ + public StorageConfigurationSettings storageConfigurationSettings() { + return this.storageConfigurationSettings; + } + + /** + * Set storage Configuration Settings. + * + * @param storageConfigurationSettings the storageConfigurationSettings value to set + * @return the SqlVirtualMachineInner object itself. + */ + public SqlVirtualMachineInner withStorageConfigurationSettings(StorageConfigurationSettings storageConfigurationSettings) { + this.storageConfigurationSettings = storageConfigurationSettings; + return this; + } + } diff --git a/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/implementation/SqlVirtualMachinesImpl.java b/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/implementation/SqlVirtualMachinesImpl.java index 626f62da6253..95e9237168e8 100644 --- a/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/implementation/SqlVirtualMachinesImpl.java +++ b/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/implementation/SqlVirtualMachinesImpl.java @@ -4,84 +4,66 @@ * license information. * * Code generated by Microsoft (R) AutoRest Code Generator. - * def + * */ package com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview.implementation; -import com.microsoft.azure.arm.resources.collection.implementation.GroupableResourcesCoreImpl; +import com.microsoft.azure.arm.model.implementation.WrapperImpl; import com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview.SqlVirtualMachines; -import com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview.SqlVirtualMachine; import rx.Observable; -import rx.Completable; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.Collection; -import com.microsoft.azure.arm.resources.ResourceUtilsCore; -import com.microsoft.azure.arm.utils.RXMapper; import rx.functions.Func1; -import com.microsoft.azure.PagedList; import com.microsoft.azure.Page; +import rx.Completable; +import com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview.SqlVirtualMachine; -class SqlVirtualMachinesImpl extends GroupableResourcesCoreImpl implements SqlVirtualMachines { - protected SqlVirtualMachinesImpl(SqlVirtualMachineManager manager) { - super(manager.inner().sqlVirtualMachines(), manager); - } +class SqlVirtualMachinesImpl extends WrapperImpl implements SqlVirtualMachines { + private final SqlVirtualMachineManager manager; - @Override - protected Observable getInnerAsync(String resourceGroupName, String name) { - SqlVirtualMachinesInner client = this.inner(); - return client.getByResourceGroupAsync(resourceGroupName, name); + SqlVirtualMachinesImpl(SqlVirtualMachineManager manager) { + super(manager.inner().sqlVirtualMachines()); + this.manager = manager; } - @Override - protected Completable deleteInnerAsync(String resourceGroupName, String name) { - SqlVirtualMachinesInner client = this.inner(); - return client.deleteAsync(resourceGroupName, name).toCompletable(); + public SqlVirtualMachineManager manager() { + return this.manager; } @Override - public Observable deleteByIdsAsync(Collection ids) { - if (ids == null || ids.isEmpty()) { - return Observable.empty(); - } - Collection> observables = new ArrayList<>(); - for (String id : ids) { - final String resourceGroupName = ResourceUtilsCore.groupFromResourceId(id); - final String name = ResourceUtilsCore.nameFromResourceId(id); - Observable o = RXMapper.map(this.inner().deleteAsync(resourceGroupName, name), id); - observables.add(o); - } - return Observable.mergeDelayError(observables); + public SqlVirtualMachineImpl define(String name) { + return wrapModel(name); } - @Override - public Observable deleteByIdsAsync(String...ids) { - return this.deleteByIdsAsync(new ArrayList(Arrays.asList(ids))); + private SqlVirtualMachineImpl wrapModel(SqlVirtualMachineInner inner) { + return new SqlVirtualMachineImpl(inner, manager()); } - @Override - public void deleteByIds(Collection ids) { - if (ids != null && !ids.isEmpty()) { - this.deleteByIdsAsync(ids).toBlocking().last(); - } + private SqlVirtualMachineImpl wrapModel(String name) { + return new SqlVirtualMachineImpl(name, this.manager()); } @Override - public void deleteByIds(String...ids) { - this.deleteByIds(new ArrayList(Arrays.asList(ids))); + public Observable getByResourceGroupAsync(String resourceGroupName, String sqlVirtualMachineName) { + SqlVirtualMachinesInner client = this.inner(); + return client.getByResourceGroupAsync(resourceGroupName, sqlVirtualMachineName) + .map(new Func1() { + @Override + public SqlVirtualMachine call(SqlVirtualMachineInner inner) { + return new SqlVirtualMachineImpl(inner, manager()); + } + }); } @Override - public PagedList listByResourceGroup(String resourceGroupName) { + public Completable deleteAsync(String resourceGroupName, String sqlVirtualMachineName) { SqlVirtualMachinesInner client = this.inner(); - return this.wrapList(client.listByResourceGroup(resourceGroupName)); + return client.deleteAsync(resourceGroupName, sqlVirtualMachineName).toCompletable(); } @Override - public Observable listByResourceGroupAsync(String resourceGroupName) { + public Observable listAsync() { SqlVirtualMachinesInner client = this.inner(); - return client.listByResourceGroupAsync(resourceGroupName) + return client.listAsync() .flatMapIterable(new Func1, Iterable>() { @Override public Iterable call(Page page) { @@ -91,21 +73,33 @@ public Iterable call(Page page) .map(new Func1() { @Override public SqlVirtualMachine call(SqlVirtualMachineInner inner) { - return wrapModel(inner); + return new SqlVirtualMachineImpl(inner, manager()); } }); } @Override - public PagedList list() { + public Observable listByResourceGroupAsync(final String resourceGroupName) { SqlVirtualMachinesInner client = this.inner(); - return this.wrapList(client.list()); + return client.listByResourceGroupAsync(resourceGroupName) + .flatMapIterable(new Func1, Iterable>() { + @Override + public Iterable call(Page page) { + return page.items(); + } + }) + .map(new Func1() { + @Override + public SqlVirtualMachine call(SqlVirtualMachineInner inner) { + return new SqlVirtualMachineImpl(inner, manager()); + } + }); } @Override - public Observable listAsync() { + public Observable listBySqlVmGroupAsync(final String resourceGroupName, final String sqlVirtualMachineGroupName) { SqlVirtualMachinesInner client = this.inner(); - return client.listAsync() + return client.listBySqlVmGroupAsync(resourceGroupName, sqlVirtualMachineGroupName) .flatMapIterable(new Func1, Iterable>() { @Override public Iterable call(Page page) { @@ -120,19 +114,4 @@ public SqlVirtualMachine call(SqlVirtualMachineInner inner) { }); } - @Override - public SqlVirtualMachineImpl define(String name) { - return wrapModel(name); - } - - @Override - protected SqlVirtualMachineImpl wrapModel(SqlVirtualMachineInner inner) { - return new SqlVirtualMachineImpl(inner.name(), inner, manager()); - } - - @Override - protected SqlVirtualMachineImpl wrapModel(String name) { - return new SqlVirtualMachineImpl(name, new SqlVirtualMachineInner(), this.manager()); - } - } diff --git a/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/implementation/SqlVirtualMachinesInner.java b/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/implementation/SqlVirtualMachinesInner.java index 3cac074ce594..10616389f159 100644 --- a/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/implementation/SqlVirtualMachinesInner.java +++ b/sdk/sqlvirtualmachine/mgmt-v2017_03_01_preview/src/main/java/com/microsoft/azure/management/sqlvirtualmachine/v2017_03_01_preview/implementation/SqlVirtualMachinesInner.java @@ -67,6 +67,10 @@ public SqlVirtualMachinesInner(Retrofit retrofit, SqlVirtualMachineManagementCli * used by Retrofit to perform actually REST calls. */ interface SqlVirtualMachinesService { + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview.SqlVirtualMachines listBySqlVmGroup" }) + @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachineGroups/{sqlVirtualMachineGroupName}/sqlVirtualMachines") + Observable> listBySqlVmGroup(@Path("resourceGroupName") String resourceGroupName, @Path("sqlVirtualMachineGroupName") String sqlVirtualMachineGroupName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview.SqlVirtualMachines list" }) @GET("subscriptions/{subscriptionId}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines") Observable> list(@Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -103,6 +107,10 @@ interface SqlVirtualMachinesService { @GET("subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.SqlVirtualMachine/sqlVirtualMachines") Observable> listByResourceGroup(@Path("resourceGroupName") String resourceGroupName, @Path("subscriptionId") String subscriptionId, @Query("api-version") String apiVersion, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview.SqlVirtualMachines listBySqlVmGroupNext" }) + @GET + Observable> listBySqlVmGroupNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); + @Headers({ "Content-Type: application/json; charset=utf-8", "x-ms-logging-context: com.microsoft.azure.management.sqlvirtualmachine.v2017_03_01_preview.SqlVirtualMachines listNext" }) @GET Observable> listNext(@Url String nextUrl, @Header("accept-language") String acceptLanguage, @Header("User-Agent") String userAgent); @@ -113,6 +121,129 @@ interface SqlVirtualMachinesService { } + /** + * Gets the list of sql virtual machines in a SQL virtual machine group. + * + * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<SqlVirtualMachineInner> object if successful. + */ + public PagedList listBySqlVmGroup(final String resourceGroupName, final String sqlVirtualMachineGroupName) { + ServiceResponse> response = listBySqlVmGroupSinglePageAsync(resourceGroupName, sqlVirtualMachineGroupName).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listBySqlVmGroupNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Gets the list of sql virtual machines in a SQL virtual machine group. + * + * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group. + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listBySqlVmGroupAsync(final String resourceGroupName, final String sqlVirtualMachineGroupName, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listBySqlVmGroupSinglePageAsync(resourceGroupName, sqlVirtualMachineGroupName), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listBySqlVmGroupNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * Gets the list of sql virtual machines in a SQL virtual machine group. + * + * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SqlVirtualMachineInner> object + */ + public Observable> listBySqlVmGroupAsync(final String resourceGroupName, final String sqlVirtualMachineGroupName) { + return listBySqlVmGroupWithServiceResponseAsync(resourceGroupName, sqlVirtualMachineGroupName) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Gets the list of sql virtual machines in a SQL virtual machine group. + * + * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SqlVirtualMachineInner> object + */ + public Observable>> listBySqlVmGroupWithServiceResponseAsync(final String resourceGroupName, final String sqlVirtualMachineGroupName) { + return listBySqlVmGroupSinglePageAsync(resourceGroupName, sqlVirtualMachineGroupName) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listBySqlVmGroupNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Gets the list of sql virtual machines in a SQL virtual machine group. + * + ServiceResponse> * @param resourceGroupName Name of the resource group that contains the resource. You can obtain this value from the Azure Resource Manager API or the portal. + ServiceResponse> * @param sqlVirtualMachineGroupName Name of the SQL virtual machine group. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<SqlVirtualMachineInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listBySqlVmGroupSinglePageAsync(final String resourceGroupName, final String sqlVirtualMachineGroupName) { + if (resourceGroupName == null) { + throw new IllegalArgumentException("Parameter resourceGroupName is required and cannot be null."); + } + if (sqlVirtualMachineGroupName == null) { + throw new IllegalArgumentException("Parameter sqlVirtualMachineGroupName is required and cannot be null."); + } + if (this.client.subscriptionId() == null) { + throw new IllegalArgumentException("Parameter this.client.subscriptionId() is required and cannot be null."); + } + if (this.client.apiVersion() == null) { + throw new IllegalArgumentException("Parameter this.client.apiVersion() is required and cannot be null."); + } + return service.listBySqlVmGroup(resourceGroupName, sqlVirtualMachineGroupName, this.client.subscriptionId(), this.client.apiVersion(), this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listBySqlVmGroupDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> listBySqlVmGroupDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + /** * Gets all SQL virtual machines in a subscription. * @@ -1154,6 +1285,117 @@ private ServiceResponse> listByResourceGroupDel .build(response); } + /** + * Gets the list of sql virtual machines in a SQL virtual machine group. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @throws CloudException thrown if the request is rejected by server + * @throws RuntimeException all other wrapped checked exceptions if the request fails to be sent + * @return the PagedList<SqlVirtualMachineInner> object if successful. + */ + public PagedList listBySqlVmGroupNext(final String nextPageLink) { + ServiceResponse> response = listBySqlVmGroupNextSinglePageAsync(nextPageLink).toBlocking().single(); + return new PagedList(response.body()) { + @Override + public Page nextPage(String nextPageLink) { + return listBySqlVmGroupNextSinglePageAsync(nextPageLink).toBlocking().single().body(); + } + }; + } + + /** + * Gets the list of sql virtual machines in a SQL virtual machine group. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @param serviceFuture the ServiceFuture object tracking the Retrofit calls + * @param serviceCallback the async ServiceCallback to handle successful and failed responses. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the {@link ServiceFuture} object + */ + public ServiceFuture> listBySqlVmGroupNextAsync(final String nextPageLink, final ServiceFuture> serviceFuture, final ListOperationCallback serviceCallback) { + return AzureServiceFuture.fromPageResponse( + listBySqlVmGroupNextSinglePageAsync(nextPageLink), + new Func1>>>() { + @Override + public Observable>> call(String nextPageLink) { + return listBySqlVmGroupNextSinglePageAsync(nextPageLink); + } + }, + serviceCallback); + } + + /** + * Gets the list of sql virtual machines in a SQL virtual machine group. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SqlVirtualMachineInner> object + */ + public Observable> listBySqlVmGroupNextAsync(final String nextPageLink) { + return listBySqlVmGroupNextWithServiceResponseAsync(nextPageLink) + .map(new Func1>, Page>() { + @Override + public Page call(ServiceResponse> response) { + return response.body(); + } + }); + } + + /** + * Gets the list of sql virtual machines in a SQL virtual machine group. + * + * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the observable to the PagedList<SqlVirtualMachineInner> object + */ + public Observable>> listBySqlVmGroupNextWithServiceResponseAsync(final String nextPageLink) { + return listBySqlVmGroupNextSinglePageAsync(nextPageLink) + .concatMap(new Func1>, Observable>>>() { + @Override + public Observable>> call(ServiceResponse> page) { + String nextPageLink = page.body().nextPageLink(); + if (nextPageLink == null) { + return Observable.just(page); + } + return Observable.just(page).concatWith(listBySqlVmGroupNextWithServiceResponseAsync(nextPageLink)); + } + }); + } + + /** + * Gets the list of sql virtual machines in a SQL virtual machine group. + * + ServiceResponse> * @param nextPageLink The NextLink from the previous successful call to List operation. + * @throws IllegalArgumentException thrown if parameters fail the validation + * @return the PagedList<SqlVirtualMachineInner> object wrapped in {@link ServiceResponse} if successful. + */ + public Observable>> listBySqlVmGroupNextSinglePageAsync(final String nextPageLink) { + if (nextPageLink == null) { + throw new IllegalArgumentException("Parameter nextPageLink is required and cannot be null."); + } + String nextUrl = String.format("%s", nextPageLink); + return service.listBySqlVmGroupNext(nextUrl, this.client.acceptLanguage(), this.client.userAgent()) + .flatMap(new Func1, Observable>>>() { + @Override + public Observable>> call(Response response) { + try { + ServiceResponse> result = listBySqlVmGroupNextDelegate(response); + return Observable.just(new ServiceResponse>(result.body(), result.response())); + } catch (Throwable t) { + return Observable.error(t); + } + } + }); + } + + private ServiceResponse> listBySqlVmGroupNextDelegate(Response response) throws CloudException, IOException, IllegalArgumentException { + return this.client.restClient().responseBuilderFactory()., CloudException>newInstance(this.client.serializerAdapter()) + .register(200, new TypeToken>() { }.getType()) + .registerError(CloudException.class) + .build(response); + } + /** * Gets all SQL virtual machines in a subscription. * diff --git a/sdk/storage/azure-storage-blob-batch/pom.xml b/sdk/storage/azure-storage-blob-batch/pom.xml index 213d54283bb6..aba14e520dcc 100644 --- a/sdk/storage/azure-storage-blob-batch/pom.xml +++ b/sdk/storage/azure-storage-blob-batch/pom.xml @@ -5,7 +5,7 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../../pom.client.xml @@ -55,12 +55,12 @@ com.azure azure-core - 1.1.0-beta.1 + 1.1.0 com.azure azure-core-http-netty - 1.1.0-beta.1 + 1.1.0 com.azure @@ -70,6 +70,7 @@ org.slf4j slf4j-api + 1.7.28 provided @@ -97,26 +98,31 @@ org.slf4j slf4j-simple + 1.7.25 test io.projectreactor reactor-test + 3.3.0.RELEASE test com.microsoft.azure adal4j + 1.6.4 test org.spockframework spock-core + 1.3-groovy-2.5 test cglib cglib-nodep + 3.2.7 test @@ -142,7 +148,7 @@ org.apache.maven.plugins maven-compiler-plugin - ${maven-compiler-plugin.version} + 3.8.1 1.8 1.8 @@ -185,19 +191,19 @@ org.codehaus.groovy groovy-eclipse-compiler - ${groovy-eclipse-compiler.version} + 3.4.0-01 org.codehaus.groovy groovy-eclipse-batch - ${groovy-eclipse-batch.version} + 2.5.8-01 org.apache.maven.plugins maven-surefire-plugin - ${maven-surefire-plugin.version} + 3.0.0-M3
@@ -214,6 +220,7 @@ org.apache.maven.plugins maven-compiler-plugin + 3.8.1 9 9 @@ -246,12 +253,12 @@ org.codehaus.groovy groovy-eclipse-compiler - ${groovy-eclipse-compiler.version} + 3.4.0-01 org.codehaus.groovy groovy-eclipse-batch - ${groovy-eclipse-batch.version} + 2.5.8-01
@@ -259,7 +266,7 @@ org.apache.maven.plugins maven-surefire-plugin - ${maven-surefire-plugin.version} + 3.0.0-M3 --add-exports com.azure.core/com.azure.core.implementation.http=ALL-UNNAMED diff --git a/sdk/storage/azure-storage-blob-cryptography/pom.xml b/sdk/storage/azure-storage-blob-cryptography/pom.xml index 0a03c4606cd4..53a9b828840d 100644 --- a/sdk/storage/azure-storage-blob-cryptography/pom.xml +++ b/sdk/storage/azure-storage-blob-cryptography/pom.xml @@ -5,7 +5,7 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../../pom.client.xml @@ -47,18 +47,20 @@ com.azure azure-core-http-netty - 1.1.0-beta.1 + 1.1.0 test org.slf4j slf4j-simple + 1.7.25 test org.spockframework spock-core + 1.3-groovy-2.5 test @@ -66,14 +68,26 @@ cross platform compatibility within SDKs --> com.microsoft.azure azure-storage - 8.4.0 + 8.4.0 test + + + com.fasterxml.jackson.core + jackson-core + + com.microsoft.azure azure-keyvault-cryptography - 1.2.2 + 1.2.2 test + + + com.fasterxml.jackson.core + jackson-core + + com.azure @@ -84,6 +98,7 @@ + @@ -99,7 +114,7 @@ org.apache.maven.plugins maven-compiler-plugin - ${maven-compiler-plugin.version} + 3.8.1 1.8 1.8 @@ -142,19 +157,19 @@ org.codehaus.groovy groovy-eclipse-compiler - ${groovy-eclipse-compiler.version} + 3.4.0-01 org.codehaus.groovy groovy-eclipse-batch - ${groovy-eclipse-batch.version} + 2.5.8-01 org.apache.maven.plugins maven-surefire-plugin - ${maven-surefire-plugin.version} + 3.0.0-M3 @@ -171,6 +186,7 @@ org.apache.maven.plugins maven-compiler-plugin + 3.8.1 9 9 @@ -203,12 +219,12 @@ org.codehaus.groovy groovy-eclipse-compiler - ${groovy-eclipse-compiler.version} + 3.4.0-01 org.codehaus.groovy groovy-eclipse-batch - ${groovy-eclipse-batch.version} + 2.5.8-01 @@ -216,7 +232,7 @@ org.apache.maven.plugins maven-surefire-plugin - ${maven-surefire-plugin.version} + 3.0.0-M3 --add-exports com.azure.core/com.azure.core.implementation.http=ALL-UNNAMED diff --git a/sdk/storage/azure-storage-blob/pom.xml b/sdk/storage/azure-storage-blob/pom.xml index 40d4889566f2..34558cf48cf6 100644 --- a/sdk/storage/azure-storage-blob/pom.xml +++ b/sdk/storage/azure-storage-blob/pom.xml @@ -5,7 +5,7 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../../pom.client.xml @@ -55,7 +55,7 @@ com.azure azure-core - 1.1.0-beta.1 + 1.1.0 com.azure @@ -65,6 +65,7 @@ org.slf4j slf4j-api + 1.7.28 provided @@ -86,7 +87,7 @@ com.azure azure-core-http-netty - 1.1.0-beta.1 + 1.1.0 test @@ -98,26 +99,31 @@ org.slf4j slf4j-simple + 1.7.25 test io.projectreactor reactor-test + 3.3.0.RELEASE test com.microsoft.azure adal4j + 1.6.4 test org.spockframework spock-core + 1.3-groovy-2.5 test cglib cglib-nodep + 3.2.7 test @@ -143,7 +149,7 @@ org.apache.maven.plugins maven-compiler-plugin - ${maven-compiler-plugin.version} + 3.8.1 1.8 1.8 @@ -186,19 +192,19 @@ org.codehaus.groovy groovy-eclipse-compiler - ${groovy-eclipse-compiler.version} + 3.4.0-01 org.codehaus.groovy groovy-eclipse-batch - ${groovy-eclipse-batch.version} + 2.5.8-01 org.apache.maven.plugins maven-surefire-plugin - ${maven-surefire-plugin.version} + 3.0.0-M3 @@ -215,6 +221,7 @@ org.apache.maven.plugins maven-compiler-plugin + 3.8.1 9 9 @@ -247,12 +254,12 @@ org.codehaus.groovy groovy-eclipse-compiler - ${groovy-eclipse-compiler.version} + 3.4.0-01 org.codehaus.groovy groovy-eclipse-batch - ${groovy-eclipse-batch.version} + 2.5.8-01 @@ -260,7 +267,7 @@ org.apache.maven.plugins maven-surefire-plugin - ${maven-surefire-plugin.version} + 3.0.0-M3 --add-exports com.azure.core/com.azure.core.implementation.http=ALL-UNNAMED diff --git a/sdk/storage/azure-storage-common/pom.xml b/sdk/storage/azure-storage-common/pom.xml index 877b3b1fd4a3..c73af5bdb5ef 100644 --- a/sdk/storage/azure-storage-common/pom.xml +++ b/sdk/storage/azure-storage-common/pom.xml @@ -5,7 +5,7 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../../pom.client.xml @@ -36,16 +36,17 @@ com.azure azure-core - 1.1.0-beta.1 + 1.1.0 org.slf4j slf4j-api + 1.7.28 com.azure azure-core-http-netty - 1.1.0-beta.1 + 1.1.0 provided
@@ -73,21 +74,25 @@ org.junit.jupiter junit-jupiter-api + 5.4.2 test org.junit.jupiter junit-jupiter-engine + 5.4.2 test org.slf4j slf4j-simple + 1.7.25 test io.projectreactor reactor-test + 3.3.0.RELEASE test diff --git a/sdk/storage/azure-storage-file-datalake/pom.xml b/sdk/storage/azure-storage-file-datalake/pom.xml index c1623ec83f27..f13cef9f9e09 100644 --- a/sdk/storage/azure-storage-file-datalake/pom.xml +++ b/sdk/storage/azure-storage-file-datalake/pom.xml @@ -5,7 +5,7 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../../pom.client.xml @@ -60,7 +60,7 @@ com.azure azure-core - 1.1.0-beta.1 + 1.1.0 provided
@@ -82,22 +82,25 @@ com.azure azure-core-http-netty - 1.1.0-beta.1 + 1.1.0 test org.slf4j slf4j-simple + 1.7.25 test io.projectreactor reactor-test + 3.3.0.RELEASE test org.spockframework spock-core + 1.3-groovy-2.5 test @@ -130,7 +133,7 @@ org.apache.maven.plugins maven-compiler-plugin - ${maven-compiler-plugin.version} + 3.8.1 1.8 1.8 @@ -175,12 +178,12 @@ org.codehaus.groovy groovy-eclipse-compiler - ${groovy-eclipse-compiler.version} + 3.4.0-01 org.codehaus.groovy groovy-eclipse-batch - ${groovy-eclipse-batch.version} + 2.5.8-01
@@ -188,7 +191,7 @@ org.apache.maven.plugins maven-surefire-plugin - ${maven-surefire-plugin.version} + 3.0.0-M3 @@ -205,6 +208,7 @@ org.apache.maven.plugins maven-compiler-plugin + 3.8.1 9 9 @@ -239,12 +243,12 @@ org.codehaus.groovy groovy-eclipse-compiler - ${groovy-eclipse-compiler.version} + 3.4.0-01 org.codehaus.groovy groovy-eclipse-batch - ${groovy-eclipse-batch.version} + 2.5.8-01
@@ -252,7 +256,7 @@ org.apache.maven.plugins maven-surefire-plugin - ${maven-surefire-plugin.version} + 3.0.0-M3 --add-exports com.azure.core/com.azure.core.implementation.http=ALL-UNNAMED diff --git a/sdk/storage/azure-storage-file-share/pom.xml b/sdk/storage/azure-storage-file-share/pom.xml index a5a70febacb8..ead8c86b6a3d 100644 --- a/sdk/storage/azure-storage-file-share/pom.xml +++ b/sdk/storage/azure-storage-file-share/pom.xml @@ -5,7 +5,7 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../../pom.client.xml @@ -40,7 +40,7 @@ com.azure azure-core - 1.1.0-beta.1 + 1.1.0 com.azure @@ -54,7 +54,7 @@ com.google.code.findbugs jsr305 - 3.0.2 + 3.0.2 provided @@ -67,22 +67,25 @@ com.azure azure-core-http-netty - 1.1.0-beta.1 + 1.1.0 test org.slf4j slf4j-simple + 1.7.25 test io.projectreactor reactor-test + 3.3.0.RELEASE test org.spockframework spock-core + 1.3-groovy-2.5 test @@ -98,7 +101,7 @@ org.apache.maven.plugins maven-compiler-plugin - ${maven-compiler-plugin.version} + 3.8.1 1.8 1.8 @@ -141,19 +144,19 @@ org.codehaus.groovy groovy-eclipse-compiler - ${groovy-eclipse-compiler.version} + 3.4.0-01 org.codehaus.groovy groovy-eclipse-batch - ${groovy-eclipse-batch.version} + 2.5.8-01 org.apache.maven.plugins maven-surefire-plugin - ${maven-surefire-plugin.version} + 3.0.0-M3 @@ -170,6 +173,7 @@ org.apache.maven.plugins maven-compiler-plugin + 3.8.1 9 9 @@ -202,12 +206,12 @@ org.codehaus.groovy groovy-eclipse-compiler - ${groovy-eclipse-compiler.version} + 3.4.0-01 org.codehaus.groovy groovy-eclipse-batch - ${groovy-eclipse-batch.version} + 2.5.8-01 @@ -215,7 +219,7 @@ org.apache.maven.plugins maven-surefire-plugin - ${maven-surefire-plugin.version} + 3.0.0-M3 --add-exports com.azure.core/com.azure.core.implementation.http=ALL-UNNAMED diff --git a/sdk/storage/azure-storage-queue-cryptography/pom.xml b/sdk/storage/azure-storage-queue-cryptography/pom.xml index d11ef0fbbd9c..c593db9afdfc 100644 --- a/sdk/storage/azure-storage-queue-cryptography/pom.xml +++ b/sdk/storage/azure-storage-queue-cryptography/pom.xml @@ -5,7 +5,7 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../../pom.client.xml @@ -47,23 +47,26 @@ - + + + + @@ -79,7 +82,7 @@ org.apache.maven.plugins maven-compiler-plugin - ${maven-compiler-plugin.version} + 3.8.1 1.8 1.8 @@ -122,19 +125,19 @@ org.codehaus.groovy groovy-eclipse-compiler - ${groovy-eclipse-compiler.version} + 3.4.0-01 org.codehaus.groovy groovy-eclipse-batch - ${groovy-eclipse-batch.version} + 2.5.8-01 org.apache.maven.plugins maven-surefire-plugin - ${maven-surefire-plugin.version} + 3.0.0-M3 @@ -183,12 +186,12 @@ org.codehaus.groovy groovy-eclipse-compiler - ${groovy-eclipse-compiler.version} + 3.4.0-01 org.codehaus.groovy groovy-eclipse-batch - ${groovy-eclipse-batch.version} + 2.5.8-01 @@ -196,7 +199,7 @@ org.apache.maven.plugins maven-surefire-plugin - ${maven-surefire-plugin.version} + 3.0.0-M3 diff --git a/sdk/storage/azure-storage-queue/pom.xml b/sdk/storage/azure-storage-queue/pom.xml index fca79b266237..dc775c0e4127 100644 --- a/sdk/storage/azure-storage-queue/pom.xml +++ b/sdk/storage/azure-storage-queue/pom.xml @@ -5,7 +5,7 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../../pom.client.xml @@ -36,7 +36,7 @@ com.azure azure-core - 1.1.0-beta.1 + 1.1.0 com.azure @@ -52,23 +52,26 @@ com.azure azure-core-http-netty - 1.1.0-beta.1 + 1.1.0 test org.slf4j slf4j-simple + 1.7.25 test org.spockframework spock-core + 1.3-groovy-2.5 test io.projectreactor reactor-test + 3.3.0.RELEASE test @@ -90,7 +93,7 @@ org.apache.maven.plugins maven-compiler-plugin - ${maven-compiler-plugin.version} + 3.8.1 1.8 1.8 @@ -133,19 +136,19 @@ org.codehaus.groovy groovy-eclipse-compiler - ${groovy-eclipse-compiler.version} + 3.4.0-01 org.codehaus.groovy groovy-eclipse-batch - ${groovy-eclipse-batch.version} + 2.5.8-01 org.apache.maven.plugins maven-surefire-plugin - ${maven-surefire-plugin.version} + 3.0.0-M3 @@ -162,6 +165,7 @@ org.apache.maven.plugins maven-compiler-plugin + 3.8.1 9 9 @@ -194,12 +198,12 @@ org.codehaus.groovy groovy-eclipse-compiler - ${groovy-eclipse-compiler.version} + 3.4.0-01 org.codehaus.groovy groovy-eclipse-batch - ${groovy-eclipse-batch.version} + 2.5.8-01 @@ -207,7 +211,7 @@ org.apache.maven.plugins maven-surefire-plugin - ${maven-surefire-plugin.version} + 3.0.0-M3 --add-exports com.azure.core/com.azure.core.implementation.http=ALL-UNNAMED diff --git a/sdk/storage/microsoft-azure-storage-blob/pom.xml b/sdk/storage/microsoft-azure-storage-blob/pom.xml index 753c9e9e0b74..465d129a053d 100644 --- a/sdk/storage/microsoft-azure-storage-blob/pom.xml +++ b/sdk/storage/microsoft-azure-storage-blob/pom.xml @@ -9,7 +9,7 @@ com.azure azure-data-sdk-parent - 1.2.0 + 1.3.0 ../../../pom.data.xml @@ -50,40 +50,47 @@ com.microsoft.rest.v2 client-runtime + 2.1.1 org.slf4j slf4j-api + 1.7.28 com.microsoft.azure adal4j + 1.6.4 test junit junit + 4.13-beta-3 test org.spockframework spock-core + 1.3-groovy-2.5 test cglib cglib-nodep + 3.2.7 test uk.org.lidalia slf4j-test + 1.2.0 test @@ -97,6 +104,7 @@ org.apache.maven.plugins maven-compiler-plugin + 3.8.1 groovy-eclipse-compiler -Xlint:unchecked @@ -108,12 +116,12 @@ org.codehaus.groovy groovy-eclipse-compiler - ${groovy-eclipse-compiler.version} + 3.4.0-01 org.codehaus.groovy groovy-eclipse-batch - ${groovy-eclipse-batch.version} + 2.5.8-01 diff --git a/sdk/template/azure-sdk-template/pom.xml b/sdk/template/azure-sdk-template/pom.xml index e98c1f4dfe3a..d61131d1e5f9 100644 --- a/sdk/template/azure-sdk-template/pom.xml +++ b/sdk/template/azure-sdk-template/pom.xml @@ -5,7 +5,7 @@ com.azure azure-client-sdk-parent - 1.6.0 + 1.7.0 ../../../pom.client.xml @@ -31,11 +31,12 @@ com.azure azure-core - 1.1.0-beta.1 + 1.1.0 junit junit + 4.13-beta-3 test