summaryrefslogtreecommitdiffstats
path: root/kubernetes
diff options
context:
space:
mode:
authorMichael Arrastia <MArrasti@amdocs.com>2018-06-13 17:01:15 +0100
committerMichael Arrastia <MArrasti@amdocs.com>2018-07-02 13:30:14 +0100
commitf529a46e99b3578573f336329594ab404e7bb6d7 (patch)
treee2bde2e3489be5ef3a225a2b8aa72f75813a953f /kubernetes
parent060359c287c7a328804a9a6012cbbede3219562b (diff)
Add schemaIngest properties resource to aai-gizmo
This file is required to configure the location of the OXM and DB Edge Rules that are ingested by the Gizmo microservice. Change-Id: I51a24bc24ddc757e6e11b3f3a855fff6696c6a64 Issue-ID: AAI-1227 Signed-off-by: Michael Arrastia <MArrasti@amdocs.com>
Diffstat (limited to 'kubernetes')
-rw-r--r--kubernetes/aai/charts/aai-gizmo/resources/config/schemaIngest.properties31
-rw-r--r--kubernetes/aai/charts/aai-gizmo/templates/deployment.yaml5
2 files changed, 36 insertions, 0 deletions
diff --git a/kubernetes/aai/charts/aai-gizmo/resources/config/schemaIngest.properties b/kubernetes/aai/charts/aai-gizmo/resources/config/schemaIngest.properties
new file mode 100644
index 0000000000..dfdf3e07af
--- /dev/null
+++ b/kubernetes/aai/charts/aai-gizmo/resources/config/schemaIngest.properties
@@ -0,0 +1,31 @@
+#
+# ============LICENSE_START=======================================================
+# org.onap.aai
+# ================================================================================
+# Copyright © 2017-2018 AT&T Intellectual Property. All rights reserved.
+# Copyright © 2017-2018 Amdocs
+# ================================================================================
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+# ============LICENSE_END=========================================================
+#
+
+# Properties for the SchemaLocationsBean
+
+# The AAI Schema jar will be unpacked to bundleconfig/etc
+schemaConfig=NA
+# OXM files named aai_oxm_v*.xml are unpacked here:
+nodeDir=/opt/app/crud-api/bundleconfig/etc/oxm
+# DB Edge Rules are unpacked here:
+edgeDir=/opt/app/crud-api/bundleconfig/etc/dbedgerules
+# DB Edge Property files are copied here:
+edgePropsDir=/opt/app/crud-service/config/model
diff --git a/kubernetes/aai/charts/aai-gizmo/templates/deployment.yaml b/kubernetes/aai/charts/aai-gizmo/templates/deployment.yaml
index 7b0a57791c..c69b3a068b 100644
--- a/kubernetes/aai/charts/aai-gizmo/templates/deployment.yaml
+++ b/kubernetes/aai/charts/aai-gizmo/templates/deployment.yaml
@@ -72,6 +72,9 @@ spec:
- mountPath: /opt/app/crud-service/config/crud-api.properties
subPath: crud-api.properties
name: {{ include "common.fullname" . }}-config
+ - mountPath: /opt/app/crud-service/config/schemaIngest.properties
+ subPath: schemaIngest.properties
+ name: {{ include "common.fullname" . }}-config
- mountPath: /opt/app/crud-service/config/model/
name: {{ include "common.fullname" . }}-model-config
- mountPath: /opt/app/crud-service/config/auth
@@ -127,6 +130,8 @@ spec:
items:
- key: crud-api.properties
path: crud-api.properties
+ - key: schemaIngest.properties
+ path: schemaIngest.properties
- key: crud-beans.xml
path: crud-beans.xml
- name: {{ include "common.fullname" . }}-logback-config