cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject [09/20] cxf git commit: Minor updates to the jaxrs boot scan demo
Date Sun, 03 Jul 2016 22:10:06 GMT
Minor updates to the jaxrs boot scan demo


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

Branch: refs/heads/master-jaxrs-2.1
Commit: 585df048b7730ee36644a4bb7c1a20fcf977d79e
Parents: d9851f8
Author: Sergey Beryozkin <sberyozkin@gmail.com>
Authored: Fri Jul 1 13:36:28 2016 +0100
Committer: Sergey Beryozkin <sberyozkin@gmail.com>
Committed: Fri Jul 1 13:36:28 2016 +0100

----------------------------------------------------------------------
 .../application/src/main/resources/application.yml           | 8 ++++++--
 .../src/main/java/registry/eureka/RegistryApplication.java   | 5 +----
 2 files changed, 7 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/585df048/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/main/resources/application.yml
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/main/resources/application.yml
b/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/main/resources/application.yml
index 9781013..3643f09 100644
--- a/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/main/resources/application.yml
+++ b/distribution/src/main/release/samples/jax_rs/spring_boot_scan/application/src/main/resources/application.yml
@@ -4,6 +4,8 @@ server:
 
 cxf:
   path: /services/helloservice
+  servlet.init: 
+    service-list-path: /info
   jaxrs:
     component-scan: true
 
@@ -12,8 +14,10 @@ eureka:
     serviceUrl:
       defaultZone: ${vcap.services.eureka-service.credentials.uri:http://127.0.0.1:8761}/eureka/
   instance:
-    statusPageUrlPath: /system/info
-    healthCheckUrlPath: /system/health 
+    statusPageUrlPath: /services/helloservice/info
+    healthCheckUrlPath: /system/health
+    metadataMap:
+      instanceId: ${spring.application.name}:${spring.application.instance_id:${random.value}}

     
 ---
 spring:

http://git-wip-us.apache.org/repos/asf/cxf/blob/585df048/distribution/src/main/release/samples/jax_rs/spring_boot_scan/eureka-registry/src/main/java/registry/eureka/RegistryApplication.java
----------------------------------------------------------------------
diff --git a/distribution/src/main/release/samples/jax_rs/spring_boot_scan/eureka-registry/src/main/java/registry/eureka/RegistryApplication.java
b/distribution/src/main/release/samples/jax_rs/spring_boot_scan/eureka-registry/src/main/java/registry/eureka/RegistryApplication.java
index 91b3ff2..2a3cdd4 100644
--- a/distribution/src/main/release/samples/jax_rs/spring_boot_scan/eureka-registry/src/main/java/registry/eureka/RegistryApplication.java
+++ b/distribution/src/main/release/samples/jax_rs/spring_boot_scan/eureka-registry/src/main/java/registry/eureka/RegistryApplication.java
@@ -24,11 +24,8 @@ import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
 
 @SpringBootApplication
 @EnableEurekaServer
-public final class RegistryApplication {
-    private RegistryApplication() {
-    }
+public class RegistryApplication {
     
-
     public static void main(String[] args) {
         SpringApplication.run(RegistryApplication.class, args);
     }


Mime
View raw message