-
Notifications
You must be signed in to change notification settings - Fork 207
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
Workflows alignment with Spring Boot (Dependency Injection for Workflows and Activities) #1170
base: master
Are you sure you want to change the base?
Conversation
5ed82a7
to
75015dc
Compare
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.
@salaboy awesome job! I have left some comments mostly styling, however I think you should adjust the DaprWorkflowsConfig
a little. I have used all the suggestion that I have provided, ran the tests and everything is 🟢, so I think you can safely apply them and open a PR.
I think the auto-configuration you have added provides enough value fort Spring Boot users. We can add bells and whistles later.
...gure/src/main/java/io/dapr/spring/boot/autoconfigure/client/DaprClientAutoConfiguration.java
Show resolved
Hide resolved
...gure/src/main/java/io/dapr/spring/boot/autoconfigure/client/DaprClientAutoConfiguration.java
Show resolved
Hide resolved
dapr-spring/dapr-spring-workflows/src/main/java/io/dapr/spring/workflows/Operation.java
Outdated
Show resolved
Hide resolved
dapr-spring/dapr-spring-workflows/src/main/java/io/dapr/spring/workflows/Workflow.java
Outdated
Show resolved
Hide resolved
...gure/src/main/java/io/dapr/spring/boot/autoconfigure/client/DaprClientAutoConfiguration.java
Show resolved
Hide resolved
...e/src/test/java/io/dapr/spring/boot/autoconfigure/client/DaprWorkflowsRegistrationTests.java
Show resolved
Hide resolved
...onfigure/src/test/java/io/dapr/spring/boot/autoconfigure/client/WorkflowTestApplication.java
Show resolved
Hide resolved
...dapr-spring-workflows/src/main/java/io/dapr/spring/workflows/config/DaprWorkflowsConfig.java
Outdated
Show resolved
Hide resolved
...dapr-spring-workflows/src/main/java/io/dapr/spring/workflows/config/DaprWorkflowsConfig.java
Outdated
Show resolved
Hide resolved
I am a bit stuck on this: dapr/dapr#8341 |
efaadb4
to
6227935
Compare
80ff5e0
to
36f4f03
Compare
@artur-ciocanu @artursouza @cicoyle can you please review this PR? |
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.
@salaboy looks great a have left a tiny comment related to registerWorkflowsAndActivities
method, I don't think it should be public
, it is an internal method.
...ring-workflows/src/main/java/io/dapr/spring/workflows/config/DaprWorkflowsConfiguration.java
Show resolved
Hide resolved
Signed-off-by: salaboy <[email protected]>
Signed-off-by: salaboy <[email protected]>
Signed-off-by: salaboy <[email protected]>
Signed-off-by: salaboy <[email protected]>
* fix link Signed-off-by: Hannah Hunter <[email protected]> * fix one more link Signed-off-by: Hannah Hunter <[email protected]> * remove beta from Java SDK workflow Signed-off-by: Hannah Hunter <[email protected]> --------- Signed-off-by: Hannah Hunter <[email protected]> Signed-off-by: salaboy <[email protected]>
Signed-off-by: Artur Souza <[email protected]> Signed-off-by: salaboy <[email protected]>
Signed-off-by: Artur Souza <[email protected]> Signed-off-by: salaboy <[email protected]>
Signed-off-by: Artur Souza <[email protected]> Signed-off-by: salaboy <[email protected]>
Signed-off-by: Dapr Bot <[email protected]> Signed-off-by: salaboy <[email protected]>
Signed-off-by: Dapr Bot <[email protected]> Co-authored-by: Dapr Bot <[email protected]> Signed-off-by: salaboy <[email protected]>
Signed-off-by: salaboy <[email protected]>
Signed-off-by: salaboy <[email protected]>
Signed-off-by: Artur Souza <[email protected]> Signed-off-by: salaboy <[email protected]>
Signed-off-by: salaboy <[email protected]>
5a2d6c2
to
da8049f
Compare
@artursouza and @cicoyle could you please review and approve. Thank you! |
Feedback from one of my highly experienced engineers who are looking forward to trying Workflows with Java :
|
Description
This WIP PR contains the changes to align the workflow functionality with Spring Boot. The tasks described in #1164 are implemented in this PR.
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: #1164
Checklist
Please make sure you've completed the relevant tasks for this PR, out of the following list: