diff --git a/spring-cloud/spring-cloud-config/server/pom.xml b/spring-cloud/spring-cloud-config/server/pom.xml index 0157851001..7aeb1967a0 100644 --- a/spring-cloud/spring-cloud-config/server/pom.xml +++ b/spring-cloud/spring-cloud-config/server/pom.xml @@ -1,54 +1,53 @@ - - - 4.0.0 - - - com.baeldung.spring.cloud - spring-cloud-config - 1.0-SNAPSHOT - - server - - - - org.springframework.cloud - spring-cloud-config-server - ${spring-cloud-config-server.version} - - - org.springframework.boot - spring-boot-starter-security - ${org.springframework.boot.version} - - - org.springframework.boot - spring-boot-starter-web - ${org.springframework.boot.version} - - - - org.springframework.boot - spring-boot-starter-test - ${org.springframework.boot.version} - test - - - - - - - org.springframework.boot - spring-boot-maven-plugin - ${org.springframework.boot.version} - - - - - - 1.2.2.RELEASE - 1.4.2.RELEASE - - - + + + 4.0.0 + + + com.baeldung.spring.cloud + spring-cloud-config + 1.0-SNAPSHOT + + server + + + + org.springframework.cloud + spring-cloud-config-server + + + org.springframework.boot + spring-boot-starter-security + + + org.springframework.boot + spring-boot-starter-web + + + + org.springframework.boot + spring-boot-starter-test + test + + + + org.springframework.cloud + spring-cloud-config-monitor + + + org.springframework.cloud + spring-cloud-starter-stream-rabbit + + + + + + + org.springframework.boot + spring-boot-maven-plugin + + + + + diff --git a/spring-cloud/spring-cloud-config/server/src/main/resources/application.properties b/spring-cloud/spring-cloud-config/server/src/main/resources/application.properties index 3d4f3bcd47..95699c9fa0 100644 --- a/spring-cloud/spring-cloud-config/server/src/main/resources/application.properties +++ b/spring-cloud/spring-cloud-config/server/src/main/resources/application.properties @@ -1,9 +1,14 @@ -server.port=8888 -spring.cloud.config.server.git.uri= -spring.cloud.config.server.git.clone-on-start=true -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 +server.port=8888 +spring.cloud.config.server.git.uri= +spring.cloud.config.server.git.clone-on-start=true +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 +spring.cloud.bus.enabled=true +spring.rabbitmq.host=localhost +spring.rabbitmq.port=5672 +spring.rabbitmq.username=guest +spring.rabbitmq.password=guest \ No newline at end of file