Create cloud cli command.
Downloads and launches eureka,kafka,configserver,h2 server & hystrix dashboard.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
spring:
|
||||
application:
|
||||
name: configserver
|
||||
profiles:
|
||||
active: native
|
||||
cloud:
|
||||
config:
|
||||
server:
|
||||
bootstrap: true
|
||||
native:
|
||||
search-locations: classpath:/launcher/, file:./launcher/
|
||||
|
||||
server:
|
||||
port: 8888
|
||||
|
||||
management:
|
||||
context-path: /admin
|
||||
|
||||
eureka:
|
||||
instance:
|
||||
status-page-url-path: ${management.context-path}/info
|
||||
|
||||
info:
|
||||
artifactId: @project.artifactId@
|
||||
description: @project.description@
|
||||
version: @project.version@
|
||||
@@ -0,0 +1,28 @@
|
||||
info:
|
||||
description: Spring Cloud Launcher
|
||||
|
||||
eureka:
|
||||
client:
|
||||
instance-info-replication-interval-seconds: 5
|
||||
initial-instance-info-replication-interval-seconds: 5
|
||||
serviceUrl:
|
||||
defaultZone: http://localhost:8761/eureka/
|
||||
|
||||
endpoints:
|
||||
restart: enabled
|
||||
|
||||
ribbon:
|
||||
ConnectTimeout: 3000
|
||||
ReadTimeout: 60000
|
||||
|
||||
spring:
|
||||
datasource:
|
||||
url: jdbc:h2:tcp://localhost:9096/~/launcher
|
||||
|
||||
logging:
|
||||
level:
|
||||
kafka: WARN
|
||||
org.apache.zookeeper: WARN
|
||||
org.apache.zookeeper.ClientCnxn: ERROR
|
||||
org.apache.kafka: WARN
|
||||
org.I0Itec: WARN
|
||||
Reference in New Issue
Block a user