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
|`ex3s`| Change to Exercise 3 Solution Directory |
26
-
|`ex3m`| Execute the Exercise 3 Microservice. Must be within the appropriate directory for this to succeed. (either `practice` or `solution`) |
27
-
|`ex3w`| Execute the Exercise 3 Worker. Must be within the appropriate directory for this to succeed. (either `practice` or `solution`) |
28
-
|`ex3st YOUR_NAME`| Execute the Exercise 3 Starter, passing in your name. Must be within the appropriate directory for this to succeed. (either `practice` or `solution`) |
29
-
30
16
## Part A: Write an Activity Method
31
17
32
18
The `GreetingActivities.java` file defines an interface with the Activity method signatures.
@@ -65,12 +51,9 @@ before executing the following commands:
65
51
66
52
1. Compile the code using the command `mvn clean compile`
67
53
2. Start the microservice by running `mvn exec:java -Dexec.mainClass="farewellworkflow.Microservice"` in a terminal
68
-
1.**Note:** If you're using GitPod, you can run the shortcut `ex3m`
69
54
3. In another terminal, start your Worker by running `mvn exec:java -Dexec.mainClass="farewellworkflow.GreetingWorker"`
70
-
1.**Note:** If you're using GitPod, you can run the shortcut `ex3w`
71
55
4. In a third terminal, execute your Workflow by running `mvn exec:java -Dexec.mainClass="farewellworkflow.Starter" -Dexec.args="Mason"`
72
56
(replacing `Mason` with your own name)
73
-
1.**Note:** If you're using GitPod, you can run the shortcut `ex3st Mason` (replacing `Mason` with your own name)
74
57
75
58
If there is time remaining, experiment with Activity failures and retries
76
59
by stopping the microservice (press Ctrl-C in its terminal) and re-running
0 commit comments