summaryrefslogtreecommitdiffstats
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
commit73797fb0d1aaaffb76147c329507c9d9c7533d85 (patch)
tree6985547dc252c555e0fc5a8b4bf4e7bd2e4a0766
parentef10698d3e1099985a73f73d0485164c58dc0917 (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>
-rw-r--r--charts/aai-gizmo/resources/config/schemaIngest.properties31
-rw-r--r--charts/aai-gizmo/templates/deployment.yaml5
2 files changed, 36 insertions, 0 deletions
diff --git a/charts/aai-gizmo/resources/config/schemaIngest.properties b/charts/aai-gizmo/resources/config/schemaIngest.properties
new file mode 100644
index 0000000..dfdf3e0
--- /dev/null
+++ b/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/charts/aai-gizmo/templates/deployment.yaml b/charts/aai-gizmo/templates/deployment.yaml
index 7b0a577..c69b3a0 100644
--- a/charts/aai-gizmo/templates/deployment.yaml
+++ b/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