config file formate changed 2
This commit is contained in:
parent
8da00e6cc7
commit
6bfc4ffcf6
@ -95,12 +95,12 @@ config:
|
|||||||
authConfig.cfg: |
|
authConfig.cfg: |
|
||||||
{
|
{
|
||||||
prod: {
|
prod: {
|
||||||
"authEnable": false,
|
"auth_enable": false,
|
||||||
"auth_url": "http://hades-service/hades/authorize"
|
"hades_auth_url": "http://hades-service/hades/authorize"
|
||||||
},
|
},
|
||||||
test: {
|
test: {
|
||||||
"authEnable": false,
|
"auth_enable": false,
|
||||||
"auth_url": "http://hades-service/hades/authorize"
|
"hades_auth_url": "http://hades-service/hades/authorize"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
log.cfg: |
|
log.cfg: |
|
||||||
@ -125,7 +125,7 @@ config:
|
|||||||
|
|
||||||
env:
|
env:
|
||||||
- name: APP_ENV
|
- name: APP_ENV
|
||||||
value: "prod"
|
value: "test"
|
||||||
- name: LOG_LEVEL
|
- name: LOG_LEVEL
|
||||||
value: "DEBUG"
|
value: "DEBUG"
|
||||||
- name: DB_CONFIG_FILE
|
- name: DB_CONFIG_FILE
|
||||||
|
|||||||
@ -115,12 +115,26 @@ config:
|
|||||||
mountPath: /etc/onlinesales/config/schedulerService
|
mountPath: /etc/onlinesales/config/schedulerService
|
||||||
files:
|
files:
|
||||||
schedulerService.cfg: |
|
schedulerService.cfg: |
|
||||||
LOG_CONFIG_FILE=/etc/onlinesales/config/schedulerService/log.cfg
|
{
|
||||||
DB_CONFIG_FILE=/etc/onlinesales/db/hibernate.cfg.xml
|
prod: {
|
||||||
|
log_config: "/etc/onlinesales/config/schedulerService/log.cfg",
|
||||||
|
scheduler_db_hibernate_config: "/etc/onlinesales/db/hibernate.cfg.xml"
|
||||||
|
},
|
||||||
|
test: {
|
||||||
|
log_config: "/etc/onlinesales/config/schedulerService/log.cfg",
|
||||||
|
scheduler_db_hibernate_config: "/etc/onlinesales/db/hibernate.cfg.xml"
|
||||||
|
}
|
||||||
|
}
|
||||||
authConfig.cfg: |
|
authConfig.cfg: |
|
||||||
{
|
{
|
||||||
"authEnable": false,
|
prod: {
|
||||||
"authServiceUrl": "http://hades-service/hades/authorize"
|
"auth_enable": false,
|
||||||
|
"hades_auth_url": "http://hades-service/hades/authorize"
|
||||||
|
},
|
||||||
|
test: {
|
||||||
|
"auth_enable": false,
|
||||||
|
"hades_auth_url": "http://hades-service/hades/authorize"
|
||||||
|
}
|
||||||
}
|
}
|
||||||
log.cfg: |
|
log.cfg: |
|
||||||
log4j.rootLogger=INFO, stdout
|
log4j.rootLogger=INFO, stdout
|
||||||
@ -129,6 +143,10 @@ config:
|
|||||||
log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
|
log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
|
||||||
|
|
||||||
env:
|
env:
|
||||||
|
- name: APP_ENV
|
||||||
|
value: "test"
|
||||||
|
- name: LOG_LEVEL
|
||||||
|
value: "DEBUG"
|
||||||
- name: DB_CONFIG_FILE
|
- name: DB_CONFIG_FILE
|
||||||
value: "/etc/onlinesales/db/hibernate.cfg.xml"
|
value: "/etc/onlinesales/db/hibernate.cfg.xml"
|
||||||
- name: LOG_CONFIG_FILE
|
- name: LOG_CONFIG_FILE
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user