From 7c48c74d5f06910b25d31ed81aa2ee9e38fae7ae Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Thu, 23 Sep 2021 15:17:10 -0700 Subject: [PATCH 01/25] add lru cache to avro serializer --- .../_schema_registry_avro_serializer.py | 38 ++--- .../tests/perf_tests/test_cache.py | 153 ++++++++++++++++++ 2 files changed, 167 insertions(+), 24 deletions(-) create mode 100644 sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/perf_tests/test_cache.py diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_schema_registry_avro_serializer.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_schema_registry_avro_serializer.py index e385630a81e2..5bb574bb6c19 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_schema_registry_avro_serializer.py +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_schema_registry_avro_serializer.py @@ -23,6 +23,7 @@ # IN THE SOFTWARE. # # -------------------------------------------------------------------------- +from functools import lru_cache from io import BytesIO from typing import Any, Dict, Union import avro @@ -56,8 +57,6 @@ def __init__(self, client, group_name, **kwargs): if self._auto_register_schemas else self._schema_registry_client.get_schema_id ) - self._id_to_schema = {} - self._schema_to_id = {} self._user_input_schema_cache = {} def __enter__(self): @@ -76,8 +75,9 @@ def close(self): """ self._schema_registry_client.close() - def _get_schema_id(self, schema_name, schema, **kwargs): - # type: (str, avro.schema.Schema, Any) -> str + @lru_cache(maxsize=128) + def _get_schema_id(self, schema_name, schema_str, **kwargs): + # type: (str, str, Any) -> str """ Get schema id from local cache with the given schema. If there is no item in the local cache, get schema id from the service and cache it. @@ -89,17 +89,12 @@ def _get_schema_id(self, schema_name, schema, **kwargs): :return: Schema Id :rtype: str """ - schema_str = str(schema) - try: - return self._schema_to_id[schema_str] - except KeyError: - schema_id = self._auto_register_schema_func( - self._schema_group, schema_name, "Avro", schema_str, **kwargs - ).schema_id - self._schema_to_id[schema_str] = schema_id - self._id_to_schema[schema_id] = schema_str - return schema_id + schema_id = self._auto_register_schema_func( + self._schema_group, schema_name, "Avro", schema_str, **kwargs + ).schema_id + return schema_id + @lru_cache(maxsize=128) def _get_schema(self, schema_id, **kwargs): # type: (str, Any) -> str """ @@ -109,15 +104,10 @@ def _get_schema(self, schema_id, **kwargs): :param str schema_id: Schema id :return: Schema content """ - try: - return self._id_to_schema[schema_id] - except KeyError: - schema_str = self._schema_registry_client.get_schema( - schema_id, **kwargs - ).schema_content - self._id_to_schema[schema_id] = schema_str - self._schema_to_id[schema_str] = schema_id - return schema_str + schema_str = self._schema_registry_client.get_schema( + schema_id, **kwargs + ).schema_content + return schema_str def serialize(self, value, schema, **kwargs): # type: (Dict[str, Any], Union[str, bytes], Any) -> bytes @@ -141,7 +131,7 @@ def serialize(self, value, schema, **kwargs): cached_schema = parsed_schema record_format_identifier = b"\0\0\0\0" - schema_id = self._get_schema_id(cached_schema.fullname, cached_schema, **kwargs) + schema_id = self._get_schema_id(cached_schema.fullname, str(cached_schema), **kwargs) data_bytes = self._avro_serializer.serialize(value, cached_schema) stream = BytesIO() diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/perf_tests/test_cache.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/perf_tests/test_cache.py new file mode 100644 index 000000000000..36ba7fd55caf --- /dev/null +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/perf_tests/test_cache.py @@ -0,0 +1,153 @@ +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- +import os +import time +import json +import sys + +from azure.identity import ClientSecretCredential +from azure.schemaregistry import SchemaRegistryClient +from azure.schemaregistry.serializer.avroserializer import SchemaRegistryAvroSerializer + +TENANT_ID=os.environ['SCHEMA_REGISTRY_AZURE_TENANT_ID'] +CLIENT_ID=os.environ['SCHEMA_REGISTRY_AZURE_CLIENT_ID'] +CLIENT_SECRET=os.environ['SCHEMA_REGISTRY_AZURE_CLIENT_SECRET'] + +SCHEMA_REGISTRY_ENDPOINT=os.environ['SCHEMA_REGISTRY_ENDPOINT'] +GROUP_NAME=os.environ['SCHEMA_REGISTRY_GROUP'] + + +token_credential = ClientSecretCredential( + tenant_id=TENANT_ID, + client_id=CLIENT_ID, + client_secret=CLIENT_SECRET +) + +cached_call_count = 100 +num_long_schema_entries = 10000 + +SCHEMA_STRING_SHORT = """ +{"namespace": "example.short.avro", + "type": "record", + "name": "User", + "fields": [ + {"name": "name", "type": "string"} + ] +}""" +SCHEMA_DICT_LONG = {"namespace": "example.med.avro", + "type": "record", + "name": "User", + "fields": [ + {"name": "name", "type": "string"}, + {"name": "favorite_color", "type": "string"} + ] +} +for i in range(num_long_schema_entries): + SCHEMA_DICT_LONG["fields"].append({"name": f"num{i}", "type": "int"}) +SCHEMA_STRING_LONG = json.dumps(SCHEMA_DICT_LONG) + + +def serialize(serializer, dict_data_a, dict_data_b, schema_str): + + # Schema would be automatically registered into Schema Registry and cached locally. + st1 = time.time() + payload_ben = serializer.serialize(dict_data_b, schema_str) + et1 = time.time() + # The second call won't trigger a service call. + st2 = time.time() + for _ in range(cached_call_count): + payload_alice = serializer.serialize(dict_data_a, schema_str) + et2 = time.time() + + print("time to serialize one value with uncached schema: {}".format(et1-st1)) + print("avg time to serialize one value with cached schema: {}".format((et2-st2)/cached_call_count)) + return [payload_ben, payload_alice] + + +def deserialize(serializer, bytes_payload_a, bytes_payload_b): + # serializer.deserialize would extract the schema id from the payload, + # retrieve schema from Schema Registry and cache the schema locally. + # If the schema id is the local cache, the call won't trigger a service call. + st1 = time.time() + dict_data_b = serializer.deserialize(bytes_payload_b) + et1 = time.time() + + st2 = time.time() + for _ in range(cached_call_count): + dict_data_a = serializer.deserialize(bytes_payload_a) + et2 = time.time() + print("time to deserialize one value with uncached schema: {}".format(et1-st1)) + print("avg time to deserialize one value with cached schema: {}".format((et2-st2)/cached_call_count)) + + +def serialize_perf(serializer): + dict_data_alice_short = {"name": u"Alice"} + dict_data_ben_short = {"name": u"Ben"} + print("=================SHORT=================") + serialize(serializer, dict_data_alice_short, dict_data_ben_short, SCHEMA_STRING_SHORT) + print("=======================================") + dict_data_alice_long = {"name": u"Alice", "favorite_color": u"green"} + dict_data_ben_long = {"name": u"Ben", "favorite_color": u"red"} + for i in range(num_long_schema_entries): + dict_data_alice_long[f'num{i}']= i + dict_data_ben_long[f'num{i}'] = i + + print("=================LONG==================") + serialize(serializer, dict_data_alice_long, dict_data_ben_long, SCHEMA_STRING_LONG) + print("=======================================") + + +def deserialize_perf(serializer): + # SHORT: get encoded payload + dict_data_alice_short = {"name": u"Alice"} + dict_data_ben_short = {"name": u"Ben"} + short_payload_ben = serializer.serialize(dict_data_ben_short, SCHEMA_STRING_SHORT) + short_payload_alice = serializer.serialize(dict_data_alice_short, SCHEMA_STRING_SHORT) + + # LONG: get encoded payload + dict_data_alice_long = {"name": u"Alice", "favorite_color": u"green"} + dict_data_ben_long = {"name": u"Ben", "favorite_color": u"red"} + for i in range(num_long_schema_entries): + dict_data_alice_long[f'num{i}'] = i + dict_data_ben_long[f'num{i}'] = i + long_payload_ben = serializer.serialize(dict_data_ben_long, SCHEMA_STRING_LONG) + long_payload_alice = serializer.serialize(dict_data_alice_long, SCHEMA_STRING_LONG) + print("=================SHORT=================") + deserialize(serializer, short_payload_alice, short_payload_ben) + print("=======================================") + print("=================LONG==================") + deserialize(serializer, long_payload_alice, long_payload_ben) + print("=======================================") + + +if __name__ == '__main__': + print(f'bytes size of short schema: {sys.getsizeof(SCHEMA_STRING_SHORT)}') + print(f'bytes size of long schema: {sys.getsizeof(SCHEMA_STRING_LONG)}') + schema_registry = SchemaRegistryClient(endpoint=SCHEMA_REGISTRY_ENDPOINT, credential=token_credential) + serializer = SchemaRegistryAvroSerializer(schema_registry, GROUP_NAME, auto_register_schemas=True) + serialize_perf(serializer) + deserialize_perf(serializer) + serializer.close() From 3f47b00bdb4b1b1633dc982968bf1a5eb030044f Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Thu, 23 Sep 2021 17:28:05 -0700 Subject: [PATCH 02/25] change name for CI error --- .../perf_tests/{test_cache.py => serialize_deserialize_cache.py} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/perf_tests/{test_cache.py => serialize_deserialize_cache.py} (100%) diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/perf_tests/test_cache.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/perf_tests/serialize_deserialize_cache.py similarity index 100% rename from sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/perf_tests/test_cache.py rename to sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/perf_tests/serialize_deserialize_cache.py From a37f82e261fa523b84fc76cd49ace5d58d5e7d30 Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Fri, 24 Sep 2021 15:33:59 -0700 Subject: [PATCH 03/25] remove perf script --- .../perf_tests/serialize_deserialize_cache.py | 153 ------------------ 1 file changed, 153 deletions(-) delete mode 100644 sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/perf_tests/serialize_deserialize_cache.py diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/perf_tests/serialize_deserialize_cache.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/perf_tests/serialize_deserialize_cache.py deleted file mode 100644 index 36ba7fd55caf..000000000000 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/perf_tests/serialize_deserialize_cache.py +++ /dev/null @@ -1,153 +0,0 @@ -# -------------------------------------------------------------------------- -# -# Copyright (c) Microsoft Corporation. All rights reserved. -# -# The MIT License (MIT) -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the ""Software""), to -# deal in the Software without restriction, including without limitation the -# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -# sell copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# -------------------------------------------------------------------------- -import os -import time -import json -import sys - -from azure.identity import ClientSecretCredential -from azure.schemaregistry import SchemaRegistryClient -from azure.schemaregistry.serializer.avroserializer import SchemaRegistryAvroSerializer - -TENANT_ID=os.environ['SCHEMA_REGISTRY_AZURE_TENANT_ID'] -CLIENT_ID=os.environ['SCHEMA_REGISTRY_AZURE_CLIENT_ID'] -CLIENT_SECRET=os.environ['SCHEMA_REGISTRY_AZURE_CLIENT_SECRET'] - -SCHEMA_REGISTRY_ENDPOINT=os.environ['SCHEMA_REGISTRY_ENDPOINT'] -GROUP_NAME=os.environ['SCHEMA_REGISTRY_GROUP'] - - -token_credential = ClientSecretCredential( - tenant_id=TENANT_ID, - client_id=CLIENT_ID, - client_secret=CLIENT_SECRET -) - -cached_call_count = 100 -num_long_schema_entries = 10000 - -SCHEMA_STRING_SHORT = """ -{"namespace": "example.short.avro", - "type": "record", - "name": "User", - "fields": [ - {"name": "name", "type": "string"} - ] -}""" -SCHEMA_DICT_LONG = {"namespace": "example.med.avro", - "type": "record", - "name": "User", - "fields": [ - {"name": "name", "type": "string"}, - {"name": "favorite_color", "type": "string"} - ] -} -for i in range(num_long_schema_entries): - SCHEMA_DICT_LONG["fields"].append({"name": f"num{i}", "type": "int"}) -SCHEMA_STRING_LONG = json.dumps(SCHEMA_DICT_LONG) - - -def serialize(serializer, dict_data_a, dict_data_b, schema_str): - - # Schema would be automatically registered into Schema Registry and cached locally. - st1 = time.time() - payload_ben = serializer.serialize(dict_data_b, schema_str) - et1 = time.time() - # The second call won't trigger a service call. - st2 = time.time() - for _ in range(cached_call_count): - payload_alice = serializer.serialize(dict_data_a, schema_str) - et2 = time.time() - - print("time to serialize one value with uncached schema: {}".format(et1-st1)) - print("avg time to serialize one value with cached schema: {}".format((et2-st2)/cached_call_count)) - return [payload_ben, payload_alice] - - -def deserialize(serializer, bytes_payload_a, bytes_payload_b): - # serializer.deserialize would extract the schema id from the payload, - # retrieve schema from Schema Registry and cache the schema locally. - # If the schema id is the local cache, the call won't trigger a service call. - st1 = time.time() - dict_data_b = serializer.deserialize(bytes_payload_b) - et1 = time.time() - - st2 = time.time() - for _ in range(cached_call_count): - dict_data_a = serializer.deserialize(bytes_payload_a) - et2 = time.time() - print("time to deserialize one value with uncached schema: {}".format(et1-st1)) - print("avg time to deserialize one value with cached schema: {}".format((et2-st2)/cached_call_count)) - - -def serialize_perf(serializer): - dict_data_alice_short = {"name": u"Alice"} - dict_data_ben_short = {"name": u"Ben"} - print("=================SHORT=================") - serialize(serializer, dict_data_alice_short, dict_data_ben_short, SCHEMA_STRING_SHORT) - print("=======================================") - dict_data_alice_long = {"name": u"Alice", "favorite_color": u"green"} - dict_data_ben_long = {"name": u"Ben", "favorite_color": u"red"} - for i in range(num_long_schema_entries): - dict_data_alice_long[f'num{i}']= i - dict_data_ben_long[f'num{i}'] = i - - print("=================LONG==================") - serialize(serializer, dict_data_alice_long, dict_data_ben_long, SCHEMA_STRING_LONG) - print("=======================================") - - -def deserialize_perf(serializer): - # SHORT: get encoded payload - dict_data_alice_short = {"name": u"Alice"} - dict_data_ben_short = {"name": u"Ben"} - short_payload_ben = serializer.serialize(dict_data_ben_short, SCHEMA_STRING_SHORT) - short_payload_alice = serializer.serialize(dict_data_alice_short, SCHEMA_STRING_SHORT) - - # LONG: get encoded payload - dict_data_alice_long = {"name": u"Alice", "favorite_color": u"green"} - dict_data_ben_long = {"name": u"Ben", "favorite_color": u"red"} - for i in range(num_long_schema_entries): - dict_data_alice_long[f'num{i}'] = i - dict_data_ben_long[f'num{i}'] = i - long_payload_ben = serializer.serialize(dict_data_ben_long, SCHEMA_STRING_LONG) - long_payload_alice = serializer.serialize(dict_data_alice_long, SCHEMA_STRING_LONG) - print("=================SHORT=================") - deserialize(serializer, short_payload_alice, short_payload_ben) - print("=======================================") - print("=================LONG==================") - deserialize(serializer, long_payload_alice, long_payload_ben) - print("=======================================") - - -if __name__ == '__main__': - print(f'bytes size of short schema: {sys.getsizeof(SCHEMA_STRING_SHORT)}') - print(f'bytes size of long schema: {sys.getsizeof(SCHEMA_STRING_LONG)}') - schema_registry = SchemaRegistryClient(endpoint=SCHEMA_REGISTRY_ENDPOINT, credential=token_credential) - serializer = SchemaRegistryAvroSerializer(schema_registry, GROUP_NAME, auto_register_schemas=True) - serialize_perf(serializer) - deserialize_perf(serializer) - serializer.close() From 8bfc9314e2e8076210efab98c8e0ba640b7bfe0f Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Mon, 27 Sep 2021 09:08:42 -0700 Subject: [PATCH 04/25] tests --- ...basic_sr_avro_serializer_with_auto_register_schemas.yaml | 2 +- ...ic_sr_avro_serializer_without_auto_register_schemas.yaml | 2 +- .../tests/test_avro_serializer.py | 6 ------ 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml index 138b96d57d44..8f9e7ba054e5 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml @@ -28,7 +28,7 @@ interactions: content-type: - application/json date: - - Fri, 24 Sep 2021 19:54:45 GMT + - Mon, 27 Sep 2021 16:08:06 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2017-04 server: diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml index 2d3f07b5e19d..499814f9759d 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml @@ -28,7 +28,7 @@ interactions: content-type: - application/json date: - - Fri, 24 Sep 2021 19:54:47 GMT + - Mon, 27 Sep 2021 16:08:07 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2017-04 server: diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/test_avro_serializer.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/test_avro_serializer.py index 3d7b7f56608a..bf2bca41907f 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/test_avro_serializer.py +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/test_avro_serializer.py @@ -87,14 +87,11 @@ def test_basic_sr_avro_serializer_with_auto_register_schemas(self, schemaregistr encoded_data = sr_avro_serializer.serialize(dict_data, schema=schema_str) assert schema_str in sr_avro_serializer._user_input_schema_cache - assert str(avro.schema.parse(schema_str)) in sr_avro_serializer._schema_to_id assert encoded_data[0:4] == b'\0\0\0\0' schema_id = sr_client.get_schema_id(schemaregistry_group, schema.fullname, "Avro", str(schema)).schema_id assert encoded_data[4:36] == schema_id.encode("utf-8") - assert schema_id in sr_avro_serializer._id_to_schema - decoded_data = sr_avro_serializer.deserialize(encoded_data) assert decoded_data["name"] == u"Ben" assert decoded_data["favorite_number"] == 7 @@ -115,14 +112,11 @@ def test_basic_sr_avro_serializer_without_auto_register_schemas(self, schemaregi encoded_data = sr_avro_serializer.serialize(dict_data, schema=schema_str) assert schema_str in sr_avro_serializer._user_input_schema_cache - assert str(avro.schema.parse(schema_str)) in sr_avro_serializer._schema_to_id assert encoded_data[0:4] == b'\0\0\0\0' schema_id = sr_client.get_schema_id(schemaregistry_group, schema.fullname, "Avro", str(schema)).schema_id assert encoded_data[4:36] == schema_id.encode("utf-8") - assert schema_id in sr_avro_serializer._id_to_schema - decoded_data = sr_avro_serializer.deserialize(encoded_data) assert decoded_data["name"] == u"Ben" assert decoded_data["favorite_number"] == 7 From 62c1335457ab8891e5e4eca344d7fc5473f3526f Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Mon, 27 Sep 2021 16:04:43 -0700 Subject: [PATCH 05/25] rename sample envvars --- .../sample_code_schemaregistry_async.py | 12 ++++++------ .../samples/async_samples/schema_registry_async.py | 10 +++++----- .../sync_samples/sample_code_schemaregistry.py | 12 ++++++------ .../samples/sync_samples/schema_registry.py | 10 +++++----- 4 files changed, 22 insertions(+), 22 deletions(-) diff --git a/sdk/schemaregistry/azure-schemaregistry/samples/async_samples/sample_code_schemaregistry_async.py b/sdk/schemaregistry/azure-schemaregistry/samples/async_samples/sample_code_schemaregistry_async.py index f304528c7332..9e40e79f2b86 100644 --- a/sdk/schemaregistry/azure-schemaregistry/samples/async_samples/sample_code_schemaregistry_async.py +++ b/sdk/schemaregistry/azure-schemaregistry/samples/async_samples/sample_code_schemaregistry_async.py @@ -33,13 +33,13 @@ def create_client(): # [START create_sr_client_async] - SCHEMA_REGISTRY_FQN = os.environ['SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE'] + SCHEMA_REGISTRY_FQN = os.environ['SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE'] token_credential = DefaultAzureCredential() schema_registry_client = SchemaRegistryClient(fully_qualified_namespace=SCHEMA_REGISTRY_FQN, credential=token_credential) # [END create_sr_client_async] - TENANT_ID = os.environ['SCHEMA_REGISTRY_AZURE_TENANT_ID'] - CLIENT_ID = os.environ['SCHEMA_REGISTRY_AZURE_CLIENT_ID'] - CLIENT_SECRET = os.environ['SCHEMA_REGISTRY_AZURE_CLIENT_SECRET'] + TENANT_ID = os.environ['AZURE_TENANT_ID'] + CLIENT_ID = os.environ['AZURE_CLIENT_ID'] + CLIENT_SECRET = os.environ['AZURE_CLIENT_SECRET'] token_credential = ClientSecretCredential(TENANT_ID, CLIENT_ID, CLIENT_SECRET) schema_registry_client = SchemaRegistryClient(fully_qualified_namespace=SCHEMA_REGISTRY_FQN, credential=token_credential) return schema_registry_client, token_credential @@ -47,7 +47,7 @@ def create_client(): async def register_schema(schema_registry_client): # [START register_schema_async] - GROUP_NAME = os.environ['SCHEMA_REGISTRY_GROUP'] + GROUP_NAME = os.environ['SCHEMAREGISTRY_GROUP'] NAME = 'your-schema-name' FORMAT = SchemaFormat.AVRO SCHEMA_DEFINITION = """{"namespace":"example.avro","type":"record","name":"User","fields":[{"name":"name","type":"string"},{"name":"favorite_number","type":["int","null"]},{"name":"favorite_color","type":["string","null"]}]}""" @@ -66,7 +66,7 @@ async def get_schema(schema_registry_client, id): async def get_schema_id(schema_registry_client): - group_name = os.environ['SCHEMA_REGISTRY_GROUP'] + group_name = os.environ['SCHEMAREGISTRY_GROUP'] name = 'your-schema-name' format = SchemaFormat.AVRO schema_definition = """{"namespace":"example.avro","type":"record","name":"User","fields":[{"name":"name","type":"string"},{"name":"favorite_number","type":["int","null"]},{"name":"favorite_color","type":["string","null"]}]}""" diff --git a/sdk/schemaregistry/azure-schemaregistry/samples/async_samples/schema_registry_async.py b/sdk/schemaregistry/azure-schemaregistry/samples/async_samples/schema_registry_async.py index 20799e5aa353..eedf358bfbbb 100644 --- a/sdk/schemaregistry/azure-schemaregistry/samples/async_samples/schema_registry_async.py +++ b/sdk/schemaregistry/azure-schemaregistry/samples/async_samples/schema_registry_async.py @@ -18,12 +18,12 @@ from azure.schemaregistry.aio import SchemaRegistryClient from azure.schemaregistry import SchemaFormat -TENANT_ID = os.environ['SCHEMA_REGISTRY_AZURE_TENANT_ID'] -CLIENT_ID = os.environ['SCHEMA_REGISTRY_AZURE_CLIENT_ID'] -CLIENT_SECRET = os.environ['SCHEMA_REGISTRY_AZURE_CLIENT_SECRET'] +TENANT_ID = os.environ['AZURE_TENANT_ID'] +CLIENT_ID = os.environ['AZURE_CLIENT_ID'] +CLIENT_SECRET = os.environ['AZURE_CLIENT_SECRET'] -SCHEMA_REGISTRY_FQN = os.environ['SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE'] -GROUP_NAME = os.environ['SCHEMA_REGISTRY_GROUP'] +SCHEMA_REGISTRY_FQN = os.environ['SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE'] +GROUP_NAME = os.environ['SCHEMAREGISTRY_GROUP'] NAME = 'your-schema-name' FORMAT = SchemaFormat.AVRO SCHEMA_STRING = """{"namespace":"example.avro","type":"record","name":"User","fields":[{"name":"name","type":"string"},{"name":"favorite_number","type":["int","null"]},{"name":"favorite_color","type":["string","null"]}]}""" diff --git a/sdk/schemaregistry/azure-schemaregistry/samples/sync_samples/sample_code_schemaregistry.py b/sdk/schemaregistry/azure-schemaregistry/samples/sync_samples/sample_code_schemaregistry.py index f3aede39c512..e7072ad4913f 100644 --- a/sdk/schemaregistry/azure-schemaregistry/samples/sync_samples/sample_code_schemaregistry.py +++ b/sdk/schemaregistry/azure-schemaregistry/samples/sync_samples/sample_code_schemaregistry.py @@ -31,13 +31,13 @@ def create_client(): # [START create_sr_client_sync] - SCHEMA_REGISTRY_FQN = os.environ['SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE'] + SCHEMA_REGISTRY_FQN = os.environ['SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE'] token_credential = DefaultAzureCredential() schema_registry_client = SchemaRegistryClient(fully_qualified_namespace=SCHEMA_REGISTRY_FQN, credential=token_credential) # [END create_sr_client_sync] - TENANT_ID = os.environ['SCHEMA_REGISTRY_AZURE_TENANT_ID'] - CLIENT_ID = os.environ['SCHEMA_REGISTRY_AZURE_CLIENT_ID'] - CLIENT_SECRET = os.environ['SCHEMA_REGISTRY_AZURE_CLIENT_SECRET'] + TENANT_ID = os.environ['AZURE_TENANT_ID'] + CLIENT_ID = os.environ['AZURE_CLIENT_ID'] + CLIENT_SECRET = os.environ['AZURE_CLIENT_SECRET'] token_credential = ClientSecretCredential(TENANT_ID, CLIENT_ID, CLIENT_SECRET) schema_registry_client = SchemaRegistryClient(fully_qualified_namespace=SCHEMA_REGISTRY_FQN, credential=token_credential) return schema_registry_client @@ -45,7 +45,7 @@ def create_client(): def register_schema(schema_registry_client): # [START register_schema_sync] - GROUP_NAME = os.environ['SCHEMA_REGISTRY_GROUP'] + GROUP_NAME = os.environ['SCHEMAREGISTRY_GROUP'] NAME = 'your-schema-name' FORMAT = SchemaFormat.AVRO SCHEMA_DEFINITION = """{"namespace":"example.avro","type":"record","name":"User","fields":[{"name":"name","type":"string"},{"name":"favorite_number","type":["int","null"]},{"name":"favorite_color","type":["string","null"]}]}""" @@ -76,7 +76,7 @@ def get_schema(schema_registry_client, id): def get_schema_id(schema_registry_client): - group_name = os.environ['SCHEMA_REGISTRY_GROUP'] + group_name = os.environ['SCHEMAREGISTRY_GROUP'] name = 'your-schema-name' format = SchemaFormat.AVRO schema_definition = """{"namespace":"example.avro","type":"record","name":"User","fields":[{"name":"name","type":"string"},{"name":"favorite_number","type":["int","null"]},{"name":"favorite_color","type":["string","null"]}]}""" diff --git a/sdk/schemaregistry/azure-schemaregistry/samples/sync_samples/schema_registry.py b/sdk/schemaregistry/azure-schemaregistry/samples/sync_samples/schema_registry.py index 08f5a539b383..2b1418709619 100644 --- a/sdk/schemaregistry/azure-schemaregistry/samples/sync_samples/schema_registry.py +++ b/sdk/schemaregistry/azure-schemaregistry/samples/sync_samples/schema_registry.py @@ -38,12 +38,12 @@ from azure.identity import ClientSecretCredential from azure.schemaregistry import SchemaRegistryClient, SchemaFormat -TENANT_ID = os.environ['SCHEMA_REGISTRY_AZURE_TENANT_ID'] -CLIENT_ID = os.environ['SCHEMA_REGISTRY_AZURE_CLIENT_ID'] -CLIENT_SECRET = os.environ['SCHEMA_REGISTRY_AZURE_CLIENT_SECRET'] +TENANT_ID = os.environ['AZURE_TENANT_ID'] +CLIENT_ID = os.environ['AZURE_CLIENT_ID'] +CLIENT_SECRET = os.environ['AZURE_CLIENT_SECRET'] -SCHEMA_REGISTRY_FQN = os.environ['SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE'] -GROUP_NAME = os.environ['SCHEMA_REGISTRY_GROUP'] +SCHEMA_REGISTRY_FQN = os.environ['SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE'] +GROUP_NAME = os.environ['SCHEMAREGISTRY_GROUP'] NAME = 'your-schema-name' FORMAT = SchemaFormat.AVRO From 4bd0e5d6805d51f52930149da1c0d38aad36790b Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Mon, 27 Sep 2021 16:10:06 -0700 Subject: [PATCH 06/25] fix SR env var names --- ...egistry_async.test_schema_basic_async.yaml | 42 +++++------ ....test_schema_negative_no_schema_async.yaml | 18 ++--- ...ry_async.test_schema_same_twice_async.yaml | 28 ++++---- ...gistry_async.test_schema_update_async.yaml | 42 +++++------ .../async_tests/schemaregistry_preparer.py | 72 +++++++++++++++++++ ...est_schema_registry.test_schema_basic.yaml | 36 +++++----- ...gistry.test_schema_negative_no_schema.yaml | 14 ++-- ...chema_registry.test_schema_same_twice.yaml | 24 +++---- ...st_schema_registry.test_schema_update.yaml | 36 +++++----- .../tests/schemaregistry_preparer.py | 16 ++--- 10 files changed, 200 insertions(+), 128 deletions(-) create mode 100644 sdk/schemaregistry/azure-schemaregistry/tests/async_tests/schemaregistry_preparer.py diff --git a/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_basic_async.yaml b/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_basic_async.yaml index f7adcf285361..dae7d81d31a7 100644 --- a/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_basic_async.yaml +++ b/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_basic_async.yaml @@ -16,15 +16,15 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-basic-asynce5e1482?api-version=2020-09-01-preview response: body: - string: '{"id":"ce01b38330914a5d92b88f534bafbfe9"}' + string: '{"id":"6faa5b4387444872873dc238606f34bd"}' headers: content-type: application/json - date: Fri, 24 Sep 2021 19:10:30 GMT - location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic-asynce5e1482/versions/1?api-version=2020-09-01-preview - schema-id: ce01b38330914a5d92b88f534bafbfe9 - schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/ce01b38330914a5d92b88f534bafbfe9?api-version=2020-09-01-preview + date: Mon, 27 Sep 2021 23:08:57 GMT + location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic-asynce5e1482/versions/1?api-version=2020-09-01-preview + schema-id: 6faa5b4387444872873dc238606f34bd + schema-id-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/6faa5b4387444872873dc238606f34bd?api-version=2020-09-01-preview schema-version: '1' - schema-versions-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic-asynce5e1482/versions?api-version=2020-09-01-preview + schema-versions-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic-asynce5e1482/versions?api-version=2020-09-01-preview serialization-type: Avro server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 @@ -32,7 +32,7 @@ interactions: status: code: 200 message: OK - url: https://swathip-test-eventhubs.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-basic-asynce5e1482?api-version=2020-09-01-preview + url: https://swathip-test-eh-schemaregistry.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-basic-asynce5e1482?api-version=2020-09-01-preview - request: body: null headers: @@ -41,18 +41,18 @@ interactions: User-Agent: - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/ce01b38330914a5d92b88f534bafbfe9?api-version=2020-09-01-preview + uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/6faa5b4387444872873dc238606f34bd?api-version=2020-09-01-preview response: body: string: '{"namespace":"example.avro","type":"record","name":"User","fields":[{"name":"name","type":"string"},{"name":"favorite_number","type":["int","null"]},{"name":"favorite_color","type":["string","null"]}]}' headers: content-type: application/json - date: Fri, 24 Sep 2021 19:10:31 GMT - location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic-asynce5e1482/versions/1?api-version=2020-09-01-preview - schema-id: ce01b38330914a5d92b88f534bafbfe9 - schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/ce01b38330914a5d92b88f534bafbfe9?api-version=2020-09-01-preview + date: Mon, 27 Sep 2021 23:08:57 GMT + location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic-asynce5e1482/versions/1?api-version=2020-09-01-preview + schema-id: 6faa5b4387444872873dc238606f34bd + schema-id-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/6faa5b4387444872873dc238606f34bd?api-version=2020-09-01-preview schema-version: '1' - schema-versions-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic-asynce5e1482/versions?api-version=2020-09-01-preview + schema-versions-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic-asynce5e1482/versions?api-version=2020-09-01-preview serialization-type: Avro server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 @@ -60,7 +60,7 @@ interactions: status: code: 200 message: OK - url: https://swathip-test-eventhubs.servicebus.windows.net/$schemagroups/getSchemaById/ce01b38330914a5d92b88f534bafbfe9?api-version=2020-09-01-preview + url: https://swathip-test-eh-schemaregistry.servicebus.windows.net/$schemagroups/getSchemaById/6faa5b4387444872873dc238606f34bd?api-version=2020-09-01-preview - request: body: '{"namespace":"example.avro","type":"record","name":"User","fields":[{"name":"name","type":"string"},{"name":"favorite_number","type":["int","null"]},{"name":"favorite_color","type":["string","null"]}]}' headers: @@ -78,15 +78,15 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-basic-asynce5e1482?api-version=2020-09-01-preview response: body: - string: '{"id":"ce01b38330914a5d92b88f534bafbfe9"}' + string: '{"id":"6faa5b4387444872873dc238606f34bd"}' headers: content-type: application/json - date: Fri, 24 Sep 2021 19:10:31 GMT - location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic-asynce5e1482/versions/1?api-version=2020-09-01-preview - schema-id: ce01b38330914a5d92b88f534bafbfe9 - schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/ce01b38330914a5d92b88f534bafbfe9?api-version=2020-09-01-preview + date: Mon, 27 Sep 2021 23:08:57 GMT + location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic-asynce5e1482/versions/1?api-version=2020-09-01-preview + schema-id: 6faa5b4387444872873dc238606f34bd + schema-id-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/6faa5b4387444872873dc238606f34bd?api-version=2020-09-01-preview schema-version: '1' - schema-versions-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic-asynce5e1482/versions?api-version=2020-09-01-preview + schema-versions-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic-asynce5e1482/versions?api-version=2020-09-01-preview serialization-type: Avro server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 @@ -94,5 +94,5 @@ interactions: status: code: 200 message: OK - url: https://swathip-test-eventhubs.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-basic-asynce5e1482?api-version=2020-09-01-preview + url: https://swathip-test-eh-schemaregistry.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-basic-asynce5e1482?api-version=2020-09-01-preview version: 1 diff --git a/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_negative_no_schema_async.yaml b/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_negative_no_schema_async.yaml index c8896c5d4452..83e0587e64f4 100644 --- a/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_negative_no_schema_async.yaml +++ b/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_negative_no_schema_async.yaml @@ -11,19 +11,19 @@ interactions: response: body: string: '{"Code":400,"Detail":"SubCode=40000, UnknownType:The request is invalid. - [MGResponseHttpError=BadRequest]. TrackingId:c5b8cd47-1efe-41c2-964a-8cc46d7bafdb_G25, - SystemTracker:swathip-test-eventhubs.servicebus.windows.net:$schemagroups\/getSchemaById\/a, - Timestamp:2021-09-24T19:10:33"}' + [MGResponseHttpError=BadRequest]. TrackingId:de4a6cfb-75e6-4a81-985a-45fdfc3fe627_G14, + SystemTracker:swathip-test-eh-schemaregistry.servicebus.windows.net:$schemagroups\/getSchemaById\/a, + Timestamp:2021-09-27T23:08:58"}' headers: content-type: application/json - date: Fri, 24 Sep 2021 19:10:33 GMT + date: Mon, 27 Sep 2021 23:08:58 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 400 message: Bad Request - url: https://swathip-test-eventhubs.servicebus.windows.net/$schemagroups/getSchemaById/a?api-version=2020-09-01-preview + url: https://swathip-test-eh-schemaregistry.servicebus.windows.net/$schemagroups/getSchemaById/a?api-version=2020-09-01-preview - request: body: null headers: @@ -36,16 +36,16 @@ interactions: response: body: string: '{"Code":404,"Detail":"Schema id aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa does - not exist. TrackingId:6ad46706-814a-4973-9ec2-dc77945914b1_G25, SystemTracker:swathip-test-eventhubs.servicebus.windows.net:$schemagroups\/getSchemaById\/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, - Timestamp:2021-09-24T19:10:33"}' + not exist. TrackingId:6d76239e-8072-4fbe-b3b1-d23506c68938_G14, SystemTracker:swathip-test-eh-schemaregistry.servicebus.windows.net:$schemagroups\/getSchemaById\/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, + Timestamp:2021-09-27T23:08:59"}' headers: content-type: application/json - date: Fri, 24 Sep 2021 19:10:33 GMT + date: Mon, 27 Sep 2021 23:08:58 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://swathip-test-eventhubs.servicebus.windows.net/$schemagroups/getSchemaById/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?api-version=2020-09-01-preview + url: https://swathip-test-eh-schemaregistry.servicebus.windows.net/$schemagroups/getSchemaById/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?api-version=2020-09-01-preview version: 1 diff --git a/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_same_twice_async.yaml b/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_same_twice_async.yaml index c5ddf01cf2ae..72ff299c9e53 100644 --- a/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_same_twice_async.yaml +++ b/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_same_twice_async.yaml @@ -16,15 +16,15 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-twice-async7bfd16a1?api-version=2020-09-01-preview response: body: - string: '{"id":"4eaa74dead3f4ee5b6f6ed66a4a2175a"}' + string: '{"id":"4e803f73ca4e4cfcbd4a09eb5f9e9c67"}' headers: content-type: application/json - date: Fri, 24 Sep 2021 19:10:39 GMT - location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-twice-async7bfd16a1/versions/1?api-version=2020-09-01-preview - schema-id: 4eaa74dead3f4ee5b6f6ed66a4a2175a - schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/4eaa74dead3f4ee5b6f6ed66a4a2175a?api-version=2020-09-01-preview + date: Mon, 27 Sep 2021 23:09:06 GMT + location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-twice-async7bfd16a1/versions/1?api-version=2020-09-01-preview + schema-id: 4e803f73ca4e4cfcbd4a09eb5f9e9c67 + schema-id-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/4e803f73ca4e4cfcbd4a09eb5f9e9c67?api-version=2020-09-01-preview schema-version: '1' - schema-versions-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-twice-async7bfd16a1/versions?api-version=2020-09-01-preview + schema-versions-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-twice-async7bfd16a1/versions?api-version=2020-09-01-preview serialization-type: Avro server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 @@ -32,7 +32,7 @@ interactions: status: code: 200 message: OK - url: https://swathip-test-eventhubs.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-twice-async7bfd16a1?api-version=2020-09-01-preview + url: https://swathip-test-eh-schemaregistry.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-twice-async7bfd16a1?api-version=2020-09-01-preview - request: body: '{"namespace":"example.avro","type":"record","name":"User","fields":[{"name":"name","type":"string"},{"name":"age","type":["int","null"]},{"name":"city","type":["string","null"]}]}' headers: @@ -50,15 +50,15 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-twice-async7bfd16a1?api-version=2020-09-01-preview response: body: - string: '{"id":"4eaa74dead3f4ee5b6f6ed66a4a2175a"}' + string: '{"id":"4e803f73ca4e4cfcbd4a09eb5f9e9c67"}' headers: content-type: application/json - date: Fri, 24 Sep 2021 19:10:40 GMT - location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-twice-async7bfd16a1/versions/1?api-version=2020-09-01-preview - schema-id: 4eaa74dead3f4ee5b6f6ed66a4a2175a - schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/4eaa74dead3f4ee5b6f6ed66a4a2175a?api-version=2020-09-01-preview + date: Mon, 27 Sep 2021 23:09:06 GMT + location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-twice-async7bfd16a1/versions/1?api-version=2020-09-01-preview + schema-id: 4e803f73ca4e4cfcbd4a09eb5f9e9c67 + schema-id-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/4e803f73ca4e4cfcbd4a09eb5f9e9c67?api-version=2020-09-01-preview schema-version: '1' - schema-versions-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-twice-async7bfd16a1/versions?api-version=2020-09-01-preview + schema-versions-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-twice-async7bfd16a1/versions?api-version=2020-09-01-preview serialization-type: Avro server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 @@ -66,5 +66,5 @@ interactions: status: code: 200 message: OK - url: https://swathip-test-eventhubs.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-twice-async7bfd16a1?api-version=2020-09-01-preview + url: https://swathip-test-eh-schemaregistry.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-twice-async7bfd16a1?api-version=2020-09-01-preview version: 1 diff --git a/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_update_async.yaml b/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_update_async.yaml index 1de1acbca093..950f90072b64 100644 --- a/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_update_async.yaml +++ b/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_update_async.yaml @@ -16,15 +16,15 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-update-async24591503?api-version=2020-09-01-preview response: body: - string: '{"id":"2b0e42eb865a491f8c60b139c93565ed"}' + string: '{"id":"e6fa04793a2c4ee889e0ac2b91e6d966"}' headers: content-type: application/json - date: Fri, 24 Sep 2021 19:10:40 GMT - location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update-async24591503/versions/1?api-version=2020-09-01-preview - schema-id: 2b0e42eb865a491f8c60b139c93565ed - schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/2b0e42eb865a491f8c60b139c93565ed?api-version=2020-09-01-preview + date: Mon, 27 Sep 2021 23:09:07 GMT + location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update-async24591503/versions/1?api-version=2020-09-01-preview + schema-id: e6fa04793a2c4ee889e0ac2b91e6d966 + schema-id-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e6fa04793a2c4ee889e0ac2b91e6d966?api-version=2020-09-01-preview schema-version: '1' - schema-versions-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update-async24591503/versions?api-version=2020-09-01-preview + schema-versions-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update-async24591503/versions?api-version=2020-09-01-preview serialization-type: Avro server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 @@ -32,7 +32,7 @@ interactions: status: code: 200 message: OK - url: https://swathip-test-eventhubs.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-update-async24591503?api-version=2020-09-01-preview + url: https://swathip-test-eh-schemaregistry.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-update-async24591503?api-version=2020-09-01-preview - request: body: '{"namespace":"example.avro","type":"record","name":"User","fields":[{"name":"name","type":"string"},{"name":"favorite_number","type":["int","null"]},{"name":"favorite_food","type":["string","null"]}]}' headers: @@ -50,15 +50,15 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-update-async24591503?api-version=2020-09-01-preview response: body: - string: '{"id":"75db6cf193ac46c7a7ee06b9fe37aced"}' + string: '{"id":"e63ccd9843504b258512b603d2f2c01e"}' headers: content-type: application/json - date: Fri, 24 Sep 2021 19:10:41 GMT - location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update-async24591503/versions/2?api-version=2020-09-01-preview - schema-id: 75db6cf193ac46c7a7ee06b9fe37aced - schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/75db6cf193ac46c7a7ee06b9fe37aced?api-version=2020-09-01-preview + date: Mon, 27 Sep 2021 23:09:07 GMT + location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update-async24591503/versions/2?api-version=2020-09-01-preview + schema-id: e63ccd9843504b258512b603d2f2c01e + schema-id-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e63ccd9843504b258512b603d2f2c01e?api-version=2020-09-01-preview schema-version: '2' - schema-versions-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update-async24591503/versions?api-version=2020-09-01-preview + schema-versions-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update-async24591503/versions?api-version=2020-09-01-preview serialization-type: Avro server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 @@ -66,7 +66,7 @@ interactions: status: code: 200 message: OK - url: https://swathip-test-eventhubs.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-update-async24591503?api-version=2020-09-01-preview + url: https://swathip-test-eh-schemaregistry.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-update-async24591503?api-version=2020-09-01-preview - request: body: null headers: @@ -75,18 +75,18 @@ interactions: User-Agent: - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/75db6cf193ac46c7a7ee06b9fe37aced?api-version=2020-09-01-preview + uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/e63ccd9843504b258512b603d2f2c01e?api-version=2020-09-01-preview response: body: string: '{"namespace":"example.avro","type":"record","name":"User","fields":[{"name":"name","type":"string"},{"name":"favorite_number","type":["int","null"]},{"name":"favorite_food","type":["string","null"]}]}' headers: content-type: application/json - date: Fri, 24 Sep 2021 19:10:41 GMT - location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update-async24591503/versions/2?api-version=2020-09-01-preview - schema-id: 75db6cf193ac46c7a7ee06b9fe37aced - schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/75db6cf193ac46c7a7ee06b9fe37aced?api-version=2020-09-01-preview + date: Mon, 27 Sep 2021 23:09:09 GMT + location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update-async24591503/versions/2?api-version=2020-09-01-preview + schema-id: e63ccd9843504b258512b603d2f2c01e + schema-id-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e63ccd9843504b258512b603d2f2c01e?api-version=2020-09-01-preview schema-version: '2' - schema-versions-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update-async24591503/versions?api-version=2020-09-01-preview + schema-versions-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update-async24591503/versions?api-version=2020-09-01-preview serialization-type: Avro server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 @@ -94,5 +94,5 @@ interactions: status: code: 200 message: OK - url: https://swathip-test-eventhubs.servicebus.windows.net/$schemagroups/getSchemaById/75db6cf193ac46c7a7ee06b9fe37aced?api-version=2020-09-01-preview + url: https://swathip-test-eh-schemaregistry.servicebus.windows.net/$schemagroups/getSchemaById/e63ccd9843504b258512b603d2f2c01e?api-version=2020-09-01-preview version: 1 diff --git a/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/schemaregistry_preparer.py b/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/schemaregistry_preparer.py new file mode 100644 index 000000000000..b14b923f482b --- /dev/null +++ b/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/schemaregistry_preparer.py @@ -0,0 +1,72 @@ +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- + +import functools +import hashlib +import os +from collections import namedtuple + +from azure.identity import ClientSecretCredential +from azure_devtools.scenario_tests.exceptions import AzureTestError +from devtools_testutils import ( + ResourceGroupPreparer, AzureMgmtPreparer, FakeResource +) + + +SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE_PARAM = "schemaregistry_fully_qualified_namespace" +SCHEMAREGISTRY_GROUP_PARAM = "schemaregistry_group" +SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE_ENV_KEY_NAME = 'SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE' +SCHEMAREGISTRY_GROUP_ENV_KEY_NAME = 'SCHEMAREGISTRY_GROUP' + + +class SchemaRegistryNamespacePreparer(AzureMgmtPreparer): + # TODO: SR doesn't have mgmt package + def __init__(self): + pass + + def create_resource(self, name, **kwargs): + pass + + def remove_resource(self, name, **kwargs): + pass + + +class SchemaRegistryPreparer(AzureMgmtPreparer): + def __init__( + self, + name_prefix='' + ): + super(SchemaRegistryPreparer, self).__init__(name_prefix, 24) + + def create_resource(self, name, **kwargs): + # TODO: right now the endpoint/group is fixed, as there is no way to create/delete resources using api, in the future we should be able to dynamically create and remove resources + if self.is_live: + return { + SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE_PARAM: os.environ[SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE_ENV_KEY_NAME], + SCHEMAREGISTRY_GROUP_PARAM: os.environ[SCHEMAREGISTRY_GROUP_ENV_KEY_NAME] + } + else: + return { + SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE_PARAM: "sr-playground.servicebus.windows.net", + SCHEMAREGISTRY_GROUP_PARAM: "azsdk_python_test_group" + } + + def remove_resource(self, name, **kwargs): + pass diff --git a/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_basic.yaml b/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_basic.yaml index 01adea1ae411..6f503e999e6c 100644 --- a/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_basic.yaml +++ b/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_basic.yaml @@ -20,22 +20,22 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-basic31c70f88?api-version=2020-09-01-preview response: body: - string: '{"id":"c9e4d79c4a06400aac374b9711bf98f8"}' + string: '{"id":"011fe110929c42fe870e3705144e9633"}' headers: content-type: - application/json date: - - Fri, 24 Sep 2021 23:46:00 GMT + - Mon, 27 Sep 2021 23:08:43 GMT location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic31c70f88/versions/1?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic31c70f88/versions/1?api-version=2020-09-01-preview schema-id: - - c9e4d79c4a06400aac374b9711bf98f8 + - 011fe110929c42fe870e3705144e9633 schema-id-location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/c9e4d79c4a06400aac374b9711bf98f8?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/011fe110929c42fe870e3705144e9633?api-version=2020-09-01-preview schema-version: - '1' schema-versions-location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic31c70f88/versions?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic31c70f88/versions?api-version=2020-09-01-preview serialization-type: - Avro server: @@ -59,7 +59,7 @@ interactions: User-Agent: - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/c9e4d79c4a06400aac374b9711bf98f8?api-version=2020-09-01-preview + uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/011fe110929c42fe870e3705144e9633?api-version=2020-09-01-preview response: body: string: '{"namespace":"example.avro","type":"record","name":"User","fields":[{"name":"name","type":"string"},{"name":"favorite_number","type":["int","null"]},{"name":"favorite_color","type":["string","null"]}]}' @@ -67,17 +67,17 @@ interactions: content-type: - application/json date: - - Fri, 24 Sep 2021 23:46:00 GMT + - Mon, 27 Sep 2021 23:08:43 GMT location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic31c70f88/versions/1?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic31c70f88/versions/1?api-version=2020-09-01-preview schema-id: - - c9e4d79c4a06400aac374b9711bf98f8 + - 011fe110929c42fe870e3705144e9633 schema-id-location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/c9e4d79c4a06400aac374b9711bf98f8?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/011fe110929c42fe870e3705144e9633?api-version=2020-09-01-preview schema-version: - '1' schema-versions-location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic31c70f88/versions?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic31c70f88/versions?api-version=2020-09-01-preview serialization-type: - Avro server: @@ -110,22 +110,22 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-basic31c70f88?api-version=2020-09-01-preview response: body: - string: '{"id":"c9e4d79c4a06400aac374b9711bf98f8"}' + string: '{"id":"011fe110929c42fe870e3705144e9633"}' headers: content-type: - application/json date: - - Fri, 24 Sep 2021 23:46:01 GMT + - Mon, 27 Sep 2021 23:08:43 GMT location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic31c70f88/versions/1?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic31c70f88/versions/1?api-version=2020-09-01-preview schema-id: - - c9e4d79c4a06400aac374b9711bf98f8 + - 011fe110929c42fe870e3705144e9633 schema-id-location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/c9e4d79c4a06400aac374b9711bf98f8?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/011fe110929c42fe870e3705144e9633?api-version=2020-09-01-preview schema-version: - '1' schema-versions-location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic31c70f88/versions?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic31c70f88/versions?api-version=2020-09-01-preview serialization-type: - Avro server: diff --git a/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_negative_no_schema.yaml b/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_negative_no_schema.yaml index d3b4e6df3427..e1fb56be7250 100644 --- a/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_negative_no_schema.yaml +++ b/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_negative_no_schema.yaml @@ -15,14 +15,14 @@ interactions: response: body: string: '{"Code":400,"Detail":"SubCode=40000, UnknownType:The request is invalid. - [MGResponseHttpError=BadRequest]. TrackingId:21ad828b-f18a-41e9-b6b2-a7999b16edf0_G16, - SystemTracker:swathip-test-eventhubs.servicebus.windows.net:$schemagroups\/getSchemaById\/a, - Timestamp:2021-09-24T23:46:03"}' + [MGResponseHttpError=BadRequest]. TrackingId:fe59934c-6dc6-470b-847d-b56887335322_G14, + SystemTracker:swathip-test-eh-schemaregistry.servicebus.windows.net:$schemagroups\/getSchemaById\/a, + Timestamp:2021-09-27T23:08:45"}' headers: content-type: - application/json date: - - Fri, 24 Sep 2021 23:46:02 GMT + - Mon, 27 Sep 2021 23:08:45 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -48,13 +48,13 @@ interactions: response: body: string: '{"Code":404,"Detail":"Schema id aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa does - not exist. TrackingId:84fba0d2-8892-49c4-83f7-a46bb0c51a72_G16, SystemTracker:swathip-test-eventhubs.servicebus.windows.net:$schemagroups\/getSchemaById\/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, - Timestamp:2021-09-24T23:46:03"}' + not exist. TrackingId:ee252575-100c-49c5-bb02-c9cd86085d26_G14, SystemTracker:swathip-test-eh-schemaregistry.servicebus.windows.net:$schemagroups\/getSchemaById\/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, + Timestamp:2021-09-27T23:08:45"}' headers: content-type: - application/json date: - - Fri, 24 Sep 2021 23:46:03 GMT + - Mon, 27 Sep 2021 23:08:45 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_same_twice.yaml b/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_same_twice.yaml index 1314f6522692..736c7739ce70 100644 --- a/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_same_twice.yaml +++ b/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_same_twice.yaml @@ -20,22 +20,22 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-twice863b11a7?api-version=2020-09-01-preview response: body: - string: '{"id":"9d7f438550c74f65a54fbdf72c6fc2e5"}' + string: '{"id":"31d884a02c65437c81f6eaa5c49a9f6a"}' headers: content-type: - application/json date: - - Fri, 24 Sep 2021 19:10:27 GMT + - Mon, 27 Sep 2021 23:08:53 GMT location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-twice863b11a7/versions/1?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-twice863b11a7/versions/1?api-version=2020-09-01-preview schema-id: - - 9d7f438550c74f65a54fbdf72c6fc2e5 + - 31d884a02c65437c81f6eaa5c49a9f6a schema-id-location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/9d7f438550c74f65a54fbdf72c6fc2e5?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/31d884a02c65437c81f6eaa5c49a9f6a?api-version=2020-09-01-preview schema-version: - '1' schema-versions-location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-twice863b11a7/versions?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-twice863b11a7/versions?api-version=2020-09-01-preview serialization-type: - Avro server: @@ -68,22 +68,22 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-twice863b11a7?api-version=2020-09-01-preview response: body: - string: '{"id":"9d7f438550c74f65a54fbdf72c6fc2e5"}' + string: '{"id":"31d884a02c65437c81f6eaa5c49a9f6a"}' headers: content-type: - application/json date: - - Fri, 24 Sep 2021 19:10:27 GMT + - Mon, 27 Sep 2021 23:08:53 GMT location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-twice863b11a7/versions/1?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-twice863b11a7/versions/1?api-version=2020-09-01-preview schema-id: - - 9d7f438550c74f65a54fbdf72c6fc2e5 + - 31d884a02c65437c81f6eaa5c49a9f6a schema-id-location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/9d7f438550c74f65a54fbdf72c6fc2e5?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/31d884a02c65437c81f6eaa5c49a9f6a?api-version=2020-09-01-preview schema-version: - '1' schema-versions-location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-twice863b11a7/versions?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-twice863b11a7/versions?api-version=2020-09-01-preview serialization-type: - Avro server: diff --git a/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_update.yaml b/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_update.yaml index dd6609a3a1cf..6112286fe15a 100644 --- a/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_update.yaml +++ b/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_update.yaml @@ -20,22 +20,22 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-update423f1009?api-version=2020-09-01-preview response: body: - string: '{"id":"96623bcb8c1145ada80fcd5539e2bb38"}' + string: '{"id":"29da690fedf149ef970a1177b5cd2a4e"}' headers: content-type: - application/json date: - - Fri, 24 Sep 2021 19:10:29 GMT + - Mon, 27 Sep 2021 23:08:55 GMT location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update423f1009/versions/1?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update423f1009/versions/1?api-version=2020-09-01-preview schema-id: - - 96623bcb8c1145ada80fcd5539e2bb38 + - 29da690fedf149ef970a1177b5cd2a4e schema-id-location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/96623bcb8c1145ada80fcd5539e2bb38?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/29da690fedf149ef970a1177b5cd2a4e?api-version=2020-09-01-preview schema-version: - '1' schema-versions-location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update423f1009/versions?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update423f1009/versions?api-version=2020-09-01-preview serialization-type: - Avro server: @@ -68,22 +68,22 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-update423f1009?api-version=2020-09-01-preview response: body: - string: '{"id":"06471c0b87b642b0b8db01fa7a03c788"}' + string: '{"id":"fe8a2a1852b24c20ba5df3d1ae66f65f"}' headers: content-type: - application/json date: - - Fri, 24 Sep 2021 19:10:29 GMT + - Mon, 27 Sep 2021 23:08:55 GMT location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update423f1009/versions/2?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update423f1009/versions/2?api-version=2020-09-01-preview schema-id: - - 06471c0b87b642b0b8db01fa7a03c788 + - fe8a2a1852b24c20ba5df3d1ae66f65f schema-id-location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/06471c0b87b642b0b8db01fa7a03c788?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/fe8a2a1852b24c20ba5df3d1ae66f65f?api-version=2020-09-01-preview schema-version: - '2' schema-versions-location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update423f1009/versions?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update423f1009/versions?api-version=2020-09-01-preview serialization-type: - Avro server: @@ -107,7 +107,7 @@ interactions: User-Agent: - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/06471c0b87b642b0b8db01fa7a03c788?api-version=2020-09-01-preview + uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/fe8a2a1852b24c20ba5df3d1ae66f65f?api-version=2020-09-01-preview response: body: string: '{"namespace":"example.avro","type":"record","name":"User","fields":[{"name":"name","type":"string"},{"name":"favorite_number","type":["int","null"]},{"name":"favorite_food","type":["string","null"]}]}' @@ -115,17 +115,17 @@ interactions: content-type: - application/json date: - - Fri, 24 Sep 2021 19:10:30 GMT + - Mon, 27 Sep 2021 23:08:56 GMT location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update423f1009/versions/2?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update423f1009/versions/2?api-version=2020-09-01-preview schema-id: - - 06471c0b87b642b0b8db01fa7a03c788 + - fe8a2a1852b24c20ba5df3d1ae66f65f schema-id-location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/06471c0b87b642b0b8db01fa7a03c788?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/fe8a2a1852b24c20ba5df3d1ae66f65f?api-version=2020-09-01-preview schema-version: - '2' schema-versions-location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update423f1009/versions?api-version=2020-09-01-preview + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update423f1009/versions?api-version=2020-09-01-preview serialization-type: - Avro server: diff --git a/sdk/schemaregistry/azure-schemaregistry/tests/schemaregistry_preparer.py b/sdk/schemaregistry/azure-schemaregistry/tests/schemaregistry_preparer.py index 9847fb47964a..b14b923f482b 100644 --- a/sdk/schemaregistry/azure-schemaregistry/tests/schemaregistry_preparer.py +++ b/sdk/schemaregistry/azure-schemaregistry/tests/schemaregistry_preparer.py @@ -30,10 +30,10 @@ ) -SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE_PARAM = "schemaregistry_fully_qualified_namespace" -SCHEMA_REGISTRY_GROUP_PARAM = "schemaregistry_group" -SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE_ENV_KEY_NAME = 'SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE' -SCHEMA_REGISTRY_GROUP_ENV_KEY_NAME = 'SCHEMA_REGISTRY_GROUP' +SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE_PARAM = "schemaregistry_fully_qualified_namespace" +SCHEMAREGISTRY_GROUP_PARAM = "schemaregistry_group" +SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE_ENV_KEY_NAME = 'SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE' +SCHEMAREGISTRY_GROUP_ENV_KEY_NAME = 'SCHEMAREGISTRY_GROUP' class SchemaRegistryNamespacePreparer(AzureMgmtPreparer): @@ -59,13 +59,13 @@ def create_resource(self, name, **kwargs): # TODO: right now the endpoint/group is fixed, as there is no way to create/delete resources using api, in the future we should be able to dynamically create and remove resources if self.is_live: return { - SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE_PARAM: os.environ[SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE_ENV_KEY_NAME], - SCHEMA_REGISTRY_GROUP_PARAM: os.environ[SCHEMA_REGISTRY_GROUP_ENV_KEY_NAME] + SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE_PARAM: os.environ[SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE_ENV_KEY_NAME], + SCHEMAREGISTRY_GROUP_PARAM: os.environ[SCHEMAREGISTRY_GROUP_ENV_KEY_NAME] } else: return { - SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE_PARAM: "sr-playground.servicebus.windows.net", - SCHEMA_REGISTRY_GROUP_PARAM: "azsdk_python_test_group" + SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE_PARAM: "sr-playground.servicebus.windows.net", + SCHEMAREGISTRY_GROUP_PARAM: "azsdk_python_test_group" } def remove_resource(self, name, **kwargs): From 0bcf4337e3f9ed9638563b3382aa062881823596 Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Mon, 27 Sep 2021 16:11:22 -0700 Subject: [PATCH 07/25] rename envvars --- sdk/schemaregistry/tests.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sdk/schemaregistry/tests.yml b/sdk/schemaregistry/tests.yml index 0df2a454f686..b29323def858 100644 --- a/sdk/schemaregistry/tests.yml +++ b/sdk/schemaregistry/tests.yml @@ -13,8 +13,8 @@ stages: AZURE_TENANT_ID: $(python-schema-registry-sdk-test-tenant-id) AZURE_CLIENT_ID: $(python-schema-registry-sdk-test-client-id) AZURE_CLIENT_SECRET: $(python-schema-registry-sdk-test-client-secret) - SCHEMA_REGISTRY_ENDPOINT: $(python-schema-registry-sdk-test-endpoint) - SCHEMA_REGISTRY_GROUP: $(python-schema-registry-sdk-test-group) + SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE: $(python-schema-registry-sdk-test-endpoint) + SCHEMAREGISTRY_GROUP: $(python-schema-registry-sdk-test-group) AZURE_TEST_RUN_LIVE: 'true' MatrixFilters: - '"PythonVersion=^(?!pypy3).*"' From 1d4daa12543257c06a3b3e8e3ac46a5ecd408369 Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Mon, 27 Sep 2021 16:29:33 -0700 Subject: [PATCH 08/25] fix samples --- .../samples/avro_serializer.py | 12 ++++++------ .../samples/eventhub_receive_integration.py | 6 +++--- .../samples/eventhub_send_integration.py | 6 +++--- .../sample_code_schemaregistry_async.py | 6 +++--- .../samples/async_samples/schema_registry_async.py | 4 ++-- .../sync_samples/sample_code_schemaregistry.py | 6 +++--- .../samples/sync_samples/schema_registry.py | 4 ++-- 7 files changed, 22 insertions(+), 22 deletions(-) diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/samples/avro_serializer.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/samples/avro_serializer.py index 592f1afa760f..a31e4a7b88ee 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/samples/avro_serializer.py +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/samples/avro_serializer.py @@ -29,12 +29,12 @@ from azure.schemaregistry import SchemaRegistryClient from azure.schemaregistry.serializer.avroserializer import SchemaRegistryAvroSerializer -TENANT_ID=os.environ['SCHEMA_REGISTRY_AZURE_TENANT_ID'] -CLIENT_ID=os.environ['SCHEMA_REGISTRY_AZURE_CLIENT_ID'] -CLIENT_SECRET=os.environ['SCHEMA_REGISTRY_AZURE_CLIENT_SECRET'] +TENANT_ID=os.environ['AZURE_TENANT_ID'] +CLIENT_ID=os.environ['AZURE_CLIENT_ID'] +CLIENT_SECRET=os.environ['AZURE_CLIENT_SECRET'] -SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE=os.environ['SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE'] -GROUP_NAME=os.environ['SCHEMA_REGISTRY_GROUP'] +SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE=os.environ['SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE'] +GROUP_NAME=os.environ['SCHEMAREGISTRY_GROUP'] SCHEMA_STRING = """ {"namespace": "example.avro", "type": "record", @@ -79,7 +79,7 @@ def deserialize(serializer, bytes_payload): if __name__ == '__main__': - schema_registry = SchemaRegistryClient(endpoint=SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE, credential=token_credential) + schema_registry = SchemaRegistryClient(endpoint=SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE, credential=token_credential) serializer = SchemaRegistryAvroSerializer(client=schema_registry, group_name=GROUP_NAME, auto_register_schemas=True) bytes_data_ben, bytes_data_alice = serialize(serializer) dict_data_ben = deserialize(serializer, bytes_data_ben) diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/samples/eventhub_receive_integration.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/samples/eventhub_receive_integration.py index 2cf4d0095b28..3cbf949adf00 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/samples/eventhub_receive_integration.py +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/samples/eventhub_receive_integration.py @@ -19,8 +19,8 @@ EVENTHUB_CONNECTION_STR = os.environ['EVENT_HUB_CONN_STR'] EVENTHUB_NAME = os.environ['EVENT_HUB_NAME'] -SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE = os.environ['SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE'] -GROUP_NAME = os.environ['SCHEMA_REGISTRY_GROUP'] +SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE = os.environ['SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE'] +GROUP_NAME = os.environ['SCHEMAREGISTRY_GROUP'] def on_event(partition_context, event): @@ -48,7 +48,7 @@ def on_event(partition_context, event): # TODO: after 'azure-schemaregistry==1.0.0b3' is released, update 'endpoint' to 'fully_qualified_namespace' avro_serializer = SchemaRegistryAvroSerializer( client=SchemaRegistryClient( - endpoint=SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE, + endpoint=SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE, credential=DefaultAzureCredential() ), group_name=GROUP_NAME, diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/samples/eventhub_send_integration.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/samples/eventhub_send_integration.py index 2638b849cf8d..d184e87d89a8 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/samples/eventhub_send_integration.py +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/samples/eventhub_send_integration.py @@ -20,8 +20,8 @@ EVENTHUB_CONNECTION_STR = os.environ['EVENT_HUB_CONN_STR'] EVENTHUB_NAME = os.environ['EVENT_HUB_NAME'] -SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE = os.environ['SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE'] -GROUP_NAME = os.environ['SCHEMA_REGISTRY_GROUP'] +SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE = os.environ['SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE'] +GROUP_NAME = os.environ['SCHEMAREGISTRY_GROUP'] SCHEMA_STRING = """ {"namespace": "example.avro", @@ -62,7 +62,7 @@ def send_event_data_batch(producer, serializer): # TODO: after 'azure-schemaregistry==1.0.0b3' is released, update 'endpoint' to 'fully_qualified_namespace' avro_serializer = SchemaRegistryAvroSerializer( client=SchemaRegistryClient( - endpoint=SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE, + endpoint=SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE, credential=DefaultAzureCredential() ), group_name=GROUP_NAME, diff --git a/sdk/schemaregistry/azure-schemaregistry/samples/async_samples/sample_code_schemaregistry_async.py b/sdk/schemaregistry/azure-schemaregistry/samples/async_samples/sample_code_schemaregistry_async.py index 9e40e79f2b86..6838c04d68ea 100644 --- a/sdk/schemaregistry/azure-schemaregistry/samples/async_samples/sample_code_schemaregistry_async.py +++ b/sdk/schemaregistry/azure-schemaregistry/samples/async_samples/sample_code_schemaregistry_async.py @@ -33,15 +33,15 @@ def create_client(): # [START create_sr_client_async] - SCHEMA_REGISTRY_FQN = os.environ['SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE'] + SCHEMAREGISTRY_FQN = os.environ['SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE'] token_credential = DefaultAzureCredential() - schema_registry_client = SchemaRegistryClient(fully_qualified_namespace=SCHEMA_REGISTRY_FQN, credential=token_credential) + schema_registry_client = SchemaRegistryClient(fully_qualified_namespace=SCHEMAREGISTRY_FQN, credential=token_credential) # [END create_sr_client_async] TENANT_ID = os.environ['AZURE_TENANT_ID'] CLIENT_ID = os.environ['AZURE_CLIENT_ID'] CLIENT_SECRET = os.environ['AZURE_CLIENT_SECRET'] token_credential = ClientSecretCredential(TENANT_ID, CLIENT_ID, CLIENT_SECRET) - schema_registry_client = SchemaRegistryClient(fully_qualified_namespace=SCHEMA_REGISTRY_FQN, credential=token_credential) + schema_registry_client = SchemaRegistryClient(fully_qualified_namespace=SCHEMAREGISTRY_FQN, credential=token_credential) return schema_registry_client, token_credential diff --git a/sdk/schemaregistry/azure-schemaregistry/samples/async_samples/schema_registry_async.py b/sdk/schemaregistry/azure-schemaregistry/samples/async_samples/schema_registry_async.py index eedf358bfbbb..6a156865647c 100644 --- a/sdk/schemaregistry/azure-schemaregistry/samples/async_samples/schema_registry_async.py +++ b/sdk/schemaregistry/azure-schemaregistry/samples/async_samples/schema_registry_async.py @@ -22,7 +22,7 @@ CLIENT_ID = os.environ['AZURE_CLIENT_ID'] CLIENT_SECRET = os.environ['AZURE_CLIENT_SECRET'] -SCHEMA_REGISTRY_FQN = os.environ['SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE'] +SCHEMAREGISTRY_FQN = os.environ['SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE'] GROUP_NAME = os.environ['SCHEMAREGISTRY_GROUP'] NAME = 'your-schema-name' FORMAT = SchemaFormat.AVRO @@ -59,7 +59,7 @@ async def main(): client_id=CLIENT_ID, client_secret=CLIENT_SECRET ) - schema_registry_client = SchemaRegistryClient(fully_qualified_namespace=SCHEMA_REGISTRY_FQN, credential=token_credential) + schema_registry_client = SchemaRegistryClient(fully_qualified_namespace=SCHEMAREGISTRY_FQN, credential=token_credential) async with token_credential, schema_registry_client: schema_id = await register_schema(schema_registry_client, GROUP_NAME, NAME, SCHEMA_STRING, FORMAT) schema_str = await get_schema_by_id(schema_registry_client, schema_id) diff --git a/sdk/schemaregistry/azure-schemaregistry/samples/sync_samples/sample_code_schemaregistry.py b/sdk/schemaregistry/azure-schemaregistry/samples/sync_samples/sample_code_schemaregistry.py index e7072ad4913f..8c3138b68647 100644 --- a/sdk/schemaregistry/azure-schemaregistry/samples/sync_samples/sample_code_schemaregistry.py +++ b/sdk/schemaregistry/azure-schemaregistry/samples/sync_samples/sample_code_schemaregistry.py @@ -31,15 +31,15 @@ def create_client(): # [START create_sr_client_sync] - SCHEMA_REGISTRY_FQN = os.environ['SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE'] + SCHEMAREGISTRY_FQN = os.environ['SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE'] token_credential = DefaultAzureCredential() - schema_registry_client = SchemaRegistryClient(fully_qualified_namespace=SCHEMA_REGISTRY_FQN, credential=token_credential) + schema_registry_client = SchemaRegistryClient(fully_qualified_namespace=SCHEMAREGISTRY_FQN, credential=token_credential) # [END create_sr_client_sync] TENANT_ID = os.environ['AZURE_TENANT_ID'] CLIENT_ID = os.environ['AZURE_CLIENT_ID'] CLIENT_SECRET = os.environ['AZURE_CLIENT_SECRET'] token_credential = ClientSecretCredential(TENANT_ID, CLIENT_ID, CLIENT_SECRET) - schema_registry_client = SchemaRegistryClient(fully_qualified_namespace=SCHEMA_REGISTRY_FQN, credential=token_credential) + schema_registry_client = SchemaRegistryClient(fully_qualified_namespace=SCHEMAREGISTRY_FQN, credential=token_credential) return schema_registry_client diff --git a/sdk/schemaregistry/azure-schemaregistry/samples/sync_samples/schema_registry.py b/sdk/schemaregistry/azure-schemaregistry/samples/sync_samples/schema_registry.py index 2b1418709619..842cfc694e21 100644 --- a/sdk/schemaregistry/azure-schemaregistry/samples/sync_samples/schema_registry.py +++ b/sdk/schemaregistry/azure-schemaregistry/samples/sync_samples/schema_registry.py @@ -42,7 +42,7 @@ CLIENT_ID = os.environ['AZURE_CLIENT_ID'] CLIENT_SECRET = os.environ['AZURE_CLIENT_SECRET'] -SCHEMA_REGISTRY_FQN = os.environ['SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE'] +SCHEMAREGISTRY_FQN = os.environ['SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE'] GROUP_NAME = os.environ['SCHEMAREGISTRY_GROUP'] NAME = 'your-schema-name' FORMAT = SchemaFormat.AVRO @@ -99,7 +99,7 @@ def get_schema_id(client, group_name, name, schema_string, format): client_id=CLIENT_ID, client_secret=CLIENT_SECRET ) - schema_registry_client = SchemaRegistryClient(fully_qualified_namespace=SCHEMA_REGISTRY_FQN, credential=token_credential) + schema_registry_client = SchemaRegistryClient(fully_qualified_namespace=SCHEMAREGISTRY_FQN, credential=token_credential) with schema_registry_client: schema_id = register_schema(schema_registry_client, GROUP_NAME, NAME, SCHEMA_STRING, FORMAT) schema_str = get_schema_by_id(schema_registry_client, schema_id) From 00e602dbb9e1a39dc8da2291bc8039ba1afc0747 Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Mon, 27 Sep 2021 16:32:18 -0700 Subject: [PATCH 09/25] avro tests with cache --- ...r.test_basic_sr_avro_serializer_cache.yaml | 6502 +++++++++++++++++ ...serializer_with_auto_register_schemas.yaml | 22 +- ...ializer_without_auto_register_schemas.yaml | 22 +- .../tests/schemaregistry_preparer.py | 73 - .../tests/test_avro_serializer.py | 26 + 5 files changed, 6550 insertions(+), 95 deletions(-) create mode 100644 sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_cache.yaml delete mode 100644 sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/schemaregistry_preparer.py diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_cache.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_cache.yaml new file mode 100644 index 000000000000..8efc421242dc --- /dev/null +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_cache.yaml @@ -0,0 +1,6502 @@ +interactions: +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User0\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number0\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '201' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User0?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"58da83491107448885ece9b9833ec5fa"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:26 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User0/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 58da83491107448885ece9b9833ec5fa + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/58da83491107448885ece9b9833ec5fa?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User0/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User1\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number1\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '201' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User1?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"f98d80128d3d46629f5c31cd60155603"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:26 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User1/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - f98d80128d3d46629f5c31cd60155603 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/f98d80128d3d46629f5c31cd60155603?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User1/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User2\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number2\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '201' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User2?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"37ae87f5dd644158a27757d442986247"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:27 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User2/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 37ae87f5dd644158a27757d442986247 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/37ae87f5dd644158a27757d442986247?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User2/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User3\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number3\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '201' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User3?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"592e7223abbb4fd8b34f2b91a9d595e9"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:27 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User3/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 592e7223abbb4fd8b34f2b91a9d595e9 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/592e7223abbb4fd8b34f2b91a9d595e9?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User3/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User4\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number4\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '201' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User4?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"059e9fc5f4594cb7820551a504d67560"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:29 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User4/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 059e9fc5f4594cb7820551a504d67560 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/059e9fc5f4594cb7820551a504d67560?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User4/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User5\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number5\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '201' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User5?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"19d8f1f1f7be4ec1a2f3af269f495846"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:29 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User5/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 19d8f1f1f7be4ec1a2f3af269f495846 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/19d8f1f1f7be4ec1a2f3af269f495846?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User5/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User6\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number6\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '201' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User6?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"01d4622a9ee147b69fb3649fef4174e8"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:30 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User6/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 01d4622a9ee147b69fb3649fef4174e8 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/01d4622a9ee147b69fb3649fef4174e8?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User6/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User7\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number7\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '201' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User7?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"f264401b43ca4d96a5fc36df42a77ccb"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:30 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User7/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - f264401b43ca4d96a5fc36df42a77ccb + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/f264401b43ca4d96a5fc36df42a77ccb?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User7/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User8\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number8\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '201' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User8?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"a5a6a62801ea4dc783f692505b76dd0c"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:32 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User8/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - a5a6a62801ea4dc783f692505b76dd0c + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/a5a6a62801ea4dc783f692505b76dd0c?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User8/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User9\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number9\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '201' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User9?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"8f4b6996056744838af026f8f69d62ac"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:32 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User9/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 8f4b6996056744838af026f8f69d62ac + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/8f4b6996056744838af026f8f69d62ac?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User9/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User10\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number10\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User10?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"18ad25d3280a4ae1a5024119af5cf221"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:32 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User10/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 18ad25d3280a4ae1a5024119af5cf221 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/18ad25d3280a4ae1a5024119af5cf221?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User10/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User11\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number11\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User11?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"e33695254cfb42348c585a5016b91d19"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:33 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User11/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - e33695254cfb42348c585a5016b91d19 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e33695254cfb42348c585a5016b91d19?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User11/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User12\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number12\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User12?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"376845fdba8d44e2a88021b55980e8e0"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:33 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User12/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 376845fdba8d44e2a88021b55980e8e0 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/376845fdba8d44e2a88021b55980e8e0?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User12/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User13\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number13\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User13?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"bca3d52ee4304dbc847025add899da0a"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:34 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User13/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - bca3d52ee4304dbc847025add899da0a + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/bca3d52ee4304dbc847025add899da0a?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User13/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User14\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number14\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User14?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"09bf6f86582043a18aa02a96fa806ce4"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:34 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User14/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 09bf6f86582043a18aa02a96fa806ce4 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/09bf6f86582043a18aa02a96fa806ce4?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User14/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User15\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number15\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User15?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"defb3c49772049769a6c8791c3b7d6ff"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:35 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User15/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - defb3c49772049769a6c8791c3b7d6ff + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/defb3c49772049769a6c8791c3b7d6ff?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User15/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User16\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number16\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User16?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"b7df6583c614457183ebd8df4f511b8a"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:35 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User16/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - b7df6583c614457183ebd8df4f511b8a + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/b7df6583c614457183ebd8df4f511b8a?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User16/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User17\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number17\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User17?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"99c377842d1d454b98e41459c8b2251a"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:35 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User17/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 99c377842d1d454b98e41459c8b2251a + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/99c377842d1d454b98e41459c8b2251a?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User17/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User18\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number18\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User18?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"104371d8b7984ae9b6973e3e0716702b"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:36 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User18/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 104371d8b7984ae9b6973e3e0716702b + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/104371d8b7984ae9b6973e3e0716702b?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User18/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User19\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number19\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User19?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"aa009a0994c140ec881b9a8c4a460202"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:36 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User19/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - aa009a0994c140ec881b9a8c4a460202 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/aa009a0994c140ec881b9a8c4a460202?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User19/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User20\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number20\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User20?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"d909c4d8750a44b4b964e8d78a7d6a5b"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:36 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User20/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - d909c4d8750a44b4b964e8d78a7d6a5b + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/d909c4d8750a44b4b964e8d78a7d6a5b?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User20/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User21\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number21\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User21?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"54772cac188c4d759640e4fab4f02939"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:38 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User21/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 54772cac188c4d759640e4fab4f02939 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/54772cac188c4d759640e4fab4f02939?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User21/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User22\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number22\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User22?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"585a5986afb847288523ab0b348e34bc"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:38 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User22/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 585a5986afb847288523ab0b348e34bc + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/585a5986afb847288523ab0b348e34bc?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User22/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User23\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number23\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User23?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"1c9d8059b6104441a00fd90dc3b67f93"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:38 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User23/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 1c9d8059b6104441a00fd90dc3b67f93 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/1c9d8059b6104441a00fd90dc3b67f93?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User23/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User24\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number24\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User24?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"db97458d7e264bc99d431591b4098b24"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:40 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User24/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - db97458d7e264bc99d431591b4098b24 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/db97458d7e264bc99d431591b4098b24?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User24/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User25\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number25\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User25?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"91983be0c8b849898bda250da0b038ea"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:40 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User25/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 91983be0c8b849898bda250da0b038ea + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/91983be0c8b849898bda250da0b038ea?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User25/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User26\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number26\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User26?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"afee8fb5619e4da0ae14649e00d501a1"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:40 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User26/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - afee8fb5619e4da0ae14649e00d501a1 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/afee8fb5619e4da0ae14649e00d501a1?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User26/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User27\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number27\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User27?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"e6c85693ce2a41b79890066029284dc3"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:41 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User27/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - e6c85693ce2a41b79890066029284dc3 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e6c85693ce2a41b79890066029284dc3?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User27/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User28\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number28\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User28?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"02d5fd102637441bbed47862a0ad96db"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:41 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User28/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 02d5fd102637441bbed47862a0ad96db + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/02d5fd102637441bbed47862a0ad96db?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User28/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User29\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number29\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User29?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"4bd940949d2d42a4bdd60afc12c70885"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:42 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User29/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 4bd940949d2d42a4bdd60afc12c70885 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/4bd940949d2d42a4bdd60afc12c70885?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User29/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User30\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number30\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User30?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"4b3982fd26494d33810e2011bacb2878"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:42 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User30/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 4b3982fd26494d33810e2011bacb2878 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/4b3982fd26494d33810e2011bacb2878?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User30/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User31\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number31\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User31?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"e5d195abecea401babb653be09ce5685"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:42 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User31/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - e5d195abecea401babb653be09ce5685 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e5d195abecea401babb653be09ce5685?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User31/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User32\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number32\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User32?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"4be92a5f69d547fe8c86431630b19483"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:44 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User32/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 4be92a5f69d547fe8c86431630b19483 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/4be92a5f69d547fe8c86431630b19483?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User32/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User33\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number33\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User33?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"9dc97f787a4a4f12b3aa648121f7614c"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:44 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User33/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 9dc97f787a4a4f12b3aa648121f7614c + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/9dc97f787a4a4f12b3aa648121f7614c?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User33/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User34\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number34\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User34?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"275c0b2030414640aae4e751449e269e"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:45 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User34/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 275c0b2030414640aae4e751449e269e + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/275c0b2030414640aae4e751449e269e?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User34/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User35\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number35\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User35?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"04b3b42c685b471ca631db626b041bb5"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:45 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User35/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 04b3b42c685b471ca631db626b041bb5 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/04b3b42c685b471ca631db626b041bb5?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User35/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User36\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number36\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User36?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"6a7ecc68649c4fcfa385a7e28ded50cb"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:46 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User36/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 6a7ecc68649c4fcfa385a7e28ded50cb + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/6a7ecc68649c4fcfa385a7e28ded50cb?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User36/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User37\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number37\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User37?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"59da269e4b724b4a97fe5db22acd02d4"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:46 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User37/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 59da269e4b724b4a97fe5db22acd02d4 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/59da269e4b724b4a97fe5db22acd02d4?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User37/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User38\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number38\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User38?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"22b445617dd44b08ab4cfbfa1d905c0c"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:46 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User38/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 22b445617dd44b08ab4cfbfa1d905c0c + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/22b445617dd44b08ab4cfbfa1d905c0c?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User38/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User39\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number39\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User39?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"987e22959bba418caee7423dd0c9e36f"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:47 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User39/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 987e22959bba418caee7423dd0c9e36f + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/987e22959bba418caee7423dd0c9e36f?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User39/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User40\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number40\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User40?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"bf00d4e83d424ad59f35a452d16774d3"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:47 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User40/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - bf00d4e83d424ad59f35a452d16774d3 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/bf00d4e83d424ad59f35a452d16774d3?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User40/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User41\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number41\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User41?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"36ce17070c1648ef8e61b9e876dfabfe"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:48 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User41/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 36ce17070c1648ef8e61b9e876dfabfe + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/36ce17070c1648ef8e61b9e876dfabfe?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User41/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User42\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number42\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User42?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"e73c4ec2cb694132baefb02d3816f455"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:48 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User42/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - e73c4ec2cb694132baefb02d3816f455 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e73c4ec2cb694132baefb02d3816f455?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User42/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User43\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number43\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User43?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"34840a11df02470c8d77521977e2e896"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:48 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User43/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 34840a11df02470c8d77521977e2e896 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/34840a11df02470c8d77521977e2e896?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User43/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User44\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number44\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User44?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"1c8082efdbfd4be2ab9e3e3d1fec020d"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:50 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User44/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 1c8082efdbfd4be2ab9e3e3d1fec020d + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/1c8082efdbfd4be2ab9e3e3d1fec020d?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User44/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User45\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number45\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User45?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"a5e29d8c2ac44f89a0f23cef972cfe08"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:50 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User45/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - a5e29d8c2ac44f89a0f23cef972cfe08 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/a5e29d8c2ac44f89a0f23cef972cfe08?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User45/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User46\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number46\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User46?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"3fd0eaf0f11345718d66ddb6e32ca0de"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:51 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User46/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 3fd0eaf0f11345718d66ddb6e32ca0de + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/3fd0eaf0f11345718d66ddb6e32ca0de?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User46/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User47\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number47\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User47?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"e7fa98743188430f81254607514aca08"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:51 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User47/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - e7fa98743188430f81254607514aca08 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e7fa98743188430f81254607514aca08?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User47/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User48\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number48\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User48?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"1c8ea6f98d9e4084ae9bf6fe39dd5998"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:51 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User48/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 1c8ea6f98d9e4084ae9bf6fe39dd5998 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/1c8ea6f98d9e4084ae9bf6fe39dd5998?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User48/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User49\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number49\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User49?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"0b4c09a2997a4ebbb5706a5fe5f45d39"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:52 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User49/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 0b4c09a2997a4ebbb5706a5fe5f45d39 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/0b4c09a2997a4ebbb5706a5fe5f45d39?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User49/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User50\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number50\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User50?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"cfac002d2909482d8dc5aac6432e86cd"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:52 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User50/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - cfac002d2909482d8dc5aac6432e86cd + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/cfac002d2909482d8dc5aac6432e86cd?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User50/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User51\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number51\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User51?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"eb0e371659c9445cba3ce648a231f1f9"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:53 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User51/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - eb0e371659c9445cba3ce648a231f1f9 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/eb0e371659c9445cba3ce648a231f1f9?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User51/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User52\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number52\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User52?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"e70ce559eff04e5a9ba3258b6e0edece"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:53 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User52/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - e70ce559eff04e5a9ba3258b6e0edece + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e70ce559eff04e5a9ba3258b6e0edece?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User52/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User53\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number53\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User53?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"245a9774b03d4693abfd4f2d08996208"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:55 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User53/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 245a9774b03d4693abfd4f2d08996208 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/245a9774b03d4693abfd4f2d08996208?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User53/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User54\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number54\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User54?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"030b6634188a4868a15a960444f472c4"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:55 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User54/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 030b6634188a4868a15a960444f472c4 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/030b6634188a4868a15a960444f472c4?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User54/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User55\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number55\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User55?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"f617974b68414b11b015567b8ab07460"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:55 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User55/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - f617974b68414b11b015567b8ab07460 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/f617974b68414b11b015567b8ab07460?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User55/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User56\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number56\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User56?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"763f7f08dcec4347987a4b76a6fa6302"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:56 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User56/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 763f7f08dcec4347987a4b76a6fa6302 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/763f7f08dcec4347987a4b76a6fa6302?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User56/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User57\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number57\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User57?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"5df8f5435be04fd5aa47dc7855fde40e"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:56 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User57/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 5df8f5435be04fd5aa47dc7855fde40e + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/5df8f5435be04fd5aa47dc7855fde40e?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User57/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User58\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number58\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User58?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"25f787afc9ac497da12fa8fffc0ea46f"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:56 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User58/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 25f787afc9ac497da12fa8fffc0ea46f + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/25f787afc9ac497da12fa8fffc0ea46f?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User58/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User59\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number59\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User59?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"3c7832744c88409baa874312d6966d3a"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:58 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User59/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 3c7832744c88409baa874312d6966d3a + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/3c7832744c88409baa874312d6966d3a?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User59/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User60\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number60\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User60?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"c9d1be6fa9a04ba4b7057568409a7e4a"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:58 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User60/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - c9d1be6fa9a04ba4b7057568409a7e4a + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/c9d1be6fa9a04ba4b7057568409a7e4a?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User60/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User61\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number61\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User61?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"cdb76824bdde497c9566aaabb890a972"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:58 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User61/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - cdb76824bdde497c9566aaabb890a972 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/cdb76824bdde497c9566aaabb890a972?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User61/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User62\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number62\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User62?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"c595669d2c8b4b16a88868869f0a6f77"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:59 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User62/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - c595669d2c8b4b16a88868869f0a6f77 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/c595669d2c8b4b16a88868869f0a6f77?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User62/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User63\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number63\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User63?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"d20779a1261d48828af4bbc099ce270c"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:30:59 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User63/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - d20779a1261d48828af4bbc099ce270c + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/d20779a1261d48828af4bbc099ce270c?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User63/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User64\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number64\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User64?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"58d290d75f914ce49675bc184cca855c"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:00 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User64/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 58d290d75f914ce49675bc184cca855c + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/58d290d75f914ce49675bc184cca855c?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User64/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User65\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number65\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User65?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"de43850f888649bf91d3e679a73615f9"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:00 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User65/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - de43850f888649bf91d3e679a73615f9 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/de43850f888649bf91d3e679a73615f9?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User65/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User66\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number66\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User66?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"611c7fd5af60434faf07a1d8d5ea5d28"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:01 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User66/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 611c7fd5af60434faf07a1d8d5ea5d28 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/611c7fd5af60434faf07a1d8d5ea5d28?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User66/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User67\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number67\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User67?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"d4a35a5bfc2f40f0a04864f92c9f2fba"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:01 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User67/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - d4a35a5bfc2f40f0a04864f92c9f2fba + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/d4a35a5bfc2f40f0a04864f92c9f2fba?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User67/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User68\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number68\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User68?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"ccad0102f63644789c480c69e69230b8"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:01 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User68/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - ccad0102f63644789c480c69e69230b8 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/ccad0102f63644789c480c69e69230b8?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User68/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User69\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number69\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User69?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"9ab4a8e54b98409386cfdb07e3e2fd8a"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:03 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User69/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 9ab4a8e54b98409386cfdb07e3e2fd8a + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/9ab4a8e54b98409386cfdb07e3e2fd8a?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User69/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User70\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number70\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User70?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"e7eec34e534e4926adca7dcf92510acc"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:03 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User70/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - e7eec34e534e4926adca7dcf92510acc + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e7eec34e534e4926adca7dcf92510acc?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User70/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User71\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number71\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User71?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"a751bf26f1344fe89271e21df50bd5a7"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:04 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User71/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - a751bf26f1344fe89271e21df50bd5a7 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/a751bf26f1344fe89271e21df50bd5a7?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User71/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User72\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number72\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User72?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"591edb408f5b4b64904a365b3ee5ee72"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:04 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User72/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 591edb408f5b4b64904a365b3ee5ee72 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/591edb408f5b4b64904a365b3ee5ee72?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User72/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User73\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number73\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User73?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"f0c01482ba854005bc10838af4757b9c"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:04 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User73/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - f0c01482ba854005bc10838af4757b9c + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/f0c01482ba854005bc10838af4757b9c?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User73/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User74\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number74\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User74?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"5debd43e91904833a9424c1c87b8bf6b"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:05 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User74/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 5debd43e91904833a9424c1c87b8bf6b + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/5debd43e91904833a9424c1c87b8bf6b?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User74/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User75\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number75\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User75?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"05bd8943dbf349c0806770a8234c0252"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:05 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User75/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 05bd8943dbf349c0806770a8234c0252 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/05bd8943dbf349c0806770a8234c0252?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User75/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User76\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number76\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User76?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"c6bf9b68808c4bef950f307c3e49692c"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:07 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User76/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - c6bf9b68808c4bef950f307c3e49692c + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/c6bf9b68808c4bef950f307c3e49692c?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User76/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User77\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number77\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User77?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"0c9c8afbc60e43bf8d2e341c2d1aaf6d"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:07 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User77/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 0c9c8afbc60e43bf8d2e341c2d1aaf6d + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/0c9c8afbc60e43bf8d2e341c2d1aaf6d?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User77/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User78\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number78\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User78?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"314313836362442b9aa31ec7d2cc6290"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:08 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User78/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 314313836362442b9aa31ec7d2cc6290 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/314313836362442b9aa31ec7d2cc6290?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User78/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User79\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number79\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User79?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"e596189375a543a4b9203b008cb7dbbe"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:08 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User79/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - e596189375a543a4b9203b008cb7dbbe + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e596189375a543a4b9203b008cb7dbbe?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User79/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User80\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number80\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User80?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"5d185a759baf45919e1a0f1f548213b1"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:08 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User80/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 5d185a759baf45919e1a0f1f548213b1 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/5d185a759baf45919e1a0f1f548213b1?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User80/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User81\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number81\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User81?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"949f8c97574c457aa9bbdd877245a808"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:09 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User81/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 949f8c97574c457aa9bbdd877245a808 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/949f8c97574c457aa9bbdd877245a808?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User81/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User82\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number82\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User82?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"7f5bfe81be7843118692647937f5d41f"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:09 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User82/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 7f5bfe81be7843118692647937f5d41f + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/7f5bfe81be7843118692647937f5d41f?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User82/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User83\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number83\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User83?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"7bb20497a40c4e558ab350f59486be8a"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:10 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User83/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 7bb20497a40c4e558ab350f59486be8a + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/7bb20497a40c4e558ab350f59486be8a?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User83/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User84\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number84\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User84?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"91b0f3dc9a1b4a469628cfb24d73549f"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:10 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User84/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 91b0f3dc9a1b4a469628cfb24d73549f + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/91b0f3dc9a1b4a469628cfb24d73549f?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User84/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User85\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number85\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User85?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"7639d937758644038466faecd320a536"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:10 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User85/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 7639d937758644038466faecd320a536 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/7639d937758644038466faecd320a536?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User85/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User86\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number86\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User86?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"fd98d8e8516c4c939be0656fc5cccddb"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:12 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User86/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - fd98d8e8516c4c939be0656fc5cccddb + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/fd98d8e8516c4c939be0656fc5cccddb?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User86/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User87\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number87\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User87?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"a2e4e90198ee450cacb247e81699516b"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:12 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User87/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - a2e4e90198ee450cacb247e81699516b + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/a2e4e90198ee450cacb247e81699516b?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User87/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User88\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number88\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User88?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"57c0e558e9564df8aae1232e49b95a38"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:13 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User88/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 57c0e558e9564df8aae1232e49b95a38 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/57c0e558e9564df8aae1232e49b95a38?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User88/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User89\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number89\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User89?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"63c5f131fe6f47618b702caf6f1f1d31"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:13 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User89/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 63c5f131fe6f47618b702caf6f1f1d31 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/63c5f131fe6f47618b702caf6f1f1d31?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User89/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User90\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number90\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User90?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"3db286ab60ef41898bea2bf975763686"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:13 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User90/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 3db286ab60ef41898bea2bf975763686 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/3db286ab60ef41898bea2bf975763686?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User90/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User91\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number91\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User91?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"42236ca2f09749acb3725aa6c1889853"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:14 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User91/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 42236ca2f09749acb3725aa6c1889853 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/42236ca2f09749acb3725aa6c1889853?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User91/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User92\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number92\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User92?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"1eb2317d09b04ac28c3cb90241b02589"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:14 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User92/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 1eb2317d09b04ac28c3cb90241b02589 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/1eb2317d09b04ac28c3cb90241b02589?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User92/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User93\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number93\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User93?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"870ca9372823440985bfc55bfac323d9"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:15 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User93/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 870ca9372823440985bfc55bfac323d9 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/870ca9372823440985bfc55bfac323d9?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User93/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User94\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number94\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User94?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"6da5ab5f3d7a4a11934b2bb58d6912cb"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:15 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User94/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 6da5ab5f3d7a4a11934b2bb58d6912cb + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/6da5ab5f3d7a4a11934b2bb58d6912cb?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User94/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User95\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number95\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User95?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"a0113be4813543659f1721251d55852d"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:15 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User95/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - a0113be4813543659f1721251d55852d + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/a0113be4813543659f1721251d55852d?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User95/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User96\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number96\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User96?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"793f65c93cce491e9f90ae3f0610c21d"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:17 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User96/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 793f65c93cce491e9f90ae3f0610c21d + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/793f65c93cce491e9f90ae3f0610c21d?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User96/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User97\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number97\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User97?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"19b599ae639f4d9ebc7ee85a7140bb76"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:17 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User97/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 19b599ae639f4d9ebc7ee85a7140bb76 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/19b599ae639f4d9ebc7ee85a7140bb76?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User97/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User98\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number98\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User98?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"45dcaa92a0804665b343f7cc4f1d4a0c"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:17 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User98/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 45dcaa92a0804665b343f7cc4f1d4a0c + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/45dcaa92a0804665b343f7cc4f1d4a0c?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User98/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User99\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number99\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '203' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User99?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"7f701e881d234c4eb74cd927a9e18b28"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:18 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User99/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 7f701e881d234c4eb74cd927a9e18b28 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/7f701e881d234c4eb74cd927a9e18b28?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User99/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User100\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number100\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User100?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"8088309ecdd04513a782915f441c94cf"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:18 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User100/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 8088309ecdd04513a782915f441c94cf + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/8088309ecdd04513a782915f441c94cf?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User100/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User101\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number101\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User101?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"4003c2bb34954c1887af42ea822584a5"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:19 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User101/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 4003c2bb34954c1887af42ea822584a5 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/4003c2bb34954c1887af42ea822584a5?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User101/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User102\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number102\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User102?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"61b85b593d104bf8a6a7fbc68cd0965f"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:19 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User102/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 61b85b593d104bf8a6a7fbc68cd0965f + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/61b85b593d104bf8a6a7fbc68cd0965f?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User102/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User103\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number103\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User103?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"a7b1202b2dba4e9b98d5b408d4e143f5"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:20 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User103/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - a7b1202b2dba4e9b98d5b408d4e143f5 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/a7b1202b2dba4e9b98d5b408d4e143f5?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User103/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User104\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number104\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User104?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"fce828cc01414236bb157a17fb20ac3f"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:20 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User104/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - fce828cc01414236bb157a17fb20ac3f + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/fce828cc01414236bb157a17fb20ac3f?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User104/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User105\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number105\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User105?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"1782f1e34ce24f5583f0294eff2c94b3"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:22 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User105/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 1782f1e34ce24f5583f0294eff2c94b3 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/1782f1e34ce24f5583f0294eff2c94b3?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User105/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User106\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number106\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User106?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"ccc42b62c7a94ce3848a6b3816228f8d"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:22 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User106/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - ccc42b62c7a94ce3848a6b3816228f8d + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/ccc42b62c7a94ce3848a6b3816228f8d?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User106/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User107\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number107\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User107?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"6e7ab80d952d44b7a12a5d93be2cf130"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:22 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User107/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 6e7ab80d952d44b7a12a5d93be2cf130 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/6e7ab80d952d44b7a12a5d93be2cf130?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User107/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User108\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number108\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User108?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"f4876f3f40834e0f98f1c0ad9b216ca5"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:23 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User108/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - f4876f3f40834e0f98f1c0ad9b216ca5 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/f4876f3f40834e0f98f1c0ad9b216ca5?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User108/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User109\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number109\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User109?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"10ac96cb68284cfcb947048564012ae5"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:23 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User109/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 10ac96cb68284cfcb947048564012ae5 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/10ac96cb68284cfcb947048564012ae5?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User109/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User110\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number110\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User110?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"7cc8635c005f44a6b6629e70adb810d6"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:24 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User110/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 7cc8635c005f44a6b6629e70adb810d6 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/7cc8635c005f44a6b6629e70adb810d6?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User110/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User111\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number111\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User111?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"14838fdf59744d0483a41c9d72bd8a46"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:24 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User111/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 14838fdf59744d0483a41c9d72bd8a46 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/14838fdf59744d0483a41c9d72bd8a46?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User111/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User112\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number112\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User112?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"85c744670eb345b182124cd4d652f631"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:24 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User112/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 85c744670eb345b182124cd4d652f631 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/85c744670eb345b182124cd4d652f631?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User112/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User113\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number113\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User113?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"a4b74783c870430eaddc7726e79a340d"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:26 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User113/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - a4b74783c870430eaddc7726e79a340d + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/a4b74783c870430eaddc7726e79a340d?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User113/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User114\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number114\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User114?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"f9399b4b71cb4fa1b5d5e90e1730f868"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:26 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User114/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - f9399b4b71cb4fa1b5d5e90e1730f868 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/f9399b4b71cb4fa1b5d5e90e1730f868?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User114/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User115\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number115\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User115?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"1195963579dc43ce9c0feae9a0128046"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:26 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User115/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 1195963579dc43ce9c0feae9a0128046 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/1195963579dc43ce9c0feae9a0128046?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User115/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User116\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number116\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User116?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"28b24ceadc9c42ac88f67b80cc4119d6"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:27 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User116/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 28b24ceadc9c42ac88f67b80cc4119d6 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/28b24ceadc9c42ac88f67b80cc4119d6?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User116/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User117\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number117\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User117?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"540582ee500a4fd6b4854b40617a92aa"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:27 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User117/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 540582ee500a4fd6b4854b40617a92aa + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/540582ee500a4fd6b4854b40617a92aa?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User117/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User118\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number118\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User118?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"c882cbc6dda84c94942c6ce4bfc35219"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:28 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User118/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - c882cbc6dda84c94942c6ce4bfc35219 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/c882cbc6dda84c94942c6ce4bfc35219?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User118/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User119\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number119\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User119?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"51269654109948259a5c28df715558bd"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:28 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User119/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 51269654109948259a5c28df715558bd + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/51269654109948259a5c28df715558bd?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User119/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User120\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number120\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User120?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"648c236bdbae40e2835f6824dc378000"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:29 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User120/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 648c236bdbae40e2835f6824dc378000 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/648c236bdbae40e2835f6824dc378000?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User120/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User121\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number121\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User121?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"035940e16249466f8fdb694d320c0b33"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:29 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User121/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 035940e16249466f8fdb694d320c0b33 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/035940e16249466f8fdb694d320c0b33?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User121/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User122\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number122\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User122?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"f78bfaadd07846f79228245d72dbb4ca"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:31 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User122/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - f78bfaadd07846f79228245d72dbb4ca + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/f78bfaadd07846f79228245d72dbb4ca?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User122/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User123\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number123\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User123?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"4956bd0060f84a10b1564b6db7cc11cd"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:31 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User123/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 4956bd0060f84a10b1564b6db7cc11cd + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/4956bd0060f84a10b1564b6db7cc11cd?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User123/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User124\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number124\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User124?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"51fe2cfb0b2543f7b7396e21bb9a1a06"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:31 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User124/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 51fe2cfb0b2543f7b7396e21bb9a1a06 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/51fe2cfb0b2543f7b7396e21bb9a1a06?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User124/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User125\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number125\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User125?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"fb199ddbe04c44d1bd3528a0c5e39142"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:32 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User125/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - fb199ddbe04c44d1bd3528a0c5e39142 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/fb199ddbe04c44d1bd3528a0c5e39142?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User125/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User126\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number126\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User126?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"7fd154a577aa438b9b9caf350abf28d2"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:32 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User126/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 7fd154a577aa438b9b9caf350abf28d2 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/7fd154a577aa438b9b9caf350abf28d2?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User126/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User127\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number127\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User127?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"926463e8aa6b4112897979558defe88f"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:32 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User127/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 926463e8aa6b4112897979558defe88f + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/926463e8aa6b4112897979558defe88f?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User127/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User128\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number128\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User128?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"09ec90f0bbcc44bcba940dc0b0b57a04"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:34 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User128/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 09ec90f0bbcc44bcba940dc0b0b57a04 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/09ec90f0bbcc44bcba940dc0b0b57a04?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User128/versions?api-version=2017-04 + status: + code: 200 + message: OK +- request: + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User129\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number129\"}]}"' + headers: + Accept: + - application/json + Accept-Encoding: + - gzip, deflate + Connection: + - keep-alive + Content-Length: + - '205' + Content-Type: + - application/json + User-Agent: + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + X-Schema-Type: + - Avro + method: PUT + uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User129?api-version=2017-04 + response: + body: + string: !!python/unicode '{"id":"694f3c15580243efbbb4b6915a39abc4"}' + headers: + content-type: + - application/json + date: + - Mon, 27 Sep 2021 23:31:34 GMT + location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User129/versions/1?api-version=2017-04 + server: + - Microsoft-HTTPAPI/2.0 + strict-transport-security: + - max-age=31536000 + transfer-encoding: + - chunked + x-schema-id: + - 694f3c15580243efbbb4b6915a39abc4 + x-schema-id-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/694f3c15580243efbbb4b6915a39abc4?api-version=2017-04 + x-schema-type: + - Avro + x-schema-version: + - '1' + x-schema-versions-location: + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User129/versions?api-version=2017-04 + status: + code: 200 + message: OK +version: 1 diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml index 8f9e7ba054e5..103bb4e77a78 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml @@ -1,9 +1,9 @@ interactions: - request: - body: '"{\"type\": \"record\", \"name\": \"User\", \"namespace\": \"example.avro\", - \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, {\"type\": [\"int\", - \"null\"], \"name\": \"favorite_number\"}, {\"type\": [\"string\", \"null\"], - \"name\": \"favorite_color\"}]}"' + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number\"}, {\"type\": [\"string\", + \"null\"], \"name\": \"favorite_color\"}]}"' headers: Accept: - application/json @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) X-Schema-Type: - Avro method: PUT uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User?api-version=2017-04 response: body: - string: '{"id":"fc61e4d3e31b46f6a758fa1b67f35cc5"}' + string: !!python/unicode '{"id":"e34596b6ecb547299035adb0bede58d2"}' headers: content-type: - application/json date: - - Mon, 27 Sep 2021 16:08:06 GMT + - Mon, 27 Sep 2021 23:16:25 GMT location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2017-04 + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2017-04 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -38,15 +38,15 @@ interactions: transfer-encoding: - chunked x-schema-id: - - fc61e4d3e31b46f6a758fa1b67f35cc5 + - e34596b6ecb547299035adb0bede58d2 x-schema-id-location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/fc61e4d3e31b46f6a758fa1b67f35cc5?api-version=2017-04 + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e34596b6ecb547299035adb0bede58d2?api-version=2017-04 x-schema-type: - Avro x-schema-version: - '1' x-schema-versions-location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User/versions?api-version=2017-04 + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User/versions?api-version=2017-04 status: code: 200 message: OK diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml index 499814f9759d..c4a39309fb58 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml @@ -1,9 +1,9 @@ interactions: - request: - body: '"{\"type\": \"record\", \"name\": \"User\", \"namespace\": \"example.avro\", - \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, {\"type\": [\"int\", - \"null\"], \"name\": \"favorite_number\"}, {\"type\": [\"string\", \"null\"], - \"name\": \"favorite_color\"}]}"' + body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", + \"name\": \"User\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, + {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number\"}, {\"type\": [\"string\", + \"null\"], \"name\": \"favorite_color\"}]}"' headers: Accept: - application/json @@ -16,21 +16,21 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) + - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) X-Schema-Type: - Avro method: POST uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User?api-version=2017-04 response: body: - string: '{"id":"fc61e4d3e31b46f6a758fa1b67f35cc5"}' + string: !!python/unicode '{"id":"e34596b6ecb547299035adb0bede58d2"}' headers: content-type: - application/json date: - - Mon, 27 Sep 2021 16:08:07 GMT + - Mon, 27 Sep 2021 23:16:26 GMT location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2017-04 + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2017-04 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -38,15 +38,15 @@ interactions: transfer-encoding: - chunked x-schema-id: - - fc61e4d3e31b46f6a758fa1b67f35cc5 + - e34596b6ecb547299035adb0bede58d2 x-schema-id-location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/fc61e4d3e31b46f6a758fa1b67f35cc5?api-version=2017-04 + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e34596b6ecb547299035adb0bede58d2?api-version=2017-04 x-schema-type: - Avro x-schema-version: - '1' x-schema-versions-location: - - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User/versions?api-version=2017-04 + - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User/versions?api-version=2017-04 status: code: 200 message: OK diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/schemaregistry_preparer.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/schemaregistry_preparer.py deleted file mode 100644 index bbf139cbac38..000000000000 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/schemaregistry_preparer.py +++ /dev/null @@ -1,73 +0,0 @@ -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the ""Software""), to -# deal in the Software without restriction, including without limitation the -# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -# sell copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# -------------------------------------------------------------------------- - -import functools -import hashlib -import os -from collections import namedtuple - -from azure.identity import ClientSecretCredential -from azure_devtools.scenario_tests.exceptions import AzureTestError -from devtools_testutils import ( - ResourceGroupPreparer, AzureMgmtPreparer, FakeResource -) - - -SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE_PARAM = "schemaregistry_fully_qualified_namespace" -SCHEMA_REGISTRY_GROUP_PARAM = "schemaregistry_group" -SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE_ENV_KEY_NAME = 'SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE' -SCHEMA_REGISTRY_GROUP_ENV_KEY_NAME = 'SCHEMA_REGISTRY_GROUP' - - -class SchemaRegistryNamespacePreparer(AzureMgmtPreparer): - # TODO: SR doesn't have mgmt package - def __init__(self): - pass - - def create_resource(self, name, **kwargs): - pass - - def remove_resource(self, name, **kwargs): - pass - - -class SchemaRegistryPreparer(AzureMgmtPreparer): - def __init__( - self, - name_prefix='' - ): - super(SchemaRegistryPreparer, self).__init__(name_prefix, 24) - - def create_resource(self, name, **kwargs): - # TODO: right now the endpoint/group is fixed, as there is no way to create/delete resources using api, in the future we should be able to dynamically create and remove resources - if self.is_live: - return { - SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE_PARAM: os.environ[SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE_ENV_KEY_NAME], - SCHEMA_REGISTRY_GROUP_PARAM: os.environ[SCHEMA_REGISTRY_GROUP_ENV_KEY_NAME] - } - - else: - return { - SCHEMA_REGISTRY_FULLY_QUALIFIED_NAMESPACE_PARAM: "sr-playground.servicebus.windows.net", - SCHEMA_REGISTRY_GROUP_PARAM: "azsdk_python_test_group" - } - - def remove_resource(self, name, **kwargs): - pass diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/test_avro_serializer.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/test_avro_serializer.py index bf2bca41907f..a47addcf35a0 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/test_avro_serializer.py +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/test_avro_serializer.py @@ -19,6 +19,7 @@ # -------------------------------------------------------------------------- import functools import pytest +import json import uuid import avro import avro.io @@ -123,3 +124,28 @@ def test_basic_sr_avro_serializer_without_auto_register_schemas(self, schemaregi assert decoded_data["favorite_color"] == u"red" sr_avro_serializer.close() + + @SchemaRegistryPowerShellPreparer() + def test_basic_sr_avro_serializer_cache(self, schemaregistry_fully_qualified_namespace, schemaregistry_group, **kwargs): + # TODO: AFTER RELEASING azure-schemaregistry=1.0.0b3, UPDATE 'endpoint' to 'fully_qualified_namespace' + sr_client = self.create_basic_client(SchemaRegistryClient, endpoint=schemaregistry_fully_qualified_namespace) + sr_avro_serializer = SchemaRegistryAvroSerializer(client=sr_client, group_name=schemaregistry_group, auto_register_schemas=True) + + cache_maxsize = 128 + for i in range(cache_maxsize+2): + schema_json = { + "namespace":"example.avro", + "type":"record", + "name":"User{}".format(i), + "fields":[ + {"name":"name","type":"string"}, + {"name":"favorite_number{}".format(i),"type":["int","null"]} + ] + } + schema_str = json.dumps(schema_json) + dict_data = {"name": u"Ben", "favorite_number{}".format(i): i} + encoded_data = sr_avro_serializer.serialize(dict_data, schema=schema_str) + dict_output = sr_avro_serializer.deserialize(encoded_data) + assert dict_output == dict_data + + sr_avro_serializer.close() From 7ad7dc83ca6fabfca56636192e4dd3935f0f844f Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Mon, 27 Sep 2021 16:33:39 -0700 Subject: [PATCH 10/25] cache for 2.7 --- .../serializer/avroserializer/_helpers.py | 44 +++++++++++++++++++ .../_schema_registry_avro_serializer.py | 6 ++- 2 files changed, 49 insertions(+), 1 deletion(-) create mode 100644 sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_helpers.py diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_helpers.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_helpers.py new file mode 100644 index 000000000000..d72526941d2b --- /dev/null +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_helpers.py @@ -0,0 +1,44 @@ +# -------------------------------------------------------------------------- +# +# Copyright (c) Microsoft Corporation. All rights reserved. +# +# The MIT License (MIT) +# +# Permission is hereby granted, free of charge, to any person obtaining a copy +# of this software and associated documentation files (the ""Software""), to +# deal in the Software without restriction, including without limitation the +# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or +# sell copies of the Software, and to permit persons to whom the Software is +# furnished to do so, subject to the following conditions: +# +# The above copyright notice and this permission notice shall be included in +# all copies or substantial portions of the Software. +# +# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING +# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS +# IN THE SOFTWARE. +# +# -------------------------------------------------------------------------- + +import functools + +def lru_cache(maxsize): + def inner_function(fn): + cache = {} + lru_keys = [] + @functools.wraps(fn) + def wrapper(*args, **kwargs): + key = tuple(args) + if key not in cache: + if len(lru_keys) == maxsize: + expired_item = lru_keys.pop(0) + del cache[expired_item] + cache[key] = fn(*args) + lru_keys.append(key) + return cache[key] + return wrapper + return inner_function diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_schema_registry_avro_serializer.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_schema_registry_avro_serializer.py index aee6f89ac3df..61970dbee25d 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_schema_registry_avro_serializer.py +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_schema_registry_avro_serializer.py @@ -23,7 +23,10 @@ # IN THE SOFTWARE. # # -------------------------------------------------------------------------- -from functools import lru_cache +try: + from functools import lru_cache +except ImportError: + from ._helpers import lru_cache from io import BytesIO from typing import Any, Dict, Mapping import avro @@ -53,6 +56,7 @@ def __init__(self, **kwargs): self._schema_registry_client = kwargs.pop("client") # type: "SchemaRegistryClient" except KeyError as e: raise TypeError("'{}' is a required keyword.".format(e.args[0])) + self._lru_cache_maxsize = 128 self._avro_serializer = AvroObjectSerializer(codec=kwargs.get("codec")) self._auto_register_schemas = kwargs.get("auto_register_schemas", False) self._auto_register_schema_func = ( From 582f2b8161958f311106d1fe154fd24865b0f633 Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Mon, 27 Sep 2021 16:40:33 -0700 Subject: [PATCH 11/25] cleanup --- .../avroserializer/_schema_registry_avro_serializer.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_schema_registry_avro_serializer.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_schema_registry_avro_serializer.py index 61970dbee25d..bde615fa17aa 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_schema_registry_avro_serializer.py +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_schema_registry_avro_serializer.py @@ -56,7 +56,6 @@ def __init__(self, **kwargs): self._schema_registry_client = kwargs.pop("client") # type: "SchemaRegistryClient" except KeyError as e: raise TypeError("'{}' is a required keyword.".format(e.args[0])) - self._lru_cache_maxsize = 128 self._avro_serializer = AvroObjectSerializer(codec=kwargs.get("codec")) self._auto_register_schemas = kwargs.get("auto_register_schemas", False) self._auto_register_schema_func = ( From a76497f5e8bfd477b2d510f3682acfb809ac00b8 Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Mon, 27 Sep 2021 17:31:15 -0700 Subject: [PATCH 12/25] use backports lru cache --- .../serializer/avroserializer/_helpers.py | 44 - .../_schema_registry_avro_serializer.py | 2 +- .../setup.py | 3 +- ...r.test_basic_sr_avro_serializer_cache.yaml | 6502 ----------------- .../tests/test_avro_serializer.py | 25 - 5 files changed, 3 insertions(+), 6573 deletions(-) delete mode 100644 sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_helpers.py delete mode 100644 sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_cache.yaml diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_helpers.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_helpers.py deleted file mode 100644 index d72526941d2b..000000000000 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_helpers.py +++ /dev/null @@ -1,44 +0,0 @@ -# -------------------------------------------------------------------------- -# -# Copyright (c) Microsoft Corporation. All rights reserved. -# -# The MIT License (MIT) -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the ""Software""), to -# deal in the Software without restriction, including without limitation the -# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -# sell copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# -------------------------------------------------------------------------- - -import functools - -def lru_cache(maxsize): - def inner_function(fn): - cache = {} - lru_keys = [] - @functools.wraps(fn) - def wrapper(*args, **kwargs): - key = tuple(args) - if key not in cache: - if len(lru_keys) == maxsize: - expired_item = lru_keys.pop(0) - del cache[expired_item] - cache[key] = fn(*args) - lru_keys.append(key) - return cache[key] - return wrapper - return inner_function diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_schema_registry_avro_serializer.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_schema_registry_avro_serializer.py index bde615fa17aa..f316fa9d1f07 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_schema_registry_avro_serializer.py +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/azure/schemaregistry/serializer/avroserializer/_schema_registry_avro_serializer.py @@ -26,7 +26,7 @@ try: from functools import lru_cache except ImportError: - from ._helpers import lru_cache + from backports.functools_lru_cache import lru_cache from io import BytesIO from typing import Any, Dict, Mapping import avro diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py index a31cbd1fc226..f1991e97686b 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py @@ -66,6 +66,7 @@ packages=find_packages(exclude=exclude_packages), install_requires=[ 'azure-schemaregistry==1.0.0b2', - 'avro<2.0.0,>=1.10.0' + 'avro<2.0.0,>=1.10.0', + 'backports.functools_lru_cache>=1.6.4; python_version=="2.7"' ] ) diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_cache.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_cache.yaml deleted file mode 100644 index 8efc421242dc..000000000000 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_cache.yaml +++ /dev/null @@ -1,6502 +0,0 @@ -interactions: -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User0\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number0\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '201' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User0?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"58da83491107448885ece9b9833ec5fa"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:26 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User0/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 58da83491107448885ece9b9833ec5fa - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/58da83491107448885ece9b9833ec5fa?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User0/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User1\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number1\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '201' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User1?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"f98d80128d3d46629f5c31cd60155603"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:26 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User1/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - f98d80128d3d46629f5c31cd60155603 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/f98d80128d3d46629f5c31cd60155603?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User1/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User2\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number2\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '201' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User2?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"37ae87f5dd644158a27757d442986247"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:27 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User2/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 37ae87f5dd644158a27757d442986247 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/37ae87f5dd644158a27757d442986247?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User2/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User3\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number3\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '201' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User3?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"592e7223abbb4fd8b34f2b91a9d595e9"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:27 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User3/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 592e7223abbb4fd8b34f2b91a9d595e9 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/592e7223abbb4fd8b34f2b91a9d595e9?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User3/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User4\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number4\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '201' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User4?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"059e9fc5f4594cb7820551a504d67560"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:29 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User4/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 059e9fc5f4594cb7820551a504d67560 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/059e9fc5f4594cb7820551a504d67560?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User4/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User5\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number5\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '201' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User5?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"19d8f1f1f7be4ec1a2f3af269f495846"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:29 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User5/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 19d8f1f1f7be4ec1a2f3af269f495846 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/19d8f1f1f7be4ec1a2f3af269f495846?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User5/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User6\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number6\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '201' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User6?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"01d4622a9ee147b69fb3649fef4174e8"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:30 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User6/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 01d4622a9ee147b69fb3649fef4174e8 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/01d4622a9ee147b69fb3649fef4174e8?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User6/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User7\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number7\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '201' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User7?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"f264401b43ca4d96a5fc36df42a77ccb"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:30 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User7/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - f264401b43ca4d96a5fc36df42a77ccb - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/f264401b43ca4d96a5fc36df42a77ccb?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User7/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User8\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number8\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '201' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User8?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"a5a6a62801ea4dc783f692505b76dd0c"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:32 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User8/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - a5a6a62801ea4dc783f692505b76dd0c - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/a5a6a62801ea4dc783f692505b76dd0c?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User8/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User9\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number9\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '201' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User9?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"8f4b6996056744838af026f8f69d62ac"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:32 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User9/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 8f4b6996056744838af026f8f69d62ac - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/8f4b6996056744838af026f8f69d62ac?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User9/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User10\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number10\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User10?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"18ad25d3280a4ae1a5024119af5cf221"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:32 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User10/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 18ad25d3280a4ae1a5024119af5cf221 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/18ad25d3280a4ae1a5024119af5cf221?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User10/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User11\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number11\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User11?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"e33695254cfb42348c585a5016b91d19"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:33 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User11/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - e33695254cfb42348c585a5016b91d19 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e33695254cfb42348c585a5016b91d19?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User11/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User12\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number12\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User12?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"376845fdba8d44e2a88021b55980e8e0"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:33 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User12/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 376845fdba8d44e2a88021b55980e8e0 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/376845fdba8d44e2a88021b55980e8e0?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User12/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User13\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number13\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User13?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"bca3d52ee4304dbc847025add899da0a"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:34 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User13/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - bca3d52ee4304dbc847025add899da0a - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/bca3d52ee4304dbc847025add899da0a?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User13/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User14\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number14\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User14?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"09bf6f86582043a18aa02a96fa806ce4"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:34 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User14/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 09bf6f86582043a18aa02a96fa806ce4 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/09bf6f86582043a18aa02a96fa806ce4?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User14/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User15\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number15\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User15?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"defb3c49772049769a6c8791c3b7d6ff"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:35 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User15/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - defb3c49772049769a6c8791c3b7d6ff - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/defb3c49772049769a6c8791c3b7d6ff?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User15/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User16\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number16\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User16?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"b7df6583c614457183ebd8df4f511b8a"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:35 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User16/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - b7df6583c614457183ebd8df4f511b8a - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/b7df6583c614457183ebd8df4f511b8a?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User16/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User17\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number17\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User17?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"99c377842d1d454b98e41459c8b2251a"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:35 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User17/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 99c377842d1d454b98e41459c8b2251a - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/99c377842d1d454b98e41459c8b2251a?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User17/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User18\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number18\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User18?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"104371d8b7984ae9b6973e3e0716702b"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:36 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User18/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 104371d8b7984ae9b6973e3e0716702b - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/104371d8b7984ae9b6973e3e0716702b?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User18/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User19\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number19\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User19?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"aa009a0994c140ec881b9a8c4a460202"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:36 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User19/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - aa009a0994c140ec881b9a8c4a460202 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/aa009a0994c140ec881b9a8c4a460202?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User19/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User20\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number20\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User20?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"d909c4d8750a44b4b964e8d78a7d6a5b"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:36 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User20/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - d909c4d8750a44b4b964e8d78a7d6a5b - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/d909c4d8750a44b4b964e8d78a7d6a5b?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User20/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User21\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number21\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User21?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"54772cac188c4d759640e4fab4f02939"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:38 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User21/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 54772cac188c4d759640e4fab4f02939 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/54772cac188c4d759640e4fab4f02939?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User21/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User22\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number22\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User22?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"585a5986afb847288523ab0b348e34bc"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:38 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User22/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 585a5986afb847288523ab0b348e34bc - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/585a5986afb847288523ab0b348e34bc?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User22/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User23\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number23\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User23?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"1c9d8059b6104441a00fd90dc3b67f93"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:38 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User23/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 1c9d8059b6104441a00fd90dc3b67f93 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/1c9d8059b6104441a00fd90dc3b67f93?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User23/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User24\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number24\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User24?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"db97458d7e264bc99d431591b4098b24"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:40 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User24/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - db97458d7e264bc99d431591b4098b24 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/db97458d7e264bc99d431591b4098b24?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User24/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User25\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number25\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User25?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"91983be0c8b849898bda250da0b038ea"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:40 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User25/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 91983be0c8b849898bda250da0b038ea - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/91983be0c8b849898bda250da0b038ea?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User25/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User26\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number26\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User26?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"afee8fb5619e4da0ae14649e00d501a1"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:40 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User26/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - afee8fb5619e4da0ae14649e00d501a1 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/afee8fb5619e4da0ae14649e00d501a1?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User26/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User27\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number27\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User27?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"e6c85693ce2a41b79890066029284dc3"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:41 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User27/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - e6c85693ce2a41b79890066029284dc3 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e6c85693ce2a41b79890066029284dc3?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User27/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User28\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number28\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User28?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"02d5fd102637441bbed47862a0ad96db"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:41 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User28/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 02d5fd102637441bbed47862a0ad96db - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/02d5fd102637441bbed47862a0ad96db?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User28/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User29\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number29\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User29?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"4bd940949d2d42a4bdd60afc12c70885"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:42 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User29/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 4bd940949d2d42a4bdd60afc12c70885 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/4bd940949d2d42a4bdd60afc12c70885?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User29/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User30\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number30\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User30?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"4b3982fd26494d33810e2011bacb2878"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:42 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User30/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 4b3982fd26494d33810e2011bacb2878 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/4b3982fd26494d33810e2011bacb2878?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User30/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User31\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number31\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User31?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"e5d195abecea401babb653be09ce5685"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:42 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User31/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - e5d195abecea401babb653be09ce5685 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e5d195abecea401babb653be09ce5685?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User31/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User32\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number32\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User32?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"4be92a5f69d547fe8c86431630b19483"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:44 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User32/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 4be92a5f69d547fe8c86431630b19483 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/4be92a5f69d547fe8c86431630b19483?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User32/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User33\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number33\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User33?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"9dc97f787a4a4f12b3aa648121f7614c"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:44 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User33/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 9dc97f787a4a4f12b3aa648121f7614c - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/9dc97f787a4a4f12b3aa648121f7614c?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User33/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User34\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number34\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User34?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"275c0b2030414640aae4e751449e269e"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:45 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User34/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 275c0b2030414640aae4e751449e269e - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/275c0b2030414640aae4e751449e269e?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User34/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User35\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number35\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User35?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"04b3b42c685b471ca631db626b041bb5"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:45 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User35/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 04b3b42c685b471ca631db626b041bb5 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/04b3b42c685b471ca631db626b041bb5?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User35/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User36\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number36\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User36?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"6a7ecc68649c4fcfa385a7e28ded50cb"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:46 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User36/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 6a7ecc68649c4fcfa385a7e28ded50cb - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/6a7ecc68649c4fcfa385a7e28ded50cb?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User36/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User37\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number37\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User37?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"59da269e4b724b4a97fe5db22acd02d4"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:46 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User37/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 59da269e4b724b4a97fe5db22acd02d4 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/59da269e4b724b4a97fe5db22acd02d4?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User37/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User38\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number38\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User38?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"22b445617dd44b08ab4cfbfa1d905c0c"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:46 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User38/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 22b445617dd44b08ab4cfbfa1d905c0c - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/22b445617dd44b08ab4cfbfa1d905c0c?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User38/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User39\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number39\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User39?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"987e22959bba418caee7423dd0c9e36f"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:47 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User39/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 987e22959bba418caee7423dd0c9e36f - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/987e22959bba418caee7423dd0c9e36f?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User39/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User40\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number40\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User40?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"bf00d4e83d424ad59f35a452d16774d3"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:47 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User40/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - bf00d4e83d424ad59f35a452d16774d3 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/bf00d4e83d424ad59f35a452d16774d3?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User40/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User41\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number41\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User41?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"36ce17070c1648ef8e61b9e876dfabfe"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:48 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User41/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 36ce17070c1648ef8e61b9e876dfabfe - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/36ce17070c1648ef8e61b9e876dfabfe?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User41/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User42\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number42\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User42?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"e73c4ec2cb694132baefb02d3816f455"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:48 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User42/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - e73c4ec2cb694132baefb02d3816f455 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e73c4ec2cb694132baefb02d3816f455?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User42/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User43\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number43\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User43?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"34840a11df02470c8d77521977e2e896"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:48 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User43/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 34840a11df02470c8d77521977e2e896 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/34840a11df02470c8d77521977e2e896?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User43/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User44\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number44\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User44?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"1c8082efdbfd4be2ab9e3e3d1fec020d"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:50 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User44/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 1c8082efdbfd4be2ab9e3e3d1fec020d - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/1c8082efdbfd4be2ab9e3e3d1fec020d?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User44/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User45\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number45\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User45?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"a5e29d8c2ac44f89a0f23cef972cfe08"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:50 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User45/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - a5e29d8c2ac44f89a0f23cef972cfe08 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/a5e29d8c2ac44f89a0f23cef972cfe08?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User45/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User46\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number46\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User46?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"3fd0eaf0f11345718d66ddb6e32ca0de"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:51 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User46/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 3fd0eaf0f11345718d66ddb6e32ca0de - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/3fd0eaf0f11345718d66ddb6e32ca0de?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User46/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User47\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number47\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User47?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"e7fa98743188430f81254607514aca08"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:51 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User47/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - e7fa98743188430f81254607514aca08 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e7fa98743188430f81254607514aca08?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User47/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User48\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number48\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User48?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"1c8ea6f98d9e4084ae9bf6fe39dd5998"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:51 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User48/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 1c8ea6f98d9e4084ae9bf6fe39dd5998 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/1c8ea6f98d9e4084ae9bf6fe39dd5998?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User48/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User49\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number49\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User49?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"0b4c09a2997a4ebbb5706a5fe5f45d39"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:52 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User49/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 0b4c09a2997a4ebbb5706a5fe5f45d39 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/0b4c09a2997a4ebbb5706a5fe5f45d39?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User49/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User50\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number50\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User50?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"cfac002d2909482d8dc5aac6432e86cd"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:52 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User50/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - cfac002d2909482d8dc5aac6432e86cd - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/cfac002d2909482d8dc5aac6432e86cd?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User50/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User51\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number51\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User51?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"eb0e371659c9445cba3ce648a231f1f9"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:53 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User51/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - eb0e371659c9445cba3ce648a231f1f9 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/eb0e371659c9445cba3ce648a231f1f9?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User51/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User52\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number52\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User52?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"e70ce559eff04e5a9ba3258b6e0edece"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:53 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User52/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - e70ce559eff04e5a9ba3258b6e0edece - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e70ce559eff04e5a9ba3258b6e0edece?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User52/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User53\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number53\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User53?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"245a9774b03d4693abfd4f2d08996208"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:55 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User53/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 245a9774b03d4693abfd4f2d08996208 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/245a9774b03d4693abfd4f2d08996208?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User53/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User54\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number54\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User54?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"030b6634188a4868a15a960444f472c4"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:55 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User54/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 030b6634188a4868a15a960444f472c4 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/030b6634188a4868a15a960444f472c4?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User54/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User55\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number55\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User55?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"f617974b68414b11b015567b8ab07460"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:55 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User55/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - f617974b68414b11b015567b8ab07460 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/f617974b68414b11b015567b8ab07460?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User55/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User56\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number56\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User56?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"763f7f08dcec4347987a4b76a6fa6302"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:56 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User56/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 763f7f08dcec4347987a4b76a6fa6302 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/763f7f08dcec4347987a4b76a6fa6302?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User56/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User57\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number57\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User57?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"5df8f5435be04fd5aa47dc7855fde40e"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:56 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User57/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 5df8f5435be04fd5aa47dc7855fde40e - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/5df8f5435be04fd5aa47dc7855fde40e?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User57/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User58\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number58\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User58?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"25f787afc9ac497da12fa8fffc0ea46f"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:56 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User58/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 25f787afc9ac497da12fa8fffc0ea46f - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/25f787afc9ac497da12fa8fffc0ea46f?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User58/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User59\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number59\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User59?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"3c7832744c88409baa874312d6966d3a"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:58 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User59/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 3c7832744c88409baa874312d6966d3a - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/3c7832744c88409baa874312d6966d3a?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User59/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User60\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number60\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User60?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"c9d1be6fa9a04ba4b7057568409a7e4a"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:58 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User60/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - c9d1be6fa9a04ba4b7057568409a7e4a - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/c9d1be6fa9a04ba4b7057568409a7e4a?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User60/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User61\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number61\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User61?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"cdb76824bdde497c9566aaabb890a972"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:58 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User61/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - cdb76824bdde497c9566aaabb890a972 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/cdb76824bdde497c9566aaabb890a972?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User61/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User62\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number62\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User62?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"c595669d2c8b4b16a88868869f0a6f77"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:59 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User62/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - c595669d2c8b4b16a88868869f0a6f77 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/c595669d2c8b4b16a88868869f0a6f77?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User62/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User63\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number63\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User63?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"d20779a1261d48828af4bbc099ce270c"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:30:59 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User63/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - d20779a1261d48828af4bbc099ce270c - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/d20779a1261d48828af4bbc099ce270c?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User63/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User64\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number64\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User64?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"58d290d75f914ce49675bc184cca855c"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:00 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User64/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 58d290d75f914ce49675bc184cca855c - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/58d290d75f914ce49675bc184cca855c?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User64/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User65\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number65\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User65?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"de43850f888649bf91d3e679a73615f9"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:00 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User65/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - de43850f888649bf91d3e679a73615f9 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/de43850f888649bf91d3e679a73615f9?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User65/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User66\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number66\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User66?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"611c7fd5af60434faf07a1d8d5ea5d28"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:01 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User66/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 611c7fd5af60434faf07a1d8d5ea5d28 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/611c7fd5af60434faf07a1d8d5ea5d28?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User66/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User67\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number67\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User67?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"d4a35a5bfc2f40f0a04864f92c9f2fba"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:01 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User67/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - d4a35a5bfc2f40f0a04864f92c9f2fba - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/d4a35a5bfc2f40f0a04864f92c9f2fba?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User67/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User68\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number68\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User68?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"ccad0102f63644789c480c69e69230b8"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:01 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User68/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - ccad0102f63644789c480c69e69230b8 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/ccad0102f63644789c480c69e69230b8?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User68/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User69\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number69\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User69?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"9ab4a8e54b98409386cfdb07e3e2fd8a"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:03 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User69/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 9ab4a8e54b98409386cfdb07e3e2fd8a - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/9ab4a8e54b98409386cfdb07e3e2fd8a?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User69/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User70\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number70\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User70?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"e7eec34e534e4926adca7dcf92510acc"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:03 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User70/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - e7eec34e534e4926adca7dcf92510acc - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e7eec34e534e4926adca7dcf92510acc?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User70/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User71\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number71\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User71?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"a751bf26f1344fe89271e21df50bd5a7"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:04 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User71/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - a751bf26f1344fe89271e21df50bd5a7 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/a751bf26f1344fe89271e21df50bd5a7?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User71/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User72\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number72\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User72?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"591edb408f5b4b64904a365b3ee5ee72"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:04 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User72/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 591edb408f5b4b64904a365b3ee5ee72 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/591edb408f5b4b64904a365b3ee5ee72?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User72/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User73\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number73\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User73?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"f0c01482ba854005bc10838af4757b9c"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:04 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User73/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - f0c01482ba854005bc10838af4757b9c - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/f0c01482ba854005bc10838af4757b9c?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User73/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User74\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number74\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User74?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"5debd43e91904833a9424c1c87b8bf6b"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:05 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User74/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 5debd43e91904833a9424c1c87b8bf6b - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/5debd43e91904833a9424c1c87b8bf6b?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User74/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User75\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number75\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User75?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"05bd8943dbf349c0806770a8234c0252"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:05 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User75/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 05bd8943dbf349c0806770a8234c0252 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/05bd8943dbf349c0806770a8234c0252?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User75/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User76\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number76\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User76?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"c6bf9b68808c4bef950f307c3e49692c"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:07 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User76/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - c6bf9b68808c4bef950f307c3e49692c - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/c6bf9b68808c4bef950f307c3e49692c?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User76/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User77\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number77\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User77?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"0c9c8afbc60e43bf8d2e341c2d1aaf6d"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:07 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User77/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 0c9c8afbc60e43bf8d2e341c2d1aaf6d - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/0c9c8afbc60e43bf8d2e341c2d1aaf6d?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User77/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User78\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number78\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User78?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"314313836362442b9aa31ec7d2cc6290"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:08 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User78/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 314313836362442b9aa31ec7d2cc6290 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/314313836362442b9aa31ec7d2cc6290?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User78/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User79\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number79\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User79?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"e596189375a543a4b9203b008cb7dbbe"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:08 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User79/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - e596189375a543a4b9203b008cb7dbbe - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e596189375a543a4b9203b008cb7dbbe?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User79/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User80\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number80\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User80?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"5d185a759baf45919e1a0f1f548213b1"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:08 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User80/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 5d185a759baf45919e1a0f1f548213b1 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/5d185a759baf45919e1a0f1f548213b1?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User80/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User81\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number81\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User81?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"949f8c97574c457aa9bbdd877245a808"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:09 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User81/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 949f8c97574c457aa9bbdd877245a808 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/949f8c97574c457aa9bbdd877245a808?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User81/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User82\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number82\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User82?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"7f5bfe81be7843118692647937f5d41f"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:09 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User82/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 7f5bfe81be7843118692647937f5d41f - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/7f5bfe81be7843118692647937f5d41f?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User82/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User83\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number83\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User83?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"7bb20497a40c4e558ab350f59486be8a"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:10 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User83/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 7bb20497a40c4e558ab350f59486be8a - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/7bb20497a40c4e558ab350f59486be8a?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User83/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User84\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number84\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User84?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"91b0f3dc9a1b4a469628cfb24d73549f"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:10 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User84/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 91b0f3dc9a1b4a469628cfb24d73549f - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/91b0f3dc9a1b4a469628cfb24d73549f?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User84/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User85\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number85\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User85?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"7639d937758644038466faecd320a536"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:10 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User85/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 7639d937758644038466faecd320a536 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/7639d937758644038466faecd320a536?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User85/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User86\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number86\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User86?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"fd98d8e8516c4c939be0656fc5cccddb"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:12 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User86/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - fd98d8e8516c4c939be0656fc5cccddb - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/fd98d8e8516c4c939be0656fc5cccddb?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User86/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User87\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number87\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User87?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"a2e4e90198ee450cacb247e81699516b"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:12 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User87/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - a2e4e90198ee450cacb247e81699516b - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/a2e4e90198ee450cacb247e81699516b?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User87/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User88\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number88\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User88?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"57c0e558e9564df8aae1232e49b95a38"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:13 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User88/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 57c0e558e9564df8aae1232e49b95a38 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/57c0e558e9564df8aae1232e49b95a38?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User88/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User89\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number89\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User89?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"63c5f131fe6f47618b702caf6f1f1d31"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:13 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User89/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 63c5f131fe6f47618b702caf6f1f1d31 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/63c5f131fe6f47618b702caf6f1f1d31?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User89/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User90\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number90\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User90?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"3db286ab60ef41898bea2bf975763686"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:13 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User90/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 3db286ab60ef41898bea2bf975763686 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/3db286ab60ef41898bea2bf975763686?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User90/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User91\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number91\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User91?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"42236ca2f09749acb3725aa6c1889853"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:14 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User91/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 42236ca2f09749acb3725aa6c1889853 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/42236ca2f09749acb3725aa6c1889853?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User91/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User92\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number92\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User92?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"1eb2317d09b04ac28c3cb90241b02589"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:14 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User92/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 1eb2317d09b04ac28c3cb90241b02589 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/1eb2317d09b04ac28c3cb90241b02589?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User92/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User93\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number93\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User93?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"870ca9372823440985bfc55bfac323d9"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:15 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User93/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 870ca9372823440985bfc55bfac323d9 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/870ca9372823440985bfc55bfac323d9?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User93/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User94\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number94\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User94?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"6da5ab5f3d7a4a11934b2bb58d6912cb"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:15 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User94/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 6da5ab5f3d7a4a11934b2bb58d6912cb - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/6da5ab5f3d7a4a11934b2bb58d6912cb?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User94/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User95\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number95\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User95?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"a0113be4813543659f1721251d55852d"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:15 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User95/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - a0113be4813543659f1721251d55852d - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/a0113be4813543659f1721251d55852d?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User95/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User96\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number96\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User96?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"793f65c93cce491e9f90ae3f0610c21d"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:17 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User96/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 793f65c93cce491e9f90ae3f0610c21d - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/793f65c93cce491e9f90ae3f0610c21d?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User96/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User97\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number97\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User97?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"19b599ae639f4d9ebc7ee85a7140bb76"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:17 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User97/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 19b599ae639f4d9ebc7ee85a7140bb76 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/19b599ae639f4d9ebc7ee85a7140bb76?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User97/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User98\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number98\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User98?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"45dcaa92a0804665b343f7cc4f1d4a0c"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:17 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User98/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 45dcaa92a0804665b343f7cc4f1d4a0c - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/45dcaa92a0804665b343f7cc4f1d4a0c?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User98/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User99\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number99\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '203' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User99?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"7f701e881d234c4eb74cd927a9e18b28"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:18 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User99/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 7f701e881d234c4eb74cd927a9e18b28 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/7f701e881d234c4eb74cd927a9e18b28?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User99/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User100\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number100\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User100?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"8088309ecdd04513a782915f441c94cf"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:18 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User100/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 8088309ecdd04513a782915f441c94cf - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/8088309ecdd04513a782915f441c94cf?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User100/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User101\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number101\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User101?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"4003c2bb34954c1887af42ea822584a5"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:19 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User101/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 4003c2bb34954c1887af42ea822584a5 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/4003c2bb34954c1887af42ea822584a5?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User101/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User102\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number102\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User102?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"61b85b593d104bf8a6a7fbc68cd0965f"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:19 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User102/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 61b85b593d104bf8a6a7fbc68cd0965f - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/61b85b593d104bf8a6a7fbc68cd0965f?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User102/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User103\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number103\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User103?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"a7b1202b2dba4e9b98d5b408d4e143f5"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:20 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User103/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - a7b1202b2dba4e9b98d5b408d4e143f5 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/a7b1202b2dba4e9b98d5b408d4e143f5?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User103/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User104\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number104\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User104?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"fce828cc01414236bb157a17fb20ac3f"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:20 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User104/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - fce828cc01414236bb157a17fb20ac3f - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/fce828cc01414236bb157a17fb20ac3f?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User104/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User105\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number105\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User105?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"1782f1e34ce24f5583f0294eff2c94b3"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:22 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User105/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 1782f1e34ce24f5583f0294eff2c94b3 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/1782f1e34ce24f5583f0294eff2c94b3?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User105/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User106\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number106\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User106?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"ccc42b62c7a94ce3848a6b3816228f8d"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:22 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User106/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - ccc42b62c7a94ce3848a6b3816228f8d - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/ccc42b62c7a94ce3848a6b3816228f8d?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User106/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User107\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number107\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User107?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"6e7ab80d952d44b7a12a5d93be2cf130"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:22 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User107/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 6e7ab80d952d44b7a12a5d93be2cf130 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/6e7ab80d952d44b7a12a5d93be2cf130?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User107/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User108\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number108\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User108?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"f4876f3f40834e0f98f1c0ad9b216ca5"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:23 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User108/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - f4876f3f40834e0f98f1c0ad9b216ca5 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/f4876f3f40834e0f98f1c0ad9b216ca5?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User108/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User109\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number109\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User109?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"10ac96cb68284cfcb947048564012ae5"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:23 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User109/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 10ac96cb68284cfcb947048564012ae5 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/10ac96cb68284cfcb947048564012ae5?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User109/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User110\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number110\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User110?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"7cc8635c005f44a6b6629e70adb810d6"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:24 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User110/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 7cc8635c005f44a6b6629e70adb810d6 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/7cc8635c005f44a6b6629e70adb810d6?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User110/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User111\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number111\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User111?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"14838fdf59744d0483a41c9d72bd8a46"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:24 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User111/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 14838fdf59744d0483a41c9d72bd8a46 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/14838fdf59744d0483a41c9d72bd8a46?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User111/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User112\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number112\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User112?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"85c744670eb345b182124cd4d652f631"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:24 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User112/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 85c744670eb345b182124cd4d652f631 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/85c744670eb345b182124cd4d652f631?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User112/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User113\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number113\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User113?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"a4b74783c870430eaddc7726e79a340d"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:26 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User113/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - a4b74783c870430eaddc7726e79a340d - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/a4b74783c870430eaddc7726e79a340d?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User113/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User114\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number114\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User114?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"f9399b4b71cb4fa1b5d5e90e1730f868"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:26 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User114/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - f9399b4b71cb4fa1b5d5e90e1730f868 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/f9399b4b71cb4fa1b5d5e90e1730f868?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User114/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User115\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number115\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User115?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"1195963579dc43ce9c0feae9a0128046"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:26 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User115/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 1195963579dc43ce9c0feae9a0128046 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/1195963579dc43ce9c0feae9a0128046?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User115/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User116\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number116\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User116?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"28b24ceadc9c42ac88f67b80cc4119d6"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:27 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User116/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 28b24ceadc9c42ac88f67b80cc4119d6 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/28b24ceadc9c42ac88f67b80cc4119d6?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User116/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User117\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number117\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User117?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"540582ee500a4fd6b4854b40617a92aa"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:27 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User117/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 540582ee500a4fd6b4854b40617a92aa - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/540582ee500a4fd6b4854b40617a92aa?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User117/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User118\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number118\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User118?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"c882cbc6dda84c94942c6ce4bfc35219"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:28 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User118/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - c882cbc6dda84c94942c6ce4bfc35219 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/c882cbc6dda84c94942c6ce4bfc35219?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User118/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User119\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number119\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User119?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"51269654109948259a5c28df715558bd"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:28 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User119/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 51269654109948259a5c28df715558bd - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/51269654109948259a5c28df715558bd?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User119/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User120\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number120\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User120?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"648c236bdbae40e2835f6824dc378000"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:29 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User120/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 648c236bdbae40e2835f6824dc378000 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/648c236bdbae40e2835f6824dc378000?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User120/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User121\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number121\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User121?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"035940e16249466f8fdb694d320c0b33"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:29 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User121/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 035940e16249466f8fdb694d320c0b33 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/035940e16249466f8fdb694d320c0b33?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User121/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User122\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number122\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User122?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"f78bfaadd07846f79228245d72dbb4ca"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:31 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User122/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - f78bfaadd07846f79228245d72dbb4ca - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/f78bfaadd07846f79228245d72dbb4ca?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User122/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User123\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number123\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User123?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"4956bd0060f84a10b1564b6db7cc11cd"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:31 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User123/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 4956bd0060f84a10b1564b6db7cc11cd - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/4956bd0060f84a10b1564b6db7cc11cd?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User123/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User124\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number124\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User124?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"51fe2cfb0b2543f7b7396e21bb9a1a06"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:31 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User124/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 51fe2cfb0b2543f7b7396e21bb9a1a06 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/51fe2cfb0b2543f7b7396e21bb9a1a06?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User124/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User125\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number125\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User125?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"fb199ddbe04c44d1bd3528a0c5e39142"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:32 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User125/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - fb199ddbe04c44d1bd3528a0c5e39142 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/fb199ddbe04c44d1bd3528a0c5e39142?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User125/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User126\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number126\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User126?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"7fd154a577aa438b9b9caf350abf28d2"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:32 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User126/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 7fd154a577aa438b9b9caf350abf28d2 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/7fd154a577aa438b9b9caf350abf28d2?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User126/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User127\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number127\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User127?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"926463e8aa6b4112897979558defe88f"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:32 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User127/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 926463e8aa6b4112897979558defe88f - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/926463e8aa6b4112897979558defe88f?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User127/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User128\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number128\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User128?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"09ec90f0bbcc44bcba940dc0b0b57a04"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:34 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User128/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 09ec90f0bbcc44bcba940dc0b0b57a04 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/09ec90f0bbcc44bcba940dc0b0b57a04?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User128/versions?api-version=2017-04 - status: - code: 200 - message: OK -- request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User129\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number129\"}]}"' - headers: - Accept: - - application/json - Accept-Encoding: - - gzip, deflate - Connection: - - keep-alive - Content-Length: - - '205' - Content-Type: - - application/json - User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) - X-Schema-Type: - - Avro - method: PUT - uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User129?api-version=2017-04 - response: - body: - string: !!python/unicode '{"id":"694f3c15580243efbbb4b6915a39abc4"}' - headers: - content-type: - - application/json - date: - - Mon, 27 Sep 2021 23:31:34 GMT - location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User129/versions/1?api-version=2017-04 - server: - - Microsoft-HTTPAPI/2.0 - strict-transport-security: - - max-age=31536000 - transfer-encoding: - - chunked - x-schema-id: - - 694f3c15580243efbbb4b6915a39abc4 - x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/694f3c15580243efbbb4b6915a39abc4?api-version=2017-04 - x-schema-type: - - Avro - x-schema-version: - - '1' - x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User129/versions?api-version=2017-04 - status: - code: 200 - message: OK -version: 1 diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/test_avro_serializer.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/test_avro_serializer.py index a47addcf35a0..a71585084185 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/test_avro_serializer.py +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/test_avro_serializer.py @@ -124,28 +124,3 @@ def test_basic_sr_avro_serializer_without_auto_register_schemas(self, schemaregi assert decoded_data["favorite_color"] == u"red" sr_avro_serializer.close() - - @SchemaRegistryPowerShellPreparer() - def test_basic_sr_avro_serializer_cache(self, schemaregistry_fully_qualified_namespace, schemaregistry_group, **kwargs): - # TODO: AFTER RELEASING azure-schemaregistry=1.0.0b3, UPDATE 'endpoint' to 'fully_qualified_namespace' - sr_client = self.create_basic_client(SchemaRegistryClient, endpoint=schemaregistry_fully_qualified_namespace) - sr_avro_serializer = SchemaRegistryAvroSerializer(client=sr_client, group_name=schemaregistry_group, auto_register_schemas=True) - - cache_maxsize = 128 - for i in range(cache_maxsize+2): - schema_json = { - "namespace":"example.avro", - "type":"record", - "name":"User{}".format(i), - "fields":[ - {"name":"name","type":"string"}, - {"name":"favorite_number{}".format(i),"type":["int","null"]} - ] - } - schema_str = json.dumps(schema_json) - dict_data = {"name": u"Ben", "favorite_number{}".format(i): i} - encoded_data = sr_avro_serializer.serialize(dict_data, schema=schema_str) - dict_output = sr_avro_serializer.deserialize(encoded_data) - assert dict_output == dict_data - - sr_avro_serializer.close() From 2dd27be275e398aad1b110dbc8f785f9e6455a9f Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Mon, 27 Sep 2021 18:07:23 -0700 Subject: [PATCH 13/25] specify backports version --- sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py index f1991e97686b..ae381a667fa1 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py @@ -67,6 +67,6 @@ install_requires=[ 'azure-schemaregistry==1.0.0b2', 'avro<2.0.0,>=1.10.0', - 'backports.functools_lru_cache>=1.6.4; python_version=="2.7"' + 'backports.functools-lru-cache==1.6.4; python_version=="2.7"' ] ) From 942cddf65990caf25c181a06f03a876faa8cd611 Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Mon, 27 Sep 2021 18:09:49 -0700 Subject: [PATCH 14/25] add to shared reqs --- sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py | 2 +- shared_requirements.txt | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py index ae381a667fa1..6ae72a1295c3 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py @@ -67,6 +67,6 @@ install_requires=[ 'azure-schemaregistry==1.0.0b2', 'avro<2.0.0,>=1.10.0', - 'backports.functools-lru-cache==1.6.4; python_version=="2.7"' + 'backports.functools-lru-cache>=1.6.4; python_version=="2.7"' ] ) diff --git a/shared_requirements.txt b/shared_requirements.txt index e375e2f5aaeb..a46f1ea33d33 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -169,6 +169,7 @@ chardet<5,>=3.0.2 #override azure-security-attestation azure-core<2.0.0,>=1.8.2 #override azure-data-tables msrest>=0.6.19 #override azure-schemaregistry azure-core<2.0.0,>=1.17.1 +#override azure-schemaregistry backports.functools-lru-cache>=1.6.4 opencensus>=0.6.0 opencensus-ext-threading opencensus-ext-azure>=0.3.1 From d8be6616ad79d52742cd5c83df66402b874ae732 Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Mon, 27 Sep 2021 18:10:41 -0700 Subject: [PATCH 15/25] add to avro shared reqs --- shared_requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared_requirements.txt b/shared_requirements.txt index a46f1ea33d33..99f5acf1b0fa 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -169,7 +169,7 @@ chardet<5,>=3.0.2 #override azure-security-attestation azure-core<2.0.0,>=1.8.2 #override azure-data-tables msrest>=0.6.19 #override azure-schemaregistry azure-core<2.0.0,>=1.17.1 -#override azure-schemaregistry backports.functools-lru-cache>=1.6.4 +#override azure-schemaregistry-avroserializer backports.functools-lru-cache>=1.6.4 opencensus>=0.6.0 opencensus-ext-threading opencensus-ext-azure>=0.3.1 From 5a9db19e0c3a5a581b16f6e2a39eaf9c6828e327 Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Mon, 27 Sep 2021 18:34:17 -0700 Subject: [PATCH 16/25] freeze req --- shared_requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared_requirements.txt b/shared_requirements.txt index 99f5acf1b0fa..61a7dd88a7da 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -128,6 +128,7 @@ isodate>=0.6.0 avro<2.0.0,>=1.10.0 pyjwt>=1.7.1 chardet<5,>=3.0.2 +backports.functools-lru-cache>=1.6.4 #override azure azure-keyvault~=1.0 #override azure-mgmt-core azure-core<2.0.0,>=1.15.0 #override azure-containerregistry azure-core>=1.4.0,<2.0.0 @@ -169,7 +170,6 @@ chardet<5,>=3.0.2 #override azure-security-attestation azure-core<2.0.0,>=1.8.2 #override azure-data-tables msrest>=0.6.19 #override azure-schemaregistry azure-core<2.0.0,>=1.17.1 -#override azure-schemaregistry-avroserializer backports.functools-lru-cache>=1.6.4 opencensus>=0.6.0 opencensus-ext-threading opencensus-ext-azure>=0.3.1 From 18ab332854db71f0ecbe1b527f45b82493fd2ae8 Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Mon, 27 Sep 2021 18:54:14 -0700 Subject: [PATCH 17/25] once more with feeling --- shared_requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/shared_requirements.txt b/shared_requirements.txt index 61a7dd88a7da..f313cbc12968 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -170,6 +170,7 @@ backports.functools-lru-cache>=1.6.4 #override azure-security-attestation azure-core<2.0.0,>=1.8.2 #override azure-data-tables msrest>=0.6.19 #override azure-schemaregistry azure-core<2.0.0,>=1.17.1 +#override azure-schemaregistry-avroserializer backports.functools-lru-cache>=1.6.4 opencensus>=0.6.0 opencensus-ext-threading opencensus-ext-azure>=0.3.1 From 7453723d50fb9ef24c227f0f78315d8ce5b83545 Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Tue, 28 Sep 2021 11:08:38 -0700 Subject: [PATCH 18/25] update shared reqs --- shared_requirements.txt | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/shared_requirements.txt b/shared_requirements.txt index f313cbc12968..da95f3a497d9 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -128,7 +128,7 @@ isodate>=0.6.0 avro<2.0.0,>=1.10.0 pyjwt>=1.7.1 chardet<5,>=3.0.2 -backports.functools-lru-cache>=1.6.4 +backports.functools-lru-cache>=1.6.4; python_version=="2.7" #override azure azure-keyvault~=1.0 #override azure-mgmt-core azure-core<2.0.0,>=1.15.0 #override azure-containerregistry azure-core>=1.4.0,<2.0.0 @@ -170,7 +170,6 @@ backports.functools-lru-cache>=1.6.4 #override azure-security-attestation azure-core<2.0.0,>=1.8.2 #override azure-data-tables msrest>=0.6.19 #override azure-schemaregistry azure-core<2.0.0,>=1.17.1 -#override azure-schemaregistry-avroserializer backports.functools-lru-cache>=1.6.4 opencensus>=0.6.0 opencensus-ext-threading opencensus-ext-azure>=0.3.1 From e3abf91648e469886bcc6175a99243757bf953ca Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Tue, 28 Sep 2021 12:10:36 -0700 Subject: [PATCH 19/25] fixed setup.py --- .../azure-schemaregistry-avroserializer/setup.py | 13 ++++++++----- ..._avro_serializer_with_auto_register_schemas.yaml | 12 ++++++------ ...ro_serializer_without_auto_register_schemas.yaml | 12 ++++++------ 3 files changed, 20 insertions(+), 17 deletions(-) diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py index 6ae72a1295c3..c33948ec7b1c 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py @@ -7,6 +7,7 @@ # ------------------------------------------------------------------------- import re +import sys import os.path from io import open from setuptools import find_packages, setup @@ -39,6 +40,12 @@ 'azure.schemaregistry', 'azure.schemaregistry.serializer' ] +install_packages = [ + 'azure-schemaregistry==1.0.0b2', + 'avro<2.0.0,>=1.10.0' +] +if sys.version_info < (3,0): + install_packages.append('backports.functools-lru-cache>=1.6.4') setup( name=PACKAGE_NAME, @@ -64,9 +71,5 @@ ], zip_safe=False, packages=find_packages(exclude=exclude_packages), - install_requires=[ - 'azure-schemaregistry==1.0.0b2', - 'avro<2.0.0,>=1.10.0', - 'backports.functools-lru-cache>=1.6.4; python_version=="2.7"' - ] + install_requires=install_packages ) diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml index 103bb4e77a78..7ff88ca60d62 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml @@ -23,14 +23,14 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User?api-version=2017-04 response: body: - string: !!python/unicode '{"id":"e34596b6ecb547299035adb0bede58d2"}' + string: !!python/unicode '{"id":"f666e373299048fabaa4296f5dbfed46"}' headers: content-type: - application/json date: - - Mon, 27 Sep 2021 23:16:25 GMT + - Tue, 28 Sep 2021 19:09:51 GMT location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2017-04 + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2017-04 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -38,15 +38,15 @@ interactions: transfer-encoding: - chunked x-schema-id: - - e34596b6ecb547299035adb0bede58d2 + - f666e373299048fabaa4296f5dbfed46 x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e34596b6ecb547299035adb0bede58d2?api-version=2017-04 + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/f666e373299048fabaa4296f5dbfed46?api-version=2017-04 x-schema-type: - Avro x-schema-version: - '1' x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User/versions?api-version=2017-04 + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User/versions?api-version=2017-04 status: code: 200 message: OK diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml index c4a39309fb58..13b695c7d11b 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml @@ -23,14 +23,14 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User?api-version=2017-04 response: body: - string: !!python/unicode '{"id":"e34596b6ecb547299035adb0bede58d2"}' + string: !!python/unicode '{"id":"f666e373299048fabaa4296f5dbfed46"}' headers: content-type: - application/json date: - - Mon, 27 Sep 2021 23:16:26 GMT + - Tue, 28 Sep 2021 19:09:52 GMT location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2017-04 + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2017-04 server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -38,15 +38,15 @@ interactions: transfer-encoding: - chunked x-schema-id: - - e34596b6ecb547299035adb0bede58d2 + - f666e373299048fabaa4296f5dbfed46 x-schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e34596b6ecb547299035adb0bede58d2?api-version=2017-04 + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/f666e373299048fabaa4296f5dbfed46?api-version=2017-04 x-schema-type: - Avro x-schema-version: - '1' x-schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User/versions?api-version=2017-04 + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/example.avro.User/versions?api-version=2017-04 status: code: 200 message: OK From 2b9baeb732c2bdc9feeb09e7e59d3c5bdac508f1 Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Tue, 28 Sep 2021 12:12:35 -0700 Subject: [PATCH 20/25] update req --- shared_requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared_requirements.txt b/shared_requirements.txt index da95f3a497d9..61a7dd88a7da 100644 --- a/shared_requirements.txt +++ b/shared_requirements.txt @@ -128,7 +128,7 @@ isodate>=0.6.0 avro<2.0.0,>=1.10.0 pyjwt>=1.7.1 chardet<5,>=3.0.2 -backports.functools-lru-cache>=1.6.4; python_version=="2.7" +backports.functools-lru-cache>=1.6.4 #override azure azure-keyvault~=1.0 #override azure-mgmt-core azure-core<2.0.0,>=1.15.0 #override azure-containerregistry azure-core>=1.4.0,<2.0.0 From 0bf25b678d72982378bcb8d9ec493d08ea3ada1d Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Tue, 28 Sep 2021 12:13:46 -0700 Subject: [PATCH 21/25] recordings --- ...avro_serializer_with_auto_register_schemas.yaml | 14 +++++++------- ...o_serializer_without_auto_register_schemas.yaml | 14 +++++++------- 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml index 7ff88ca60d62..b52be0f89bd5 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml @@ -1,9 +1,9 @@ interactions: - request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number\"}, {\"type\": [\"string\", - \"null\"], \"name\": \"favorite_color\"}]}"' + body: '"{\"type\": \"record\", \"name\": \"User\", \"namespace\": \"example.avro\", + \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, {\"type\": [\"int\", + \"null\"], \"name\": \"favorite_number\"}, {\"type\": [\"string\", \"null\"], + \"name\": \"favorite_color\"}]}"' headers: Accept: - application/json @@ -16,19 +16,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + - azsdk-python-azureschemaregistry/1.0.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) X-Schema-Type: - Avro method: PUT uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User?api-version=2017-04 response: body: - string: !!python/unicode '{"id":"f666e373299048fabaa4296f5dbfed46"}' + string: '{"id":"f666e373299048fabaa4296f5dbfed46"}' headers: content-type: - application/json date: - - Tue, 28 Sep 2021 19:09:51 GMT + - Tue, 28 Sep 2021 19:13:22 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2017-04 server: diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml index 13b695c7d11b..2162e274d002 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml @@ -1,9 +1,9 @@ interactions: - request: - body: !!python/unicode '"{\"type\": \"record\", \"namespace\": \"example.avro\", - \"name\": \"User\", \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, - {\"type\": [\"int\", \"null\"], \"name\": \"favorite_number\"}, {\"type\": [\"string\", - \"null\"], \"name\": \"favorite_color\"}]}"' + body: '"{\"type\": \"record\", \"name\": \"User\", \"namespace\": \"example.avro\", + \"fields\": [{\"type\": \"string\", \"name\": \"name\"}, {\"type\": [\"int\", + \"null\"], \"name\": \"favorite_number\"}, {\"type\": [\"string\", \"null\"], + \"name\": \"favorite_color\"}]}"' headers: Accept: - application/json @@ -16,19 +16,19 @@ interactions: Content-Type: - application/json User-Agent: - - azsdk-python-azureschemaregistry/1.0.0b1 Python/2.7.18 (Windows-10-10.0.19041) + - azsdk-python-azureschemaregistry/1.0.0b1 Python/3.9.0 (Windows-10-10.0.19041-SP0) X-Schema-Type: - Avro method: POST uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User?api-version=2017-04 response: body: - string: !!python/unicode '{"id":"f666e373299048fabaa4296f5dbfed46"}' + string: '{"id":"f666e373299048fabaa4296f5dbfed46"}' headers: content-type: - application/json date: - - Tue, 28 Sep 2021 19:09:52 GMT + - Tue, 28 Sep 2021 19:13:23 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2017-04 server: From 461ea57499db2edc5296647b96836c8fbaf9d239 Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Tue, 28 Sep 2021 13:46:52 -0700 Subject: [PATCH 22/25] nit --- .../tests/test_avro_serializer.py | 1 - 1 file changed, 1 deletion(-) diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/test_avro_serializer.py b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/test_avro_serializer.py index a71585084185..bf2bca41907f 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/test_avro_serializer.py +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/test_avro_serializer.py @@ -19,7 +19,6 @@ # -------------------------------------------------------------------------- import functools import pytest -import json import uuid import avro import avro.io From 34f4e3857666549a16662e4bcc586a0f366e1dad Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Tue, 28 Sep 2021 15:29:07 -0700 Subject: [PATCH 23/25] readding recordings jic --- ...serializer_with_auto_register_schemas.yaml | 2 +- ...ializer_without_auto_register_schemas.yaml | 2 +- ...est_schema_registry.test_schema_basic.yaml | 36 +++++++++---------- ...gistry.test_schema_negative_no_schema.yaml | 14 ++++---- 4 files changed, 27 insertions(+), 27 deletions(-) diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml index b52be0f89bd5..90dc88aa96ec 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml @@ -28,7 +28,7 @@ interactions: content-type: - application/json date: - - Tue, 28 Sep 2021 19:13:22 GMT + - Tue, 28 Sep 2021 22:27:25 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2017-04 server: diff --git a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml index 2162e274d002..7dce4b62fbfe 100644 --- a/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml +++ b/sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml @@ -28,7 +28,7 @@ interactions: content-type: - application/json date: - - Tue, 28 Sep 2021 19:13:23 GMT + - Tue, 28 Sep 2021 22:27:26 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2017-04 server: diff --git a/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_basic.yaml b/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_basic.yaml index 6f503e999e6c..3e5c6c9a350f 100644 --- a/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_basic.yaml +++ b/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_basic.yaml @@ -20,22 +20,22 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-basic31c70f88?api-version=2020-09-01-preview response: body: - string: '{"id":"011fe110929c42fe870e3705144e9633"}' + string: '{"id":"694cab9feec74728bb431fe3a7bf75f0"}' headers: content-type: - application/json date: - - Mon, 27 Sep 2021 23:08:43 GMT + - Tue, 28 Sep 2021 22:27:45 GMT location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic31c70f88/versions/1?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic31c70f88/versions/1?api-version=2020-09-01-preview schema-id: - - 011fe110929c42fe870e3705144e9633 + - 694cab9feec74728bb431fe3a7bf75f0 schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/011fe110929c42fe870e3705144e9633?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/694cab9feec74728bb431fe3a7bf75f0?api-version=2020-09-01-preview schema-version: - '1' schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic31c70f88/versions?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic31c70f88/versions?api-version=2020-09-01-preview serialization-type: - Avro server: @@ -59,7 +59,7 @@ interactions: User-Agent: - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/011fe110929c42fe870e3705144e9633?api-version=2020-09-01-preview + uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/694cab9feec74728bb431fe3a7bf75f0?api-version=2020-09-01-preview response: body: string: '{"namespace":"example.avro","type":"record","name":"User","fields":[{"name":"name","type":"string"},{"name":"favorite_number","type":["int","null"]},{"name":"favorite_color","type":["string","null"]}]}' @@ -67,17 +67,17 @@ interactions: content-type: - application/json date: - - Mon, 27 Sep 2021 23:08:43 GMT + - Tue, 28 Sep 2021 22:27:46 GMT location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic31c70f88/versions/1?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic31c70f88/versions/1?api-version=2020-09-01-preview schema-id: - - 011fe110929c42fe870e3705144e9633 + - 694cab9feec74728bb431fe3a7bf75f0 schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/011fe110929c42fe870e3705144e9633?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/694cab9feec74728bb431fe3a7bf75f0?api-version=2020-09-01-preview schema-version: - '1' schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic31c70f88/versions?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic31c70f88/versions?api-version=2020-09-01-preview serialization-type: - Avro server: @@ -110,22 +110,22 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-basic31c70f88?api-version=2020-09-01-preview response: body: - string: '{"id":"011fe110929c42fe870e3705144e9633"}' + string: '{"id":"694cab9feec74728bb431fe3a7bf75f0"}' headers: content-type: - application/json date: - - Mon, 27 Sep 2021 23:08:43 GMT + - Tue, 28 Sep 2021 22:27:46 GMT location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic31c70f88/versions/1?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic31c70f88/versions/1?api-version=2020-09-01-preview schema-id: - - 011fe110929c42fe870e3705144e9633 + - 694cab9feec74728bb431fe3a7bf75f0 schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/011fe110929c42fe870e3705144e9633?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/694cab9feec74728bb431fe3a7bf75f0?api-version=2020-09-01-preview schema-version: - '1' schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic31c70f88/versions?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic31c70f88/versions?api-version=2020-09-01-preview serialization-type: - Avro server: diff --git a/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_negative_no_schema.yaml b/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_negative_no_schema.yaml index e1fb56be7250..cc968a10bcf2 100644 --- a/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_negative_no_schema.yaml +++ b/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_negative_no_schema.yaml @@ -15,14 +15,14 @@ interactions: response: body: string: '{"Code":400,"Detail":"SubCode=40000, UnknownType:The request is invalid. - [MGResponseHttpError=BadRequest]. TrackingId:fe59934c-6dc6-470b-847d-b56887335322_G14, - SystemTracker:swathip-test-eh-schemaregistry.servicebus.windows.net:$schemagroups\/getSchemaById\/a, - Timestamp:2021-09-27T23:08:45"}' + [MGResponseHttpError=BadRequest]. TrackingId:8bbfd7ea-2bba-43f3-8e83-e31bc965577b_G6, + SystemTracker:swathip-test-eventhubs.servicebus.windows.net:$schemagroups\/getSchemaById\/a, + Timestamp:2021-09-28T22:27:48"}' headers: content-type: - application/json date: - - Mon, 27 Sep 2021 23:08:45 GMT + - Tue, 28 Sep 2021 22:27:48 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -48,13 +48,13 @@ interactions: response: body: string: '{"Code":404,"Detail":"Schema id aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa does - not exist. TrackingId:ee252575-100c-49c5-bb02-c9cd86085d26_G14, SystemTracker:swathip-test-eh-schemaregistry.servicebus.windows.net:$schemagroups\/getSchemaById\/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, - Timestamp:2021-09-27T23:08:45"}' + not exist. TrackingId:473d224a-9641-4cfa-badd-604801f920af_G6, SystemTracker:swathip-test-eventhubs.servicebus.windows.net:$schemagroups\/getSchemaById\/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, + Timestamp:2021-09-28T22:27:48"}' headers: content-type: - application/json date: - - Mon, 27 Sep 2021 23:08:45 GMT + - Tue, 28 Sep 2021 22:27:48 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: From 52ec26b292e6244fd06880f3744370d6d6322693 Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Tue, 28 Sep 2021 16:45:22 -0700 Subject: [PATCH 24/25] remove preparer from async --- .../async_tests/schemaregistry_preparer.py | 72 ------------------- 1 file changed, 72 deletions(-) delete mode 100644 sdk/schemaregistry/azure-schemaregistry/tests/async_tests/schemaregistry_preparer.py diff --git a/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/schemaregistry_preparer.py b/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/schemaregistry_preparer.py deleted file mode 100644 index b14b923f482b..000000000000 --- a/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/schemaregistry_preparer.py +++ /dev/null @@ -1,72 +0,0 @@ -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the ""Software""), to -# deal in the Software without restriction, including without limitation the -# rights to use, copy, modify, merge, publish, distribute, sublicense, and/or -# sell copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED *AS IS*, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -# FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS -# IN THE SOFTWARE. -# -# -------------------------------------------------------------------------- - -import functools -import hashlib -import os -from collections import namedtuple - -from azure.identity import ClientSecretCredential -from azure_devtools.scenario_tests.exceptions import AzureTestError -from devtools_testutils import ( - ResourceGroupPreparer, AzureMgmtPreparer, FakeResource -) - - -SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE_PARAM = "schemaregistry_fully_qualified_namespace" -SCHEMAREGISTRY_GROUP_PARAM = "schemaregistry_group" -SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE_ENV_KEY_NAME = 'SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE' -SCHEMAREGISTRY_GROUP_ENV_KEY_NAME = 'SCHEMAREGISTRY_GROUP' - - -class SchemaRegistryNamespacePreparer(AzureMgmtPreparer): - # TODO: SR doesn't have mgmt package - def __init__(self): - pass - - def create_resource(self, name, **kwargs): - pass - - def remove_resource(self, name, **kwargs): - pass - - -class SchemaRegistryPreparer(AzureMgmtPreparer): - def __init__( - self, - name_prefix='' - ): - super(SchemaRegistryPreparer, self).__init__(name_prefix, 24) - - def create_resource(self, name, **kwargs): - # TODO: right now the endpoint/group is fixed, as there is no way to create/delete resources using api, in the future we should be able to dynamically create and remove resources - if self.is_live: - return { - SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE_PARAM: os.environ[SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE_ENV_KEY_NAME], - SCHEMAREGISTRY_GROUP_PARAM: os.environ[SCHEMAREGISTRY_GROUP_ENV_KEY_NAME] - } - else: - return { - SCHEMAREGISTRY_FULLY_QUALIFIED_NAMESPACE_PARAM: "sr-playground.servicebus.windows.net", - SCHEMAREGISTRY_GROUP_PARAM: "azsdk_python_test_group" - } - - def remove_resource(self, name, **kwargs): - pass From 52d87cf9561cbbd7ad3d06c9ef3271f8124f2e62 Mon Sep 17 00:00:00 2001 From: Swathi Pillalamarri Date: Wed, 29 Sep 2021 09:53:25 -0700 Subject: [PATCH 25/25] add all recordings --- ...egistry_async.test_schema_basic_async.yaml | 42 ++++++++-------- ....test_schema_negative_no_schema_async.yaml | 18 +++---- ...ry_async.test_schema_same_twice_async.yaml | 28 +++++------ ...gistry_async.test_schema_update_async.yaml | 48 +++++++++---------- ...est_schema_registry.test_schema_basic.yaml | 6 +-- ...gistry.test_schema_negative_no_schema.yaml | 12 ++--- ...chema_registry.test_schema_same_twice.yaml | 24 +++++----- ...st_schema_registry.test_schema_update.yaml | 42 ++++++++-------- 8 files changed, 110 insertions(+), 110 deletions(-) diff --git a/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_basic_async.yaml b/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_basic_async.yaml index dae7d81d31a7..acbe6c787c8f 100644 --- a/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_basic_async.yaml +++ b/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_basic_async.yaml @@ -16,15 +16,15 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-basic-asynce5e1482?api-version=2020-09-01-preview response: body: - string: '{"id":"6faa5b4387444872873dc238606f34bd"}' + string: '{"id":"ccc58199c8974f60be5b8de153ae9771"}' headers: content-type: application/json - date: Mon, 27 Sep 2021 23:08:57 GMT - location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic-asynce5e1482/versions/1?api-version=2020-09-01-preview - schema-id: 6faa5b4387444872873dc238606f34bd - schema-id-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/6faa5b4387444872873dc238606f34bd?api-version=2020-09-01-preview + date: Wed, 29 Sep 2021 16:52:39 GMT + location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic-asynce5e1482/versions/1?api-version=2020-09-01-preview + schema-id: ccc58199c8974f60be5b8de153ae9771 + schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/ccc58199c8974f60be5b8de153ae9771?api-version=2020-09-01-preview schema-version: '1' - schema-versions-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic-asynce5e1482/versions?api-version=2020-09-01-preview + schema-versions-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic-asynce5e1482/versions?api-version=2020-09-01-preview serialization-type: Avro server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 @@ -32,7 +32,7 @@ interactions: status: code: 200 message: OK - url: https://swathip-test-eh-schemaregistry.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-basic-asynce5e1482?api-version=2020-09-01-preview + url: https://swathip-test-eventhubs.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-basic-asynce5e1482?api-version=2020-09-01-preview - request: body: null headers: @@ -41,18 +41,18 @@ interactions: User-Agent: - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/6faa5b4387444872873dc238606f34bd?api-version=2020-09-01-preview + uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/ccc58199c8974f60be5b8de153ae9771?api-version=2020-09-01-preview response: body: string: '{"namespace":"example.avro","type":"record","name":"User","fields":[{"name":"name","type":"string"},{"name":"favorite_number","type":["int","null"]},{"name":"favorite_color","type":["string","null"]}]}' headers: content-type: application/json - date: Mon, 27 Sep 2021 23:08:57 GMT - location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic-asynce5e1482/versions/1?api-version=2020-09-01-preview - schema-id: 6faa5b4387444872873dc238606f34bd - schema-id-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/6faa5b4387444872873dc238606f34bd?api-version=2020-09-01-preview + date: Wed, 29 Sep 2021 16:52:39 GMT + location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic-asynce5e1482/versions/1?api-version=2020-09-01-preview + schema-id: ccc58199c8974f60be5b8de153ae9771 + schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/ccc58199c8974f60be5b8de153ae9771?api-version=2020-09-01-preview schema-version: '1' - schema-versions-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic-asynce5e1482/versions?api-version=2020-09-01-preview + schema-versions-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic-asynce5e1482/versions?api-version=2020-09-01-preview serialization-type: Avro server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 @@ -60,7 +60,7 @@ interactions: status: code: 200 message: OK - url: https://swathip-test-eh-schemaregistry.servicebus.windows.net/$schemagroups/getSchemaById/6faa5b4387444872873dc238606f34bd?api-version=2020-09-01-preview + url: https://swathip-test-eventhubs.servicebus.windows.net/$schemagroups/getSchemaById/ccc58199c8974f60be5b8de153ae9771?api-version=2020-09-01-preview - request: body: '{"namespace":"example.avro","type":"record","name":"User","fields":[{"name":"name","type":"string"},{"name":"favorite_number","type":["int","null"]},{"name":"favorite_color","type":["string","null"]}]}' headers: @@ -78,15 +78,15 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-basic-asynce5e1482?api-version=2020-09-01-preview response: body: - string: '{"id":"6faa5b4387444872873dc238606f34bd"}' + string: '{"id":"ccc58199c8974f60be5b8de153ae9771"}' headers: content-type: application/json - date: Mon, 27 Sep 2021 23:08:57 GMT - location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic-asynce5e1482/versions/1?api-version=2020-09-01-preview - schema-id: 6faa5b4387444872873dc238606f34bd - schema-id-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/6faa5b4387444872873dc238606f34bd?api-version=2020-09-01-preview + date: Wed, 29 Sep 2021 16:52:40 GMT + location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic-asynce5e1482/versions/1?api-version=2020-09-01-preview + schema-id: ccc58199c8974f60be5b8de153ae9771 + schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/ccc58199c8974f60be5b8de153ae9771?api-version=2020-09-01-preview schema-version: '1' - schema-versions-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic-asynce5e1482/versions?api-version=2020-09-01-preview + schema-versions-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-basic-asynce5e1482/versions?api-version=2020-09-01-preview serialization-type: Avro server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 @@ -94,5 +94,5 @@ interactions: status: code: 200 message: OK - url: https://swathip-test-eh-schemaregistry.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-basic-asynce5e1482?api-version=2020-09-01-preview + url: https://swathip-test-eventhubs.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-basic-asynce5e1482?api-version=2020-09-01-preview version: 1 diff --git a/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_negative_no_schema_async.yaml b/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_negative_no_schema_async.yaml index 83e0587e64f4..41d8d1375848 100644 --- a/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_negative_no_schema_async.yaml +++ b/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_negative_no_schema_async.yaml @@ -11,19 +11,19 @@ interactions: response: body: string: '{"Code":400,"Detail":"SubCode=40000, UnknownType:The request is invalid. - [MGResponseHttpError=BadRequest]. TrackingId:de4a6cfb-75e6-4a81-985a-45fdfc3fe627_G14, - SystemTracker:swathip-test-eh-schemaregistry.servicebus.windows.net:$schemagroups\/getSchemaById\/a, - Timestamp:2021-09-27T23:08:58"}' + [MGResponseHttpError=BadRequest]. TrackingId:dbfa19f5-29c4-4278-a562-7abb97e16e07_G27, + SystemTracker:swathip-test-eventhubs.servicebus.windows.net:$schemagroups\/getSchemaById\/a, + Timestamp:2021-09-29T16:52:41"}' headers: content-type: application/json - date: Mon, 27 Sep 2021 23:08:58 GMT + date: Wed, 29 Sep 2021 16:52:41 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 400 message: Bad Request - url: https://swathip-test-eh-schemaregistry.servicebus.windows.net/$schemagroups/getSchemaById/a?api-version=2020-09-01-preview + url: https://swathip-test-eventhubs.servicebus.windows.net/$schemagroups/getSchemaById/a?api-version=2020-09-01-preview - request: body: null headers: @@ -36,16 +36,16 @@ interactions: response: body: string: '{"Code":404,"Detail":"Schema id aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa does - not exist. TrackingId:6d76239e-8072-4fbe-b3b1-d23506c68938_G14, SystemTracker:swathip-test-eh-schemaregistry.servicebus.windows.net:$schemagroups\/getSchemaById\/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, - Timestamp:2021-09-27T23:08:59"}' + not exist. TrackingId:87072604-c61d-4dce-bd60-077162e0aa78_G27, SystemTracker:swathip-test-eventhubs.servicebus.windows.net:$schemagroups\/getSchemaById\/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, + Timestamp:2021-09-29T16:52:41"}' headers: content-type: application/json - date: Mon, 27 Sep 2021 23:08:58 GMT + date: Wed, 29 Sep 2021 16:52:41 GMT server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 transfer-encoding: chunked status: code: 404 message: Not Found - url: https://swathip-test-eh-schemaregistry.servicebus.windows.net/$schemagroups/getSchemaById/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?api-version=2020-09-01-preview + url: https://swathip-test-eventhubs.servicebus.windows.net/$schemagroups/getSchemaById/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa?api-version=2020-09-01-preview version: 1 diff --git a/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_same_twice_async.yaml b/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_same_twice_async.yaml index 72ff299c9e53..838dc9163ded 100644 --- a/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_same_twice_async.yaml +++ b/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_same_twice_async.yaml @@ -16,15 +16,15 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-twice-async7bfd16a1?api-version=2020-09-01-preview response: body: - string: '{"id":"4e803f73ca4e4cfcbd4a09eb5f9e9c67"}' + string: '{"id":"80ff968ac6744d8da0498ee8cc1e19ab"}' headers: content-type: application/json - date: Mon, 27 Sep 2021 23:09:06 GMT - location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-twice-async7bfd16a1/versions/1?api-version=2020-09-01-preview - schema-id: 4e803f73ca4e4cfcbd4a09eb5f9e9c67 - schema-id-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/4e803f73ca4e4cfcbd4a09eb5f9e9c67?api-version=2020-09-01-preview + date: Wed, 29 Sep 2021 16:52:48 GMT + location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-twice-async7bfd16a1/versions/1?api-version=2020-09-01-preview + schema-id: 80ff968ac6744d8da0498ee8cc1e19ab + schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/80ff968ac6744d8da0498ee8cc1e19ab?api-version=2020-09-01-preview schema-version: '1' - schema-versions-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-twice-async7bfd16a1/versions?api-version=2020-09-01-preview + schema-versions-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-twice-async7bfd16a1/versions?api-version=2020-09-01-preview serialization-type: Avro server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 @@ -32,7 +32,7 @@ interactions: status: code: 200 message: OK - url: https://swathip-test-eh-schemaregistry.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-twice-async7bfd16a1?api-version=2020-09-01-preview + url: https://swathip-test-eventhubs.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-twice-async7bfd16a1?api-version=2020-09-01-preview - request: body: '{"namespace":"example.avro","type":"record","name":"User","fields":[{"name":"name","type":"string"},{"name":"age","type":["int","null"]},{"name":"city","type":["string","null"]}]}' headers: @@ -50,15 +50,15 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-twice-async7bfd16a1?api-version=2020-09-01-preview response: body: - string: '{"id":"4e803f73ca4e4cfcbd4a09eb5f9e9c67"}' + string: '{"id":"80ff968ac6744d8da0498ee8cc1e19ab"}' headers: content-type: application/json - date: Mon, 27 Sep 2021 23:09:06 GMT - location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-twice-async7bfd16a1/versions/1?api-version=2020-09-01-preview - schema-id: 4e803f73ca4e4cfcbd4a09eb5f9e9c67 - schema-id-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/4e803f73ca4e4cfcbd4a09eb5f9e9c67?api-version=2020-09-01-preview + date: Wed, 29 Sep 2021 16:52:48 GMT + location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-twice-async7bfd16a1/versions/1?api-version=2020-09-01-preview + schema-id: 80ff968ac6744d8da0498ee8cc1e19ab + schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/80ff968ac6744d8da0498ee8cc1e19ab?api-version=2020-09-01-preview schema-version: '1' - schema-versions-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-twice-async7bfd16a1/versions?api-version=2020-09-01-preview + schema-versions-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-twice-async7bfd16a1/versions?api-version=2020-09-01-preview serialization-type: Avro server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 @@ -66,5 +66,5 @@ interactions: status: code: 200 message: OK - url: https://swathip-test-eh-schemaregistry.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-twice-async7bfd16a1?api-version=2020-09-01-preview + url: https://swathip-test-eventhubs.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-twice-async7bfd16a1?api-version=2020-09-01-preview version: 1 diff --git a/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_update_async.yaml b/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_update_async.yaml index 950f90072b64..502771bd0c8b 100644 --- a/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_update_async.yaml +++ b/sdk/schemaregistry/azure-schemaregistry/tests/async_tests/recordings/test_schema_registry_async.test_schema_update_async.yaml @@ -16,15 +16,15 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-update-async24591503?api-version=2020-09-01-preview response: body: - string: '{"id":"e6fa04793a2c4ee889e0ac2b91e6d966"}' + string: '{"id":"61ca9598e1f94f4e8e0e77732673143d"}' headers: content-type: application/json - date: Mon, 27 Sep 2021 23:09:07 GMT - location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update-async24591503/versions/1?api-version=2020-09-01-preview - schema-id: e6fa04793a2c4ee889e0ac2b91e6d966 - schema-id-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e6fa04793a2c4ee889e0ac2b91e6d966?api-version=2020-09-01-preview - schema-version: '1' - schema-versions-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update-async24591503/versions?api-version=2020-09-01-preview + date: Wed, 29 Sep 2021 16:52:49 GMT + location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update-async24591503/versions/5?api-version=2020-09-01-preview + schema-id: 61ca9598e1f94f4e8e0e77732673143d + schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/61ca9598e1f94f4e8e0e77732673143d?api-version=2020-09-01-preview + schema-version: '5' + schema-versions-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update-async24591503/versions?api-version=2020-09-01-preview serialization-type: Avro server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 @@ -32,7 +32,7 @@ interactions: status: code: 200 message: OK - url: https://swathip-test-eh-schemaregistry.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-update-async24591503?api-version=2020-09-01-preview + url: https://swathip-test-eventhubs.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-update-async24591503?api-version=2020-09-01-preview - request: body: '{"namespace":"example.avro","type":"record","name":"User","fields":[{"name":"name","type":"string"},{"name":"favorite_number","type":["int","null"]},{"name":"favorite_food","type":["string","null"]}]}' headers: @@ -50,15 +50,15 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-update-async24591503?api-version=2020-09-01-preview response: body: - string: '{"id":"e63ccd9843504b258512b603d2f2c01e"}' + string: '{"id":"a5b1a7a9955445d3b133f7cbb1f89c92"}' headers: content-type: application/json - date: Mon, 27 Sep 2021 23:09:07 GMT - location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update-async24591503/versions/2?api-version=2020-09-01-preview - schema-id: e63ccd9843504b258512b603d2f2c01e - schema-id-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e63ccd9843504b258512b603d2f2c01e?api-version=2020-09-01-preview - schema-version: '2' - schema-versions-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update-async24591503/versions?api-version=2020-09-01-preview + date: Wed, 29 Sep 2021 16:52:49 GMT + location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update-async24591503/versions/6?api-version=2020-09-01-preview + schema-id: a5b1a7a9955445d3b133f7cbb1f89c92 + schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/a5b1a7a9955445d3b133f7cbb1f89c92?api-version=2020-09-01-preview + schema-version: '6' + schema-versions-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update-async24591503/versions?api-version=2020-09-01-preview serialization-type: Avro server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 @@ -66,7 +66,7 @@ interactions: status: code: 200 message: OK - url: https://swathip-test-eh-schemaregistry.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-update-async24591503?api-version=2020-09-01-preview + url: https://swathip-test-eventhubs.servicebus.windows.net/$schemagroups/swathip-test-schema/schemas/test-schema-update-async24591503?api-version=2020-09-01-preview - request: body: null headers: @@ -75,18 +75,18 @@ interactions: User-Agent: - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/e63ccd9843504b258512b603d2f2c01e?api-version=2020-09-01-preview + uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/a5b1a7a9955445d3b133f7cbb1f89c92?api-version=2020-09-01-preview response: body: string: '{"namespace":"example.avro","type":"record","name":"User","fields":[{"name":"name","type":"string"},{"name":"favorite_number","type":["int","null"]},{"name":"favorite_food","type":["string","null"]}]}' headers: content-type: application/json - date: Mon, 27 Sep 2021 23:09:09 GMT - location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update-async24591503/versions/2?api-version=2020-09-01-preview - schema-id: e63ccd9843504b258512b603d2f2c01e - schema-id-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/e63ccd9843504b258512b603d2f2c01e?api-version=2020-09-01-preview - schema-version: '2' - schema-versions-location: https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update-async24591503/versions?api-version=2020-09-01-preview + date: Wed, 29 Sep 2021 16:52:49 GMT + location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update-async24591503/versions/6?api-version=2020-09-01-preview + schema-id: a5b1a7a9955445d3b133f7cbb1f89c92 + schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/a5b1a7a9955445d3b133f7cbb1f89c92?api-version=2020-09-01-preview + schema-version: '6' + schema-versions-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update-async24591503/versions?api-version=2020-09-01-preview serialization-type: Avro server: Microsoft-HTTPAPI/2.0 strict-transport-security: max-age=31536000 @@ -94,5 +94,5 @@ interactions: status: code: 200 message: OK - url: https://swathip-test-eh-schemaregistry.servicebus.windows.net/$schemagroups/getSchemaById/e63ccd9843504b258512b603d2f2c01e?api-version=2020-09-01-preview + url: https://swathip-test-eventhubs.servicebus.windows.net/$schemagroups/getSchemaById/a5b1a7a9955445d3b133f7cbb1f89c92?api-version=2020-09-01-preview version: 1 diff --git a/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_basic.yaml b/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_basic.yaml index 3e5c6c9a350f..328f7761d583 100644 --- a/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_basic.yaml +++ b/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_basic.yaml @@ -25,7 +25,7 @@ interactions: content-type: - application/json date: - - Tue, 28 Sep 2021 22:27:45 GMT + - Wed, 29 Sep 2021 16:52:26 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic31c70f88/versions/1?api-version=2020-09-01-preview schema-id: @@ -67,7 +67,7 @@ interactions: content-type: - application/json date: - - Tue, 28 Sep 2021 22:27:46 GMT + - Wed, 29 Sep 2021 16:52:26 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic31c70f88/versions/1?api-version=2020-09-01-preview schema-id: @@ -115,7 +115,7 @@ interactions: content-type: - application/json date: - - Tue, 28 Sep 2021 22:27:46 GMT + - Wed, 29 Sep 2021 16:52:27 GMT location: - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-basic31c70f88/versions/1?api-version=2020-09-01-preview schema-id: diff --git a/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_negative_no_schema.yaml b/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_negative_no_schema.yaml index cc968a10bcf2..601d2162551e 100644 --- a/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_negative_no_schema.yaml +++ b/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_negative_no_schema.yaml @@ -15,14 +15,14 @@ interactions: response: body: string: '{"Code":400,"Detail":"SubCode=40000, UnknownType:The request is invalid. - [MGResponseHttpError=BadRequest]. TrackingId:8bbfd7ea-2bba-43f3-8e83-e31bc965577b_G6, + [MGResponseHttpError=BadRequest]. TrackingId:70e92116-f53e-4bac-a8c0-d4911d73b78b_G6, SystemTracker:swathip-test-eventhubs.servicebus.windows.net:$schemagroups\/getSchemaById\/a, - Timestamp:2021-09-28T22:27:48"}' + Timestamp:2021-09-29T16:52:28"}' headers: content-type: - application/json date: - - Tue, 28 Sep 2021 22:27:48 GMT + - Wed, 29 Sep 2021 16:52:28 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: @@ -48,13 +48,13 @@ interactions: response: body: string: '{"Code":404,"Detail":"Schema id aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa does - not exist. TrackingId:473d224a-9641-4cfa-badd-604801f920af_G6, SystemTracker:swathip-test-eventhubs.servicebus.windows.net:$schemagroups\/getSchemaById\/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, - Timestamp:2021-09-28T22:27:48"}' + not exist. TrackingId:ce867010-7173-41b3-9ad5-f3970933b3b4_G6, SystemTracker:swathip-test-eventhubs.servicebus.windows.net:$schemagroups\/getSchemaById\/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa, + Timestamp:2021-09-29T16:52:29"}' headers: content-type: - application/json date: - - Tue, 28 Sep 2021 22:27:48 GMT + - Wed, 29 Sep 2021 16:52:28 GMT server: - Microsoft-HTTPAPI/2.0 strict-transport-security: diff --git a/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_same_twice.yaml b/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_same_twice.yaml index 736c7739ce70..5793ebd3966f 100644 --- a/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_same_twice.yaml +++ b/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_same_twice.yaml @@ -20,22 +20,22 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-twice863b11a7?api-version=2020-09-01-preview response: body: - string: '{"id":"31d884a02c65437c81f6eaa5c49a9f6a"}' + string: '{"id":"18f60ef48371403a8a14b118d5bb7b77"}' headers: content-type: - application/json date: - - Mon, 27 Sep 2021 23:08:53 GMT + - Wed, 29 Sep 2021 16:52:36 GMT location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-twice863b11a7/versions/1?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-twice863b11a7/versions/1?api-version=2020-09-01-preview schema-id: - - 31d884a02c65437c81f6eaa5c49a9f6a + - 18f60ef48371403a8a14b118d5bb7b77 schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/31d884a02c65437c81f6eaa5c49a9f6a?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/18f60ef48371403a8a14b118d5bb7b77?api-version=2020-09-01-preview schema-version: - '1' schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-twice863b11a7/versions?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-twice863b11a7/versions?api-version=2020-09-01-preview serialization-type: - Avro server: @@ -68,22 +68,22 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-twice863b11a7?api-version=2020-09-01-preview response: body: - string: '{"id":"31d884a02c65437c81f6eaa5c49a9f6a"}' + string: '{"id":"18f60ef48371403a8a14b118d5bb7b77"}' headers: content-type: - application/json date: - - Mon, 27 Sep 2021 23:08:53 GMT + - Wed, 29 Sep 2021 16:52:36 GMT location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-twice863b11a7/versions/1?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-twice863b11a7/versions/1?api-version=2020-09-01-preview schema-id: - - 31d884a02c65437c81f6eaa5c49a9f6a + - 18f60ef48371403a8a14b118d5bb7b77 schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/31d884a02c65437c81f6eaa5c49a9f6a?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/18f60ef48371403a8a14b118d5bb7b77?api-version=2020-09-01-preview schema-version: - '1' schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-twice863b11a7/versions?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-twice863b11a7/versions?api-version=2020-09-01-preview serialization-type: - Avro server: diff --git a/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_update.yaml b/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_update.yaml index 6112286fe15a..fdccdada7bf1 100644 --- a/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_update.yaml +++ b/sdk/schemaregistry/azure-schemaregistry/tests/recordings/test_schema_registry.test_schema_update.yaml @@ -20,22 +20,22 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-update423f1009?api-version=2020-09-01-preview response: body: - string: '{"id":"29da690fedf149ef970a1177b5cd2a4e"}' + string: '{"id":"95e1b9b2b37f47ec8b5c3ad1cc8a59b0"}' headers: content-type: - application/json date: - - Mon, 27 Sep 2021 23:08:55 GMT + - Wed, 29 Sep 2021 16:52:38 GMT location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update423f1009/versions/1?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update423f1009/versions/5?api-version=2020-09-01-preview schema-id: - - 29da690fedf149ef970a1177b5cd2a4e + - 95e1b9b2b37f47ec8b5c3ad1cc8a59b0 schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/29da690fedf149ef970a1177b5cd2a4e?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/95e1b9b2b37f47ec8b5c3ad1cc8a59b0?api-version=2020-09-01-preview schema-version: - - '1' + - '5' schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update423f1009/versions?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update423f1009/versions?api-version=2020-09-01-preview serialization-type: - Avro server: @@ -68,22 +68,22 @@ interactions: uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/test-schema-update423f1009?api-version=2020-09-01-preview response: body: - string: '{"id":"fe8a2a1852b24c20ba5df3d1ae66f65f"}' + string: '{"id":"15ccba13dd0f4491aaebaa0d5d1c8269"}' headers: content-type: - application/json date: - - Mon, 27 Sep 2021 23:08:55 GMT + - Wed, 29 Sep 2021 16:52:38 GMT location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update423f1009/versions/2?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update423f1009/versions/6?api-version=2020-09-01-preview schema-id: - - fe8a2a1852b24c20ba5df3d1ae66f65f + - 15ccba13dd0f4491aaebaa0d5d1c8269 schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/fe8a2a1852b24c20ba5df3d1ae66f65f?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/15ccba13dd0f4491aaebaa0d5d1c8269?api-version=2020-09-01-preview schema-version: - - '2' + - '6' schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update423f1009/versions?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update423f1009/versions?api-version=2020-09-01-preview serialization-type: - Avro server: @@ -107,7 +107,7 @@ interactions: User-Agent: - azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0) method: GET - uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/fe8a2a1852b24c20ba5df3d1ae66f65f?api-version=2020-09-01-preview + uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/15ccba13dd0f4491aaebaa0d5d1c8269?api-version=2020-09-01-preview response: body: string: '{"namespace":"example.avro","type":"record","name":"User","fields":[{"name":"name","type":"string"},{"name":"favorite_number","type":["int","null"]},{"name":"favorite_food","type":["string","null"]}]}' @@ -115,17 +115,17 @@ interactions: content-type: - application/json date: - - Mon, 27 Sep 2021 23:08:56 GMT + - Wed, 29 Sep 2021 16:52:38 GMT location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update423f1009/versions/2?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/test-schema-update423f1009/versions/6?api-version=2020-09-01-preview schema-id: - - fe8a2a1852b24c20ba5df3d1ae66f65f + - 15ccba13dd0f4491aaebaa0d5d1c8269 schema-id-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/getschemabyid/fe8a2a1852b24c20ba5df3d1ae66f65f?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/15ccba13dd0f4491aaebaa0d5d1c8269?api-version=2020-09-01-preview schema-version: - - '2' + - '6' schema-versions-location: - - https://swathip-test-eh-schemaregistry.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update423f1009/versions?api-version=2020-09-01-preview + - https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/swathip-test-schema/schemas/test-schema-update423f1009/versions?api-version=2020-09-01-preview serialization-type: - Avro server: