Skip to content

Commit

Permalink
Adds Counter to SDK alpha.proto (#3002)
Browse files Browse the repository at this point in the history
* Adds Counter proto message and rpc methods to SDK alpha.proto as part of
feature CountsAndLists.

Formats Counter message and rpc methods per Google AIP https://google.aip.dev/general guidance.
Stubs out counter methods in the SDK server and alpha_test.
Implements the Counter gRPC get and update methods in the LocalSDKServer.

* Adds Google API proto files for gRPC standard methods

* Autogenerated files for Go SDK and adding fmutils

* Updates per reviewer comments
  • Loading branch information
igooch committed Mar 22, 2023
1 parent dc592e9 commit 5ddbe60
Show file tree
Hide file tree
Showing 35 changed files with 4,607 additions and 202 deletions.
2 changes: 1 addition & 1 deletion build/build-sdk-images/node/gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,4 @@ header ./sdks/nodejs/lib/alpha/alpha_grpc_pb.js
header ./sdks/nodejs/lib/alpha/google/api/annotations_pb.js
header ./sdks/nodejs/lib/alpha/google/api/http_pb.js
header ./sdks/nodejs/lib/alpha/protoc-gen-openapiv2/options/annotations_pb.js
header ./sdks/nodejs/lib/alpha/protoc-gen-openapiv2/options/openapiv2_pb.js
header ./sdks/nodejs/lib/alpha/protoc-gen-openapiv2/options/openapiv2_pb.js
3 changes: 2 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@ require (
github.com/ahmetb/gen-crd-api-reference-docs v0.3.0
github.com/fsnotify/fsnotify v1.4.9
github.com/go-openapi/spec v0.19.5
github.com/google/go-cmp v0.5.9
github.com/gorilla/websocket v1.4.2
github.com/grpc-ecosystem/grpc-gateway/v2 v2.15.2
github.com/hashicorp/golang-lru v0.5.1
github.com/heptiolabs/healthcheck v0.0.0-20171201210846-da5fdee475fb
github.com/joonix/log v0.0.0-20180502111528-d2d3f2f4a806
github.com/mattbaird/jsonpatch v0.0.0-20171005235357-81af80346b1a
github.com/mennanov/fmutils v0.2.0
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822
github.com/pkg/errors v0.9.1
github.com/prometheus/client_golang v1.14.0
Expand Down Expand Up @@ -66,7 +68,6 @@ require (
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.2 // indirect
github.com/google/gnostic v0.5.7-v3refs // indirect
github.com/google/go-cmp v0.5.9 // indirect
github.com/google/gofuzz v1.1.0 // indirect
github.com/google/uuid v1.3.0 // indirect
github.com/googleapis/enterprise-certificate-proxy v0.2.3 // indirect
Expand Down
2 changes: 2 additions & 0 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -313,6 +313,8 @@ github.com/mattn/go-isatty v0.0.3/go.mod h1:M+lRXTBqGeGNdLjl/ufCoiOlB5xdOkqRJdNx
github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod h1:D8He9yQNgCq6Z5Ld7szi9bcBfOoFv/3dc6xSMkL2PC0=
github.com/matttproud/golang_protobuf_extensions v1.0.4 h1:mmDVorXM7PCGKw94cs5zkfA9PSy5pEvNWRP0ET0TIVo=
github.com/matttproud/golang_protobuf_extensions v1.0.4/go.mod h1:BSXmuO+STAnVfrANrmjBb36TMTDstsz7MSK+HVaYKv4=
github.com/mennanov/fmutils v0.2.0 h1:Hw/iuQPdKtiB2B9YYh+NX8iv7U7eQu1rICPjr8NvxSo=
github.com/mennanov/fmutils v0.2.0/go.mod h1:DE+qeI9Xy5s1GA4trgq8H26jr5DgJ4a9+0D1DPVCqyk=
github.com/miekg/dns v1.0.14/go.mod h1:W1PPwlIAgtquWBMBEV9nkV9Cazfe8ScdGz/Lj7v3Nrg=
github.com/mitchellh/cli v1.0.0/go.mod h1:hNIlj7HEI86fIcpObd7a0FcrxTWetlwJDGcceTlRvqc=
github.com/mitchellh/go-homedir v1.0.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
Expand Down
462 changes: 369 additions & 93 deletions pkg/sdk/alpha/alpha.pb.go

Large diffs are not rendered by default.

256 changes: 255 additions & 1 deletion pkg/sdk/alpha/alpha.pb.gw.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 5ddbe60

Please sign in to comment.