Merge pull request #95 from sebvelay/feat/cloudReady
feat(properties) : externalize conf on env properties
This commit is contained in:
commit
e00a4413d1
9 changed files with 70 additions and 54 deletions
4
.gitignore
vendored
4
.gitignore
vendored
|
|
@ -6,4 +6,6 @@ node_modules/
|
||||||
.classpath
|
.classpath
|
||||||
.project
|
.project
|
||||||
.settings/
|
.settings/
|
||||||
target/
|
target/
|
||||||
|
.java-version
|
||||||
|
.idea/
|
||||||
|
|
@ -1,16 +1,19 @@
|
||||||
|
|
||||||
spring.data.mongodb.database=businessProxyDB
|
|
||||||
spring.data.mongodb.host=mongodb:27017
|
|
||||||
kie-wb.mainwbintern=http://kie-wb:8080/kie-wb
|
|
||||||
kie-wb.mainwbextern=http://kie-wb:8080/kie-wb
|
|
||||||
server.port=${port:8200}
|
server.port=${port:8200}
|
||||||
kie-wb.baseurl=http://kie-wb:8080/kie-wb/rest
|
kie-wb.baseurl=${PYMMA_KIE_BASE_URL:http://kie-wb:8080/kie-wb/rest}
|
||||||
kie-wb.username=admin
|
kie-wb.mainwbintern=${PYMMA_KIE_MAINWBINTERN:http://kie-wb:8080/kie-wb}
|
||||||
kie-wb.password=admin
|
kie-wb.mainwbextern=${PYMMA_KIE_MAINWBEXTERN:http://kie-wb:8080/kie-wb}
|
||||||
org.kie.server.controller=http://kie-wb:8080/kie-wb/rest
|
kie-wb.username=${PYMMA_KIE_USER:admin}
|
||||||
org.kie.server.location=http://admin-console:8200/api/server
|
kie-wb.password=${PYMMA_KIE_PASSWORD:admin}
|
||||||
org.kie.server.id=pymmaConsole2
|
|
||||||
adminConsole.tmpdir=/tmp
|
adminConsole.tmpdir=/tmp
|
||||||
|
|
||||||
|
org.kie.server.controller=${PYMMA_KIE_CONTROLLER:http://kie-wb:8080/kie-wb/rest}
|
||||||
|
org.kie.server.location=${PYMMA_KIE_LOCATION:http://admin-console:8200/api/server}
|
||||||
|
org.kie.server.id=${PYMMA_KIE_SERVER_ID:pymmaConsole2}
|
||||||
|
spring.data.mongodb.database=${PYMMA_MONGO_DATABASE:businessProxyDB}
|
||||||
|
spring.data.mongodb.host=${PYMMA_MONGO_HOST:mongodb:27017}
|
||||||
|
spring.data.mongodb.password=${PYMMA_MONGO_PASSWORD}
|
||||||
|
spring.data.mongodb.username=${PYMMA_MONGO_USERNAME}
|
||||||
|
|
||||||
spring.servlet.multipart.enabled=false
|
spring.servlet.multipart.enabled=false
|
||||||
kafka.bootstrapAddress=kafka1:19092,kafka2:19093,kafka3:19094
|
kafka.bootstrapAddress=${PYMMA_KAFKA_BOOTSTRAP:kafka1:19092,kafka2:19093,kafka3:19094}
|
||||||
|
|
|
||||||
|
|
@ -1,17 +1,19 @@
|
||||||
server.port=${port:8200}
|
server.port=${port:8200}
|
||||||
kie-wb.baseurl=http://localhost:18080/kie-wb/rest
|
kie-wb.baseurl=${PYMMA_KIE_BASE_URL:http://localhost:18080/kie-wb/rest}
|
||||||
kie-wb.mainwbintern=http://localhost:8080/kie-wb
|
kie-wb.mainwbintern=${PYMMA_KIE_MAINWBINTERN:http://localhost:8080/kie-wb}
|
||||||
kie-wb.mainwbextern=http://localhost:8080/kie-wb
|
kie-wb.mainwbextern=${PYMMA_KIE_MAINWBEXTERN:http://localhost:8080/kie-wb}
|
||||||
kie-wb.username=admin
|
kie-wb.username=${PYMMA_KIE_USER:admin}
|
||||||
kie-wb.password=admin
|
kie-wb.password=${PYMMA_KIE_PASSWORD:admin}
|
||||||
|
|
||||||
adminConsole.tmpdir=/tmp
|
adminConsole.tmpdir=/tmp
|
||||||
|
|
||||||
org.kie.server.controller=http://localhost:18080/kie-wb/rest
|
org.kie.server.controller=${PYMMA_KIE_CONTROLLER:http://localhost:18080/kie-wb/rest}
|
||||||
org.kie.server.location=http://localhost:8200/api/server
|
org.kie.server.location=${PYMMA_KIE_LOCATION:http://localhost:8200/api/server}
|
||||||
org.kie.server.id=pymmaConsole2
|
org.kie.server.id=${PYMMA_KIE_SERVER_ID:pymmaConsole2}
|
||||||
spring.data.mongodb.database=businessProxyDB
|
spring.data.mongodb.database=${PYMMA_MONGO_DATABASE:businessProxyDB}
|
||||||
spring.data.mongodb.host=localhost:28017
|
spring.data.mongodb.host=${PYMMA_MONGO_HOST:localhost:28017}
|
||||||
|
spring.data.mongodb.password=${PYMMA_MONGO_PASSWORD}
|
||||||
|
spring.data.mongodb.username=${PYMMA_MONGO_USERNAME}
|
||||||
|
|
||||||
spring.servlet.multipart.enabled=false
|
spring.servlet.multipart.enabled=false
|
||||||
kafka.bootstrapAddress=localhost:9092,localhost:9093,localhost:9094
|
kafka.bootstrapAddress=${PYMMA_KAFKA_BOOTSTRAP:localhost:9092,localhost:9093,localhost:9094}
|
||||||
|
|
|
||||||
|
|
@ -2,10 +2,12 @@ spring.data.elasticsearch.cluster-nodes=elasticdb:9300
|
||||||
spring.data.elasticsearch.repositories.enabled=true
|
spring.data.elasticsearch.repositories.enabled=true
|
||||||
spring.data.elasticsearch.cluster-name=elasticsearch
|
spring.data.elasticsearch.cluster-name=elasticsearch
|
||||||
|
|
||||||
kieserver.login=kieserver
|
kieserver.login=${PYMMA_KIE_SERVEUR_LOGIN:kieserver}
|
||||||
kieserver.password=kieserver1
|
kieserver.password=${PYMMA_KIE_SERVEUR_PASSWORD:kieserver1}
|
||||||
server.port=8070
|
server.port=${port:8070}
|
||||||
spring.data.mongodb.database=businessProxyDB
|
spring.data.mongodb.database=${PYMMA_MONGO_DATABASE:businessProxyDB}
|
||||||
spring.data.mongodb.host=mongodb:27017
|
spring.data.mongodb.host=${PYMMA_MONGO_HOST:mongodb:27017}
|
||||||
kafka.index.groupid=index1
|
spring.data.mongodb.password=${PYMMA_MONGO_PASSWORD}
|
||||||
kafka.bootstrapAddress=kafka1:19092,kafka2:19093,kafka3:19094
|
spring.data.mongodb.username=${PYMMA_MONGO_USERNAME}
|
||||||
|
kafka.index.groupid=${PYMMA_KIE_SERVEUR_GROUPID:index1}
|
||||||
|
kafka.bootstrapAddress=${PYMMA_KAFKA_BOOTSTRAP:kafka1:19092,kafka2:19093,kafka3:19094}
|
||||||
|
|
@ -1,8 +1,10 @@
|
||||||
kafka.bootstrapAddress=localhost:9092,localhost:9093,localhost:9094
|
kafka.bootstrapAddress=${PYMMA_KAFKA_BOOTSTRAP:localhost:9092,localhost:9093,localhost:9094}
|
||||||
|
|
||||||
kieserver.login=kieserver
|
kieserver.login=${PYMMA_KIE_SERVEUR_LOGIN:kieserver}
|
||||||
kieserver.password=kieserver1
|
kieserver.password=${PYMMA_KIE_SERVEUR_PASSWORD:kieserver1}
|
||||||
kafka.index.groupid=index1
|
kafka.index.groupid=${PYMMA_KIE_SERVEUR_GROUPID:index1}
|
||||||
spring.data.mongodb.database=businessProxyDB
|
spring.data.mongodb.database=${PYMMA_MONGO_DATABASE:businessProxyDB}
|
||||||
spring.data.mongodb.host=localhost:28017
|
spring.data.mongodb.host=${PYMMA_MONGO_HOST:localhost:28017}
|
||||||
server.port=5547
|
spring.data.mongodb.password=${PYMMA_MONGO_PASSWORD}
|
||||||
|
spring.data.mongodb.username=${PYMMA_MONGO_USERNAME}
|
||||||
|
server.port=${port:5547}
|
||||||
|
|
@ -15,12 +15,13 @@
|
||||||
## limitations under the License.
|
## limitations under the License.
|
||||||
## ---------------------------------------------------------------------------
|
## ---------------------------------------------------------------------------
|
||||||
# the name of Camel
|
# the name of Camel
|
||||||
server.port=8090
|
server.port=${port:8090}
|
||||||
camel.springboot.name=MyCamel
|
camel.springboot.name=MyCamel
|
||||||
# to reconfigure the camel servlet context-path mapping to use /api/* instead of /camel/*
|
# to reconfigure the camel servlet context-path mapping to use /api/* instead of /camel/*
|
||||||
camel.component.servlet.mapping.context-path=/api/*
|
camel.component.servlet.mapping.context-path=/api/*
|
||||||
spring.data.mongodb.database=businessProxyDB
|
spring.data.mongodb.host=${PYMMA_MONGO_HOST:mongodb:27017}
|
||||||
spring.data.mongodb.host=mongodb:27017
|
spring.data.mongodb.password=${PYMMA_MONGO_PASSWORD}
|
||||||
kie-wb.m2repo=http://kie-wb:8080/kie-wb/maven2/
|
spring.data.mongodb.username=${PYMMA_MONGO_USERNAME}
|
||||||
|
kie-wb.m2repo=${PYMMA_M2_REPO:http://kie-wb:8080/kie-wb/maven2/}
|
||||||
|
|
||||||
kafka.bootstrapAddress=kafka1:19092,kafka2:19093,kafka3:19094
|
kafka.bootstrapAddress=${PYMMA_KAFKA_BOOTSTRAP:kafka1:19092,kafka2:19093,kafka3:19094}
|
||||||
|
|
|
||||||
|
|
@ -19,10 +19,10 @@ server.port=8090
|
||||||
camel.springboot.name=MyCamel
|
camel.springboot.name=MyCamel
|
||||||
# to reconfigure the camel servlet context-path mapping to use /api/* instead of /camel/*
|
# to reconfigure the camel servlet context-path mapping to use /api/* instead of /camel/*
|
||||||
camel.component.servlet.mapping.context-path=/api/*
|
camel.component.servlet.mapping.context-path=/api/*
|
||||||
spring.data.mongodb.database=businessProxyDB
|
spring.data.mongodb.database=${PYMMA_MONGO_DATABASE:businessProxyDB:}
|
||||||
spring.data.mongodb.host=localhost:28017
|
spring.data.mongodb.host=${PYMMA_MONGO_HOST:localhost:28017:}
|
||||||
|
|
||||||
|
|
||||||
eureka.client.service-url.defaultZone=http://127.0.0.1:8761/eureka/
|
eureka.client.service-url.defaultZone=http://127.0.0.1:8761/eureka/
|
||||||
spring.application.name=proxy-app-${org.kie.server.id}
|
spring.application.name=proxy-app-${org.kie.server.id}
|
||||||
kafka.bootstrapAddress=localhost:9092,localhost:9093,localhost:9094
|
kafka.bootstrapAddress=${PYMMA_KAFKA_BOOTSTRAP:localhost:9092,localhost:9093,localhost:9094:}
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
server.port=9500
|
server.port=${port:9500}
|
||||||
|
|
||||||
spring.data.mongodb.database=businessProxyDB
|
spring.data.mongodb.database=${PYMMA_MONGO_DATABASE:businessProxyDB}
|
||||||
spring.data.mongodb.host=mongodb:27017
|
spring.data.mongodb.host=${PYMMA_MONGO_HOST:mongodb:27017}
|
||||||
kafka.bootstrapAddress=kafka1:19092,kafka2:19093,kafka3:19094
|
spring.data.mongodb.password=${PYMMA_MONGO_PASSWORD}
|
||||||
|
spring.data.mongodb.username=${PYMMA_MONGO_USERNAME}
|
||||||
|
kafka.bootstrapAddress=${PYMMA_KAFKA_BOOTSTRAP:kafka1:19092,kafka2:19093,kafka3:19094}
|
||||||
|
|
@ -1,5 +1,7 @@
|
||||||
server.port=9500
|
server.port=${port:9500}
|
||||||
spring.data.mongodb.database=businessProxyDB
|
spring.data.mongodb.database=${PYMMA_MONGO_DATABASE:businessProxyDB}
|
||||||
spring.data.mongodb.host=localhost:28017
|
spring.data.mongodb.host=${PYMMA_MONGO_HOST:localhost:28017}
|
||||||
|
spring.data.mongodb.password=${PYMMA_MONGO_PASSWORD}
|
||||||
|
spring.data.mongodb.username=${PYMMA_MONGO_USERNAME}
|
||||||
charon.tracing.enabled=true
|
charon.tracing.enabled=true
|
||||||
kafka.bootstrapAddress=localhost:9092,localhost:9093,localhost:9094
|
kafka.bootstrapAddress=${PYMMA_KAFKA_BOOTSTRAP:localhost:9092,localhost:9093,localhost:9094}
|
||||||
Loading…
Add table
editor.link_modal.header
Reference in a new issue