Add schemaIngest properties resource to aai-gizmo 59/54659/3
authorMichael Arrastia <MArrasti@amdocs.com>
Wed, 13 Jun 2018 16:01:15 +0000 (17:01 +0100)
committerMichael Arrastia <MArrasti@amdocs.com>
Mon, 2 Jul 2018 12:30:14 +0000 (13:30 +0100)
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>
kubernetes/aai/charts/aai-gizmo/resources/config/schemaIngest.properties [new file with mode: 0644]
kubernetes/aai/charts/aai-gizmo/templates/deployment.yaml

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 (file)
index 0000000..dfdf3e0
--- /dev/null
@@ -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
index 7b0a577..c69b3a0 100644 (file)
@@ -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