Commit Graph

200 Commits

Author SHA1 Message Date
Karthik Ravi Shankar 1de0bfd9e2
Revert "Revert "Move create_channel and credentials from ::grpc_impl to ::grpc"" 2020-07-24 12:47:33 -07:00
Karthik Ravi Shankar f1bc43edf6
Revert "Move create_channel and credentials from ::grpc_impl to ::grpc" 2020-07-24 11:08:54 -07:00
Mark D. Roth c35a37d6c2 Remove TargetAuthorityTable in favor of a per-address channel arg. 2020-07-23 08:23:05 -07:00
Karthik Ravi Shankar 1999b20c7d Merge branch 'master' into create-channel 2020-07-13 10:58:31 -07:00
Mark D. Roth 9404f66f70 Replace most uses of gpr_asprintf() with absl calls. 2020-07-07 12:01:02 -07:00
Karthik Ravi Shankar 44f721eeb0 Merge branch 'master' into create-channel 2020-06-30 15:52:24 -07:00
Esun Kim 165ee5007a Replaced grpc::string with std::string 2020-06-29 17:56:36 -07:00
Karthik Ravi Shankar 59b41d50fa Formatting fixes 2020-06-29 14:37:52 -07:00
Karthik Ravi Shankar bf551af394 Fix credentials test. 2020-06-29 13:02:01 -07:00
jiangtaoli2016 12a6435557 TlsCredentialsOption API optimization 2020-05-11 22:46:11 -07:00
Matthew Stevenson a37d5f14b0 Remove flaky test introduced in PR 21932. 2020-05-07 07:22:29 -07:00
Mark D. Roth 09b42371e7 Remove grpc_core::InlinedVector<> and grpc_core::Optional<>. 2020-04-23 11:24:41 -07:00
Mark D. Roth d7a62868c8 Mark client_channel_stress_test as manual. 2020-04-14 09:04:09 -07:00
Jan Tattermusch 697f411fef mark client_channel_stress_test as flaky 2020-04-09 10:06:33 -04:00
Mark D. Roth b518ee3cc8 Remove size=large, since it didn't help. 2020-04-07 07:57:04 -07:00
Mark D. Roth 14f55eb202 Temporarily disable client_channel_stress_test for msan and tsan. 2020-04-07 07:38:21 -07:00
Mark D. Roth 03411d7be7 Second attempt: grpclb stabilization 2020-03-31 07:52:44 -07:00
ZhenLian 738272f3a8 [ImproveTLS] add a wrapper to error_detail in C core args 2020-03-18 09:35:39 -07:00
Zhen Lian cbc977204b [ImproveTLS] fix memory leak issue from users' perspective 2020-03-04 17:04:06 -08:00
Esun Kim 415d41f9e8 Rerun clang-formatter-7 2020-03-03 10:46:55 -08:00
matthewstevenson88 27c8e2751d
Merge pull request #22187 from matthewstevenson88/tls-updates-1
Update TlsServerCredentials to initialize C-core
2020-03-02 17:24:16 -08:00
Matthew Stevenson 864e232edf Update TlsServerCredentials to initialize C-core. 2020-02-28 13:23:51 -08:00
Alexander Polcyn e482b79ee8 Change grpclb policy to use internal connectivity state watch API 2020-02-28 00:16:47 -08:00
Matthew Stevenson 77377fa931 Removed server builder and ssl creds stuff. 2020-02-19 14:35:59 -08:00
Matthew Stevenson b344c90fe1 ssl creds 2020-02-13 15:35:58 -08:00
Matthew Stevenson 924aace7dc Version 4. 2020-02-06 08:51:41 -08:00
Matthew Stevenson ceae5835e6 Merge remote-tracking branch 'upstream/master' into tls-credentials-1 2020-02-06 08:42:26 -08:00
Matthew Stevenson d869bed623 Added in server builder. 2020-02-05 15:56:16 -08:00
matthewstevenson88 ee7ae056e5
Revert "Updates to TLS credentials, version 3" 2020-02-05 13:52:46 -08:00
Matthew Stevenson f557437b51 Add back changes. 2020-01-30 15:26:51 -08:00
Matthew Stevenson 3818f81fb8 Update from master. 2020-01-30 08:43:16 -08:00
Matthew Stevenson 840b0f9cb9 Merge branch 'master' of https://github.com/grpc/grpc into tls-credentials-1 2020-01-30 08:42:22 -08:00
Matthew Stevenson 47c755520c Remove TestEnvironment. 2020-01-30 08:13:32 -08:00
Matthew Stevenson 1f13c17a28 Adding back in grpc_init. 2020-01-30 06:42:31 -08:00
Matthew Stevenson 0b51d535f3 Remove grpc_init. 2020-01-29 18:42:29 -08:00
Matthew Stevenson e392d0ac7d experiment test 2020-01-29 15:36:44 -08:00
matthewstevenson88 9e0b87f523
Revert "Updates to TLS credentials, version 2" 2020-01-29 12:24:21 -08:00
Matthew Stevenson e18defc303 Fix attempt #2. 2020-01-27 12:47:32 -08:00
Matthew Stevenson 4d61655409 Merge remote-tracking branch 'upstream/master' into tls-credentials-1 2020-01-23 14:31:17 -08:00
Matthew Stevenson b2f1510dd7 Fix load TLS server credentials 1. 2020-01-23 13:44:18 -08:00
matthewstevenson88 26d50f726a
Revert "Collect TLS-specific changes from PR 20568." 2020-01-23 12:34:43 -08:00
Matthew Stevenson 5cfff04ce9 Collect TLS-specific changes from PR 2-568. 2020-01-22 13:06:22 -08:00
Jan Tattermusch 3f3cf8b62a
Revert "grpclb stabilization" 2020-01-20 14:11:16 +01:00
Esun Kim 8c9dcf7c35
Merge pull request #21625 from veblush/testenv2
Make test code use TestEnvironment (part 2)
2020-01-10 15:44:24 -08:00
Mark D. Roth 5b18402914 grpclb stabilization 2020-01-10 09:13:10 -08:00
Esun Kim f31ca23a6a Add TestEnvironment to more tests 2020-01-09 17:01:52 -08:00
Akshay Kumar db11b94f25 FullChainExperimental-01-200103 2020-01-03 22:37:18 -08:00
Yihua Zhang a6dbc7adb5 rename spiffe to tls 2019-12-05 16:03:37 -08:00
Prashant Jaikumar c9117fa198 Fix C++ tests to enable running on android 2019-11-14 16:20:33 -08:00
Esun Kim da3a1d3e6d
Merge pull request #20982 from veblush/memory-legacy-2
Fix the memory new/delete mismatch for unique_ptr<char>
2019-11-08 08:38:51 -08:00
Esun Kim e8863d0064 Fix new & delete match 2019-11-07 22:29:21 -08:00
Esun Kim e45b60d1fe Fix unique_ptr<char> memory allocation mismatch 2019-11-07 17:53:59 -08:00
Esun Kim b2b7fc9af8 Replaced grpc_core::UniquePtr with std::unique_ptr 2019-11-07 13:05:39 -08:00
Esun Kim 3a519a0b64 Replaced grpc_core New & Delete with C++ new & delete 2019-11-06 17:52:26 -08:00
Lidi Zheng c34bef4ca4 Format all Bazel files with buildifier 2019-11-05 14:03:52 -08:00
Vijay Pai 2ded8cbadf Remove unused parameter warning (14 of 20) 2019-10-17 08:51:44 -07:00
Moiz Haidry d874a260bb Fix unused variable error 2019-10-10 11:52:02 -07:00
matthewstevenson88 0362df725f
Merge pull request #19778 from matthewstevenson88/spiffe1
Add C++ wrapper for SPIFFE credentials v2
2019-10-10 10:34:04 -07:00
Matthew Stevenson c7802d488a Fixed a small typos from previous commit. 2019-10-08 21:36:52 -07:00
Matthew Stevenson 313bb5848e Remove some unnecessary comments. 2019-10-08 21:25:46 -07:00
Matthew Stevenson ed198f5a54 Changed delete per Yang's comment. 2019-10-08 21:07:29 -07:00
Jan Tattermusch 082f3dc14a temporatily disable client_channel_stress_test on win RBE 2019-10-04 13:21:16 +02:00
Matthew Stevenson 00cce90adf Changes requested by Yihua. 2019-10-01 16:06:01 -07:00
Matthew Stevenson fba2fc2dba Fourth 2019-09-27 14:30:49 -07:00
Matthew Stevenson d866d09b5c Second round of small changes from e2e tests. 2019-09-26 21:26:57 -07:00
Matthew Stevenson a7f9d943d5 First set of small changes from development of e2e tests. 2019-09-26 18:13:59 -07:00
Matthew Stevenson 10a39b77c6 Implemented changes outlined in addendum to design doc. 2019-09-25 10:46:13 -07:00
Matthew Stevenson 5639867c2b Clang changes. 2019-09-20 16:09:32 -07:00
Matthew Stevenson 8e09d8745d Implementing further comments by Yang. 2019-09-20 16:01:10 -07:00
Matthew Stevenson 0a054cc6ea Implementing Yang's secound round of comments. 2019-09-20 08:59:34 -07:00
Matthew Stevenson 96c24347f7 Refactored the configs, per Yang's suggestions. 2019-09-19 11:36:37 -07:00
Matthew Stevenson 282aef6031 Minor fixes revealed from developping the end-to-end tests. 2019-09-16 13:51:31 -07:00
Matthew Stevenson 9457917ed1 Autogenerated files and clang format/tidy code 2019-08-27 15:19:43 -07:00
Matthew Stevenson c942282abc Implemented Yihua's review comments 2019-08-27 14:57:02 -07:00
Matthew Stevenson 1735135b27 Deleted extra xml file, removed server authorization check memory leaks 2019-08-26 14:54:45 -07:00
Matthew Stevenson 5d9297d0bc Fixed some memory leaks 2019-08-26 14:31:16 -07:00
Matthew Stevenson c2fd3844dc Implemented Yihua's comments 2019-08-23 16:20:19 -07:00
Matthew Stevenson 94d3e95e8d Small changes to/for unit tests. 2019-08-23 11:22:12 -07:00
Matthew Stevenson 4c26cc402f Removed free statement from TlsCredentialReloadConfigCppToC test 2019-08-22 10:27:48 -07:00
Matthew Stevenson 9da9c0786d Added a line in build.yaml and starting to clean up memory leaks in unit tests 2019-08-22 09:50:09 -07:00
Matthew Stevenson e8b28dd27b Autogenerated files 2019-08-21 15:28:15 -07:00
Matthew Stevenson 3b9e7d9a3a Fixed credential options unit test 2019-08-21 12:27:33 -07:00
Matthew Stevenson 967b911f85 Add forgotten callback function for server authorization check. 2019-08-21 09:08:15 -07:00
Matthew Stevenson e37836b0c7 Fixed a few typos in unit tests 2019-08-21 08:46:02 -07:00
Matthew Stevenson d761619484 Finished unit tests 2019-08-20 16:08:10 -07:00
Matthew Stevenson 6189d34724 Revert "Forgot to autogenerate files and run clang_format/tidy_code"
This reverts commit 9295e4ebb3.
2019-08-20 14:50:35 -07:00
Matthew Stevenson 9295e4ebb3 Forgot to autogenerate files and run clang_format/tidy_code 2019-08-20 14:41:38 -07:00
Matthew Stevenson 52b72c00f1 Debugging after restores 2019-08-20 14:23:08 -07:00
Matthew Stevenson 78e8fb731d Restored credentials_test.cc 2019-08-20 13:42:53 -07:00
Matthew Stevenson 1e46b38d66 Hid some key materials API's and refactored credential reload arg wrapper. 2019-08-14 13:11:27 -07:00
Matthew Stevenson f3f8bf05b2 Fix conflicts with ssl_utils.h 2019-08-13 12:18:31 -07:00
Matthew Stevenson f169b4b28e Update CredentialReloadArg unit test 2019-08-09 09:37:27 -07:00
Matthew Stevenson 094c35f872 Small changes to ssl_util.h, added comments, fixed error in key materials unit test 2019-08-08 22:54:06 -07:00
Matthew Stevenson aa207510ce Finished implementation of API's. 2019-08-07 15:53:26 -07:00
Matthew Stevenson c5acf9e3c7 Fixed undeclared dependency and added std::move in setter functions 2019-08-02 10:31:53 -07:00
Matthew Stevenson 5980d0d10d Added unit tests and fixed some build problems 2019-08-02 09:38:35 -07:00
yang-g 5779dd935a Qualify the error code with StatusCode:: 2019-07-10 13:52:31 -07:00
Julien Boeuf 109edca971 Adding C++ API and implementation for STS credentials:
- marked as experimental.
- also changed the name of a field in the options struct.
2019-07-09 22:28:44 -07:00
Karthik Ravi Shankar 858b5cca20 Fix clang_format_code.sh issues and move the internal calls to new name 2019-04-23 11:45:11 -07:00
Karthik Ravi Shankar 17ca558e13 Merge branch 'master' into grpc_namespace_channel_arguments 2019-04-23 11:38:13 -07:00