调整了各模块的的默认配置信息
This commit is contained in:
@ -0,0 +1,10 @@
|
||||
package com.chinaunicom.mall.ebtp.cloud.eureka.starter;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.PropertySource;
|
||||
|
||||
@Configuration
|
||||
@PropertySource("classpath:eureka-cofiguration.properties")
|
||||
public class EurekaStarterConfiguration {
|
||||
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
package org.mall.ebtp.cloud.eureka.starter;
|
||||
|
||||
/**
|
||||
* Hello world!
|
||||
*
|
||||
*/
|
||||
public class App
|
||||
{
|
||||
public static void main( String[] args )
|
||||
{
|
||||
System.out.println( "Hello World!" );
|
||||
}
|
||||
}
|
@ -1,9 +0,0 @@
|
||||
# 胜智云eureka 统一配置
|
||||
eureka:
|
||||
client:
|
||||
service-url:
|
||||
defaultZone: http://192.168.40.17:12093/eureka/,http://192.168.40.17:18126/eureka/,http://192.168.40.17:28641/eureka/
|
||||
instance:
|
||||
prefer-ip-address: true
|
||||
instance-id: ${spring.cloud.client.ip-address}:${server.port}
|
||||
|
@ -0,0 +1,4 @@
|
||||
# 胜智云eureka 统一配置
|
||||
eureka.client.service-url.defaultZone=http://192.168.40.17:12093/eureka/,http://192.168.40.17:18126/eureka/,http://192.168.40.17:28641/eureka/
|
||||
eureka.instance.prefer-ip-address=true
|
||||
eureka.instance.instance-id=${spring.cloud.client.ip-address}:${server.port}
|
Reference in New Issue
Block a user