diff --git a/helm/schedulerservice/values-local.yaml b/helm/schedulerservice/values-local.yaml index 2b75abc..50559d4 100644 --- a/helm/schedulerservice/values-local.yaml +++ b/helm/schedulerservice/values-local.yaml @@ -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 diff --git a/helm/schedulerservice/values.yaml b/helm/schedulerservice/values.yaml index 4ba4bfe..d0d2d45 100644 --- a/helm/schedulerservice/values.yaml +++ b/helm/schedulerservice/values.yaml @@ -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