Skip to content
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

Adding WorkflowTaskOptions and use it instead of TaskOptions #1200

Merged
merged 2 commits into from
Jan 30, 2025

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

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 <[email protected]>
@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
salaboy pushed a commit to salaboy/java-sdk that referenced this pull request Feb 3, 2025
akkie pushed a commit to akkie/java-sdk that referenced this pull request Feb 5, 2025
salaboy pushed a commit to salaboy/java-sdk that referenced this pull request Feb 7, 2025
akkie pushed a commit to akkie/java-sdk that referenced this pull request Feb 7, 2025
salaboy pushed a commit to salaboy/java-sdk that referenced this pull request Feb 20, 2025
akkie pushed a commit to akkie/java-sdk that referenced this pull request Feb 20, 2025
akkie pushed a commit to akkie/java-sdk that referenced this pull request Feb 20, 2025
salaboy pushed a commit to salaboy/java-sdk that referenced this pull request Feb 21, 2025
akkie pushed a commit to akkie/java-sdk that referenced this pull request Feb 21, 2025
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