summaryrefslogtreecommitdiffstats
path: root/charts/aai-modelloader
diff options
context:
space:
mode:
authormark.j.leonard <mark.j.leonard@gmail.com>2018-05-04 17:09:48 +0100
committermark.j.leonard <mark.j.leonard@gmail.com>2018-05-08 11:56:58 +0100
commit827c851f18a72c06bf9bf91a89b9e68a7507ed23 (patch)
tree5feca1df93f889e94a2f5a874fcee0374adcd97c /charts/aai-modelloader
parente17614d0be4a12a10f5b4ef3818945bff1a3aa50 (diff)
Update ML and Babel logback.xml config
Change the log directory to /var/log/onap and amend Babel deployment.yaml to match with the Model Loader configuration. Issue-ID: AAI-1110 Change-Id: Ieeaab28102810f5e665436ce01e9af9ca69a7ab6 Signed-off-by: mark.j.leonard <mark.j.leonard@gmail.com>
Diffstat (limited to 'charts/aai-modelloader')
-rw-r--r--charts/aai-modelloader/resources/config/log/logback.xml2
-rw-r--r--charts/aai-modelloader/templates/deployment.yaml6
2 files changed, 4 insertions, 4 deletions
diff --git a/charts/aai-modelloader/resources/config/log/logback.xml b/charts/aai-modelloader/resources/config/log/logback.xml
index fcfac84..6c2fcdc 100644
--- a/charts/aai-modelloader/resources/config/log/logback.xml
+++ b/charts/aai-modelloader/resources/config/log/logback.xml
@@ -1,6 +1,6 @@
<configuration scan="true" scanPeriod="3 seconds" debug="false">
<include resource="org/springframework/boot/logging/logback/base.xml" />
- <property name="logDir" value="${AJSC_HOME}/logs" />
+ <property name="logDir" value="/var/log/onap" />
<property name="componentName" value="AAI-ML"></property>
<!-- default eelf log file names -->
diff --git a/charts/aai-modelloader/templates/deployment.yaml b/charts/aai-modelloader/templates/deployment.yaml
index f93a0d3..7ca2a9f 100644
--- a/charts/aai-modelloader/templates/deployment.yaml
+++ b/charts/aai-modelloader/templates/deployment.yaml
@@ -1,4 +1,4 @@
-# Copyright © 2017 Amdocs, Bell Canada
+# Copyright © 2018 Amdocs, AT&T
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -50,7 +50,7 @@ spec:
name: {{ include "common.fullname" . }}-prop-config
- mountPath: /opt/app/model-loader/config/auth/
name: {{ include "common.fullname" . }}-auth-config
- - mountPath: /logs
+ - mountPath: /var/log/onap
name: {{ include "common.fullname" . }}-logs
- mountPath: /opt/app/model-loader/logback.xml
name: {{ include "common.fullname" . }}-log-conf
@@ -67,7 +67,7 @@ spec:
- mountPath: /usr/share/filebeat/filebeat.yml
subPath: filebeat.yml
name: filebeat-conf
- - mountPath: /logs
+ - mountPath: /var/log/onap
name: {{ include "common.fullname" . }}-logs
- mountPath: /usr/share/filebeat/data
name: aai-filebeat