mirror of
https://github.com/autistic-symposium/backend-and-orchestration-toolkit.git
synced 2025-06-08 06:53:00 -04:00
merge files from the blockchain infra repo (#59)
This commit is contained in:
parent
23f56ef195
commit
2a6449bb85
346 changed files with 29097 additions and 132 deletions
19
code/aws/lambda-function/sqs-sns_example/tests/fixtures/SNS_contract.json
vendored
Normal file
19
code/aws/lambda-function/sqs-sns_example/tests/fixtures/SNS_contract.json
vendored
Normal file
|
@ -0,0 +1,19 @@
|
|||
|
||||
{
|
||||
"clipId": "11111111111",
|
||||
"cameraId": "11111111111",
|
||||
"startTimestampInMs": 1534305591000,
|
||||
"endTimestampInMs": 1534305611000,
|
||||
"status": "CLIP_AVAILABLE",
|
||||
"bucket": "sl-cam-clip-archive-prod",
|
||||
"clip": {
|
||||
"url": "https://test.mp4",
|
||||
"key": "/583499c4e411dc743a5d5296/11111111111.mp4"
|
||||
},
|
||||
"thumbnail": {
|
||||
"url": "https://test_{size}.png",
|
||||
"key": "/11111111111/1111111111_{size}.png",
|
||||
"sizes": [300, 640, 1500, 3000]
|
||||
}
|
||||
}
|
||||
|
24
code/aws/lambda-function/sqs-sns_example/tests/fixtures/SQS_contract.json
vendored
Normal file
24
code/aws/lambda-function/sqs-sns_example/tests/fixtures/SQS_contract.json
vendored
Normal file
|
@ -0,0 +1,24 @@
|
|||
{
|
||||
"Records": [
|
||||
{
|
||||
"body": "{'clipId': '507f191e810c19729de860ea', 'retryTimestamps': [], 'cameraId': '583499c4e411dc743a5d5296', 'startTimestampInMs': 1537119363000, 'endTimestampInMs': 1537119423000}",
|
||||
"receiptHandle": "MessageReceiptHandle",
|
||||
"md5OfBody": "7b270e59b47ff90a553787216d55d91d",
|
||||
"eventSourceARN": "arn:aws:sqs:us-west-1:123456789012:MyQueue",
|
||||
"eventSource": "aws:sqs",
|
||||
"awsRegion": "us-west-1",
|
||||
"messageId": "19dd0b57-b21e-4ac1-bd88-01bbb068cb78",
|
||||
"attributes": {
|
||||
"ApproximateFirstReceiveTimestamp": "1523232000001",
|
||||
"SenderId": "123456789012",
|
||||
"ApproximateReceiveCount": "1",
|
||||
"SentTimestamp": "1523232000000"
|
||||
},
|
||||
"messageAttributes": {
|
||||
"SentTimestamp": "1523232000000"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
|
10
code/aws/lambda-function/sqs-sns_example/tests/fixtures/recording_contract.json
vendored
Normal file
10
code/aws/lambda-function/sqs-sns_example/tests/fixtures/recording_contract.json
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
[
|
||||
{
|
||||
"startDate":"2018-08-25T19:20:16.000Z",
|
||||
"endDate":"2018-08-25T19:30:16.000Z",
|
||||
"thumbLargeUrl":"https://test_full.jpg",
|
||||
"recordingUrl":"https://test.mp4",
|
||||
"thumbSmallUrl":"https://test_small.jpg",
|
||||
"alias":"test"
|
||||
}
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue