-
Notifications
You must be signed in to change notification settings - Fork 48
Crud api to store data in memory or database or call an api to store the data #554
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
Comments
We need more examples with 7.0.0 as action, state, functionref etc have been taken of and how to execute workflow correctly? |
I feel the issue you wrote is more related with the specification than with the java SDK. New DSL extension mechanism to invoke custom APIs is described here Anyway, since you asked for more examples of how to do things with the new DSL , please take a look to these ones https://github.com/serverlessworkflow/sdk-java/tree/main/impl/core/src/test/resources and https://github.com/serverlessworkflow/sdk-java/tree/main/impl/http/src/test/resources |
Thanks for responding, so idea here is to specify the whole workflow in the specs yaml and from java/language, just start the workflow? |
There are different things:
Your original question pertains to the specification domain: "how do I write a workflow that call a CURD API?". Since this functionality is not natively supported by the spec, I referred you to the extension mechanism (which is currently not supported by the reference implementation) |
Thanks! |
Here is what I am thinking document: do:
saveToolToDatabase should be some java function where I actually write it to underlying database. Let me know if this is currently supported or not. If not then is there a way out to implement this?? |
@bhumirjhaveri Can you ask the question in the specification repo? |
What is the question:
I want to use serverless workflow which is a crud api which will either store data in memory or db or call an another api, how can I do that with sdk-java version 7.0.0 or serverless specs 1?
The text was updated successfully, but these errors were encountered: