Skip to content

Commit

Permalink
Update broken links (#116)
Browse files Browse the repository at this point in the history
  • Loading branch information
gvdongen authored Mar 22, 2024
1 parent 3fd4076 commit a94f4ea
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ Or run Restate Server in Docker:
Many examples need to be registered at Restate, so that Restate will proxy their function calls and
do its magic. Once both server and example are running, register the example

* Via the [CLI](https://docs.restate.dev/restate/cli): `restate dp reg localhost:9080`
* Via the [CLI](https://docs.restate.dev/operate/cli): `restate dp reg localhost:9080`
* Via `curl localhost:9070/deployments -H 'content-type: application/json' -d '{"uri": "http://localhost:9080"}'`

**Important** When running Restate with Docker, use `host.docker.internal` instead of `localhost` in the URIs above.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ Puppeteer screenshot -> rotate -> blur:
curl localhost:8080/workflow-executor/execute -H 'idempotency-key: user123-wf1' -H 'content-type: application/json' -d '{"request":"{\"id\":\"user123-wf1\",\"steps\":[{\"service\":\"puppeteer-service\",\"parameters\":{\"url\":\"https://restate.dev\"}},{\"service\":\"rotate-img-service\",\"parameters\":{\"angle\":90}},{\"service\":\"blur-img-service\",\"parameters\":{\"blur\":5}}]}"}'
```

**NOTE: ** We use the [idempotent invoke feature](https://docs.restate.dev/services/invocation/#invoke-a-service-idempotently) (`-H 'idempotency-key: user123-wf1'`).
**NOTE: ** We use the [idempotent invoke feature](https://docs.restate.dev/operate/invocation#invoke-a-service-idempotently) (`-H 'idempotency-key: user123-wf1'`).
This means that if you send the same request again, the workflow executor will not execute the workflow again, but instead return the result of the previous execution. This can be used for deduplicating multiple requests for the same workflow execution in case of infrastructure failures.

The setup also contains a workflow status service which tracks the status of all workflow exeuctions.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ option java_outer_classname = "Proto";
* Travel service.
*/
service Travel {
// See https://docs.restate.dev/services/service_type for more details.
// See https://docs.restate.dev/develop/service_type for more details.
option (dev.restate.ext.service_type) = UNKEYED;

rpc Reserve (TravelBookingRequest) returns (google.protobuf.Empty);
Expand All @@ -24,7 +24,7 @@ message TravelBookingRequest {
}

service Flights {
// See https://docs.restate.dev/services/service_type for more details.
// See https://docs.restate.dev/develop/service_typee for more details.
option (dev.restate.ext.service_type) = KEYED;

rpc Reserve(FlightBookingRequest) returns (FlightBookingId);
Expand All @@ -42,7 +42,7 @@ message FlightBookingId {
}

service CarRental {
// See https://docs.restate.dev/services/service_type for more details.
// See https://docs.restate.dev/develop/service_type for more details.
option (dev.restate.ext.service_type) = KEYED;

rpc Reserve(CarRentalRequest) returns (CarRentalId);
Expand All @@ -60,7 +60,7 @@ message CarRentalId {
}

service Payment {
// See https://docs.restate.dev/services/service_type for more details.
// See https://docs.restate.dev/develop/service_type for more details.
option (dev.restate.ext.service_type) = KEYED;

rpc Process(PaymentRequest) returns (PaymentId);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ option java_outer_classname = "GreeterProto";
* This service greets the users.
*/
service Greeter {
// See https://docs.restate.dev/services/service_type for more details.
// See https://docs.restate.dev/develop/service_type for more details.
option (dev.restate.ext.service_type) = KEYED;

rpc Greet (GreetRequest) returns (GreetResponse);
Expand Down
2 changes: 1 addition & 1 deletion templates/kotlin-gradle/src/main/proto/greeter.proto
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ option java_outer_classname = "GreeterProto";
* This service greets the users.
*/
service Greeter {
// See https://docs.restate.dev/services/service_type for more details.
// See https://docs.restate.dev/develop/service_type for more details.
option (dev.restate.ext.service_type) = KEYED;

rpc Greet (GreetRequest) returns (GreetResponse);
Expand Down
2 changes: 1 addition & 1 deletion tutorials/tour-of-restate-java/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ You can clone the example repository (`git clone https://github.com/restatedev/e

## Running the example

Have a look at the [Tour of Restate tutorial](https://docs.restate.dev/tour) in the documentation to build and run the application in this repository.
Have a look at the [Tour of Restate tutorial](https://docs.restate.dev/get_started/tour) in the documentation to build and run the application in this repository.

In short, you can run the different parts of the code via:

Expand Down
2 changes: 1 addition & 1 deletion tutorials/tour-of-restate-typescript/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ You can clone the example repository (`git clone https://github.com/restatedev/e

## Running the example

Have a look at the [Tour of Restate tutorial](https://docs.restate.dev/tour) in the documentation to build and run the application in this repository.
Have a look at the [Tour of Restate tutorial](https://docs.restate.dev/get_started/tour) in the documentation to build and run the application in this repository.

In short, you can run the different parts of the code via:

Expand Down

0 comments on commit a94f4ea

Please sign in to comment.