Skip to content

Commit

Permalink
Update dapr runtime to 1.0.0-rc.3 (dapr#375)
Browse files Browse the repository at this point in the history
* Update dapr runtime to 1.0.0-rc.3

* Change pub-sub example to have deterministic output

* Add quickstart table version ref for 1.0.0-rc.3
  • Loading branch information
wcs1only authored Feb 2, 2021
1 parent 9138a8e commit 283244a
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 23 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/validate.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
name: Validate ${{ matrix.quickstart }}/README.md on ${{ matrix.os }}
runs-on: ${{ matrix.os }}
env:
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/v1.0.0-rc.3/install
DAPR_CLI_VERSION: 1.0.0-rc.3
DAPR_RUNTIME_VERSION: 1.0.0-rc.2
DAPR_INSTALL_URL: https://raw.githubusercontent.com/dapr/cli/v1.0.0-rc.4/install
DAPR_CLI_VERSION: 1.0.0-rc.4
DAPR_RUNTIME_VERSION: 1.0.0-rc.3
GOVER: 1.15.3
KUBERNETES_VERSION: v1.18.8
KIND_VERSION: v0.9.0
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ Dapr is currently under community development with preview releases. The master

| Dapr Quickstart Version | Dapr Runtime Version |
|:--------------------:|:--------------------:|
| [v1.0.0-rc.3](https://github.com/dapr/quickstarts/tree/v1.0.0-rc.3) | [v1.0.0-rc.3](https://github.com/dapr/dapr/tree/v1.0.0-rc.3) |
| [v1.0.0-rc.2](https://github.com/dapr/quickstarts/tree/v1.0.0-rc.2) | [v1.0.0-rc.2](https://github.com/dapr/dapr/tree/v1.0.0-rc.2) |
| [v1.0.0-rc.1](https://github.com/dapr/quickstarts/tree/v1.0.0-rc.1) | [v1.0.0-rc.1](https://github.com/dapr/dapr/tree/v1.0.0-rc.1) |
| [v0.11.0](https://github.com/dapr/quickstarts/tree/v0.11.0) | [v0.11.3](https://github.com/dapr/dapr/tree/v0.11.3) |
Expand Down
20 changes: 2 additions & 18 deletions pub-sub/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,24 +70,8 @@ npm install
name: Run node subscriber
expected_stdout_lines:
- "✅ You're up and running! Both Dapr and your app logs will appear here."
- "== APP == A: {"
- "== APP == source: 'react-form',"
- "== APP == type: 'com.dapr.event.sent',"
- "== APP == specversion: '1.0',"
- "== APP == datacontenttype: 'application/json',"
- "== APP == data: { message: 'This is a test' },"
- "== APP == topic: 'A',"
- "== APP == pubsubname: 'pubsub'"
- "== APP == }"
- "== APP == B: {"
- "== APP == source: 'react-form',"
- "== APP == type: 'com.dapr.event.sent',"
- "== APP == specversion: '1.0',"
- "== APP == datacontenttype: 'application/json',"
- "== APP == data: { messageType: 'B', message: 'Message on B' },"
- "== APP == topic: 'B',"
- "== APP == pubsubname: 'pubsub'"
- "== APP == }"
- "== APP == A: This is a test"
- "== APP == B: Message on B"
- "✅ Exited Dapr successfully"
- "✅ Exited App successfully"
expected_stderr_lines:
Expand Down
4 changes: 2 additions & 2 deletions pub-sub/node-subscriber/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@ app.get('/dapr/subscribe', (_req, res) => {
});

app.post('/A', (req, res) => {
console.log("A: ", req.body);
console.log("A: ", req.body.data.message);
res.sendStatus(200);
});

app.post('/B', (req, res) => {
console.log("B: ", req.body);
console.log("B: ", req.body.data.message);
res.sendStatus(200);
});

Expand Down

0 comments on commit 283244a

Please sign in to comment.