From 7f86741577c3e8584da47c3eca70ead28740cfcb Mon Sep 17 00:00:00 2001 From: "vpatil16@ext.uber.com" Date: Tue, 14 Oct 2025 13:58:41 -0700 Subject: [PATCH 1/3] fix: update readme --- new_samples/client_samples/helloworld_tls/README.md | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/new_samples/client_samples/helloworld_tls/README.md b/new_samples/client_samples/helloworld_tls/README.md index cf835f5..4c52b08 100644 --- a/new_samples/client_samples/helloworld_tls/README.md +++ b/new_samples/client_samples/helloworld_tls/README.md @@ -27,16 +27,23 @@ https://github.com/cadence-workflow/cadence/blob/e1267de12f8bc670fc84fab456d3495 ### Step 1: Download Certificates Download certificates from config/credentials of cadence server and place them in below folder +Or follow below commands ```bash -new_samples/client_samples/helloworld_tls/credentials +mkdir -p new_samples/client_samples/helloworld_tls/credentials + +$ curl -s -O https://raw.githubusercontent.com/cadence-workflow/cadence/master/config/credentials/client.crt +$ curl -s -O https://raw.githubusercontent.com/cadence-workflow/cadence/master/config/credentials/client.key +$ curl -s -O https://raw.githubusercontent.com/cadence-workflow/cadence/master/config/credentials/keytest.crt +$ curl -s -O https://raw.githubusercontent.com/cadence-workflow/cadence/master/config/credentials/keytest.pub + ``` ### Step 2: Register the Domain Before running workflows, you must register the "default" domain: ```bash -cd new_samples/client_samples/helloworld_tls +cd .. go run register_domain.go ``` @@ -53,7 +60,6 @@ Domain already exists {"domain": "default"} ### Step 3: Run the Sample In another terminal: ```bash -cd new_samples/client_samples/helloworld_tls go run hello_world_tls.go ``` From be08a593267173defd9883306db2e2133eabab4c Mon Sep 17 00:00:00 2001 From: "vpatil16@ext.uber.com" Date: Tue, 14 Oct 2025 13:59:00 -0700 Subject: [PATCH 2/3] fix: update readme --- new_samples/client_samples/helloworld_tls/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/new_samples/client_samples/helloworld_tls/README.md b/new_samples/client_samples/helloworld_tls/README.md index 4c52b08..0db1737 100644 --- a/new_samples/client_samples/helloworld_tls/README.md +++ b/new_samples/client_samples/helloworld_tls/README.md @@ -27,7 +27,7 @@ https://github.com/cadence-workflow/cadence/blob/e1267de12f8bc670fc84fab456d3495 ### Step 1: Download Certificates Download certificates from config/credentials of cadence server and place them in below folder -Or follow below commands +Or follow below steps ```bash mkdir -p new_samples/client_samples/helloworld_tls/credentials From 6dfbe235d8c4f2e2dec8908597044c5482165a7d Mon Sep 17 00:00:00 2001 From: "vpatil16@ext.uber.com" Date: Tue, 14 Oct 2025 15:55:14 -0700 Subject: [PATCH 3/3] fix: update readme --- new_samples/client_samples/helloworld_tls/README.md | 1 - 1 file changed, 1 deletion(-) diff --git a/new_samples/client_samples/helloworld_tls/README.md b/new_samples/client_samples/helloworld_tls/README.md index 0db1737..defe99b 100644 --- a/new_samples/client_samples/helloworld_tls/README.md +++ b/new_samples/client_samples/helloworld_tls/README.md @@ -35,7 +35,6 @@ mkdir -p new_samples/client_samples/helloworld_tls/credentials $ curl -s -O https://raw.githubusercontent.com/cadence-workflow/cadence/master/config/credentials/client.crt $ curl -s -O https://raw.githubusercontent.com/cadence-workflow/cadence/master/config/credentials/client.key $ curl -s -O https://raw.githubusercontent.com/cadence-workflow/cadence/master/config/credentials/keytest.crt -$ curl -s -O https://raw.githubusercontent.com/cadence-workflow/cadence/master/config/credentials/keytest.pub ```