Change the trace API to directly depend on the Context implementation. (#154)
* Change the trace API to directly depend on the Context implementation.
Other changes in this PR:
Enable maven tests for core (common and trace).
Make trace tests in core to compile with java6.
Reasons to change to directly use the io.grpc.Context API:
We would need to have a different API that allows users to pass the generic context between threads and via Executors (similar with io.grpc.Context).
io.grpc.Context is an API the Storage is decoupled and can be backed by any mechanism not necessary thread-local.
Support for Deadline and Cancellation is a nice to have.
Other products may already support propagation of the io.grpc.Context.
It would have been very hard to make binaries work correctly when they have libraries that are using io.grpc.Context and libraries that are using something different.
19 files changed