-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
cherry-picked the commit from master to v2 in customizingyourgateway.md #1373
Conversation
* template query params bug * add test case for invoke in process gateway * fix bazel error
* set rpcMethodName in request.Context * add test to check for rpcName pattern * change text in test * move rpcMethodName to annotateContext * remove rpcMethod from mux_test * remove rpcMethodName from handler * move rpcMethodKey to context
* standalone feature * replace trick * change default to false * go.mod newline at end of file * * generate examples * refactoring * add notes to readme.md * added BUILD.bazel * rebase to v2 * Update README.md Co-Authored-By: Johan Brandhorst <johan.brandhorst@gmail.com> * cut number of generated examples * tests for standalone echo * add missed file * magic * added tests: GoType, LoadWithStandalone, moved setting package alias from generator to registry Co-authored-by: Johan Brandhorst <johan.brandhorst@gmail.com>
* runtime/errors: remove 'error' field, use gRPC status instead Signed-off-by: Stephan Renatus <srenatus@chef.io> * internal/errors.proto: regenerate Signed-off-by: Stephan Renatus <srenatus@chef.io> * protoc-gen-swagger: use google.rpc.Status instead of .grpc.gateway.runtime.Error Signed-off-by: Stephan Renatus <srenatus@chef.io> * protoc-gen-swagger: rename AddStreamError -> AddErrorDefs, add to tests There are probably better ways to write this in than calling `AddErrorDefs` everywhere. Signed-off-by: Stephan Renatus <srenatus@chef.io> * run "bazel run :gazelle" Signed-off-by: Stephan Renatus <srenatus@chef.io> * rebuild all the things Note: I've also run find examples -name "*runtime_error*" -delete before. It seems like those are not captured by any of the *clean make targets. Signed-off-by: Stephan Renatus <srenatus@chef.io> * runtime/errors: fix comment, use status.Convert Signed-off-by: Stephan Renatus <srenatus@chef.io> * integration_test: port error status test to proto_error_test.go Signed-off-by: Stephan Renatus <srenatus@chef.io>
This reduces the bus factor by moving control to the repo and away from my personal docker hub account.
As previously attempted on v1, so it shall be on v2. We want to minimize the public API surface to more easily allow changes that won't break users.
ADOPTERS.md is modeled after the OPA ADOPTERS.md: https://github.com/open-policy-agent/opa/blob/master/ADOPTERS.md
The token belongs to a user with no membership anywhere, and it is limited to only reading github packages.
Replace with internal copy of CamelCase
… parameters (#1267) * Added function nestedQueryParams with map[string] parameter for keeping track of and detecting circular references. Added test TestMessageToQueryParametersRecursive for testing gracefully handling of circular references between messages. See issue #1167 * Code-review change requests accepted * More missed circle references changed to cycle Fixes #1167
* httpbody in stream * httpbody contenttype in stream response * compare content type in test * Update examples/internal/integration/integration_test.go Co-authored-by: Johan Brandhorst <johan.brandhorst@gmail.com> * httpbody readme update Co-authored-by: Johan Brandhorst <johan.brandhorst@gmail.com>
Replace the use of the descriptorpb when we can use reflection instead. Also add more thorough test and support repeated fields.
* docs: add example customizing unmarshal options Signed-off-by: Stephan Renatus <srenatus@chef.io> * Update docs/_docs/customizingyourgateway.md Signed-off-by: Stephan Renatus <srenatus@chef.io> Co-authored-by: Johan Brandhorst <johan.brandhorst@gmail.com> Co-authored-by: Johan Brandhorst <johan.brandhorst@gmail.com>
This is going to mean every renovate update needs to be manually resolved but so be it
We have to keep using the old ptypes, descriptor and plugin packages since rules_go forces us to use them. Eventually rules_go should move to the new API and we can purge the use of the golang/protobuf package altogether.
All (the pull request submitter and all commit authors) CLAs are signed, but one or more commits were authored or co-authored by someone other than the pull request submitter. We need to confirm that all authors are ok with their commits being contributed to this project. Please have them confirm that by leaving a comment that contains only Note to project maintainer: There may be cases where the author cannot leave a comment, or the comment is not properly detected as consent. In those cases, you can manually confirm consent of the commit author(s), and set the ℹ️ Googlers: Go here for more info. |
References to other Issues or PRs
#1359
Have you read the Contributing Guidelines?
Yes
Brief description of what is fixed or changed
cherry-picked the commit from master to v2 in
customizingyourgateway.md
Other comments