-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Demonstrate interoperability with Coinbase Ruby SDK #23
base: main
Are you sure you want to change the base?
Conversation
gem 'temporalio', path: '../temporal-sdk-ruby/temporalio' | ||
|
||
# Additional dependencies for certain samples | ||
gem 'google-protobuf', '~> 3.25' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fix this invalid path-specific dependency when temporalio/sdk-ruby#213 released
|
||
# Additional dependencies for certain samples | ||
gem 'google-protobuf', '~> 3.25' | ||
gem 'temporal-ruby', path: '../coinbase-temporal-ruby' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Point to GitHub repo when coinbase/temporal-ruby#335 merged (or consider pointing to fork temporarily)
@@ -0,0 +1,24 @@ | |||
# Coinbase Ruby | |||
|
|||
This sample shows a workflow, activity, and client from [Coinbase Ruby SDK](https://github.com/coinbase/temporal-ruby) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This sample shows a workflow, activity, and client from Coinbase Ruby SDK able to interoperate with a workflow, activity, and client from Temporal Ruby SDK
Maybe that's just me, but the "… able to …" in the middle reads badly.
|
||
bundle exec ruby worker.rb | ||
|
||
Finally in another terminal, use the Ruby client to the workflow from this directory: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Finally in another terminal, use the Ruby client to the workflow from this directory: | |
Finally in another terminal, use the Ruby client to run the workflow from this directory: |
What was changed
Added sample and test to show how Coinbase SDK activities, workflows, and clients interoperate with the Temporal SDK equivalents. Requires the following two PRs from other projects before it will pass CI:
But it can still be reviewed even without CI passing