aboutsummaryrefslogtreecommitdiff
path: root/services
AgeCommit message (Collapse)Author
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-27services: add proto generated classes to intellij path (#3510)zpencer
2017-09-26services: delete deprecated Proto reflection serviceCarl Mastrangelo
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-06all: begin 1.6 release cycleCarl Mastrangelo
2017-06-30all: Use fixed version number for java 6/7 signaturesEric Anderson
This is important for stable builds, as if the signature changes the old source may no longer validate.
2017-06-01all: fix licence whitespaceCarl 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-10services: HealthStatusManager not to expose server stub methodsZHANG Dapeng
`HealthStatusManager` should not expose server stub methods, because it is wrong to call server stub methods directly.
2017-05-02compiler: remove streaming calls from javadoc for newFutureStubEric Gribkoff
FutureStubs only support unary calls
2017-04-12compiler: move over to method descriptor builderŁukasz Strzałkowski
2017-04-11all: begin 1.4.x development cycleCarl Mastrangelo
2017-03-30services: Remove unused variablesEric Anderson
2017-03-21services: update monitoring.protoEric Gribkoff
2017-03-06all: start 1.3.0 development cycleCarl Mastrangelo
2017-03-02services: add monitoring serviceEric Gribkoff
2017-03-01services: move proto services to io.grpc.protobuf.servicesEric Gribkoff
2017-02-28services: don't update reflection index mid-streamEric Gribkoff
This fix addresses https://github.com/grpc/grpc-java/issues/2689
2017-02-10compiler: add some missing final modifiers on generated codeCarl Mastrangelo
2017-02-07all: swap to newer animalsniffer pluginEric Anderson
The new plugin uses a newer version of animalsniffer, allows overriding the animalsniffer version used, and has up-to-date handling. The up-to-date handling cuts fully incremental parallel build times in half, from 5.5s to 2.7s. The previous plugin was supposed to be verifying tests. However, either it wasn't verifying them or its verification was broken.
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
2017-01-27all: fix linter found on importCarl Mastrangelo
2017-01-26all: update to latest import orderingCarl Mastrangelo
2017-01-23services: remove no-op call in reflection service testEric Gribkoff
Now that the fix for #2444 is in, there's no need for the initial noop call.
2017-01-13core,services: separately index mutable and immutable servicesEric Gribkoff
Updates the proto reflection service to process immutable services once and mutable services as-needed.
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-14services: Flow control for proto reflection serviceEric Gribkoff
2016-11-28services: Proto reflection serviceEric Gribkoff
2016-10-28addressing reviewer commentsEric Gribkoff
2016-10-28Compiler/core changes to support the proto reflection APIEric Gribkoff
core: adds @Nullable Object getAttachedObject() to ServiceDescriptor compiler: Plumbing necessary to access proto file descriptors via the reflection service
2016-10-19compiler: lazily generate ServiceDescriptorsCarl Mastrangelo
2016-07-29Update protobuf to 3.0.0Eric Anderson
Fixes #2086
2016-07-22compiler: make Stub final classZHANG Dapeng
2016-07-21compiler: add build option to enable deprecated generated codeZHANG Dapeng
partially resolving #1469 The added option for java_plugin `enable_deprecated` is `true` by default in `java_plugin.cpp`, so the generated code for `TestService.java` (`compiler/build.gradle` not setting this option) has all deprecated interfaces and static bindService method. `./build.gradle` and `examples/build.gradle` set this option explicitly to `false`, so all the other generated classes do not have deprecated code. Will set `enable_deprecated` to `false` by default in future PR when we are ready.
2016-07-11Start 1.1.0 development cycleEric Anderson
2016-07-01Start 1.0.0 development cycleEric Anderson
2016-06-29compiler: deprecate interfaces and add ImplBase in codegenZHANG Dapeng
first step to address issue #1469: - leave and deprecate interfaces in codegen - introduce `ServiceImplBase`, - `AbstractService` is deprecated and extends `ServiceImplBase` - static `bindService()` is deprecated
2016-06-28Bump protobuf dependency to 3.0.0-beta-3Eric Anderson
This allows us to play with zero-copy and proto3 support for lite. Unfortunately, it introduced some warnings, so deprecated warnings are now ignored for benchmarks and interop-testing.
2016-06-23Reapply "Eliminate MethodDescriptor from startCall and interceptCall for ↵Eric Anderson
servers" This reverts commit ef178304cb93ee660219e60b1a6553c1ace835de, which itself was a revert.
2016-06-20Revert "Eliminate MethodDescriptor from startCall and interceptCall for servers"Eric Anderson
This reverts commit 3df1446debe7e0da964b57306c2e42a74a8005b5. The commit was adding to the difficulty of integration for testing. By itself it isn't bad, so this is a temporary revert until the many other commits are absorbed and then it will be reapplied. This does have a manual edit for ClientCallsTest.