-
Notifications
You must be signed in to change notification settings - Fork 223
Adding WorkflowTaskOptions and use it instead of TaskOptions #1200
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
Conversation
Signed-off-by: Artur Ciocanu <ciocanu@adobe.com>
2489f57 to
462b98a
Compare
|
@artursouza @cicoyle @salaboy could you please take a look. These are breaking changes, but I think we can afford to have them so we could cleanup the Dapr Workflow public API and remove any Durable Task specific classes. Please take a look and let me know your thoughts. Thank you! |
|
100% I will look in detail Monday morning |
|
@artursouza and @cicoyle sorry to insist, could you please take a look and let me know if things are looking good. |
sdk-workflows/src/main/java/io/dapr/workflows/WorkflowContext.java
Outdated
Show resolved
Hide resolved
cicoyle
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One comment on naming changes, but otherwise lgtm
@cicoyle I have added a comment regarding |
Signed-off-by: Artur Ciocanu <ciocanu@adobe.com>
|
@artursouza and @cicoyle I have addressed review comments. Could you please approve. Thank you. |
Signed-off-by: Christian Kaps <ck-github@mohiva.com>
Signed-off-by: Christian Kaps <ck-github@mohiva.com>
Signed-off-by: Christian Kaps <ck-github@mohiva.com>
Signed-off-by: Christian Kaps <ck-github@mohiva.com>
Signed-off-by: Christian Kaps <ck-github@mohiva.com>
Signed-off-by: Christian Kaps <ck-github@mohiva.com>
* Add actor testcontainer tests Signed-off-by: Christian Kaps <ck-github@mohiva.com> * adding auto config Signed-off-by: Christian Kaps <ck-github@mohiva.com> * updating ActorClient Signed-off-by: Christian Kaps <ck-github@mohiva.com> * registering? Signed-off-by: Christian Kaps <ck-github@mohiva.com> * updating actors test and actorruntime Signed-off-by: Christian Kaps <ck-github@mohiva.com> * updating ActorRuntime Signed-off-by: Christian Kaps <ck-github@mohiva.com> * Adding WorkflowTaskOptions and use it instead of TaskOptions (#1200) Signed-off-by: Christian Kaps <ck-github@mohiva.com> * Fix formatting issues Signed-off-by: Christian Kaps <ck-github@mohiva.com> * adding spring boot workflows integration (#1195) Co-authored-by: Cassie Coyle <cassie@diagrid.io> Signed-off-by: Christian Kaps <ck-github@mohiva.com> * Register workflows and acitivities using instances along classes (#1201) Signed-off-by: Christian Kaps <ck-github@mohiva.com> * feat: Adding basic HTTPEndpoint configuration support in testcontainers module (#1210) * feat: Adding basic HTTPEndpoint configuration support in testcontainers module Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com> * feat: #1209 Adding test for HTTPEndpoint in testcontainers module Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com> --------- Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com> Signed-off-by: Christian Kaps <ck-github@mohiva.com> * fixing actors IT test and messaging IT with app-health-checks Signed-off-by: Christian Kaps <ck-github@mohiva.com> * Add app health check support to Dapr Testcontainer (#1213) * Add app health check support to Dapr Testcontainer Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> * Some minor cleanup Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> * Move waiting to beforeEach, it looks more natural Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> --------- Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> Co-authored-by: Artur Ciocanu <ciocanu@adobe.com> Signed-off-by: Christian Kaps <ck-github@mohiva.com> * adding license headers + adding wait for actors in test Signed-off-by: Christian Kaps <ck-github@mohiva.com> * Add app health check support to Dapr Testcontainer (#1213) * Add app health check support to Dapr Testcontainer Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> * Some minor cleanup Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> * Move waiting to beforeEach, it looks more natural Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> --------- Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> Co-authored-by: Artur Ciocanu <ciocanu@adobe.com> Signed-off-by: Christian Kaps <ck-github@mohiva.com> * Picks a port for DaprActorITS for test containers to avoid conflict. Signed-off-by: Artur Souza <asouza.pro@gmail.com> Signed-off-by: Christian Kaps <ck-github@mohiva.com> * Add app health check support to Dapr Testcontainer (#1213) * Add app health check support to Dapr Testcontainer Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> * Some minor cleanup Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> * Move waiting to beforeEach, it looks more natural Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> --------- Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> Co-authored-by: Artur Ciocanu <ciocanu@adobe.com> Signed-off-by: Christian Kaps <ck-github@mohiva.com> * using random port thanks to @artur-ciocanu Signed-off-by: Christian Kaps <ck-github@mohiva.com> * Update TestRestController.java Signed-off-by: artur-ciocanu <artur.ciocanu@gmail.com> * Update DaprActorsIT.java Signed-off-by: artur-ciocanu <artur.ciocanu@gmail.com> * Update DaprContainer.java Signed-off-by: artur-ciocanu <artur.ciocanu@gmail.com> --------- Signed-off-by: Christian Kaps <ck-github@mohiva.com> Signed-off-by: Laurent Broudoux <laurent.broudoux@gmail.com> Signed-off-by: Artur Ciocanu <ciocanu@adobe.com> Signed-off-by: Artur Souza <asouza.pro@gmail.com> Signed-off-by: Artur Souza <artursouza.ms@outlook.com> Signed-off-by: artur-ciocanu <artur.ciocanu@gmail.com> Co-authored-by: salaboy <Salaboy@gmail.com> Co-authored-by: artur-ciocanu <artur.ciocanu@gmail.com> Co-authored-by: Cassie Coyle <cassie@diagrid.io> Co-authored-by: Laurent Broudoux <laurent.broudoux@gmail.com> Co-authored-by: Artur Ciocanu <ciocanu@adobe.com> Co-authored-by: Artur Souza <asouza.pro@gmail.com> Co-authored-by: Artur Souza <artursouza.ms@outlook.com>
Description
The following PR accomplishes the following:
SagaOptiontoSagaOptionsthis is to ensure it aligns with the rest of the APIs.NewWorkflowOptiontoNewWorkflowOptionssimilar to the above it is to make sure API is consistentWorkflowExecutionOptionsthis replacesTaskOptions.TaskOptionsis a Durable Task specific class and we would like to have something that is native to Dapr Java SDK.Issue reference
We strive to have all PR being opened based on an issue, where the problem or feature have been discussed prior to implementation.
Please reference the issue this PR will close: #1199
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: