Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue#121 #129

Merged
merged 3 commits into from
Aug 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion docs/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ First time here? Get started:
</div>
<div id="container">
<div id="overviewButtonDiv"><a id="quickstartButton" class="overviewButton btn btn-primary btn-lg px-4 mb-2" href="/quickstart" role="button">>> Quickstart</a></div>
<div id="overviewButtonDiv"><a id="tourButton" class="overviewButton btn btn-primary btn-lg px-4 mb-2" href="/tour/typescript-handler" role="button">>> Tour of Restate</a></div>
<div id="overviewButtonDiv"><a id="tourButton" class="overviewButton btn btn-primary btn-lg px-4 mb-2" href="/tour" role="button">>> Tour of Restate</a></div>
<div id="overviewButtonDiv"><a id="examplesButton" class="overviewButton btn btn-primary btn-lg px-4 mb-2" href="/examples" role="button">>> Examples</a></div>
</div>

Expand Down
2 changes: 1 addition & 1 deletion docs/quickstart.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -89,5 +89,5 @@ That's it! You managed to run your first Restate service.
## Next steps

Possible next steps:
- Discover the key features of Restate in the [Tour of Restate](/tour/typescript-handler)
- Discover the key features of Restate in the [Tour of Restate](/tour)
- [Run the examples](/examples)
38 changes: 19 additions & 19 deletions docs/tour/typescript-handler.mdx → docs/tour.mdx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
---
id: typescript-handler
id: tour
sidebar_position: 1
title: "Typescript handler API"
title: "Tour of Restate"
description: "Discover Restate using the Typescript handler API."
---

Expand Down Expand Up @@ -43,9 +43,9 @@ This guide was written for:
## 🚀 Let's get started!

### Setting up the tutorial
Clone the GitHub repository of the [tutorial](https://github.com/restatedev/tour-of-restate-typescript-handler/tree/VAR::TOUR_HANDLER_VERSION):
Clone the GitHub repository of the [tutorial](https://github.com/restatedev/tour-of-restate-typescript):
```shell
git clone --depth 1 --branch VAR::TOUR_VERSION [email protected]:restatedev/tour-of-restate-typescript-handler.git
git clone --depth 1 --branch VAR::TOUR_VERSION [email protected]:restatedev/tour-of-restate-typescript.git
```

This GitHub repository contains the basic skeleton of the NodeJS/Typescript services that we develop in this tutorial.
Expand Down Expand Up @@ -1235,16 +1235,16 @@ Payment call failed for idempotency key adab6b35-0536-4348-8912-35f8cd474cf8 and
// highlight-start
[restate] [2023-08-16T08:24:28.509Z] DEBUG: Error while executing side effect 'side-effect': Error - Payment call failed
[restate] [2023-08-16T08:24:28.519Z] DEBUG: Error: Payment call failed
at PaymentClient.failingCall (/Users/till/restate/git/tour-of-restate-typescript-handler/src/aux/payment_client.ts:37:13)
at doPayment (/Users/till/restate/git/tour-of-restate-typescript-handler/src/part4/checkout.ts:29:47)
at PaymentClient.failingCall (/Users/till/restate/git/tour-of-restate-typescript/src/aux/payment_client.ts:37:13)
at doPayment (/Users/till/restate/git/tour-of-restate-typescript/src/part4/checkout.ts:29:47)
at AsyncLocalStorage.run (node:async_hooks:346:14)
at executeAndLogSideEffect (/Users/till/restate/git/tour-of-restate-typescript-handler/node_modules/@restatedev/restate-sdk/src/restate_context_impl.ts:234:69)
at executeWithRetries (/Users/till/restate/git/tour-of-restate-typescript-handler/node_modules/@restatedev/restate-sdk/src/restate_context_impl.ts:428:20)
at RestateGrpcContextImpl.sideEffect (/Users/till/restate/git/tour-of-restate-typescript-handler/node_modules/@restatedev/restate-sdk/src/restate_context_impl.ts:300:12)
at RpcContextImpl.sideEffect (/Users/till/restate/git/tour-of-restate-typescript-handler/node_modules/@restatedev/restate-sdk/src/restate_context_impl.ts:552:21)
at checkout (/Users/till/restate/git/tour-of-restate-typescript-handler/src/part4/checkout.ts:30:29)
at executeAndLogSideEffect (/Users/till/restate/git/tour-of-restate-typescript/node_modules/@restatedev/restate-sdk/src/restate_context_impl.ts:234:69)
at executeWithRetries (/Users/till/restate/git/tour-of-restate-typescript/node_modules/@restatedev/restate-sdk/src/restate_context_impl.ts:428:20)
at RestateGrpcContextImpl.sideEffect (/Users/till/restate/git/tour-of-restate-typescript/node_modules/@restatedev/restate-sdk/src/restate_context_impl.ts:300:12)
at RpcContextImpl.sideEffect (/Users/till/restate/git/tour-of-restate-typescript/node_modules/@restatedev/restate-sdk/src/restate_context_impl.ts:552:21)
at checkout (/Users/till/restate/git/tour-of-restate-typescript/src/part4/checkout.ts:30:29)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at dispatchUnkeyedRpcHandler (/Users/till/restate/git/tour-of-restate-typescript-handler/node_modules/@restatedev/restate-sdk/src/server/base_restate_server.ts:366:18)
at dispatchUnkeyedRpcHandler (/Users/till/restate/git/tour-of-restate-typescript/node_modules/@restatedev/restate-sdk/src/server/base_restate_server.ts:366:18)
[restate] [2023-08-16T08:24:28.520Z] DEBUG: Retrying in 10 ms
[restate] [2023-08-16T08:24:28.520Z] DEBUG: [.Checkout-AYn9cjhZeoalzvUlSI/rUA==-0189fd7238597682975666f3eb0833cb] [checkout] : Adding message to journal and sending to Restate ; SleepEntryMessage
// highlight-end
Expand All @@ -1258,15 +1258,15 @@ Payment call failed for idempotency key adab6b35-0536-4348-8912-35f8cd474cf8 and
// highlight-start
[restate] [2023-08-16T08:24:28.532Z] DEBUG: Error while executing side effect 'side-effect': Error - Payment call failed
[restate] [2023-08-16T08:24:28.534Z] DEBUG: Error: Payment call failed
at PaymentClient.failingCall (/Users/till/restate/git/tour-of-restate-typescript-handler/src/aux/payment_client.ts:37:13)
at doPayment (/Users/till/restate/git/tour-of-restate-typescript-handler/src/part4/checkout.ts:29:47)
at PaymentClient.failingCall (/Users/till/restate/git/tour-of-restate-typescript/src/aux/payment_client.ts:37:13)
at doPayment (/Users/till/restate/git/tour-of-restate-typescript/src/part4/checkout.ts:29:47)
at AsyncLocalStorage.run (node:async_hooks:346:14)
at executeAndLogSideEffect (/Users/till/restate/git/tour-of-restate-typescript-handler/node_modules/@restatedev/restate-sdk/src/restate_context_impl.ts:234:69)
at executeWithRetries (/Users/till/restate/git/tour-of-restate-typescript-handler/node_modules/@restatedev/restate-sdk/src/restate_context_impl.ts:428:20)
at executeAndLogSideEffect (/Users/till/restate/git/tour-of-restate-typescript/node_modules/@restatedev/restate-sdk/src/restate_context_impl.ts:234:69)
at executeWithRetries (/Users/till/restate/git/tour-of-restate-typescript/node_modules/@restatedev/restate-sdk/src/restate_context_impl.ts:428:20)
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at checkout (/Users/till/restate/git/tour-of-restate-typescript-handler/src/part4/checkout.ts:30:19)
at dispatchUnkeyedRpcHandler (/Users/till/restate/git/tour-of-restate-typescript-handler/node_modules/@restatedev/restate-sdk/src/server/base_restate_server.ts:366:18)
at HostedGrpcServiceMethod.invoke (/Users/till/restate/git/tour-of-restate-typescript-handler/node_modules/@restatedev/restate-sdk/src/types/grpc.ts:49:23)
at checkout (/Users/till/restate/git/tour-of-restate-typescript/src/part4/checkout.ts:30:19)
at dispatchUnkeyedRpcHandler (/Users/till/restate/git/tour-of-restate-typescript/node_modules/@restatedev/restate-sdk/src/server/base_restate_server.ts:366:18)
at HostedGrpcServiceMethod.invoke (/Users/till/restate/git/tour-of-restate-typescript/node_modules/@restatedev/restate-sdk/src/types/grpc.ts:49:23)
[restate] [2023-08-16T08:24:28.534Z] DEBUG: Retrying in 20 ms
[restate] [2023-08-16T08:24:28.534Z] DEBUG: [.Checkout-AYn9cjhZeoalzvUlSI/rUA==-0189fd7238597682975666f3eb0833cb] [checkout] : Adding message to journal and sending to Restate ; SleepEntryMessage
// highlight-end
Expand Down
7 changes: 0 additions & 7 deletions docs/tour/_category_.json

This file was deleted.

Loading