BAEL-169 - grouping spring-cloud modules in a multi-maven project

This commit is contained in:
slavisa-baeldung
2016-09-01 13:54:53 +02:00
parent 455d10eeff
commit a0ef91fc92
51 changed files with 1228 additions and 11 deletions
@@ -0,0 +1,15 @@
package com.baeldung.spring.cloud.config.server;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.security.config.annotation.web.configuration.EnableWebSecurity;
@SpringBootApplication
@EnableConfigServer
@EnableWebSecurity
public class ConfigServer {
public static void main(String[] args) {
SpringApplication.run(ConfigServer.class, args);
}
}
@@ -0,0 +1,9 @@
server.port=8888
spring.cloud.config.server.git.uri=https://github.com/eugenp/tutorials/tree/master/spring-cloud-config/client-config
spring.cloud.config.server.git.clone-on-start=false
security.user.name=root
security.user.password=s3cr3t
encrypt.key-store.location=classpath:/config-server.jks
encrypt.key-store.password=my-s70r3-s3cr3t
encrypt.key-store.alias=config-server-key
encrypt.key-store.secret=my-k34-s3cr3t