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

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.apollo.stater;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;
@Configuration
@PropertySource("classpath:apollo-configuration.properties")
public class ApolloStarterConfiguration {
}

View File

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

View File

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

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}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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