调整了各模块的的默认配置信息
This commit is contained in:
@ -0,0 +1,10 @@
|
||||
package com.chinaunicom.mall.ebtp.cloud.apollo.stater;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.PropertySource;
|
||||
|
||||
@Configuration
|
||||
@PropertySource("classpath:apollo-configuration.properties")
|
||||
public class ApolloStarterConfiguration {
|
||||
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
package org.mall.ebtp.cloud.apollo.stater;
|
||||
|
||||
/**
|
||||
* Hello world!
|
||||
*
|
||||
*/
|
||||
public class App
|
||||
{
|
||||
public static void main( String[] args )
|
||||
{
|
||||
System.out.println( "Hello World!" );
|
||||
}
|
||||
}
|
@ -0,0 +1,5 @@
|
||||
# Apollo 配置信息
|
||||
apollo.meta=http://106.74.154.90:9228/
|
||||
apollo.bootstrap.namespace=application
|
||||
apollo.bootstrap.enabled=true
|
||||
apollo.bootstrap.eagerLoad.enabled=true
|
@ -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}
|
@ -0,0 +1,10 @@
|
||||
package com.chinaunicom.mall.ebtp.cloud.feign.starter;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.PropertySource;
|
||||
|
||||
@Configuration
|
||||
@PropertySource("classpath:feign-configuration.properties")
|
||||
public class FeignStarterConfiguration {
|
||||
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
package org.mall.ebtp.cloud.feign.starter;
|
||||
|
||||
/**
|
||||
* Hello world!
|
||||
*
|
||||
*/
|
||||
public class App
|
||||
{
|
||||
public static void main( String[] args )
|
||||
{
|
||||
System.out.println( "Hello World!" );
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
package com.chinaunicom.mall.ebtp.cloud.fileupload.starter;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.PropertySource;
|
||||
|
||||
@Configuration
|
||||
@PropertySource("classpath:fileupload-configuration.properties")
|
||||
public class FileuploadStarterConfiguration {
|
||||
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
package org.mall.ebtp.cloud.fileupload.starter;
|
||||
|
||||
/**
|
||||
* Hello world!
|
||||
*
|
||||
*/
|
||||
public class App
|
||||
{
|
||||
public static void main( String[] args )
|
||||
{
|
||||
System.out.println( "Hello World!" );
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
package com.chinaunicom.mall.ebtp.cloud.jpa.starter;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.PropertySource;
|
||||
|
||||
@Configuration
|
||||
@PropertySource("classpath:jpa-configuration.properties")
|
||||
public class JpaStarterConfiguration {
|
||||
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
package org.mall.ebtp.cloud.jpa.starter;
|
||||
|
||||
/**
|
||||
* Hello world!
|
||||
*
|
||||
*/
|
||||
public class App
|
||||
{
|
||||
public static void main( String[] args )
|
||||
{
|
||||
System.out.println( "Hello World!" );
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
package com.chinaunicom.mall.ebtp.cloud.kafka.starter;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.PropertySource;
|
||||
|
||||
@Configuration
|
||||
@PropertySource("classpath:kafka-configuration.properties")
|
||||
public class KafkaStarterConfiguration {
|
||||
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
package org.mall.ebtp.cloud.kafka.starter;
|
||||
|
||||
/**
|
||||
* Hello world!
|
||||
*
|
||||
*/
|
||||
public class App
|
||||
{
|
||||
public static void main( String[] args )
|
||||
{
|
||||
System.out.println( "Hello World!" );
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package com.chinaunicom.mall.ebtp.cloud.mvc.starter;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.PropertySource;
|
||||
|
||||
@Configuration
|
||||
@PropertySource("classpath:mcv-configuration.properties")
|
||||
public class MvcStarterConfiguration {
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
package org.mall.ebtp.cloud.mvc.starter;
|
||||
|
||||
/**
|
||||
* Hello world!
|
||||
*
|
||||
*/
|
||||
public class App
|
||||
{
|
||||
public static void main( String[] args )
|
||||
{
|
||||
System.out.println( "Hello World!" );
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
package com.chinaunicom.mall.ebtp.cloud.office.starter;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.PropertySource;
|
||||
|
||||
@Configuration
|
||||
@PropertySource("classpath:office-configuration.properties")
|
||||
public class OfficeStarterConfiguration {
|
||||
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
package org.mall.ebtp.cloud.office.starter;
|
||||
|
||||
/**
|
||||
* Hello world!
|
||||
*
|
||||
*/
|
||||
public class App
|
||||
{
|
||||
public static void main( String[] args )
|
||||
{
|
||||
System.out.println( "Hello World!" );
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
package com.chinaunicom.mall.ebtp.cloud.redis.starter;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.PropertySource;
|
||||
|
||||
@Configuration
|
||||
@PropertySource("classpath:redis-configuration.properties")
|
||||
public class RedisStarterConfiguration {
|
||||
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
package org.mall.ebtp.cloud.redis.starter;
|
||||
|
||||
/**
|
||||
* Hello world!
|
||||
*
|
||||
*/
|
||||
public class App
|
||||
{
|
||||
public static void main( String[] args )
|
||||
{
|
||||
System.out.println( "Hello World!" );
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
package com.chinaunicom.mall.ebtp.cloud.security.starter;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.PropertySource;
|
||||
|
||||
@Configuration
|
||||
@PropertySource("classpath:security-configuration.properties")
|
||||
public class SecurityStarterConfiguration {
|
||||
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
package org.mall.ebtp.cloud.security.starter;
|
||||
|
||||
/**
|
||||
* Hello world!
|
||||
*
|
||||
*/
|
||||
public class App
|
||||
{
|
||||
public static void main( String[] args )
|
||||
{
|
||||
System.out.println( "Hello World!" );
|
||||
}
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
package com.chinaunicom.mall.ebtp.cloud.swagger.starter;
|
||||
|
||||
import org.springframework.context.annotation.Configuration;
|
||||
import org.springframework.context.annotation.PropertySource;
|
||||
|
||||
@Configuration
|
||||
@PropertySource("classpath:swagger-configuration.properties")
|
||||
public class SwaggerStarterConfiguration {
|
||||
|
||||
}
|
@ -1,13 +0,0 @@
|
||||
package org.mall.ebtp.cloud.swagger.starter;
|
||||
|
||||
/**
|
||||
* Hello world!
|
||||
*
|
||||
*/
|
||||
public class App
|
||||
{
|
||||
public static void main( String[] args )
|
||||
{
|
||||
System.out.println( "Hello World!" );
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user