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

Tour of Restate: Add Java SDK examples #202

Merged
merged 33 commits into from
Dec 13, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
33 commits
Select commit Hold shift + click to select a range
5125e31
Fix typos
gvdongen Oct 23, 2023
1ed09c7
init Tour Java
gvdongen Oct 25, 2023
d8efd20
Tour of Restate Java second part
gvdongen Oct 26, 2023
ac771e7
Prerequisites
gvdongen Oct 26, 2023
bff6068
Fix run command
gvdongen Oct 26, 2023
ce1a858
Merge remote-tracking branch 'origin/main' into tour_java
pcholakov Dec 6, 2023
ca158c1
Keep up with latest Java SDK changes
pcholakov Dec 6, 2023
cd1b315
Add yarn configuration
pcholakov Dec 6, 2023
0c6d990
FIXME: Temp workaround for build breaking
pcholakov Dec 6, 2023
11fd9e2
Update more sections with Java examples and logs
pcholakov Dec 6, 2023
4f1a4ec
Merge remote-tracking branch 'origin/main' into tour_java
pcholakov Dec 6, 2023
01cad51
Fix rendering issue, misc text updates
pcholakov Dec 7, 2023
eef9ed6
Updated parts 1 + 2
pcholakov Dec 8, 2023
c4d3fe2
Updated parts 3 + 4
pcholakov Dec 8, 2023
8434987
Restore yarn.lock from main branch to use with yarn v1.22.21
pcholakov Dec 8, 2023
f7dc105
Update Node to v18 LTS explicitly
pcholakov Dec 11, 2023
d3334f0
Test re-enabling Java syntax highlighting
pcholakov Dec 11, 2023
2f2471f
Update docs/tour.mdx
gvdongen Dec 11, 2023
2fd3c05
Update docs/tour.mdx
gvdongen Dec 11, 2023
90256b8
Fix old API references and descriptions
gvdongen Dec 11, 2023
8a6fc8c
Update pre-release flow
gvdongen Dec 11, 2023
cf21409
Fixing code samples and highlighting
gvdongen Dec 12, 2023
22ed84e
Fixing bugs in tour java and adding state introspection
gvdongen Dec 12, 2023
780c576
Add link to error handling docs
gvdongen Dec 12, 2023
3b4981c
Add link to docs as next step
gvdongen Dec 12, 2023
3afd8d5
Update docs/tour.mdx
gvdongen Dec 12, 2023
ea9ee2c
Update docs/tour.mdx
gvdongen Dec 12, 2023
f22b796
Update docs/tour.mdx
gvdongen Dec 12, 2023
5ca2305
Fix pre-release workflow commit message
gvdongen Dec 12, 2023
dee0884
Fix bug between prism and redocusaurus
gvdongen Dec 12, 2023
ff29ef1
Revert node engine version upgrade to avoid dependency incompatibilities
gvdongen Dec 12, 2023
94a80b6
Tour of Java and Typescript are versioned together
gvdongen Dec 13, 2023
f6c81dc
Merge branch 'main' into tour_java
gvdongen Dec 13, 2023
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
11 changes: 2 additions & 9 deletions .github/workflows/pre-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
required: false
type: string
tourVersion:
description: "tour version (without prepending v)."
description: "Typescript+Java tour version (without prepending v)."
required: false
type: string

Expand Down Expand Up @@ -79,14 +79,7 @@ jobs:
field: TYPESCRIPT_SDK_VERSION
value: ${{ inputs.sdkTypescriptVersion }}

- name: Update restate.config.json with new Java SDK version
uses: jossef/[email protected]
if: ${{ inputs.sdkJavaVersion != '' }}
with:
file: restate.config.json
field: JAVA_SDK_VERSION
value: ${{ inputs.sdkJavaVersion }}
- name: Update restate.config.json with new tour version
- name: Update restate.config.json with new tour version (Typescript + Java)
uses: jossef/[email protected]
if: ${{ inputs.tourVersion != '' }}
with:
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,4 @@ yarn-debug.log*
yarn-error.log*

.idea
.yarn
1 change: 1 addition & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
nodeLinker: node-modules
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,4 @@ The config file `restate.config.json` contains versions of various Restate artif

* Typescript SDK: `TYPESCRIPT_SDK_VERSION`
* Runtime: `RESTATE_VERSION`
* Tour: `TOUR_VERSION`
* Tour: `TOUR_VERSION` (This counts for the Typescript and Java Tour).
Loading