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

Cloud CLI integration #1519

Merged
merged 25 commits into from
May 21, 2024
Merged

Cloud CLI integration #1519

merged 25 commits into from
May 21, 2024

Conversation

jackkleeman
Copy link
Contributor

  • New config file mechanism inc restate config subcommand
  • restate cloud login
  • restate cloud environment configure

@jackkleeman jackkleeman force-pushed the cloud-cli branch 2 times, most recently from 17b6ede to 0ecf9b3 Compare May 16, 2024 11:52
@jackkleeman jackkleeman requested a review from AhmedSoliman May 16, 2024 11:52
Copy link
Contributor

@AhmedSoliman AhmedSoliman left a comment

Choose a reason for hiding this comment

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

Took a quick look, no issues from my side. +1 to merge.

cli/Cargo.toml Outdated Show resolved Hide resolved
cli/Cargo.toml Outdated Show resolved Hide resolved
Comment on lines +37 to +42
pub struct Envelope<T> {
inner: reqwest::Response,

_phantom: std::marker::PhantomData<T>,
}

Copy link
Contributor

Choose a reason for hiding this comment

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

Is it intentional to copy the code from metas_client or is it possible to reuse existing implementation?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

im on the fence on this one. we now have 3 pretty similar client structs, but there are some subtle differences (eg whether we expect error responses to be valid json) and we might expect more divergence. i can unify them if you prefer

cli/src/commands/cloud/environments/configure.rs Outdated Show resolved Hide resolved
@jackkleeman jackkleeman merged commit 85f4109 into restatedev:main May 21, 2024
6 checks passed
@jackkleeman jackkleeman deleted the cloud-cli branch May 21, 2024 09:35
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.

2 participants