config file formate changed 2
This commit is contained in:
parent
8da00e6cc7
commit
6bfc4ffcf6
@ -95,12 +95,12 @@ config:
|
||||
authConfig.cfg: |
|
||||
{
|
||||
prod: {
|
||||
"authEnable": false,
|
||||
"auth_url": "http://hades-service/hades/authorize"
|
||||
"auth_enable": false,
|
||||
"hades_auth_url": "http://hades-service/hades/authorize"
|
||||
},
|
||||
test: {
|
||||
"authEnable": false,
|
||||
"auth_url": "http://hades-service/hades/authorize"
|
||||
"auth_enable": false,
|
||||
"hades_auth_url": "http://hades-service/hades/authorize"
|
||||
}
|
||||
}
|
||||
log.cfg: |
|
||||
@ -125,7 +125,7 @@ config:
|
||||
|
||||
env:
|
||||
- name: APP_ENV
|
||||
value: "prod"
|
||||
value: "test"
|
||||
- name: LOG_LEVEL
|
||||
value: "DEBUG"
|
||||
- name: DB_CONFIG_FILE
|
||||
|
||||
@ -115,12 +115,26 @@ config:
|
||||
mountPath: /etc/onlinesales/config/schedulerService
|
||||
files:
|
||||
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: |
|
||||
{
|
||||
"authEnable": false,
|
||||
"authServiceUrl": "http://hades-service/hades/authorize"
|
||||
prod: {
|
||||
"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: |
|
||||
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
|
||||
|
||||
env:
|
||||
- name: APP_ENV
|
||||
value: "test"
|
||||
- name: LOG_LEVEL
|
||||
value: "DEBUG"
|
||||
- name: DB_CONFIG_FILE
|
||||
value: "/etc/onlinesales/db/hibernate.cfg.xml"
|
||||
- name: LOG_CONFIG_FILE
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user