aboutsummaryrefslogtreecommitdiff
path: root/testing-proto
AgeCommit message (Collapse)Author
2018-08-03testing-proto: add test for @RpcMethodjbingham-google
2018-07-12compiler,stub: update RpcMethod docs and usageCarl Mastrangelo
2018-07-10compiler, stub: Rename inputType and outputType in @RpcMethodjbingham-google
2018-07-06compiler, stub: Add @RpcMethod annotationjbingham-google
This annotation will enable Java APT to generate code. Addresses part of #3173.
2018-06-11all: add gradle format checkerZHANG Dapeng
This PR adds an automatic gradle format checker and reformats all the *.gradle files. After this, new changes to *.gradle files will fail to build if not in good format, just like checkStyle failure.
2018-06-05stub: remove static Method descriptors and stabilize method accessorsCarl Mastrangelo
2018-05-03 all: normalize copyright header Carl Mastrangelo
2018-03-28Fix compilation in Java 9Eric Anderson
2018-03-26build.gradle: bump protobuf plugin to 0.8.5 (#4101)zpencer
This update automatically adds generated sources and proto IDLs to the `idea` plugin.
2018-03-01 buildscripts,travis: fetch from mvn with retries (#4140)zpencer
A band aid for #3284, to make its symptoms less noticeable.
2018-02-08compiler: avoid invoking experimental method in generated codeEric Gribkoff
2017-11-30all: update to proto 3.5.0Carl Mastrangelo
2017-11-01core: set sampled for local span per MethodDescriptor. (#3627)Kun Zhang
This moves away from the global String-based Span name registry which is not as flexible as we desire. Also renamed the option name to be more accurate. This is not API-breaking because the origianl addition to MethodDescriptor and code-gen didn't make it into the 1.7.0 release.
2017-10-31 compiler: remove references to static fieldsCarl Mastrangelo
2017-10-30compiler: add methods for accessing method descriptorsCarl Mastrangelo
* MethodDescriptor is lazy loaded, so protobuf loading only happens on demand. This also means tracing registration happens on demand. * The names of the getters all being with `method`. This makes it harder for autocomplete to pick them up. * A new field is used, which matches the getter name. Rather than make the new-getters reference the old-fields, make the old-fields reference the new getters. This makes removal of the old-fields a simple operation. * The getters may not be inlineable, but thats an easy fix if it ends up being a problem. Not worth premature optimization (but is worth future work). The expected timeline for this is adding this to the 1.8 cut, and deprecating the old-fields. They will be removed in 1.9.
2017-09-29core: move census registration into internalCarl Mastrangelo
also preserve tracing bit when rebuilding a MethodDescriptor
2017-09-25core/compiler: register Span names for code-generated methods (take 2)Kun Zhang
This is a more favorable approach than #3467. Doing the registration in MethodDescriptor should allow us to deregister in case the generated stub and its MethodDescriptors are garbage-collected routinely, e.g., if they are loaded by a separate ClassLoader.
2017-09-11core, compiler, protobuf: introduce MethodDescriptor#setSchemaDescriptorLukasz Strzalkowski
2017-08-25all: update to proto 3.4.0Carl Mastrangelo
2017-08-23compiler: Add option to disable version outputEric Anderson
If the option becomes popular, we can just remove the version.
2017-08-22Start 1.7.0 development cycle (#3357)zpencer
This bump changelist is applied a bit late with respect to the 1.6.0 branch cut. Look at the 1.6.0 to see the source of truth of where it was cut. Do not assume it is the commit that precedes this one.
2017-07-14testing-proto: add string message to simpleservice.proto to facilitate testingZHANG Dapeng
It was not convenient to test in some scenarios without having a field in the message. All `SimpleResponse` messages were `equals` to each other. Users might not want to assume reference identity/inequality between server and client for equal/unequal messages even for InProcess. Even with reference identity, it would still be inconvenient if their were hundreds of messages. To have a non-proto based String to String service instead is another solution, but the usefulness of this proto based service would still be too limited.
2017-07-06all: migrate .proto files from testing-proto to interop-testingZHANG Dapeng
and provide a simple protobuf service for test in testing-proto instead.
2017-07-06all: begin 1.6 release cycleCarl Mastrangelo
2017-05-31all: update to Apache 2 licenceCarl Mastrangelo
Also, update the authors.
2017-05-23all: bump to 1.5.0-SNAPSHOTCarl Mastrangelo
2017-05-23all: bump to proto 3.3.1Carl Mastrangelo
2017-05-02compiler: remove streaming calls from javadoc for newFutureStubEric Gribkoff
FutureStubs only support unary calls
2017-04-21interop-testing: add cacheable_unary testEric Gribkoff
2017-04-12compiler: move over to method descriptor builderŁukasz Strzałkowski
2017-04-11all: begin 1.4.x development cycleCarl Mastrangelo
2017-03-06all: start 1.3.0 development cycleCarl Mastrangelo
2017-02-10compiler: add some missing final modifiers on generated codeCarl Mastrangelo
2017-02-07all: update to protobuf 3.2.0Carl Mastrangelo
2017-01-30Start 1.2.0 development cycleCarl Mastrangelo
2017-01-30core: make ServiceDescriptor use the Builder patternCarl Mastrangelo
2016-12-29compiler: reduce synchronzed invocation (#2539)ZHANG Dapeng
not necessary to synchronze every time calling getServiceDescriptor(), if the descriptor has been created already; go with the double-checked locking idom
2016-12-29compiler: final bindService() in generated code. (#2553)Kun Zhang
So that it won't be overridden by Mockito when it creates a mock for the server interface.
2016-12-06testing: added junit rule for in-process serversJoey Bratton
GrpcServerRule configures an in-process server and channel. It is useful for asserting requests being made to a service. A consumer can create a mock implementation of their service that records each request, then make assertions on those records in their test.