cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From serg...@apache.org
Subject cxf git commit: Resoring the demo endpoint address
Date Tue, 18 Oct 2016 15:07:55 GMT
Repository: cxf
Updated Branches:
  refs/heads/3.1.x-fixes 1f824d803 -> 3510e3d34


Resoring the demo endpoint address


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/3510e3d3
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/3510e3d3
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/3510e3d3

Branch: refs/heads/3.1.x-fixes
Commit: 3510e3d345ba2186a228436d481c809e692d42a2
Parents: 1f824d8
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Tue Oct 18 16:07:01 2016 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Tue Oct 18 16:07:35 2016 +0100

----------------------------------------------------------------------
 .../src/main/java/sample/rs/service/SampleRestApplication.java     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/3510e3d3/distribution/src/main/release/samples/jax_rs/spring_boot/src/main/java/sample/rs/service/SampleRestApplication.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/spring_boot/src/main/java/sample/rs/service/SampleRestApplication.java
b/distribution/src/main/release/samples/jax_rs/spring_boot/src/main/java/sample/rs/service/SampleRestApplication.java
index 34567f3..358ca4a 100644
--- a/distribution/src/main/release/samples/jax_rs/spring_boot/src/main/java/sample/rs/service/SampleRestApplication.java
+++ b/distribution/src/main/release/samples/jax_rs/spring_boot/src/main/java/sample/rs/service/SampleRestApplication.java
@@ -45,7 +45,7 @@ public class SampleRestApplication {
         JAXRSServerFactoryBean endpoint = new JAXRSServerFactoryBean();
         endpoint.setBus(bus);
         endpoint.setServiceBeans(Arrays.<Object>asList(new HelloServiceImpl1(), new
HelloServiceImpl2()));
-        endpoint.setAddress("/a");
+        endpoint.setAddress("/");
         endpoint.setFeatures(Arrays.asList(new Swagger2Feature()));
         return endpoint.create();
     }


Mime
View raw message