Enable users to easily run samples in Cloud
josh-berry opened this issue · 1 comments
josh-berry commented
Describe the solution you'd like
From Spencer and Maxim:
We should have a defaultConnection() type static method in all the SDKs that uses localhost by default but, if some file path/env vars/etc are provided, will use those to connect to cloud.
Idea being people can run all our samples easily locally, and then make this ~/.config/temporalconnection
file or whatever and boom now it switches to connecting to cloud.
Per-SDK Tickets
- Go - temporalio/sdk-go#1442
- Java - temporalio/sdk-java#2035
- Core - temporalio/sdk-core#717
- TypeScript - temporalio/sdk-typescript#1395
- Python - temporalio/sdk-python#509
- .NET - temporalio/sdk-dotnet#219
- PHP - temporalio/sdk-php#420
Samples Tickets
- Go - temporalio/samples-go#341
- Java - temporalio/samples-java#613
- .NET - temporalio/samples-dotnet#62
- TypeScript - temporalio/samples-typescript#359
- Python - temporalio/samples-python#109
- PHP - temporalio/samples-php#53