diff --git a/README.md b/README.md index d8d8984c..05383ff2 100644 --- a/README.md +++ b/README.md @@ -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. diff --git a/end-to-end-applications/typescript/ai-image-workflows/README.md b/end-to-end-applications/typescript/ai-image-workflows/README.md index 01b1604a..6d0027e8 100644 --- a/end-to-end-applications/typescript/ai-image-workflows/README.md +++ b/end-to-end-applications/typescript/ai-image-workflows/README.md @@ -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. diff --git a/patterns-use-cases/sagas/sagas-java/src/main/proto/compensations.proto b/patterns-use-cases/sagas/sagas-java/src/main/proto/compensations.proto index 15f40369..34e30f1b 100644 --- a/patterns-use-cases/sagas/sagas-java/src/main/proto/compensations.proto +++ b/patterns-use-cases/sagas/sagas-java/src/main/proto/compensations.proto @@ -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); @@ -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); @@ -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); @@ -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); diff --git a/templates/kotlin-gradle-lambda-cdk/lambda/src/main/proto/greeter.proto b/templates/kotlin-gradle-lambda-cdk/lambda/src/main/proto/greeter.proto index 2fd478b1..b33797d7 100644 --- a/templates/kotlin-gradle-lambda-cdk/lambda/src/main/proto/greeter.proto +++ b/templates/kotlin-gradle-lambda-cdk/lambda/src/main/proto/greeter.proto @@ -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); diff --git a/templates/kotlin-gradle/src/main/proto/greeter.proto b/templates/kotlin-gradle/src/main/proto/greeter.proto index 2fd478b1..b33797d7 100644 --- a/templates/kotlin-gradle/src/main/proto/greeter.proto +++ b/templates/kotlin-gradle/src/main/proto/greeter.proto @@ -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); diff --git a/tutorials/tour-of-restate-java/README.md b/tutorials/tour-of-restate-java/README.md index fd800b5e..e5c45a08 100644 --- a/tutorials/tour-of-restate-java/README.md +++ b/tutorials/tour-of-restate-java/README.md @@ -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: diff --git a/tutorials/tour-of-restate-typescript/README.md b/tutorials/tour-of-restate-typescript/README.md index 9288acdd..dcd02936 100644 --- a/tutorials/tour-of-restate-typescript/README.md +++ b/tutorials/tour-of-restate-typescript/README.md @@ -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: