Skip to content

Conversation

@artur-ciocanu
Copy link
Contributor

Description

The following PR accomplishes the following:

  • Renaming SagaOption to SagaOptions this is to ensure it aligns with the rest of the APIs.
  • Renaming NewWorkflowOption to NewWorkflowOptions similar to the above it is to make sure API is consistent
  • Adding WorkflowExecutionOptions this replaces TaskOptions. TaskOptions is 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:

  • Code compiles correctly
  • Created/updated tests
  • Extended the documentation

@artur-ciocanu artur-ciocanu requested review from a team as code owners January 25, 2025 18:12
Signed-off-by: Artur Ciocanu <ciocanu@adobe.com>
@artur-ciocanu
Copy link
Contributor Author

@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!

@salaboy
Copy link
Collaborator

salaboy commented Jan 25, 2025

100% I will look in detail Monday morning

@artur-ciocanu
Copy link
Contributor Author

@artursouza and @cicoyle sorry to insist, could you please take a look and let me know if things are looking good.

Copy link
Contributor

@cicoyle cicoyle left a 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

@artur-ciocanu artur-ciocanu requested a review from cicoyle January 28, 2025 20:42
@artur-ciocanu
Copy link
Contributor Author

One comment on naming changes, but otherwise lgtm

@cicoyle I have added a comment regarding WorkflowTaskOptions let me know your thoughts.

Signed-off-by: Artur Ciocanu <ciocanu@adobe.com>
@artur-ciocanu
Copy link
Contributor Author

@artursouza and @cicoyle I have addressed review comments. Could you please approve. Thank you.

@artur-ciocanu artur-ciocanu changed the title Adding WorkflowExecutionOptions and use it instead of TaskOptions Adding WorkflowTaskOptions and use it instead of TaskOptions Jan 29, 2025
@artursouza artursouza merged commit be5530f into dapr:master Jan 30, 2025
8 checks passed
@artur-ciocanu artur-ciocanu deleted the gh-1199 branch January 30, 2025 08:13
@cicoyle cicoyle added this to the v1.14 milestone Jan 31, 2025
akkie pushed a commit to akkie/java-sdk that referenced this pull request Feb 5, 2025
Signed-off-by: Christian Kaps <ck-github@mohiva.com>
akkie pushed a commit to akkie/java-sdk that referenced this pull request Feb 7, 2025
Signed-off-by: Christian Kaps <ck-github@mohiva.com>
akkie pushed a commit to akkie/java-sdk that referenced this pull request Feb 20, 2025
Signed-off-by: Christian Kaps <ck-github@mohiva.com>
akkie pushed a commit to akkie/java-sdk that referenced this pull request Feb 20, 2025
Signed-off-by: Christian Kaps <ck-github@mohiva.com>
akkie pushed a commit to akkie/java-sdk that referenced this pull request Feb 21, 2025
Signed-off-by: Christian Kaps <ck-github@mohiva.com>
akkie pushed a commit to akkie/java-sdk that referenced this pull request Feb 23, 2025
Signed-off-by: Christian Kaps <ck-github@mohiva.com>
dapr-bot pushed a commit that referenced this pull request Mar 1, 2025
* 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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Replace TaskOptions with a Dapr specific class like WorkflowActtivityOptions

4 participants