Skip to content
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 examples/src/client/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ timeout_seconds: 30
-->

```bash
dapr run --app-id=rustapp --dapr-grpc-port 3500 --resources-path ./resources -- cargo run --example client
dapr run --app-id=rustapp --dapr-grpc-port 50001 --resources-path ./resources -- cargo run --example client
```

<!-- END_STEP -->
Expand Down
2 changes: 1 addition & 1 deletion examples/src/configuration/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ timeout_seconds: 30
-->

```bash
dapr run --app-id=rustapp --resources-path ../components --dapr-grpc-port 3500 -- cargo run --example configuration
dapr run --app-id=rustapp --resources-path ../components --dapr-grpc-port 50001 -- cargo run --example configuration
```

<!-- END_STEP -->
Expand Down
2 changes: 1 addition & 1 deletion examples/src/conversation-alpha1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ timeout_seconds: 30
-->

```bash
dapr run --app-id=conversation --resources-path ./config --dapr-grpc-port 3500 -- cargo run --example conversation-alpha1
dapr run --app-id=conversation --resources-path ./config --dapr-grpc-port 50001 -- cargo run --example conversation-alpha1
```

<!-- END_STEP -->
Expand Down
2 changes: 1 addition & 1 deletion examples/src/conversation-alpha2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ timeout_seconds: 30
-->

```bash
dapr run --app-id=conversation --resources-path ./config --dapr-grpc-port 3500 -- cargo run --example conversation-alpha2
dapr run --app-id=conversation --resources-path ./config --dapr-grpc-port 50001 -- cargo run --example conversation-alpha2
```

<!-- END_STEP -->
Expand Down
20 changes: 17 additions & 3 deletions examples/src/query_state/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,21 @@ timeout_seconds: 5
-->
```bash
curl -X POST -H "Content-Type: application/json" http://localhost:3500/v1.0/state/statestore -d @./statestore/dataset.json
``````
```
<!-- END_STEP -->

Stop the temporary sidecar after loading the test data so the query examples
below can use Dapr's standard gRPC port.

<!-- STEP
name: Stop populate sidecar
background: false
sleep: 2
timeout_seconds: 10
-->
```bash
dapr stop --app-id demo
```
<!-- END_STEP -->

1. To run the example we need to first build the examples using the following command:
Expand Down Expand Up @@ -92,7 +106,7 @@ sleep: 15
timeout_seconds: 30
-->
```bash
dapr run --app-id=rustapp --dapr-grpc-port 3501 --resources-path statestore/ -- cargo run --example query-state-1
dapr run --app-id=rustapp --dapr-grpc-port 50001 --resources-path statestore/ -- cargo run --example query-state-1
```
<!-- END_STEP -->

Expand Down Expand Up @@ -126,7 +140,7 @@ sleep: 15
timeout_seconds: 30
-->
```bash
dapr run --app-id=rustapp --dapr-grpc-port 3501 --resources-path statestore/ -- cargo run --example query-state-2
dapr run --app-id=rustapp --dapr-grpc-port 50001 --resources-path statestore/ -- cargo run --example query-state-2
```
<!-- END_STEP -->

Expand Down
2 changes: 1 addition & 1 deletion examples/src/secrets-bulk/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ timeout_seconds: 30
-->

```bash
dapr run --app-id=rustapp --dapr-grpc-port 3500 --resources-path ./resources/ -- cargo run --example secrets-bulk
dapr run --app-id=rustapp --dapr-grpc-port 50001 --resources-path ./resources/ -- cargo run --example secrets-bulk
```

<!-- END_STEP -->
Expand Down
Loading