Fixing build

This commit is contained in:
Kenny Bastani
2017-01-11 20:41:15 -08:00
parent 9d13169d80
commit 48c86bec03
8 changed files with 189 additions and 50 deletions

View File

@@ -1,12 +1,6 @@
spring:
profiles:
active: development
cloud:
stream:
bindings:
output:
destination: account
contentType: 'application/json'
server:
port: 0
events:
@@ -14,12 +8,24 @@ events:
---
spring:
profiles: development
cloud:
stream:
bindings:
output:
destination: account
contentType: 'application/json'
---
spring:
profiles: docker
rabbitmq:
host: ${DOCKER_IP:192.168.99.100}
port: 5672
cloud:
stream:
bindings:
output:
destination: account
contentType: 'application/json'
eureka:
client:
service-url:
@@ -38,6 +44,12 @@ eureka:
---
spring:
profiles: cloud
cloud:
stream:
bindings:
output:
destination: account
contentType: 'application/json'
eureka:
instance:
hostname: ${vcap.application.uris[0]:localhost}

View File

@@ -1,15 +1,6 @@
spring:
profiles:
active: development
cloud:
stream:
bindings:
input:
destination: account
group: account-group
contentType: 'application/json'
consumer:
durableSubscription: true
server:
port: 0
amazon:
@@ -19,6 +10,15 @@ amazon:
---
spring:
profiles: development
cloud:
stream:
bindings:
input:
destination: account
group: account-group
contentType: 'application/json'
consumer:
durableSubscription: true
---
spring:
profiles: test
@@ -31,6 +31,15 @@ spring:
rabbitmq:
host: ${DOCKER_IP:192.168.99.100}
port: 5672
cloud:
stream:
bindings:
input:
destination: account
group: account-group
contentType: 'application/json'
consumer:
durableSubscription: true
eureka:
client:
service-url:
@@ -43,6 +52,15 @@ eureka:
---
spring:
profiles: cloud
cloud:
stream:
bindings:
input:
destination: account
group: account-group
contentType: 'application/json'
consumer:
durableSubscription: true
amazon:
aws:
access-key-id: ${AMAZON_AWS_ACCESS_KEY_ID:replace}