beforeyoubid / serverless-step-functions-offline

Emulate step functions locally when developing your Serverless project
MIT License
1 stars 2 forks source link

Add HTTP execution #16

Open alice-byb opened 3 years ago

alice-byb commented 3 years ago

Ideally you should be able to trigger a state machine from both the plugin cli and http event.

My understanding would be that this involves adding an extra function to serverless before the packaging stage so serverless-offline can pick it up. this function would require a specific version of the plugin code with all the other functions bundled alongside. I have seen similar functionality in the serverless nextjs plugin and the serverless-wsgi plugins if we want to use those as reference.