File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ timeout_seconds: 30
3333-->
3434
3535``` bash
36- dapr run --app-id=rustapp --dapr-grpc-port 3500 --resources-path ./resources -- cargo run --example client
36+ dapr run --app-id=rustapp --dapr-grpc-port 50001 --resources-path ./resources -- cargo run --example client
3737```
3838
3939<!-- END_STEP -->
Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ timeout_seconds: 30
5353-->
5454
5555``` bash
56- dapr run --app-id=rustapp --resources-path ../components --dapr-grpc-port 3500 -- cargo run --example configuration
56+ dapr run --app-id=rustapp --resources-path ../components --dapr-grpc-port 50001 -- cargo run --example configuration
5757```
5858
5959<!-- END_STEP -->
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ timeout_seconds: 30
4040-->
4141
4242``` bash
43- dapr run --app-id=conversation --resources-path ./config --dapr-grpc-port 3500 -- cargo run --example conversation-alpha1
43+ dapr run --app-id=conversation --resources-path ./config --dapr-grpc-port 50001 -- cargo run --example conversation-alpha1
4444```
4545
4646<!-- END_STEP -->
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ timeout_seconds: 30
4040-->
4141
4242``` bash
43- dapr run --app-id=conversation --resources-path ./config --dapr-grpc-port 3500 -- cargo run --example conversation-alpha2
43+ dapr run --app-id=conversation --resources-path ./config --dapr-grpc-port 50001 -- cargo run --example conversation-alpha2
4444```
4545
4646<!-- END_STEP -->
Original file line number Diff line number Diff line change @@ -45,7 +45,21 @@ timeout_seconds: 5
4545-->
4646``` bash
4747curl -X POST -H " Content-Type: application/json" http://localhost:3500/v1.0/state/statestore -d @./statestore/dataset.json
48- ``````
48+ ```
49+ <!-- END_STEP -->
50+
51+ Stop the temporary sidecar after loading the test data so the query examples
52+ below can use Dapr's standard gRPC port.
53+
54+ <!-- STEP
55+ name: Stop populate sidecar
56+ background: false
57+ sleep: 2
58+ timeout_seconds: 10
59+ -->
60+ ``` bash
61+ dapr stop --app-id demo
62+ ```
4963<!-- END_STEP -->
5064
51651 . To run the example we need to first build the examples using the following command:
@@ -92,7 +106,7 @@ sleep: 15
92106timeout_seconds: 30
93107-->
94108``` bash
95- dapr run --app-id=rustapp --dapr-grpc-port 3501 --resources-path statestore/ -- cargo run --example query-state-1
109+ dapr run --app-id=rustapp --dapr-grpc-port 50001 --resources-path statestore/ -- cargo run --example query-state-1
96110```
97111<!-- END_STEP -->
98112
@@ -126,7 +140,7 @@ sleep: 15
126140timeout_seconds: 30
127141-->
128142``` bash
129- dapr run --app-id=rustapp --dapr-grpc-port 3501 --resources-path statestore/ -- cargo run --example query-state-2
143+ dapr run --app-id=rustapp --dapr-grpc-port 50001 --resources-path statestore/ -- cargo run --example query-state-2
130144```
131145<!-- END_STEP -->
132146
Original file line number Diff line number Diff line change @@ -34,7 +34,7 @@ timeout_seconds: 30
3434-->
3535
3636``` bash
37- dapr run --app-id=rustapp --dapr-grpc-port 3500 --resources-path ./resources/ -- cargo run --example secrets-bulk
37+ dapr run --app-id=rustapp --dapr-grpc-port 50001 --resources-path ./resources/ -- cargo run --example secrets-bulk
3838```
3939
4040<!-- END_STEP -->
You can’t perform that action at this time.
0 commit comments