https://github.com/yosriady/serverless-sagas
Distributed saga example with AWS Lambda and Step Functions
https://github.com/yosriady/serverless-sagas
serverless serverless-framework
Last synced: 11 months ago
JSON representation
Distributed saga example with AWS Lambda and Step Functions
- Host: GitHub
- URL: https://github.com/yosriady/serverless-sagas
- Owner: yosriady
- Created: 2017-10-13T00:09:29.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-07T09:59:50.000Z (over 3 years ago)
- Last Synced: 2025-04-01T10:21:16.369Z (about 1 year ago)
- Topics: serverless, serverless-framework
- Language: JavaScript
- Homepage: https://www.goingserverless.co
- Size: 111 KB
- Stars: 20
- Watchers: 4
- Forks: 5
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# serverless-sagas
> Original credit to https://github.com/theburningmonk/lambda-saga-pattern
## Successful input
```
{
"tripId": "5c12d94a-ee6a-40d9-889b-1d49142248b7",
"depart": "London",
"departAt": "2017-07-10T06:00:00.000Z",
"arrive": "Dublin",
"arriveAt": "2017-07-12T08:00:00.000Z",
"hotel": "holiday inn",
"checkIn": "2017-07-10T12:00:00.000Z",
"checkOut": "2017-07-12T14:00:00.000Z",
"car": "Volvo",
"carFrom": "2017-07-10T00:00:00.000Z",
"carTo": "2017-07-12T00:00:00.000Z"
}
```
## Failure input
```
{
"tripId": "5c12d94a-ee6a-40d9-889b-1d49142248b7",
"depart": "London",
"departAt": "2017-07-10T06:00:00.000Z",
"arrive": "Dublin",
"arriveAt": "2017-07-12T08:00:00.000Z",
"hotel": "holiday inn",
"checkIn": "2017-07-10T12:00:00.000Z",
"checkOut": "2017-07-12T14:00:00.000Z",
"car": "Volvo",
"carFrom": "2017-07-10T00:00:00.000Z",
"carTo": "2017-07-12T00:00:00.000Z",
"failBookFlight": true
}
```