-
Notifications
You must be signed in to change notification settings - Fork 32
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
Add Cloud API #157
Add Cloud API #157
Conversation
# Delete entire cloud dir | ||
rm -rf cloud |
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.
Doesn't the line above delete this dir?
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 came from my last tests with #155 where I believe it only worked one directory deep, but I can test again.
I am sure, Cloud API will have enums one day. |
``` | ||
|
||
## Rebuild | ||
|
||
Run `make` once to install all plugins and tools (`protoc` and `go` must be installed manually). | ||
|
||
Run `make update-proto` to update submodule and recompile proto files. | ||
Run `make update-proto` to update the `proto/api` submodule and recompile proto files. The `proto/api-cloud` submodule | ||
must be updated manually. |
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.
"manually" because you didn't create a make
target for it or is there another reason?
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.
Yes, I didn't want this to be with that other make target because that is run automatically via GH workflow, and we don't want to pull in this repo automatically because it may break in here (there are not checks in that repo that match this repo like the api
repo has). So updating this submodule is manual, as opposed to a make target auto-run by GH workflow.
mockgen -package operatorservicemock -source operatorservice/v1/service_grpc.pb.go -destination operatorservicemock/v1/service_grpc.pb.mock.go | ||
mockgen -package workflowservicemock -source workflowservice/v1/service_grpc.pb.go -destination workflowservicemock/v1/service_grpc.pb.mock.go | ||
mockgen -package cloudservicemock -source cloud/cloudservice/v1/service_grpc.pb.go -destination cloud/cloudservicemock/v1/service_grpc.pb.mock.go |
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.
😢
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.
? (it was silly to have all these lines of complexity for two lines of mockgen
call)
They have decided that they never want them (I disagree with their decision) |
What changed?
Part of temporalio/features#440. Notes: