Skip to content

Commit

Permalink
minor doc fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AhmedSoliman committed Jun 6, 2024
1 parent de2f240 commit c864677
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,11 @@ You can modify the class to run setting `-PmainClass=<FQCN>`, for example, in or

## Invoking the Counter

Make sure your handlers are registered with your restate server. When you run the example above it'll start a deployment listening on port `9080`. Use the `restate` CLI to let the server know to reach it:
```shell
restate deployment register localhost:9080
```

If you want to invoke the counter virtual object via curl:

```shell
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
@Workflow
public class LoanWorkflow {

// --- Data types used by the Loan Worfklow
// --- Data types used by the Loan Workflow

public enum Status {
UNKNOWN,
Expand Down

0 comments on commit c864677

Please sign in to comment.