Skip to content
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

Experimental cloud operations client #1426

Closed
wants to merge 6 commits into from

Conversation

cretz
Copy link
Member

@cretz cretz commented Mar 22, 2024

What was changed

  • Added client.CloudOperationsClient
    • Only one method for now, CloudService(), but has room for high-level wrappers if we ever want them
  • Added client.DialCloudOperationsClient() and client.CloudOperationsClientOptions
  • Added integration test as just a smoke test to confirm cloud client works

(was blocked by temporalio/api#378, but now updated)

@cretz cretz requested a review from anekkanti March 22, 2024 15:47
@cretz cretz requested a review from a team as a code owner March 22, 2024 15:47
go.mod Outdated Show resolved Hide resolved
@Quinn-With-Two-Ns
Copy link
Contributor

This PR superseded this issue #1172 correct?

@cretz
Copy link
Member Author

cretz commented Mar 22, 2024

Yes, closing that one now.

Copy link
Contributor

@Quinn-With-Two-Ns Quinn-With-Two-Ns left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issue on the code side, assuming we as an org want to do this.

# Conflicts:
#	contrib/datadog/go.mod
#	contrib/datadog/go.sum
#	contrib/opentelemetry/go.mod
#	contrib/opentelemetry/go.sum
#	contrib/opentracing/go.mod
#	contrib/opentracing/go.sum
#	contrib/tally/go.mod
#	contrib/tally/go.sum
#	go.mod
#	go.sum
#	test/go.mod
#	test/go.sum
@cretz cretz changed the title Cloud client Experimental cloud operations client Apr 23, 2024
@@ -2153,7 +2153,7 @@ func Test_NonDeterministicCheck(t *testing.T) {
delete(commandTypes, cmd)
}

require.Equal(t, 15, len(commandTypes), "If you see this error, you are adding new command type. "+
require.Equal(t, 17, len(commandTypes), "If you see this error, you are adding new command type. "+
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note, we expect this will be built by @bergundy and team as they build out Nexus support, this is just needed to pass CI

go.mod Outdated Show resolved Hide resolved
@cretz
Copy link
Member Author

cretz commented May 10, 2024

Updated API version. @anekkanti - can you review?

@Quinn-With-Two-Ns
Copy link
Contributor

I think we also should make samples for each SDK showing how to use the cloud API

@cretz
Copy link
Member Author

cretz commented May 10, 2024

CI can't do the cloud test from forks because it requires secrets. I am going to close this and push to a local branch so the cloud test will run.

@cretz cretz closed this May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants