Distributed saga example with AWS Lambda and Step Functions
Switch branches/tags
Nothing to show
Clone or download
Yos Riady and yosriady Refactor
Latest commit 6dc794d Nov 2, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
functions
.gitignore
README.md
package.json
serverless.yml
states.json
yarn.lock

README.md

serverless-sagas

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
}