Commit Graph

55120 Commits

Author SHA1 Message Date
murgatroid99 749666e8ab Added LICENSE header to all files 2015-01-12 18:25:58 -08:00
Craig Tiller 934baa3bb1 Add tools/run_tests/run_lcov.sh
This is a tool for collecting coverage reports from our tests and
combining them with the open-source tool 'lcov'.
2015-01-12 18:19:45 -08:00
murgatroid99 6d035575d2 Removed temp files 2015-01-12 18:15:42 -08:00
murgatroid99 e506151918 Clean commit of Node.js library source 2015-01-12 18:14:35 -08:00
Craig Tiller 6dba266a83 add .gitignore 2015-01-12 17:49:21 -08:00
Craig Tiller 9fef05c2f0 Merge github.com:google/grpc 2015-01-12 17:47:59 -08:00
Craig Tiller 770f60a475 Merge github.com:google/grpc into testcpp 2015-01-12 17:44:43 -08:00
jboeuf 6ad120e435 Moving the google-internal security code in their own files.
Checked that the opensource version still builds.

Just addressing core for now. We will do c++ later.
	Change on 2015/01/12 by jboeuf <jboeuf@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83804014
2015-01-12 17:36:57 -08:00
jboeuf c212585c41 Factoring out []2 artefacts from the transport security interface.
- Looks like we should have cleaned this header before... I don't think it's a
big deal though...
- Removing the tests from the opensource package as well (these are very much
[] specific for now).
	Change on 2015/01/12 by jboeuf <jboeuf@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83801766
2015-01-12 17:36:57 -08:00
nnoble 5f2ecb355d Splitting grpc_test_util into gpr_test_util.
Change on 2015/01/12 by nnoble <nnoble@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83801564
2015-01-12 17:36:57 -08:00
ctiller 570d1f4425 Return bound port number from grpc_server_add_http2_port.
Allows tests to bind to port 0 and still have clients connect to them.
	Change on 2015/01/12 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83800669
2015-01-12 17:36:57 -08:00
nnoble e1df7dd9f1 Avoid clobbering potential defines that were set up externally.
Change on 2015/01/12 by nnoble <nnoble@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83799744
2015-01-12 17:36:57 -08:00
Craig Tiller 7c1d7f7a9a Run C++ tests and C tests 2015-01-12 17:08:33 -08:00
Craig Tiller de990f9155 Initialize gtest correctly 2015-01-12 17:07:23 -08:00
Craig Tiller 9b62482e15 Make the go code generator compile 2015-01-12 16:59:48 -08:00
Craig Tiller 27715caf6e Allow C++ tests to be built in parallel 2015-01-12 16:55:59 -08:00
Craig Tiller b2a42f3271 Make this file compile 2015-01-12 16:41:56 -08:00
Craig Tiller 9608f0f212 Make this file compile 2015-01-12 16:41:41 -08:00
Craig Tiller 35e3971e89 Make this file compile 2015-01-12 16:41:24 -08:00
Craig Tiller edd10d2596 Make this file usable from C++ 2015-01-12 16:40:51 -08:00
Craig Tiller f5371efe65 Fix some C++ test dependencies 2015-01-12 16:40:18 -08:00
Craig Tiller d4773f5119 Fix some C++ test dependencies 2015-01-12 16:38:47 -08:00
murgatroid99 470a3ea1a1 Added libdl include 2015-01-12 15:48:58 -08:00
Craig Tiller 234ffbfd39 Check return value for error 2015-01-12 15:09:34 -08:00
Craig Tiller 225d31fd40 Merge github.com:google/grpc 2015-01-12 14:33:47 -08:00
Craig Tiller 738c334432 Allow running tests under valgrind 2015-01-12 14:28:33 -08:00
rsilvera 35e7b0cb5c Fix gRPC compilation failure
Update location of rpc_method.cc on the Makefile
	Change on 2015/01/12 by rsilvera <rsilvera@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83786942
2015-01-12 14:12:41 -08:00
hongyu 99e317a8f8 grpc census hash_table test coverage improvements.
Change on 2015/01/12 by hongyu <hongyu@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83786701
2015-01-12 14:11:52 -08:00
ctiller d74729d8c7 Pre-allocate, check, and consume method, scheme, and content-type headers at
the server.

Verify that method, scheme, and te trailers are present, and error out if not.
Complain if content-type doesn't match the format, but don't error out.

This currently, for now, blindly allows all three schemes (grpc, http, https)
without verification, although that will change once the C implementation
finishes switching to http/https.

Cloned from CL 82558661 by 'g4 patch'.
Original change by klempner@klempner:grpc_metadata:808:citc on 2014/12/19 18:41:47.
	Change on 2015/01/12 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83785251
2015-01-12 14:10:27 -08:00
yangg 0617057a39 Make interop server buildable on opensource build.
Change on 2015/01/12 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83783816
2015-01-12 14:09:03 -08:00
ctiller 00297df63b Ensure flow control callbacks happen outside the transport lock.
Split encoding into two phases: a collection phase to decide on what is allowed
(by flow control) to be sent, and a framing phase when the data is actually
sent. Perform the second phase outside of the transport mutex (but serially,
guarded by t->writing) and make flow control callbacks during that phase.

This will allow us to make further transport level calls in response to flow
control callbacks, and will be needed by the forthcoming async api for C++.
	Change on 2015/01/12 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83774409
2015-01-12 14:03:28 -08:00
Craig Tiller b29797b142 Remove ?san from the default tests.
At least until they stabilize some.
2015-01-12 13:51:54 -08:00
Craig Tiller 3b08306c13 Cleanup and fixes to jobset.py 2015-01-12 13:51:28 -08:00
Craig Tiller 5d191a4bf4 Add build outputs to .gitignore. 2015-01-12 13:38:32 -08:00
nnoble 45fc159eed Preparing the go plugin for non-[] compilation.
Change on 2015/01/09 by nnoble <nnoble@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83651056
2015-01-12 11:22:02 -08:00
temiola f31ed60d7c Corrects the ruby dockerfile to ensure it has access to git-on-[].
Adds a command for triggering a pull of the latest built docker images.
	Change on 2015/01/09 by temiola <temiola@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83641150
2015-01-12 11:22:02 -08:00
yangg 1b151096d1 Add impl subdirectory under public and move headers that need to be installed
to it.
	Change on 2015/01/09 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83640373
2015-01-12 11:22:02 -08:00
ctiller 0cd69562fd Allow logging mechanism to be overridden by applications.
This necessitated the removal of gpr_vlog to keep a clean interface.
	Change on 2015/01/09 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83634996
2015-01-12 11:22:02 -08:00
ctiller 033afb3879 Fix for the Windows build
Change on 2015/01/09 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83634893
2015-01-12 11:22:02 -08:00
yangg 4105e2b86c Add ServiceAccount Credentials wrapping and handle credentials creation
failure.
	Change on 2015/01/09 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83634736
2015-01-12 11:22:01 -08:00
zhangkun 5d61ac074c Undo the addition of Java codegen files to the open-sourced list by
[] because it breaks MOE scrubber for GPRC.
	Change on 2015/01/09 by zhangkun <zhangkun@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83633678
2015-01-12 11:22:01 -08:00
ctiller 08c50d8bf5 Make generate_projects.sh able to run from a git repo.
Change on 2015/01/09 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83627504
2015-01-12 11:22:01 -08:00
hongyu 440d3d8198 Grpc census: v0 trace_printf() implementation in C.
Change on 2015/01/09 by hongyu <hongyu@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83626942
2015-01-12 11:22:01 -08:00
zhangkun 6848141387 Remove dependencies on internal headers from Java gRPC compiler plugin.
Instead, use functions from names.h which is going to be exported in the
opensource protobuf.

Also tailor includes to work with the current MOE configuration.
	Change on 2015/01/09 by zhangkun <zhangkun@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83619218
2015-01-12 11:22:01 -08:00
Nicolas Noble 362b9dcfc9 Merge github.com:google/grpc 2015-01-09 18:05:07 -08:00
ctiller 94e5ddece6 Only run one make at a time.
If openssl has not been built, running parallel make processes causes some problems.
	Change on 2015/01/09 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83617340
2015-01-09 17:57:57 -08:00
ctiller a5cf7bd7e6 Remove mutex as this process is now single threaded
Change on 2015/01/09 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83610407
2015-01-09 17:56:39 -08:00
ctiller 8bf337bedf Fix test under msan
Change on 2015/01/09 by ctiller <ctiller@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83609353
2015-01-09 17:55:21 -08:00
yangg 1456d15221 Add a test to export two TestService on the same server, only with different
package names. Make sure they work as intended.

This is based on []
	Change on 2015/01/08 by yangg <yangg@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83558743
2015-01-09 17:54:03 -08:00
hongyu 24200d3cbc C implementation of Census trace store and stats store for grpc C lib.
Change on 2015/01/08 by hongyu <hongyu@google.com>
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=83556470
2015-01-09 17:52:43 -08:00