You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- When the event is received, the workflow move forward to the last activity called `CustomerFollowUpActivity`, that can be found on the `worker-two` app.
- The workflow completes by handing out the final version of the `Customer` object that has been modified the workflow activities. You can retrieve the `Customer` payload
Testing becomes a complex task when you are dealing with multiple Spring Boot applications. For testing this workflow,
80
84
we rely on [Testcontainers](https://testcontainers.com) to create the entire setup which enable us to run the workflow end to end.
81
85
82
-
You can find the end-to-end test in the [OrchestratorAppTestsIT.java]() class inside the `orchestrator` application.
86
+
You can find the end-to-end test in the [`OrchestratorAppIT.java`](orchestrator/src/test/java/io/dapr/springboot/examples/orchestrator/OrchestratorAppIT.java) class inside the `orchestrator` application.
83
87
This test interact with the application REST endpoints to validate their correct execution.
84
88
85
-
But the magic behind the test can be located in the `DaprTestContainersConfig.class` which defines the configuration for
86
-
all the Dapr containers and the `worker-one` and `worker-two` applications.
89
+
But the magic behind the test can be located in the [`DaprTestContainersConfig.class`](orchestrator/src/test/java/io/dapr/springboot/examples/orchestrator/DaprTestContainersConfig.java) which defines the configuration for
90
+
all the Dapr containers and the `worker-one` and `worker-two` applications. Check this class to gain a deeper understand how to configure
Copy file name to clipboardExpand all lines: spring-boot-examples/workflows/multi-app/orchestrator/src/main/java/io/dapr/springboot/examples/orchestrator/CustomersRestController.java
Copy file name to clipboardExpand all lines: spring-boot-examples/workflows/multi-app/orchestrator/src/main/java/io/dapr/springboot/examples/orchestrator/OrchestratorApplication.java
Copy file name to clipboardExpand all lines: spring-boot-examples/workflows/multi-app/orchestrator/src/test/java/io/dapr/springboot/examples/orchestrator/DaprTestContainersConfig.java
Copy file name to clipboardExpand all lines: spring-boot-examples/workflows/multi-app/worker-one/src/test/java/io/dapr/springboot/examples/workerone/DaprTestContainersConfig.java
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -95,8 +95,6 @@ public DaprContainer daprContainer(Network daprNetwork, RedisContainer redisCont
Copy file name to clipboardExpand all lines: spring-boot-examples/workflows/multi-app/worker-two/src/test/java/io/dapr/springboot/examples/workertwo/DaprTestContainersConfig.java
-2Lines changed: 0 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -94,8 +94,6 @@ public DaprContainer daprContainer(Network daprNetwork, RedisContainer redisCont
0 commit comments