testing config service
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
package com.release11.klaus.config;
|
||||
|
||||
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
|
||||
@Configuration
|
||||
@EnableDiscoveryClient
|
||||
public class LocalDiscovery {
|
||||
}
|
||||
23
src/main/resources/bootstrap-PROD.yml
Normal file
23
src/main/resources/bootstrap-PROD.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
spring:
|
||||
application:
|
||||
name: klaus
|
||||
cloud:
|
||||
spring:
|
||||
cloud:
|
||||
config:
|
||||
fail-fast: false
|
||||
uri: http://s5000xvn.zipper.release11.com:8888
|
||||
retry:
|
||||
max-attempts: 20
|
||||
max-interval: 15000
|
||||
initial-interval: 10000
|
||||
server:
|
||||
port: 8097
|
||||
|
||||
eureka:
|
||||
client:
|
||||
enabled: true
|
||||
register-with-eureka: true
|
||||
fetch-registry: true
|
||||
serviceUrl:
|
||||
defaultZone: http://netflix:eureka@eureka:8761/eureka
|
||||
23
src/main/resources/bootstrap.yml
Normal file
23
src/main/resources/bootstrap.yml
Normal file
@@ -0,0 +1,23 @@
|
||||
spring:
|
||||
application:
|
||||
name: klaus
|
||||
cloud:
|
||||
spring:
|
||||
cloud:
|
||||
config:
|
||||
fail-fast: false
|
||||
uri: http://s5000xvn.zipper.release11.com:8888
|
||||
retry:
|
||||
max-attempts: 20
|
||||
max-interval: 15000
|
||||
initial-interval: 10000
|
||||
server:
|
||||
port: 8097
|
||||
|
||||
eureka:
|
||||
client:
|
||||
enabled: true
|
||||
register-with-eureka: true
|
||||
fetch-registry: true
|
||||
serviceUrl:
|
||||
defaultZone: http://netflix:eureka@eureka:8761/eureka
|
||||
Reference in New Issue
Block a user