Purnesh Dixit
645aadf4bd
deps: update dependencies for all modules ( #7904 )
2024-12-05 17:46:58 +05:30
Brad Town
93f1cc163b
credentials/alts: avoid SRV and TXT lookups for handshaker service ( #7861 )
2024-11-22 10:46:40 -08:00
Purnesh Dixit
98959d9a49
deps: update dependencies for all modules ( #7755 )
...
* Update gRPC-Go's dependency versions on master
* update protos
* disabled redefines-builtin-id lint rule
2024-10-18 21:07:37 +05:30
janardhanvissa
c6ad07fa04
protoc: regenerate protos ( #7590 )
...
* Regenerating proto files
---------
Co-authored-by: Vissa Janardhan Krishna Sai <vissajanardhan@google.com>
2024-09-06 21:03:53 +05:30
janardhanvissa
0f03c747b1
.*: fix revive lint issues `unused-parameter` ( #7580 )
2024-09-03 09:32:50 -07:00
Arvind Bright
8320224ff0
.*: revive from unused_parameters ( #7577 )
2024-08-30 10:41:30 -07:00
Jonathan Halterman
6a5a283b69
Use builtin min and max functions ( #7478 )
...
* Use builtin min and max functions
Go added builtin min and max functions in 1.21. This commit removes existing functions and uses the built-ins in stead.
* Revert gofmt changes
2024-08-20 10:42:02 +05:30
Arjan Singh Bal
90caeb34c8
deps: update dependencies for all modules ( #7531 )
...
* Bump dependencies after release branch cut
* Regenerate protos
2024-08-19 22:54:01 +05:30
Nathan Baulch
c8951abc16
*: fix minor typos ( #7487 )
...
* Fix typos
* Fix reflecton tests
2024-08-14 22:43:01 +05:30
Easwar Swaminathan
3ee837cc72
*.pb.go: regenerate protos ( #7493 )
2024-08-08 16:33:41 -07:00
Connor Hindley
1013847d13
cmd/protoc-gen-go-grpc: fix typo pancis -> panics ( #7456 )
2024-07-31 09:15:08 -07:00
Doug Fawley
ec9dff77b1
cmd/protoc-gen-go-grpc: update version to 1.5.1 ( #7452 )
2024-07-29 10:04:12 -07:00
Arjan Singh Bal
bc03420be1
cmd/protoc-gen-go-grpc: update version for release
2024-07-26 21:02:21 +05:30
Doug Fawley
9671c4a8c5
cmd/protoc-gen-go-grpc: test the embedded struct at registration time for proper usage ( #7438 )
2024-07-24 14:52:45 -07:00
infovivek2020
e7d88223a7
protoc-gen-go-grpc: add period to end of generated comment ( #7392 )
2024-07-12 08:59:09 -07:00
hasson82
bdd707e642
scripts: add linter rule for using context.WithTimeout on tests ( #7342 )
2024-07-03 19:22:54 -04:00
Mike Kruskal
98e5deebae
cmd/protoc-gen-go-grpc: enable edition 2023 support ( #7351 )
2024-06-26 10:34:11 -07:00
Abhishek Ranjan
24a6b48bc8
credentials/alts: fix defer in TestDial ( #7301 )
2024-06-13 09:31:01 -07:00
Arvind Bright
1958fcbe2c
cmd/protoc-gen-go-grpc: update version for release ( #7294 )
2024-05-31 13:41:25 -07:00
Arvind Bright
58cfe27883
deps: update dependencies for all modules ( #7274 )
2024-05-29 09:40:18 -07:00
Aaron Gable
bb9882e6ae
Add an optional implementation of streams using generics ( #7057 )
2024-05-03 10:51:39 -07:00
Elisha Silas
09e6fddbcd
Update docs and examples and tests to use NewClient instead of Dial ( #7068 )
...
Co-authored-by: Arvind Bright <arvind.bright100@gmail.com>
Co-authored-by: Doug Fawley <dfawley@google.com>
2024-04-19 10:55:23 -07:00
Arvind Bright
28cccf38c7
pb.go: regenerate ( #7098 )
2024-04-05 11:37:06 -07:00
Zach Reyes
ba1bf9e7e0
deps: update dependencies for all modules ( #7061 )
2024-03-27 14:42:11 -04:00
Zach Reyes
eb5828bae7
protoc: Change protoc to include generated call option ( #6960 )
2024-03-21 17:34:19 -04:00
Dmitry A. Shashkin
c31fce824d
Update github.com/golang/protobuf and google.golang.org/protobuf modules ( #7028 )
2024-03-07 13:51:16 -08:00
Clément Jean
02858ee506
deps: move from github.com/golang/protobuf to google.golang.org/protobuf/proto ( #6919 )
...
Co-authored-by: Arvind Bright <arvind.bright100@gmail.com>
Co-authored-by: Doug Fawley <dfawley@google.com>
2024-01-30 10:59:10 -08:00
Zach Reyes
5051eeae53
grpc: Update go mod ( #6939 )
2024-01-24 19:10:36 -05:00
Matthew Stevenson
e96f521f47
alts: Extract AuthInfo after handshake in ALTS e2e test. ( #6931 )
...
* alts: Extract AuthInfo after handshake in ALTS e2e test.
* Add comment, per review request.
2024-01-22 08:09:32 -08:00
Matthew Stevenson
953d12a1c6
alts: Forward-fix of ALTS queuing of handshake requests. ( #6906 )
...
* alts: Forward-fix of ALTS queuing of handshake requests.
2024-01-11 13:08:21 -05:00
Matthew Stevenson
71cc0f1675
Revert "alts: Queue ALTS handshakes once limit is reached rather than dropping. ( #6884 )" ( #6903 )
...
This reverts commit adc76852e0 .
2023-12-28 14:33:59 -08:00
Matthew Stevenson
adc76852e0
alts: Queue ALTS handshakes once limit is reached rather than dropping. ( #6884 )
...
* alts: Queue ALTS handshakes once limit is reached rather than dropping.
* Fix alts_test.go failure.
2023-12-19 13:36:09 -08:00
Matthew Stevenson
444749dedf
alts: Record network latency and pass it to the handshaker service. ( #6851 )
...
* alts: Record network latency and pass it to the handshaker service.
* Fix vet.sh warnings.
* Fix protoc version issue.
* Address review comments.
2023-12-15 14:06:46 -08:00
Easwar Swaminathan
836e5de556
credentials/alts: update handshaker.pb.go ( #6857 )
2023-12-14 11:57:40 -08:00
Matthew Stevenson
6e14274d00
Revert "alts: Reduce ALTS counter overflow length from 5 to 4. ( #6699 )" ( #6746 )
...
This reverts commit 7b8d0fde07 .
2023-10-24 15:13:54 -07:00
Matthew Stevenson
7b8d0fde07
alts: Reduce ALTS counter overflow length from 5 to 4. ( #6699 )
2023-10-24 14:39:35 -07:00
Mike Maloney
313861efe5
Explicitly specify the `dns` schema for the ALTS hand-shaker. ( #6686 )
...
Before this change applications that override the default resolver may
not be able to talk to the metadata server to start the ALTS Handshake,
resulting in DirectPath not being used.
2023-10-10 09:30:27 -07:00
Easwar Swaminathan
d524b40946
multiple: update dependencies after 1.57 branch cut ( #6452 )
2023-07-18 14:09:46 -07:00
Matthew Stevenson
907bdaa1eb
alts: Read max number of concurrent ALTS handshakes from environment variable. ( #6267 )
...
* Read max number of concurrent ALTS handshakes from environment variable.
* Refactor to use new envconfig file.
* Remove impossible if condition in acquire().
* Use weighted semaphore.
* Add e2e test for concurrent ALTS handshakes.
* Separate into client and server semaphores.
* Use TryAcquire instead of Acquire.
* Attempt to fix go.sum error.
* Run go mod tidy compat=1.17.
* Update go.mod for examples subdirectory.
* Run go mod tidy -compat=1.17 on examples subdirectory.
* Update go.mod in subdirectories.
* Update go.mod in security/advancedtls/examples.
* Missed another go.mod update.
* Do not upgrade glog because it requires Golang 1.19.
* Fix glog version in examples/go.sum.
* More glog cleanup.
* Fix glog issue in gcp/observability/go.sum.
* Move ALTS env var into envconfig.go.
* Fix go.mod files.
* Revert go.sum files.
* Revert interop/observability/go.mod change.
* Run go mod tidy -compat=1.17 on examples/.
* Run gofmt.
* Add comment describing test init function.
2023-06-07 18:54:06 -07:00
Matthew Stevenson
e325737cac
alts: Fix flaky ALTS TestFullHandshake test. ( #6300 )
...
* Fix flaky ALTS FullHandshake test.
* Fix one other flake possibility.
* fix typo in comment
* Wait for full handshake frames to arrive from peer.
* Remove runtime.GOMAXPROCS from the test.
* Only set vmOnGCP once.
2023-05-25 15:05:50 -07:00
Matthew Stevenson
5a50b970cc
Revert "Revert "credentials/alts: defer ALTS stream creation until handshake …" ( #6179 )
2023-04-11 14:56:13 -07:00
Matthew Stevenson
06de8f851e
alts: Add retry loop when making RPC in ALTS's TestFullHandshake. ( #6183 )
2023-04-11 11:36:21 -07:00
Matthew Stevenson
17b693d784
alts: Perform full handshake in ALTS tests. ( #6177 )
2023-04-10 08:59:12 -07:00
Easwar Swaminathan
415ccdf154
go.mod: update all dependencies after 1.54 branch cut ( #6132 )
2023-03-28 16:03:41 -07:00
Zach Reyes
277bb6429a
Revert "credentials/alts: defer ALTS stream creation until handshake time ( #6077 )" ( #6148 )
...
This reverts commit c84a5005d9 .
2023-03-23 19:34:27 -04:00
Matthew Stevenson
c84a5005d9
credentials/alts: defer ALTS stream creation until handshake time ( #6077 )
2023-03-17 09:09:42 -07:00
Arvind Bright
8ba23be961
cmd/protoc-gen-go-grpc: bump -version to 1.3.0 for release ( #6064 )
2023-03-01 09:58:20 -08:00
Borja Lazaro Toralles
3151e834fa
cmd/protoc-gen-go-grpc: export consts for full method names ( #5886 )
2023-02-01 13:20:35 -08:00
Doug Fawley
3011eaf70e
test/tools: update staticcheck version to latest ( #5806 )
2022-11-18 13:51:43 -08:00
Doug Fawley
fefb3ec0c0
test/tools: update everything to latest versions except staticcheck ( #5805 )
2022-11-18 11:26:37 -08:00