BAEL-579 Enabled cloud bus and updated dependencies.

This commit is contained in:
iaforek 2017-07-04 23:04:25 +01:00
parent 076657a26a
commit 7845da922d
2 changed files with 67 additions and 63 deletions

View File

@ -1,54 +1,53 @@
<?xml version="1.0" encoding="UTF-8"?> <?xml version="1.0" encoding="UTF-8"?>
<project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://maven.apache.org/POM/4.0.0" xmlns="http://maven.apache.org/POM/4.0.0"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion> <modelVersion>4.0.0</modelVersion>
<parent> <parent>
<groupId>com.baeldung.spring.cloud</groupId> <groupId>com.baeldung.spring.cloud</groupId>
<artifactId>spring-cloud-config</artifactId> <artifactId>spring-cloud-config</artifactId>
<version>1.0-SNAPSHOT</version> <version>1.0-SNAPSHOT</version>
</parent> </parent>
<artifactId>server</artifactId> <artifactId>server</artifactId>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.springframework.cloud</groupId> <groupId>org.springframework.cloud</groupId>
<artifactId>spring-cloud-config-server</artifactId> <artifactId>spring-cloud-config-server</artifactId>
<version>${spring-cloud-config-server.version}</version> </dependency>
</dependency> <dependency>
<dependency> <groupId>org.springframework.boot</groupId>
<groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-security</artifactId>
<artifactId>spring-boot-starter-security</artifactId> </dependency>
<version>${org.springframework.boot.version}</version> <dependency>
</dependency> <groupId>org.springframework.boot</groupId>
<dependency> <artifactId>spring-boot-starter-web</artifactId>
<groupId>org.springframework.boot</groupId> </dependency>
<artifactId>spring-boot-starter-web</artifactId>
<version>${org.springframework.boot.version}</version> <dependency>
</dependency> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-test</artifactId>
<dependency> <scope>test</scope>
<groupId>org.springframework.boot</groupId> </dependency>
<artifactId>spring-boot-starter-test</artifactId>
<version>${org.springframework.boot.version}</version> <dependency>
<scope>test</scope> <groupId>org.springframework.cloud</groupId>
</dependency> <artifactId>spring-cloud-config-monitor</artifactId>
</dependencies> </dependency>
<dependency>
<build> <groupId>org.springframework.cloud</groupId>
<plugins> <artifactId>spring-cloud-starter-stream-rabbit</artifactId>
<plugin> </dependency>
<groupId>org.springframework.boot</groupId> </dependencies>
<artifactId>spring-boot-maven-plugin</artifactId>
<version>${org.springframework.boot.version}</version> <build>
</plugin> <plugins>
</plugins> <plugin>
</build> <groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-maven-plugin</artifactId>
<properties> </plugin>
<spring-cloud-config-server.version>1.2.2.RELEASE</spring-cloud-config-server.version> </plugins>
<org.springframework.boot.version>1.4.2.RELEASE</org.springframework.boot.version> </build>
</properties>
</project>
</project>

View File

@ -1,9 +1,14 @@
server.port=8888 server.port=8888
spring.cloud.config.server.git.uri= spring.cloud.config.server.git.uri=
spring.cloud.config.server.git.clone-on-start=true spring.cloud.config.server.git.clone-on-start=true
security.user.name=root security.user.name=root
security.user.password=s3cr3t security.user.password=s3cr3t
encrypt.key-store.location=classpath:/config-server.jks encrypt.key-store.location=classpath:/config-server.jks
encrypt.key-store.password=my-s70r3-s3cr3t encrypt.key-store.password=my-s70r3-s3cr3t
encrypt.key-store.alias=config-server-key encrypt.key-store.alias=config-server-key
encrypt.key-store.secret=my-k34-s3cr3t encrypt.key-store.secret=my-k34-s3cr3t
spring.cloud.bus.enabled=true
spring.rabbitmq.host=localhost
spring.rabbitmq.port=5672
spring.rabbitmq.username=guest
spring.rabbitmq.password=guest