Skip to content

Commit

Permalink
Adding opentracing support for okhttp
Browse files Browse the repository at this point in the history
  • Loading branch information
shs96c committed Oct 18, 2018
1 parent e56b190 commit 6ebc8e1
Show file tree
Hide file tree
Showing 9 changed files with 44 additions and 0 deletions.
24 changes: 24 additions & 0 deletions third_party/java/contrib/BUCK
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
prebuilt_jar(
name = 'opentracing-concurrent',
maven_coords = 'io.opentracing.contrib:opentracing-concurrent:jar:0.1.0',
binary_jar = 'opentracing-concurrent-0.1.0.jar',
source_jar = 'opentracing-concurrent-0.1.0-sources.jar',
deps = [
'//third_party/java/opentracing:opentracing-api',
'//third_party/java/opentracing:opentracing-noop'
],
)

prebuilt_jar(
name = 'opentracing-okhttp3',
maven_coords = 'io.opentracing.contrib:opentracing-okhttp3:jar:0.1.0',
binary_jar = 'opentracing-okhttp3-0.1.0.jar',
source_jar = 'opentracing-okhttp3-0.1.0-sources.jar',
deps = [
':opentracing-concurrent',
'//third_party/java/okhttp3:okhttp',
'//third_party/java/opentracing:opentracing-api',
'//third_party/java/opentracing:opentracing-noop'
],
)

Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
2 changes: 2 additions & 0 deletions third_party/java/okhttp3/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,7 @@ prebuilt_jar(
],
visibility = [
'//java/client/src/org/openqa/selenium/remote:remote-lib',
'//third_party/java/contrib:opentracing-okhttp3'
],
)

18 changes: 18 additions & 0 deletions third_party/java/opentracing/BUCK
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,23 @@ prebuilt_jar(
maven_coords = 'io.opentracing:opentracing-api:jar:0.31.0',
binary_jar = 'opentracing-api-0.31.0.jar',
source_jar = 'opentracing-api-0.31.0-sources.jar',
visibility = [
'//third_party/java/contrib:opentracing-concurrent',
'//third_party/java/contrib:opentracing-okhttp3'
],
)

prebuilt_jar(
name = 'opentracing-noop',
maven_coords = 'io.opentracing:opentracing-noop:jar:0.31.0',
binary_jar = 'opentracing-noop-0.31.0.jar',
source_jar = 'opentracing-noop-0.31.0-sources.jar',
deps = [
':opentracing-api'
],
visibility = [
'//third_party/java/contrib:opentracing-concurrent',
'//third_party/java/contrib:opentracing-okhttp3'
],
)

Binary file not shown.
Binary file not shown.

0 comments on commit 6ebc8e1

Please sign in to comment.