From 08d7ebc957b53fc47e93d7a2b5b3717f422f429a Mon Sep 17 00:00:00 2001 From: Fernando Rocha Date: Mon, 22 Jul 2024 23:26:16 -0700 Subject: [PATCH] fixing ports on README files Signed-off-by: Fernando Rocha --- jobs/go/http/README.md | 4 ++-- jobs/go/sdk/README.md | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/jobs/go/http/README.md b/jobs/go/http/README.md index d67823646..1540dac8f 100644 --- a/jobs/go/http/README.md +++ b/jobs/go/http/README.md @@ -136,13 +136,13 @@ You should see the following: 1. On the same terminal window, run the command below to deleted the recently scheduled `C-3PO` job. ```bash -curl -X DELETE http://localhost:5280/v1.0-alpha1/jobs/c-3po -H "Content-Type: application/json" +curl -X DELETE http://localhost:6280/v1.0-alpha1/jobs/c-3po -H "Content-Type: application/json" ``` 2. Run the command below to attempt to retrieve the deleted job: ```bash -curl -X GET http://localhost:5280/v1.0-alpha1/jobs/c-3po -H "Content-Type: application/json" +curl -X GET http://localhost:6280/v1.0-alpha1/jobs/c-3po -H "Content-Type: application/json" ``` Back at the `job-service` app terminal window, the output should be: diff --git a/jobs/go/sdk/README.md b/jobs/go/sdk/README.md index 955c44366..ea38f916f 100644 --- a/jobs/go/sdk/README.md +++ b/jobs/go/sdk/README.md @@ -58,11 +58,11 @@ The terminal console output should look similar to this, where: ```text -== APP - job-service == dapr client initializing for: 127.0.0.1:5281 +== APP - job-service == dapr client initializing for: 127.0.0.1:6281 == APP - job-service == Registered job handler for: R2-D2 == APP - job-service == Registered job handler for: C-3PO == APP - job-service == Registered job handler for: BB-8 -== APP - job-service == Starting server on port: 5200 +== APP - job-service == Starting server on port: 6200 == APP - job-service == Job scheduled: R2-D2 == APP - job-service == Job scheduled: C-3PO == APP - job-service == 2024/07/17 18:09:59 job:{name:"C-3PO" due_time:"10s" data:{value:"{\"droid\":\"C-3PO\",\"Task\":\"Memory Wipe\"}"}} @@ -108,7 +108,7 @@ dapr run --app-id job-service --app-port 6200 --dapr-http-port 6280 --dapr-grpc- The output should be: ```text -== APP == dapr client initializing for: 127.0.0.1:5281 +== APP == dapr client initializing for: 127.0.0.1:6281 == APP == Registered job handler for: R2-D2 == APP == Registered job handler for: C-3PO == APP == Registered job handler for: BB-8