-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Camunda Function as a Service Endpoints #42
Comments
Camunda History Time to LiveNote that History Time to list should likely be set to 1 day as it will take up lots of DB data for all of the transactions Rate limitingAlso look rate limiting implementations to ensure the API is not abused |
Initial Notes:
User Case: Allow Email approval with a link |
|
Function Example:
|
Ability to call Functions as a service that active a camunda process.
Todos:
Design Notes
variablesInReturn
property should configure the returned API responseUse Cases
Endpoint Examples:
POST
/faas/key/:key
POST
/faas/id/:id
Endpoint Styles
faas
func
function
camunda
Response handling
FaaS service type will convert this into a proper response.
All processing should be optimized for speed over elegance. Speed of response is priority.
If Camunda does not return the proper variables that Services Microservice will return a Internal Error
Considerations
Samples
For multiple errors:
The
response_body
would be a SPIN Json array, and each error would append to the array.For single error response scenarios, the json could return any style defined in the bpmn.
If Function/Process cannot be found then Function not found error response is returned
All other variables that would be returned by Camunda would be ignored.
Data Flow
This should occur as part of a configuration of the BPM Service.
example of Usage for:
Before Form Load:
Before Form Submit:
After Formio Validation:
Before Form Load, Before Form Submit and After Formio Validation configurations should allow multiple processes to be called. and support weight/order to which they are called. OR at least allow all three options to be implemented. So that a single service can have a Before Load, Before Submit and After Formio processes.
The text was updated successfully, but these errors were encountered: