Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Brave 3.0.0-beta-1 #71

Merged
merged 23 commits into from Jun 4, 2015
Merged

Brave 3.0.0-beta-1 #71

merged 23 commits into from Jun 4, 2015

Conversation

kristofa
Copy link
Member

@kristofa kristofa commented Jun 4, 2015

Main topics:

  • Update to use Java 8 (source and target).
  • Update modules that depend on Spring to Spring 4.1.6-RELEASE (result of updating to Java 8)
  • Remove flume-zipkin-collector-sink and flume-zipkin-metrics-sink from multi module build. This is a preparation step for moving those into their own repos which will be done after merging to master. They have nothing directly to do with brave as they only rely on the zipkin thrift structures. They will have different release cycle, so separate them at a later stage.

Other preparation work that is in this release but not yet integrated in existing client/server support (integration will be for next beta release):

  • Add ServerRequestInterceptor and ServerResponseInterceptor implementations. This should remove code duplication. Also mentioned in Brave 3.0.0 #59
  • Add new ClientRequestInterceptor and ClientResponseInterceptor which are usable for non http implementations. These will deprecate current brave-client module.

Kristof Adriaenssens and others added 23 commits May 7, 2015 21:43
The client abstraction is actually a http client abstraction.
Make this explicit with name change. Also includes updating all
references in pom files.
This is temporary. Should be fixed before merging.
The mysql implementation does obviously not need
brave-http-client dependency.
Upgrade compile source and target to Java 1.8
for all modules.

As a result of upgrading we also needed to upgrade
all modules depending on Spring to version
4.1.6.RELEASE from 3.2.2.RELEASE.
Travis build failed since we updated to Java 8.
Fix Travis build config.
Remove unneeded dependency, probably result of copy/paste
of pom.xml
Move from brave-interfaces module to brave-http-client module.
These are specific to http client integration so move them to
appropriate sub module.
Dependency on brave-http-client is enough.
No need to specifically depend on brave-interfaces.
Revert previous rename to not brake backwards compatibility.
This module will become deprecated at a later stage.
Implement logic on how to deal with incoming request and outgoing
response. Currently this logic is duplicated across different implementations.

With these changes in place only an adapter needs to get implemented which
hides the specifics of the platform. Should safe on code duplication.
Use new functionality introduced in Java 8.
Add new getter method and deprecate old one.
SpanId becomes implementation instead of interface.
Instead of individual long properties we now re-use
a single SpanId property.
These new implementations should deprecate the implementations present in
brave-client submodule which are too complicated and
http specific.
Support providing custom annotations in adapters which
can be added to span.
Will move the flume zipkin sinks to separate repos.
This is a preparation step, remove them from multi module build.
kristofa added a commit that referenced this pull request Jun 4, 2015
@kristofa kristofa merged commit e4fd8c7 into master Jun 4, 2015
@kristofa kristofa deleted the brave-3.0 branch June 4, 2015 14:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant