Use map for deployables, not array (key is the name)

This commit is contained in:
Dave Syer
2016-08-16 14:09:57 +01:00
parent 9c443a1c04
commit f26bdea6d9
6 changed files with 193 additions and 17 deletions

View File

@@ -5,33 +5,33 @@ spring:
cloud:
launcher:
deployables:
- name: configserver
configserver:
coordinates: ${dt.pre}configserver:${dt.ver}
port: 8888
waitUntilStarted: true
order: -100
- name: dataflow
dataflow:
coordinates: ${dt.pre}dataflow:${dt.ver}
port: 9393
- name: eureka
eureka:
coordinates: ${dt.pre}eureka:${dt.ver}
port: 8761
message: To see the dashboard open http://localhost:8761
- name: h2
h2:
coordinates: ${dt.pre}h2:${dt.ver}
port: 9095
message: Connect on jdbc:h2:tcp://localhost:9096/./target/test, web console at http://localhost:9095
waitUntilStarted: true
order: -50
- name: hystrixdashboard
hystrixdashboard:
coordinates: ${dt.pre}hystrixdashboard:${dt.ver}
port: 7979
- name: kafka
kafka:
coordinates: ${dt.pre}kafka:${dt.ver}
port: 9091
waitUntilStarted: true
order: -200
- name: zipkin
zipkin:
coordinates: ${dt.pre}zipkin:${dt.ver}
port: 9411
order: 0