Fixing build
This commit is contained in:
@@ -3,3 +3,4 @@ jdk:
|
||||
- oraclejdk8
|
||||
services:
|
||||
- rabbitmq
|
||||
install: mvn clean install -DskipDockerBuild
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -1,12 +1,6 @@
|
||||
spring:
|
||||
profiles:
|
||||
active: development
|
||||
cloud:
|
||||
stream:
|
||||
bindings:
|
||||
output:
|
||||
destination: order
|
||||
contentType: 'application/json'
|
||||
server:
|
||||
port: 0
|
||||
events:
|
||||
@@ -14,12 +8,24 @@ events:
|
||||
---
|
||||
spring:
|
||||
profiles: development
|
||||
cloud:
|
||||
stream:
|
||||
bindings:
|
||||
output:
|
||||
destination: order
|
||||
contentType: 'application/json'
|
||||
---
|
||||
spring:
|
||||
profiles: docker
|
||||
rabbitmq:
|
||||
host: ${DOCKER_IP:192.168.99.100}
|
||||
port: 5672
|
||||
cloud:
|
||||
stream:
|
||||
bindings:
|
||||
output:
|
||||
destination: order
|
||||
contentType: 'application/json'
|
||||
eureka:
|
||||
client:
|
||||
service-url:
|
||||
@@ -38,6 +44,12 @@ eureka:
|
||||
---
|
||||
spring:
|
||||
profiles: cloud
|
||||
cloud:
|
||||
stream:
|
||||
bindings:
|
||||
output:
|
||||
destination: order
|
||||
contentType: 'application/json'
|
||||
eureka:
|
||||
instance:
|
||||
hostname: ${vcap.application.uris[0]:localhost}
|
||||
|
||||
@@ -1,15 +1,6 @@
|
||||
spring:
|
||||
profiles:
|
||||
active: development
|
||||
cloud:
|
||||
stream:
|
||||
bindings:
|
||||
input:
|
||||
contentType: 'application/json'
|
||||
destination: order
|
||||
group: order-group
|
||||
consumer:
|
||||
durableSubscription: true
|
||||
server:
|
||||
port: 0
|
||||
amazon:
|
||||
@@ -19,12 +10,30 @@ amazon:
|
||||
---
|
||||
spring:
|
||||
profiles: development
|
||||
cloud:
|
||||
stream:
|
||||
bindings:
|
||||
input:
|
||||
contentType: 'application/json'
|
||||
destination: order
|
||||
group: order-group
|
||||
consumer:
|
||||
durableSubscription: true
|
||||
---
|
||||
spring:
|
||||
profiles: docker
|
||||
rabbitmq:
|
||||
host: ${DOCKER_IP:192.168.99.100}
|
||||
port: 5672
|
||||
cloud:
|
||||
stream:
|
||||
bindings:
|
||||
input:
|
||||
contentType: 'application/json'
|
||||
destination: order
|
||||
group: order-group
|
||||
consumer:
|
||||
durableSubscription: true
|
||||
eureka:
|
||||
client:
|
||||
service-url:
|
||||
@@ -43,6 +52,15 @@ eureka:
|
||||
---
|
||||
spring:
|
||||
profiles: cloud
|
||||
cloud:
|
||||
stream:
|
||||
bindings:
|
||||
input:
|
||||
contentType: 'application/json'
|
||||
destination: order
|
||||
group: order-group
|
||||
consumer:
|
||||
durableSubscription: true
|
||||
amazon:
|
||||
aws:
|
||||
access-key-id: ${AMAZON_AWS_ACCESS_KEY_ID:replace}
|
||||
|
||||
@@ -1,12 +1,6 @@
|
||||
spring:
|
||||
profiles:
|
||||
active: development
|
||||
cloud:
|
||||
stream:
|
||||
bindings:
|
||||
output:
|
||||
contentType: 'application/json'
|
||||
destination: payment
|
||||
server:
|
||||
port: 0
|
||||
events:
|
||||
@@ -14,12 +8,24 @@ events:
|
||||
---
|
||||
spring:
|
||||
profiles: development
|
||||
cloud:
|
||||
stream:
|
||||
bindings:
|
||||
output:
|
||||
contentType: 'application/json'
|
||||
destination: payment
|
||||
---
|
||||
spring:
|
||||
profiles: docker
|
||||
rabbitmq:
|
||||
host: ${DOCKER_IP:192.168.99.100}
|
||||
port: 5672
|
||||
cloud:
|
||||
stream:
|
||||
bindings:
|
||||
output:
|
||||
contentType: 'application/json'
|
||||
destination: payment
|
||||
eureka:
|
||||
client:
|
||||
service-url:
|
||||
@@ -38,6 +44,12 @@ eureka:
|
||||
---
|
||||
spring:
|
||||
profiles: cloud
|
||||
cloud:
|
||||
stream:
|
||||
bindings:
|
||||
output:
|
||||
contentType: 'application/json'
|
||||
destination: payment
|
||||
eureka:
|
||||
instance:
|
||||
hostname: ${vcap.application.uris[0]:localhost}
|
||||
|
||||
@@ -1,15 +1,6 @@
|
||||
spring:
|
||||
profiles:
|
||||
active: development
|
||||
cloud:
|
||||
stream:
|
||||
bindings:
|
||||
input:
|
||||
contentType: 'application/json'
|
||||
destination: payment
|
||||
group: payment-group
|
||||
consumer:
|
||||
durableSubscription: true
|
||||
server:
|
||||
port: 0
|
||||
amazon:
|
||||
@@ -19,12 +10,30 @@ amazon:
|
||||
---
|
||||
spring:
|
||||
profiles: development
|
||||
cloud:
|
||||
stream:
|
||||
bindings:
|
||||
input:
|
||||
contentType: 'application/json'
|
||||
destination: payment
|
||||
group: payment-group
|
||||
consumer:
|
||||
durableSubscription: true
|
||||
---
|
||||
spring:
|
||||
profiles: docker
|
||||
rabbitmq:
|
||||
host: ${DOCKER_IP:192.168.99.100}
|
||||
port: 5672
|
||||
cloud:
|
||||
stream:
|
||||
bindings:
|
||||
input:
|
||||
contentType: 'application/json'
|
||||
destination: payment
|
||||
group: payment-group
|
||||
consumer:
|
||||
durableSubscription: true
|
||||
eureka:
|
||||
client:
|
||||
service-url:
|
||||
@@ -43,6 +52,15 @@ eureka:
|
||||
---
|
||||
spring:
|
||||
profiles: cloud
|
||||
cloud:
|
||||
stream:
|
||||
bindings:
|
||||
input:
|
||||
contentType: 'application/json'
|
||||
destination: payment
|
||||
group: payment-group
|
||||
consumer:
|
||||
durableSubscription: true
|
||||
eureka:
|
||||
instance:
|
||||
hostname: ${vcap.application.uris[0]:localhost}
|
||||
|
||||
@@ -1,6 +1,11 @@
|
||||
spring:
|
||||
profiles:
|
||||
active: development
|
||||
server:
|
||||
port: 0
|
||||
---
|
||||
spring:
|
||||
profiles: development
|
||||
cloud:
|
||||
stream:
|
||||
bindings:
|
||||
@@ -25,17 +30,36 @@ spring:
|
||||
consumer:
|
||||
durableSubscription: true
|
||||
concurrency: 5
|
||||
server:
|
||||
port: 0
|
||||
---
|
||||
spring:
|
||||
profiles: development
|
||||
---
|
||||
spring:
|
||||
profiles: docker
|
||||
rabbitmq:
|
||||
host: ${DOCKER_IP:192.168.99.100}
|
||||
port: 5672
|
||||
cloud:
|
||||
stream:
|
||||
bindings:
|
||||
warehouse:
|
||||
contentType: 'application/json'
|
||||
destination: warehouse
|
||||
group: warehouse-group
|
||||
consumer:
|
||||
durableSubscription: true
|
||||
concurrency: 5
|
||||
reservation:
|
||||
contentType: 'application/json'
|
||||
destination: reservation
|
||||
group: reservation-group
|
||||
consumer:
|
||||
durableSubscription: true
|
||||
concurrency: 5
|
||||
inventory:
|
||||
contentType: 'application/json'
|
||||
destination: inventory
|
||||
group: inventory-group
|
||||
consumer:
|
||||
durableSubscription: true
|
||||
concurrency: 5
|
||||
eureka:
|
||||
client:
|
||||
service-url:
|
||||
@@ -54,6 +78,30 @@ eureka:
|
||||
---
|
||||
spring:
|
||||
profiles: cloud
|
||||
cloud:
|
||||
stream:
|
||||
bindings:
|
||||
warehouse:
|
||||
contentType: 'application/json'
|
||||
destination: warehouse
|
||||
group: warehouse-group
|
||||
consumer:
|
||||
durableSubscription: true
|
||||
concurrency: 5
|
||||
reservation:
|
||||
contentType: 'application/json'
|
||||
destination: reservation
|
||||
group: reservation-group
|
||||
consumer:
|
||||
durableSubscription: true
|
||||
concurrency: 5
|
||||
inventory:
|
||||
contentType: 'application/json'
|
||||
destination: inventory
|
||||
group: inventory-group
|
||||
consumer:
|
||||
durableSubscription: true
|
||||
concurrency: 5
|
||||
eureka:
|
||||
instance:
|
||||
hostname: ${vcap.application.uris[0]:localhost}
|
||||
|
||||
Reference in New Issue
Block a user