Skip to content

Commit ac227cc

Browse files
authored
[SchemaRegistry] fix failing avro tests (Azure#21478)
* fix * recordings * update avro version * importerror * pin avro dep
1 parent 9b385ef commit ac227cc

15 files changed

+63
-62
lines changed

sdk/schemaregistry/azure-schemaregistry-avroserializer/setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
]
4343
install_packages = [
4444
'azure-schemaregistry==1.0.0b3',
45-
'avro<2.0.0,>=1.10.0',
45+
'avro<2.0.0,==1.10.0',
4646
'backports.functools-lru-cache >= 1.6.4; python_version == "2.7"'
4747
]
4848

sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ interactions:
1515
Serialization-Type:
1616
- Avro
1717
User-Agent:
18-
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
18+
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0)
1919
method: PUT
2020
uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User?api-version=2020-09-01-preview
2121
response:
@@ -25,7 +25,7 @@ interactions:
2525
content-type:
2626
- application/json
2727
date:
28-
- Tue, 26 Oct 2021 00:20:00 GMT
28+
- Thu, 28 Oct 2021 23:03:35 GMT
2929
location:
3030
- https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview
3131
schema-id:
@@ -65,7 +65,7 @@ interactions:
6565
Serialization-Type:
6666
- Avro
6767
User-Agent:
68-
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
68+
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0)
6969
method: POST
7070
uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User?api-version=2020-09-01-preview
7171
response:
@@ -75,7 +75,7 @@ interactions:
7575
content-type:
7676
- application/json
7777
date:
78-
- Tue, 26 Oct 2021 00:20:01 GMT
78+
- Thu, 28 Oct 2021 23:03:36 GMT
7979
location:
8080
- https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview
8181
schema-id:
@@ -107,7 +107,7 @@ interactions:
107107
Connection:
108108
- keep-alive
109109
User-Agent:
110-
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
110+
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0)
111111
method: GET
112112
uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/17347f81cdce4953bb1680d1f7c36eb7?api-version=2020-09-01-preview
113113
response:
@@ -117,7 +117,7 @@ interactions:
117117
content-type:
118118
- application/json
119119
date:
120-
- Tue, 26 Oct 2021 00:20:01 GMT
120+
- Thu, 28 Oct 2021 23:03:36 GMT
121121
location:
122122
- https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview
123123
schema-id:

sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ interactions:
1515
Serialization-Type:
1616
- Avro
1717
User-Agent:
18-
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
18+
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0)
1919
method: POST
2020
uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User?api-version=2020-09-01-preview
2121
response:
@@ -25,7 +25,7 @@ interactions:
2525
content-type:
2626
- application/json
2727
date:
28-
- Tue, 26 Oct 2021 00:20:02 GMT
28+
- Thu, 28 Oct 2021 23:03:37 GMT
2929
location:
3030
- https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview
3131
schema-id:
@@ -65,7 +65,7 @@ interactions:
6565
Serialization-Type:
6666
- Avro
6767
User-Agent:
68-
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
68+
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0)
6969
method: POST
7070
uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User?api-version=2020-09-01-preview
7171
response:
@@ -75,7 +75,7 @@ interactions:
7575
content-type:
7676
- application/json
7777
date:
78-
- Tue, 26 Oct 2021 00:20:03 GMT
78+
- Thu, 28 Oct 2021 23:03:37 GMT
7979
location:
8080
- https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview
8181
schema-id:
@@ -107,7 +107,7 @@ interactions:
107107
Connection:
108108
- keep-alive
109109
User-Agent:
110-
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
110+
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0)
111111
method: GET
112112
uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/17347f81cdce4953bb1680d1f7c36eb7?api-version=2020-09-01-preview
113113
response:
@@ -117,7 +117,7 @@ interactions:
117117
content-type:
118118
- application/json
119119
date:
120-
- Tue, 26 Oct 2021 00:20:03 GMT
120+
- Thu, 28 Oct 2021 23:03:37 GMT
121121
location:
122122
- https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview
123123
schema-id:

sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_parse_error_schema_as_record.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ interactions:
1717
Serialization-Type:
1818
- Avro
1919
User-Agent:
20-
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
20+
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0)
2121
method: PUT
2222
uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.error.User?api-version=2020-09-01-preview
2323
response:
@@ -27,7 +27,7 @@ interactions:
2727
content-type:
2828
- application/json
2929
date:
30-
- Tue, 26 Oct 2021 00:20:05 GMT
30+
- Thu, 28 Oct 2021 23:03:39 GMT
3131
location:
3232
- https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.error.User/versions/1?api-version=2020-09-01-preview
3333
schema-id:
@@ -59,7 +59,7 @@ interactions:
5959
Connection:
6060
- keep-alive
6161
User-Agent:
62-
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
62+
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0)
6363
method: GET
6464
uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/abb985fa783645a0a433660fd6d51af9?api-version=2020-09-01-preview
6565
response:
@@ -69,7 +69,7 @@ interactions:
6969
content-type:
7070
- application/json
7171
date:
72-
- Tue, 26 Oct 2021 00:20:05 GMT
72+
- Thu, 28 Oct 2021 23:03:40 GMT
7373
location:
7474
- https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.error.User/versions/1?api-version=2020-09-01-preview
7575
schema-id:

sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_parse_record_name.yaml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ interactions:
1717
Serialization-Type:
1818
- Avro
1919
User-Agent:
20-
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
20+
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0)
2121
method: PUT
2222
uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/User.avro?api-version=2020-09-01-preview
2323
response:
@@ -27,7 +27,7 @@ interactions:
2727
content-type:
2828
- application/json
2929
date:
30-
- Tue, 26 Oct 2021 00:20:06 GMT
30+
- Thu, 28 Oct 2021 23:03:40 GMT
3131
location:
3232
- https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/User.avro/versions/1?api-version=2020-09-01-preview
3333
schema-id:
@@ -59,7 +59,7 @@ interactions:
5959
Connection:
6060
- keep-alive
6161
User-Agent:
62-
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
62+
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0)
6363
method: GET
6464
uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/ef6ab31106cc477f8b6d238d83c90f39?api-version=2020-09-01-preview
6565
response:
@@ -69,7 +69,7 @@ interactions:
6969
content-type:
7070
- application/json
7171
date:
72-
- Tue, 26 Oct 2021 00:20:06 GMT
72+
- Thu, 28 Oct 2021 23:03:41 GMT
7373
location:
7474
- https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/User.avro/versions/1?api-version=2020-09-01-preview
7575
schema-id:
@@ -108,7 +108,7 @@ interactions:
108108
Serialization-Type:
109109
- Avro
110110
User-Agent:
111-
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
111+
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0)
112112
method: PUT
113113
uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/User?api-version=2020-09-01-preview
114114
response:
@@ -118,7 +118,7 @@ interactions:
118118
content-type:
119119
- application/json
120120
date:
121-
- Tue, 26 Oct 2021 00:20:07 GMT
121+
- Thu, 28 Oct 2021 23:03:41 GMT
122122
location:
123123
- https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/User/versions/1?api-version=2020-09-01-preview
124124
schema-id:
@@ -150,7 +150,7 @@ interactions:
150150
Connection:
151151
- keep-alive
152152
User-Agent:
153-
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
153+
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0)
154154
method: GET
155155
uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/3f9fda41a60e4196ab1a6150976ca223?api-version=2020-09-01-preview
156156
response:
@@ -160,7 +160,7 @@ interactions:
160160
content-type:
161161
- application/json
162162
date:
163-
- Tue, 26 Oct 2021 00:20:07 GMT
163+
- Thu, 28 Oct 2021 23:03:42 GMT
164164
location:
165165
- https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/User/versions/1?api-version=2020-09-01-preview
166166
schema-id:

sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_serialize_primitive.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ interactions:
1515
Serialization-Type:
1616
- Avro
1717
User-Agent:
18-
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
18+
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0)
1919
method: PUT
2020
uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/null?api-version=2020-09-01-preview
2121
response:
@@ -25,7 +25,7 @@ interactions:
2525
content-type:
2626
- application/json
2727
date:
28-
- Tue, 26 Oct 2021 00:20:09 GMT
28+
- Thu, 28 Oct 2021 23:03:43 GMT
2929
location:
3030
- https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/null/versions/1?api-version=2020-09-01-preview
3131
schema-id:

sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer.test_serialize_record.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ interactions:
1919
Serialization-Type:
2020
- Avro
2121
User-Agent:
22-
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
22+
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0)
2323
method: PUT
2424
uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.populatedrecord.User?api-version=2020-09-01-preview
2525
response:
@@ -29,7 +29,7 @@ interactions:
2929
content-type:
3030
- application/json
3131
date:
32-
- Tue, 26 Oct 2021 00:20:10 GMT
32+
- Thu, 28 Oct 2021 23:03:45 GMT
3333
location:
3434
- https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.populatedrecord.User/versions/1?api-version=2020-09-01-preview
3535
schema-id:
@@ -61,7 +61,7 @@ interactions:
6161
Connection:
6262
- keep-alive
6363
User-Agent:
64-
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
64+
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0)
6565
method: GET
6666
uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/fee73b56d1e64c1595c97e2573b3c1ac?api-version=2020-09-01-preview
6767
response:
@@ -71,7 +71,7 @@ interactions:
7171
content-type:
7272
- application/json
7373
date:
74-
- Tue, 26 Oct 2021 00:20:11 GMT
74+
- Thu, 28 Oct 2021 23:03:45 GMT
7575
location:
7676
- https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.populatedrecord.User/versions/1?api-version=2020-09-01-preview
7777
schema-id:

sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_basic_sr_avro_serializer_with_auto_register_schemas.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ interactions:
1313
Serialization-Type:
1414
- Avro
1515
User-Agent:
16-
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
16+
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0)
1717
method: PUT
1818
uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User?api-version=2020-09-01-preview
1919
response:
2020
body:
2121
string: '{"id":"17347f81cdce4953bb1680d1f7c36eb7"}'
2222
headers:
2323
content-type: application/json
24-
date: Tue, 26 Oct 2021 00:20:12 GMT
24+
date: Thu, 28 Oct 2021 23:03:46 GMT
2525
location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview
2626
schema-id: 17347f81cdce4953bb1680d1f7c36eb7
2727
schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/17347f81cdce4953bb1680d1f7c36eb7?api-version=2020-09-01-preview
@@ -49,15 +49,15 @@ interactions:
4949
Serialization-Type:
5050
- Avro
5151
User-Agent:
52-
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
52+
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0)
5353
method: POST
5454
uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User?api-version=2020-09-01-preview
5555
response:
5656
body:
5757
string: '{"id":"17347f81cdce4953bb1680d1f7c36eb7"}'
5858
headers:
5959
content-type: application/json
60-
date: Tue, 26 Oct 2021 00:20:12 GMT
60+
date: Thu, 28 Oct 2021 23:03:47 GMT
6161
location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview
6262
schema-id: 17347f81cdce4953bb1680d1f7c36eb7
6363
schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/17347f81cdce4953bb1680d1f7c36eb7?api-version=2020-09-01-preview
@@ -77,15 +77,15 @@ interactions:
7777
Accept:
7878
- text/plain; charset=utf-8
7979
User-Agent:
80-
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
80+
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0)
8181
method: GET
8282
uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/17347f81cdce4953bb1680d1f7c36eb7?api-version=2020-09-01-preview
8383
response:
8484
body:
8585
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"]}]}'
8686
headers:
8787
content-type: application/json
88-
date: Tue, 26 Oct 2021 00:20:13 GMT
88+
date: Thu, 28 Oct 2021 23:03:47 GMT
8989
location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview
9090
schema-id: 17347f81cdce4953bb1680d1f7c36eb7
9191
schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/17347f81cdce4953bb1680d1f7c36eb7?api-version=2020-09-01-preview

sdk/schemaregistry/azure-schemaregistry-avroserializer/tests/recordings/test_avro_serializer_async.test_basic_sr_avro_serializer_without_auto_register_schemas.yaml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ interactions:
1313
Serialization-Type:
1414
- Avro
1515
User-Agent:
16-
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
16+
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0)
1717
method: PUT
1818
uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User?api-version=2020-09-01-preview
1919
response:
2020
body:
2121
string: '{"id":"17347f81cdce4953bb1680d1f7c36eb7"}'
2222
headers:
2323
content-type: application/json
24-
date: Tue, 26 Oct 2021 00:20:14 GMT
24+
date: Thu, 28 Oct 2021 23:03:48 GMT
2525
location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview
2626
schema-id: 17347f81cdce4953bb1680d1f7c36eb7
2727
schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/17347f81cdce4953bb1680d1f7c36eb7?api-version=2020-09-01-preview
@@ -49,15 +49,15 @@ interactions:
4949
Serialization-Type:
5050
- Avro
5151
User-Agent:
52-
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
52+
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0)
5353
method: POST
5454
uri: https://fake_resource.servicebus.windows.net/$schemagroups/fakegroup/schemas/example.avro.User?api-version=2020-09-01-preview
5555
response:
5656
body:
5757
string: '{"id":"17347f81cdce4953bb1680d1f7c36eb7"}'
5858
headers:
5959
content-type: application/json
60-
date: Tue, 26 Oct 2021 00:20:14 GMT
60+
date: Thu, 28 Oct 2021 23:03:49 GMT
6161
location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview
6262
schema-id: 17347f81cdce4953bb1680d1f7c36eb7
6363
schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/17347f81cdce4953bb1680d1f7c36eb7?api-version=2020-09-01-preview
@@ -77,15 +77,15 @@ interactions:
7777
Accept:
7878
- text/plain; charset=utf-8
7979
User-Agent:
80-
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.19041-SP0)
80+
- azsdk-python-azureschemaregistry/1.0.0b3 Python/3.9.0 (Windows-10-10.0.22000-SP0)
8181
method: GET
8282
uri: https://fake_resource.servicebus.windows.net/$schemagroups/getSchemaById/17347f81cdce4953bb1680d1f7c36eb7?api-version=2020-09-01-preview
8383
response:
8484
body:
8585
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"]}]}'
8686
headers:
8787
content-type: application/json
88-
date: Tue, 26 Oct 2021 00:20:15 GMT
88+
date: Thu, 28 Oct 2021 23:03:49 GMT
8989
location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/fakegroup/schemas/example.avro.User/versions/1?api-version=2020-09-01-preview
9090
schema-id: 17347f81cdce4953bb1680d1f7c36eb7
9191
schema-id-location: https://swathip-test-eventhubs.servicebus.windows.net:443/$schemagroups/getschemabyid/17347f81cdce4953bb1680d1f7c36eb7?api-version=2020-09-01-preview

0 commit comments

Comments
 (0)