Skip to content

Commit 977e140

Browse files
committed
recordings
1 parent 7d35094 commit 977e140

9 files changed

+377
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
interactions:
2+
- request:
3+
body: '[{"id": "fe01f535-bfe8-4bfb-9732-5530cac95677", "source": "http://samplesource.dev",
4+
"data": "cloudevent", "type": "Sample.Cloud.Event", "time": "2020-08-19T02:54:26.937747Z",
5+
"specversion": "1.0"}]'
6+
headers:
7+
Accept:
8+
- '*/*'
9+
Accept-Encoding:
10+
- gzip, deflate
11+
Connection:
12+
- keep-alive
13+
Content-Length:
14+
- '198'
15+
Content-Type:
16+
- application/cloudevents-batch+json; charset=utf-8
17+
User-Agent:
18+
- azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0)
19+
aeg-sas-key:
20+
- CNX1dEvFh9P+c93UazUJ0+FSB4v104amtip6jD/KQsY=
21+
method: POST
22+
uri: https://eventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01
23+
response:
24+
body:
25+
string: "{\r\n \"error\": {\r\n \"code\": \"BadRequest\",\r\n \"message\":
26+
\"Unexpected property 'source' found in JSON. Report '2ce71012-6cad-4ba0-8fdb-b910b7f03670:1:8/19/2020
27+
2:54:28 AM (UTC)' to our forums for assistance or raise a support ticket.\",\r\n
28+
\ \"details\": [{\r\n \"code\": \"InputJsonInvalid\",\r\n
29+
\ \"message\": \"Unexpected property 'source' found in JSON. Report
30+
'2ce71012-6cad-4ba0-8fdb-b910b7f03670:1:8/19/2020 2:54:28 AM (UTC)' to our
31+
forums for assistance or raise a support ticket.\"\r\n }]\r\n }\r\n}"
32+
headers:
33+
content-length:
34+
- '527'
35+
content-type:
36+
- application/json; charset=utf-8
37+
date:
38+
- Wed, 19 Aug 2020 02:54:27 GMT
39+
server:
40+
- Microsoft-HTTPAPI/2.0
41+
strict-transport-security:
42+
- max-age=31536000; includeSubDomains
43+
status:
44+
code: 400
45+
message: Unexpected property 'source' found in JSON. Report '2ce71012-6cad-4ba0-8fdb-b910b7f03670:1:8/19/2020
46+
2:54:28 AM (UTC)' to our forums for assistance or raise a support ticket.
47+
version: 1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
interactions:
2+
- request:
3+
body: '[{"id": "b97b41af-2e19-4889-87a1-e289766ecf89", "source": "http://samplesource.dev",
4+
"data": {"sample": "cloudevent"}, "type": "Sample.Cloud.Event", "time": "2020-08-19T02:54:40.927831Z",
5+
"specversion": "1.0"}]'
6+
headers:
7+
Accept:
8+
- '*/*'
9+
Accept-Encoding:
10+
- gzip, deflate
11+
Connection:
12+
- keep-alive
13+
Content-Length:
14+
- '210'
15+
Content-Type:
16+
- application/cloudevents-batch+json; charset=utf-8
17+
User-Agent:
18+
- azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0)
19+
aeg-sas-key:
20+
- 1H1Q60s9Apm1iLiSOyunHE0EF2NeA1muzLR2Q6VOSps=
21+
method: POST
22+
uri: https://cloudeventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01
23+
response:
24+
body:
25+
string: ''
26+
headers:
27+
api-supported-versions:
28+
- '2018-01-01'
29+
content-length:
30+
- '0'
31+
date:
32+
- Wed, 19 Aug 2020 02:54:41 GMT
33+
server:
34+
- Microsoft-HTTPAPI/2.0
35+
strict-transport-security:
36+
- max-age=31536000; includeSubDomains
37+
status:
38+
code: 200
39+
message: OK
40+
version: 1
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
interactions:
2+
- request:
3+
body: '[{"id": "1234", "source": "http://samplesource.dev", "data": "cloudevent",
4+
"type": "Sample.Cloud.Event", "specversion": "1.0"}]'
5+
headers:
6+
Accept:
7+
- '*/*'
8+
Accept-Encoding:
9+
- gzip, deflate
10+
Connection:
11+
- keep-alive
12+
Content-Length:
13+
- '127'
14+
Content-Type:
15+
- application/cloudevents-batch+json; charset=utf-8
16+
User-Agent:
17+
- azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0)
18+
aeg-sas-key:
19+
- CNX1dEvFh9P+c93UazUJ0+FSB4v104amtip6jD/KQsY=
20+
method: POST
21+
uri: https://eventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01
22+
response:
23+
body:
24+
string: "{\r\n \"error\": {\r\n \"code\": \"BadRequest\",\r\n \"message\":
25+
\"Unexpected property 'source' found in JSON. Report '5a0ead52-e8aa-4b1e-b34e-6c70f25010d7:3:8/19/2020
26+
2:54:42 AM (UTC)' to our forums for assistance or raise a support ticket.\",\r\n
27+
\ \"details\": [{\r\n \"code\": \"InputJsonInvalid\",\r\n
28+
\ \"message\": \"Unexpected property 'source' found in JSON. Report
29+
'5a0ead52-e8aa-4b1e-b34e-6c70f25010d7:3:8/19/2020 2:54:42 AM (UTC)' to our
30+
forums for assistance or raise a support ticket.\"\r\n }]\r\n }\r\n}"
31+
headers:
32+
content-length:
33+
- '527'
34+
content-type:
35+
- application/json; charset=utf-8
36+
date:
37+
- Wed, 19 Aug 2020 02:54:42 GMT
38+
server:
39+
- Microsoft-HTTPAPI/2.0
40+
strict-transport-security:
41+
- max-age=31536000; includeSubDomains
42+
status:
43+
code: 400
44+
message: Unexpected property 'source' found in JSON. Report '5a0ead52-e8aa-4b1e-b34e-6c70f25010d7:3:8/19/2020
45+
2:54:42 AM (UTC)' to our forums for assistance or raise a support ticket.
46+
version: 1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
interactions:
2+
- request:
3+
body: '[{"customSubject": "sample", "customEventType": "sample.event", "customDataVersion":
4+
"2.0", "customId": "1234", "customEventTime": "2020-08-19T02:54:55.283370+00:00",
5+
"customData": "sample data"}]'
6+
headers:
7+
Accept:
8+
- '*/*'
9+
Accept-Encoding:
10+
- gzip, deflate
11+
Connection:
12+
- keep-alive
13+
Content-Length:
14+
- '196'
15+
Content-Type:
16+
- application/json
17+
User-Agent:
18+
- azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0)
19+
aeg-sas-key:
20+
- bnShWuasxyRJT++S3CR8dxx+MBjyJ06zq9X/JxxNNKM=
21+
method: POST
22+
uri: https://customeventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01
23+
response:
24+
body:
25+
string: ''
26+
headers:
27+
api-supported-versions:
28+
- '2018-01-01'
29+
content-length:
30+
- '0'
31+
date:
32+
- Wed, 19 Aug 2020 02:54:56 GMT
33+
server:
34+
- Microsoft-HTTPAPI/2.0
35+
strict-transport-security:
36+
- max-age=31536000; includeSubDomains
37+
status:
38+
code: 200
39+
message: OK
40+
version: 1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
interactions:
2+
- request:
3+
body: '[{"customSubject": "sample", "customEventType": "sample.event", "customDataVersion":
4+
"2.0", "customId": "1234", "customEventTime": "2020-08-19T02:54:55.786334+00:00",
5+
"customData": "sample data"}, {"customSubject": "sample2", "customEventType":
6+
"sample.event", "customDataVersion": "2.0", "customId": "12345", "customEventTime":
7+
"2020-08-19T02:54:55.787335+00:00", "customData": "sample data 2"}]'
8+
headers:
9+
Accept:
10+
- '*/*'
11+
Accept-Encoding:
12+
- gzip, deflate
13+
Connection:
14+
- keep-alive
15+
Content-Length:
16+
- '396'
17+
Content-Type:
18+
- application/json
19+
User-Agent:
20+
- azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0)
21+
aeg-sas-key:
22+
- bnShWuasxyRJT++S3CR8dxx+MBjyJ06zq9X/JxxNNKM=
23+
method: POST
24+
uri: https://customeventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01
25+
response:
26+
body:
27+
string: ''
28+
headers:
29+
api-supported-versions:
30+
- '2018-01-01'
31+
content-length:
32+
- '0'
33+
date:
34+
- Wed, 19 Aug 2020 02:54:57 GMT
35+
server:
36+
- Microsoft-HTTPAPI/2.0
37+
strict-transport-security:
38+
- max-age=31536000; includeSubDomains
39+
status:
40+
code: 200
41+
message: OK
42+
version: 1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
interactions:
2+
- request:
3+
body: '[{"id": "f7813081-9a94-48b1-b92a-a812fa10512b", "subject": "sample", "data":
4+
"eventgridevent", "eventType": "Sample.EventGrid.Event", "eventTime": "2020-08-19T02:54:56.159379Z",
5+
"dataVersion": "2.0"}, {"id": "d73c89b5-639d-4900-aef9-d91df428a2c4", "subject":
6+
"sample2", "data": "eventgridevent2", "eventType": "Sample.EventGrid.Event",
7+
"eventTime": "2020-08-19T02:54:56.159379Z", "dataVersion": "2.0"}]'
8+
headers:
9+
Accept:
10+
- '*/*'
11+
Accept-Encoding:
12+
- gzip, deflate
13+
Connection:
14+
- keep-alive
15+
Content-Length:
16+
- '402'
17+
Content-Type:
18+
- application/json; charset=utf-8
19+
User-Agent:
20+
- azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0)
21+
aeg-sas-key:
22+
- CNX1dEvFh9P+c93UazUJ0+FSB4v104amtip6jD/KQsY=
23+
method: POST
24+
uri: https://eventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01
25+
response:
26+
body:
27+
string: ''
28+
headers:
29+
api-supported-versions:
30+
- '2018-01-01'
31+
content-length:
32+
- '0'
33+
date:
34+
- Wed, 19 Aug 2020 02:54:56 GMT
35+
server:
36+
- Microsoft-HTTPAPI/2.0
37+
strict-transport-security:
38+
- max-age=31536000; includeSubDomains
39+
status:
40+
code: 200
41+
message: OK
42+
version: 1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
interactions:
2+
- request:
3+
body: '[{"id": "de0ca0b5-a8ab-48e4-8c50-d96545c5af76", "subject": "sample", "data":
4+
{"sample": "eventgridevent"}, "eventType": "Sample.EventGrid.Event", "eventTime":
5+
"2020-08-19T02:54:56.478324Z", "dataVersion": "2.0"}]'
6+
headers:
7+
Accept:
8+
- '*/*'
9+
Accept-Encoding:
10+
- gzip, deflate
11+
Connection:
12+
- keep-alive
13+
Content-Length:
14+
- '212'
15+
Content-Type:
16+
- application/json; charset=utf-8
17+
User-Agent:
18+
- azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0)
19+
aeg-sas-key:
20+
- CNX1dEvFh9P+c93UazUJ0+FSB4v104amtip6jD/KQsY=
21+
method: POST
22+
uri: https://eventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01
23+
response:
24+
body:
25+
string: ''
26+
headers:
27+
api-supported-versions:
28+
- '2018-01-01'
29+
content-length:
30+
- '0'
31+
date:
32+
- Wed, 19 Aug 2020 02:54:57 GMT
33+
server:
34+
- Microsoft-HTTPAPI/2.0
35+
strict-transport-security:
36+
- max-age=31536000; includeSubDomains
37+
status:
38+
code: 200
39+
message: OK
40+
version: 1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
interactions:
2+
- request:
3+
body: '[{"id": "9d3e0cd3-57a8-448c-85a5-4eedef1a2d8e", "subject": "sample", "data":
4+
"eventgridevent", "eventType": "Sample.EventGrid.Event", "eventTime": "2020-08-19T02:54:56.786336Z",
5+
"dataVersion": "2.0"}]'
6+
headers:
7+
Accept:
8+
- '*/*'
9+
Accept-Encoding:
10+
- gzip, deflate
11+
Connection:
12+
- keep-alive
13+
Content-Length:
14+
- '200'
15+
Content-Type:
16+
- application/json; charset=utf-8
17+
User-Agent:
18+
- azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0)
19+
aeg-sas-key:
20+
- CNX1dEvFh9P+c93UazUJ0+FSB4v104amtip6jD/KQsY=
21+
method: POST
22+
uri: https://eventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01
23+
response:
24+
body:
25+
string: ''
26+
headers:
27+
api-supported-versions:
28+
- '2018-01-01'
29+
content-length:
30+
- '0'
31+
date:
32+
- Wed, 19 Aug 2020 02:54:57 GMT
33+
server:
34+
- Microsoft-HTTPAPI/2.0
35+
strict-transport-security:
36+
- max-age=31536000; includeSubDomains
37+
status:
38+
code: 200
39+
message: OK
40+
version: 1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
interactions:
2+
- request:
3+
body: '[{"id": "b2997db2-24a8-42bc-b254-a3bb83217e3a", "subject": "sample", "data":
4+
{"sample": "eventgridevent"}, "eventType": "Sample.EventGrid.Event", "eventTime":
5+
"2020-08-19T02:54:57.067382Z", "dataVersion": "2.0"}]'
6+
headers:
7+
Accept:
8+
- '*/*'
9+
Accept-Encoding:
10+
- gzip, deflate
11+
Connection:
12+
- keep-alive
13+
Content-Length:
14+
- '212'
15+
Content-Type:
16+
- application/json; charset=utf-8
17+
User-Agent:
18+
- azsdk-python-eventgridpublisherclient/unknown Python/3.7.3 (Windows-10-10.0.18362-SP0)
19+
aeg-sas-token:
20+
- r=https%3A%2F%2Feventgridtestj5ziptothnf.westus-1.eventgrid.azure.net%2Fapi%2Fevents%3FapiVersion%3D2018-01-01&e=2020-08-19%2003%3A54%3A57.065388%2B00%3A00&s=bDccCYZSzjz0%2BQ6nwsQ1ZDJdO%2BIJrbwqQRTG%2BGPaTrw%3D
21+
method: POST
22+
uri: https://eventgridtestegtopic.westus-1.eventgrid.azure.net/api/events?api-version=2018-01-01
23+
response:
24+
body:
25+
string: ''
26+
headers:
27+
api-supported-versions:
28+
- '2018-01-01'
29+
content-length:
30+
- '0'
31+
date:
32+
- Wed, 19 Aug 2020 02:54:57 GMT
33+
server:
34+
- Microsoft-HTTPAPI/2.0
35+
strict-transport-security:
36+
- max-age=31536000; includeSubDomains
37+
status:
38+
code: 200
39+
message: OK
40+
version: 1

0 commit comments

Comments
 (0)