调整了各模块的的默认配置信息

This commit is contained in:
Administrator
2020-10-21 17:31:45 +08:00
parent 3bbc8ead22
commit b473e31c84
34 changed files with 118 additions and 152 deletions

View File

@ -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 {
}

View File

@ -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!" );
}
}

View File

@ -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}

View File

@ -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}