|
| 1 | +interactions: |
| 2 | +- request: |
| 3 | + body: '{"domain": "TestDomain", "workflowType": {"name": "basic", "version": "example"}}' |
| 4 | + headers: |
| 5 | + Authorization: ['AWS4-HMAC-SHA256 Credential=1234AB/20160823/us-east-1/swf/aws4_request,SignedHeaders=host;x-amz-date;x-amz-target,Signature=foobar'] |
| 6 | + Content-Encoding: [amz-1.0] |
| 7 | + Content-Length: ['81'] |
| 8 | + Content-Type: [application/json; charset=UTF-8] |
| 9 | + Host: [swf.us-east-1.amazonaws.com] |
| 10 | + User-Agent: [Boto/2.47.0 Python/3.6.1 Linux/4.10.0-21-generic] |
| 11 | + X-Amz-Date: [20170610T183557Z] |
| 12 | + X-Amz-Target: [com.amazonaws.swf.service.model.SimpleWorkflowService.DescribeWorkflowType] |
| 13 | + method: POST |
| 14 | + uri: https://swf.us-east-1.amazonaws.com/ |
| 15 | + response: |
| 16 | + body: {string: '{"configuration":{"defaultChildPolicy":"TERMINATE","defaultExecutionStartToCloseTimeout":"300","defaultTaskList":{"name":"None"},"defaultTaskStartToCloseTimeout":"300"},"typeInfo":{"creationDate":1.488630704586E9,"status":"REGISTERED","workflowType":{"name":"basic","version":"example"}}}'} |
| 17 | + headers: |
| 18 | + Content-Length: ['288'] |
| 19 | + Content-Type: [application/json] |
| 20 | + x-amzn-RequestId: [a4ff48f5-4e0b-11e7-a675-552ffed790c9] |
| 21 | + status: {code: 200, message: OK} |
| 22 | +- request: |
| 23 | + body: '{"domain": "TestDomain", "workflowId": "test-simpleflow-workflow", "workflowType": |
| 24 | + {"name": "basic", "version": "example"}, "taskList": {"name": "test-simpleflow-workflow-7d4d6b0513764d3ba38c60c4061483ba"}, |
| 25 | + "childPolicy": "TERMINATE", "input": "{\"args\":[],\"kwargs\":{}}", "lambdaRole": |
| 26 | + "arn:aws:iam::111111000000:role/swf-lambda"}' |
| 27 | + headers: |
| 28 | + Authorization: ['AWS4-HMAC-SHA256 Credential=1234AB/20160823/us-east-1/swf/aws4_request,SignedHeaders=host;x-amz-date;x-amz-target,Signature=foobar'] |
| 29 | + Content-Encoding: [amz-1.0] |
| 30 | + Content-Length: ['333'] |
| 31 | + Content-Type: [application/json; charset=UTF-8] |
| 32 | + Host: [swf.us-east-1.amazonaws.com] |
| 33 | + User-Agent: [Boto/2.47.0 Python/3.6.1 Linux/4.10.0-21-generic] |
| 34 | + X-Amz-Date: [20170610T183557Z] |
| 35 | + X-Amz-Target: [com.amazonaws.swf.service.model.SimpleWorkflowService.StartWorkflowExecution] |
| 36 | + method: POST |
| 37 | + uri: https://swf.us-east-1.amazonaws.com/ |
| 38 | + response: |
| 39 | + body: {string: '{"runId":"22Yr7TxK3TwETHtk/p2S2dWiEyzwD8e9bjDaOKtBXy1wE="}'} |
| 40 | + headers: |
| 41 | + Content-Length: ['58'] |
| 42 | + Content-Type: [application/json] |
| 43 | + x-amzn-RequestId: [a54bbb7e-4e0b-11e7-818d-3f4a87b50f20] |
| 44 | + status: {code: 200, message: OK} |
| 45 | +- request: |
| 46 | + body: '{"domain": "TestDomain", "execution": {"runId": "22Yr7TxK3TwETHtk/p2S2dWiEyzwD8e9bjDaOKtBXy1wE=", |
| 47 | + "workflowId": "test-simpleflow-workflow"}}' |
| 48 | + headers: |
| 49 | + Authorization: ['AWS4-HMAC-SHA256 Credential=1234AB/20160823/us-east-1/swf/aws4_request,SignedHeaders=host;x-amz-date;x-amz-target,Signature=foobar'] |
| 50 | + Content-Encoding: [amz-1.0] |
| 51 | + Content-Length: ['140'] |
| 52 | + Content-Type: [application/json; charset=UTF-8] |
| 53 | + Host: [swf.us-east-1.amazonaws.com] |
| 54 | + User-Agent: [Boto/2.47.0 Python/3.6.1 Linux/4.10.0-21-generic] |
| 55 | + X-Amz-Date: [20170610T183600Z] |
| 56 | + X-Amz-Target: [com.amazonaws.swf.service.model.SimpleWorkflowService.DescribeWorkflowExecution] |
| 57 | + method: POST |
| 58 | + uri: https://swf.us-east-1.amazonaws.com/ |
| 59 | + response: |
| 60 | + body: {string: '{"executionConfiguration":{"childPolicy":"TERMINATE","executionStartToCloseTimeout":"300","lambdaRole":"arn:aws:iam::111111000000:role/swf-lambda","taskList":{"name":"test-simpleflow-workflow-7d4d6b0513764d3ba38c60c4061483ba"},"taskStartToCloseTimeout":"300"},"executionInfo":{"cancelRequested":false,"closeStatus":"COMPLETED","closeTimestamp":1.497119759876E9,"execution":{"runId":"22Yr7TxK3TwETHtk/p2S2dWiEyzwD8e9bjDaOKtBXy1wE=","workflowId":"test-simpleflow-workflow"},"executionStatus":"CLOSED","startTimestamp":1.497119758313E9,"workflowType":{"name":"basic","version":"example"}},"openCounts":{"openActivityTasks":0,"openChildWorkflowExecutions":0,"openDecisionTasks":0,"openLambdaFunctions":0,"openTimers":0}}'} |
| 61 | + headers: |
| 62 | + Content-Length: ['716'] |
| 63 | + Content-Type: [application/json] |
| 64 | + x-amzn-RequestId: [a6d36cb2-4e0b-11e7-8e25-3b3c40344394] |
| 65 | + status: {code: 200, message: OK} |
| 66 | +- request: |
| 67 | + body: '{"domain": "TestDomain", "execution": {"runId": "22Yr7TxK3TwETHtk/p2S2dWiEyzwD8e9bjDaOKtBXy1wE=", |
| 68 | + "workflowId": "test-simpleflow-workflow"}}' |
| 69 | + headers: |
| 70 | + Authorization: ['AWS4-HMAC-SHA256 Credential=1234AB/20160823/us-east-1/swf/aws4_request,SignedHeaders=host;x-amz-date;x-amz-target,Signature=foobar'] |
| 71 | + Content-Encoding: [amz-1.0] |
| 72 | + Content-Length: ['140'] |
| 73 | + Content-Type: [application/json; charset=UTF-8] |
| 74 | + Host: [swf.us-east-1.amazonaws.com] |
| 75 | + User-Agent: [Boto/2.47.0 Python/3.6.1 Linux/4.10.0-21-generic] |
| 76 | + X-Amz-Date: [20170610T183701Z] |
| 77 | + X-Amz-Target: [com.amazonaws.swf.service.model.SimpleWorkflowService.GetWorkflowExecutionHistory] |
| 78 | + method: POST |
| 79 | + uri: https://swf.us-east-1.amazonaws.com/ |
| 80 | + response: |
| 81 | + body: {string: '{"events":[{"eventId":1,"eventTimestamp":1.497119758313E9,"eventType":"WorkflowExecutionStarted","workflowExecutionStartedEventAttributes":{"childPolicy":"TERMINATE","executionStartToCloseTimeout":"300","input":"{\"args\":[],\"kwargs\":{}}","lambdaRole":"arn:aws:iam::111111000000:role/swf-lambda","parentInitiatedEventId":0,"taskList":{"name":"test-simpleflow-workflow-7d4d6b0513764d3ba38c60c4061483ba"},"taskStartToCloseTimeout":"300","workflowType":{"name":"basic","version":"example"}}},{"decisionTaskScheduledEventAttributes":{"startToCloseTimeout":"300","taskList":{"name":"test-simpleflow-workflow-7d4d6b0513764d3ba38c60c4061483ba"}},"eventId":2,"eventTimestamp":1.497119758313E9,"eventType":"DecisionTaskScheduled"},{"decisionTaskStartedEventAttributes":{"identity":"{\"hostname\":\"zeb-P5Q-E\",\"pid\":6614,\"user\":\"zeb\"}","scheduledEventId":2},"eventId":3,"eventTimestamp":1.497119758358E9,"eventType":"DecisionTaskStarted"},{"decisionTaskCompletedEventAttributes":{"scheduledEventId":2,"startedEventId":3},"eventId":4,"eventTimestamp":1.497119758915E9,"eventType":"DecisionTaskCompleted"},{"eventId":5,"eventTimestamp":1.497119758915E9,"eventType":"LambdaFunctionScheduled","lambdaFunctionScheduledEventAttributes":{"decisionTaskCompletedEventId":4,"id":"hello-world-python-5ced6d5d9fae58fd0a7eb0d3908cabed","input":"{\"args\":[8],\"kwargs\":{\"foo\":\"bar\"}}","name":"hello-world-python"}},{"eventId":6,"eventTimestamp":1.497119758941E9,"eventType":"LambdaFunctionStarted","lambdaFunctionStartedEventAttributes":{"scheduledEventId":5}},{"eventId":7,"eventTimestamp":1.497119759328E9,"eventType":"LambdaFunctionCompleted","lambdaFunctionCompletedEventAttributes":{"result":"42","scheduledEventId":5,"startedEventId":6}},{"decisionTaskScheduledEventAttributes":{"startToCloseTimeout":"300","taskList":{"name":"test-simpleflow-workflow-7d4d6b0513764d3ba38c60c4061483ba"}},"eventId":8,"eventTimestamp":1.497119759328E9,"eventType":"DecisionTaskScheduled"},{"decisionTaskStartedEventAttributes":{"identity":"{\"hostname\":\"zeb-P5Q-E\",\"pid\":6613,\"user\":\"zeb\"}","scheduledEventId":8},"eventId":9,"eventTimestamp":1.497119759353E9,"eventType":"DecisionTaskStarted"},{"decisionTaskCompletedEventAttributes":{"scheduledEventId":8,"startedEventId":9},"eventId":10,"eventTimestamp":1.497119759876E9,"eventType":"DecisionTaskCompleted"},{"eventId":11,"eventTimestamp":1.497119759876E9,"eventType":"WorkflowExecutionCompleted","workflowExecutionCompletedEventAttributes":{"decisionTaskCompletedEventId":10,"result":"null"}}]}'} |
| 82 | + headers: |
| 83 | + Content-Length: ['2535'] |
| 84 | + Content-Type: [application/json] |
| 85 | + x-amzn-RequestId: [cb1ece9f-4e0b-11e7-8c8a-29c4fe87cb8e] |
| 86 | + status: {code: 200, message: OK} |
| 87 | +version: 1 |
0 commit comments