You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by re...@apache.org on 2018/08/03 01:29:45 UTC

[cxf] branch master updated: CXF-7762: Upgrade to latest OpenTracing API (0.31.0), minor cleanup

This is an automated email from the ASF dual-hosted git repository.

reta pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/cxf.git


The following commit(s) were added to refs/heads/master by this push:
     new 68af135  CXF-7762: Upgrade to latest OpenTracing API (0.31.0), minor cleanup
68af135 is described below

commit 68af13530379662fc99a716d635d4aab7c5fb027
Author: reta <dr...@gmail.com>
AuthorDate: Thu Aug 2 21:29:34 2018 -0400

    CXF-7762: Upgrade to latest OpenTracing API (0.31.0), minor cleanup
---
 .../src/main/resources/OSGI-INF/blueprint/context.xml   | 17 +----------------
 1 file changed, 1 insertion(+), 16 deletions(-)

diff --git a/distribution/src/main/release/samples/jax_rs/tracing_opentracing_osgi/src/main/resources/OSGI-INF/blueprint/context.xml b/distribution/src/main/release/samples/jax_rs/tracing_opentracing_osgi/src/main/resources/OSGI-INF/blueprint/context.xml
index aef911f..27fbb41 100644
--- a/distribution/src/main/release/samples/jax_rs/tracing_opentracing_osgi/src/main/resources/OSGI-INF/blueprint/context.xml
+++ b/distribution/src/main/release/samples/jax_rs/tracing_opentracing_osgi/src/main/resources/OSGI-INF/blueprint/context.xml
@@ -50,11 +50,7 @@
         </argument>
     </bean>
     
-    <bean id="senderBuilder" class="io.jaegertracing.Configuration.SenderConfiguration" />
-    
-    <bean id="sender" factory-ref="senderBuilder" factory-method="withEndpoint">
-    	<argument index="0" value="http://localhost:14268/api/traces"/>
-    </bean>
+    <bean id="sender" class="io.jaegertracing.Configuration.SenderConfiguration" factory-method="fromEnv" />
     
     <bean id="reporterBuilder" class="io.jaegertracing.Configuration.ReporterConfiguration" />
     
@@ -74,17 +70,6 @@
         <argument index="0" ref="reporter"/>
     </bean>
     
-<!--         <property name="withReporter" ref="reporter" /> -->
-<!--         <argument index="2"> -->
-<!--             <bean class="com.uber.jaeger.samplers.ConstSampler"> -->
-<!--                 <argument index="0" value="true" /> -->
-<!--             </bean> -->
-<!--         </argument> -->
-    
-<!--     <bean id="sender" class="com.uber.jaeger.senders.HttpSender"> -->
-<!--         <argument index="0" value="http://localhost:14268/api/traces" /> -->
-<!--     </bean> -->
-    
     <!-- Application resources -->
     <bean id="catalogResource" class="demo.jaxrs.tracing.server.Catalog" />