From 0e102f69728ebaa2fc68e636cf5373681da9fea5 Mon Sep 17 00:00:00 2001 From: Michael Arrastia Date: Tue, 21 Aug 2018 13:36:27 +0100 Subject: Add Spike microservice chart This is the Helm chart for the newly open-sourced Spike microservice. Change-Id: I4bba11b87db0df22d7beedc528a4dea738af5378 Issue-ID: AAI-1524 Signed-off-by: Michael Arrastia --- .../resources/config/auth/tomcat_keystore | Bin 0 -> 2214 bytes charts/aai-spike/resources/config/logback.xml | 194 +++++++++++++++++++++ .../model/edge_props/edge_properties_v10.json | 10 ++ .../model/edge_props/edge_properties_v11.json | 6 + .../model/edge_props/edge_properties_v12.json | 6 + .../model/edge_props/edge_properties_v13.json | 6 + .../model/edge_props/edge_properties_v14.json | 6 + .../model/edge_props/edge_properties_v7.json | 10 ++ .../model/edge_props/edge_properties_v8.json | 10 ++ .../model/edge_props/edge_properties_v9.json | 10 ++ .../resources/config/schemaIngest.properties | 30 ++++ charts/aai-spike/resources/config/spike-beans.xml | 58 ++++++ charts/aai-spike/resources/config/spike.properties | 28 +++ 13 files changed, 374 insertions(+) create mode 100644 charts/aai-spike/resources/config/auth/tomcat_keystore create mode 100644 charts/aai-spike/resources/config/logback.xml create mode 100644 charts/aai-spike/resources/config/model/edge_props/edge_properties_v10.json create mode 100644 charts/aai-spike/resources/config/model/edge_props/edge_properties_v11.json create mode 100644 charts/aai-spike/resources/config/model/edge_props/edge_properties_v12.json create mode 100644 charts/aai-spike/resources/config/model/edge_props/edge_properties_v13.json create mode 100644 charts/aai-spike/resources/config/model/edge_props/edge_properties_v14.json create mode 100644 charts/aai-spike/resources/config/model/edge_props/edge_properties_v7.json create mode 100644 charts/aai-spike/resources/config/model/edge_props/edge_properties_v8.json create mode 100644 charts/aai-spike/resources/config/model/edge_props/edge_properties_v9.json create mode 100644 charts/aai-spike/resources/config/schemaIngest.properties create mode 100644 charts/aai-spike/resources/config/spike-beans.xml create mode 100644 charts/aai-spike/resources/config/spike.properties (limited to 'charts/aai-spike/resources') diff --git a/charts/aai-spike/resources/config/auth/tomcat_keystore b/charts/aai-spike/resources/config/auth/tomcat_keystore new file mode 100644 index 0000000..9eec841 Binary files /dev/null and b/charts/aai-spike/resources/config/auth/tomcat_keystore differ diff --git a/charts/aai-spike/resources/config/logback.xml b/charts/aai-spike/resources/config/logback.xml new file mode 100644 index 0000000..e40ba13 --- /dev/null +++ b/charts/aai-spike/resources/config/logback.xml @@ -0,0 +1,194 @@ + + + + + + + + + + + + + + + + + + + + + + + + + ${errorLogPattern} + + + + + + + + + + + ${logDirectory}/${generalLogName}.log + + ${logDirectory}/${generalLogName}.%d{yyyy-MM-dd}.log.zip + + 60 + + + ${errorLogPattern} + + + + + + INFO + + 256 + + + + + + + ${logDirectory}/${auditLogName}.log + + ${logDirectory}/${auditLogName}.%d{yyyy-MM-dd}.log.zip + + 60 + + + ${auditMetricPattern} + + + + 256 + + + + + ${logDirectory}/${metricsLogName}.log + + ${logDirectory}/${metricsLogName}.%d{yyyy-MM-dd}.log.zip + + 60 + + + + ${auditMetricPattern} + + + + + 256 + + + + + ${logDirectory}/${debugLogName}.log + + ${logDirectory}/${debugLogName}.%d{yyyy-MM-dd}.log.zip + + 60 + + + ${errorLogPattern} + + + + + 256 + + false + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/charts/aai-spike/resources/config/model/edge_props/edge_properties_v10.json b/charts/aai-spike/resources/config/model/edge_props/edge_properties_v10.json new file mode 100644 index 0000000..7cbddae --- /dev/null +++ b/charts/aai-spike/resources/config/model/edge_props/edge_properties_v10.json @@ -0,0 +1,10 @@ +{ + "isParent":"java.lang.Boolean", + "isParent-REV":"java.lang.Boolean", + "usesResource":"java.lang.Boolean", + "usesResource-REV":"java.lang.Boolean", + "SVC-INFRA":"java.lang.Boolean", + "SVC-INFRA-REV":"java.lang.Boolean", + "hasDelTarget":"java.lang.Boolean", + "hasDelTarget-REV":"java.lang.Boolean" +} diff --git a/charts/aai-spike/resources/config/model/edge_props/edge_properties_v11.json b/charts/aai-spike/resources/config/model/edge_props/edge_properties_v11.json new file mode 100644 index 0000000..8d00636 --- /dev/null +++ b/charts/aai-spike/resources/config/model/edge_props/edge_properties_v11.json @@ -0,0 +1,6 @@ +{ + "contains-other-v": "java.lang.String", + "delete-other-v": "java.lang.String", + "SVC-INFRA": "java.lang.String", + "prevent-delete": "java.lang.String" +} \ No newline at end of file diff --git a/charts/aai-spike/resources/config/model/edge_props/edge_properties_v12.json b/charts/aai-spike/resources/config/model/edge_props/edge_properties_v12.json new file mode 100644 index 0000000..8d00636 --- /dev/null +++ b/charts/aai-spike/resources/config/model/edge_props/edge_properties_v12.json @@ -0,0 +1,6 @@ +{ + "contains-other-v": "java.lang.String", + "delete-other-v": "java.lang.String", + "SVC-INFRA": "java.lang.String", + "prevent-delete": "java.lang.String" +} \ No newline at end of file diff --git a/charts/aai-spike/resources/config/model/edge_props/edge_properties_v13.json b/charts/aai-spike/resources/config/model/edge_props/edge_properties_v13.json new file mode 100644 index 0000000..8d00636 --- /dev/null +++ b/charts/aai-spike/resources/config/model/edge_props/edge_properties_v13.json @@ -0,0 +1,6 @@ +{ + "contains-other-v": "java.lang.String", + "delete-other-v": "java.lang.String", + "SVC-INFRA": "java.lang.String", + "prevent-delete": "java.lang.String" +} \ No newline at end of file diff --git a/charts/aai-spike/resources/config/model/edge_props/edge_properties_v14.json b/charts/aai-spike/resources/config/model/edge_props/edge_properties_v14.json new file mode 100644 index 0000000..8d00636 --- /dev/null +++ b/charts/aai-spike/resources/config/model/edge_props/edge_properties_v14.json @@ -0,0 +1,6 @@ +{ + "contains-other-v": "java.lang.String", + "delete-other-v": "java.lang.String", + "SVC-INFRA": "java.lang.String", + "prevent-delete": "java.lang.String" +} \ No newline at end of file diff --git a/charts/aai-spike/resources/config/model/edge_props/edge_properties_v7.json b/charts/aai-spike/resources/config/model/edge_props/edge_properties_v7.json new file mode 100644 index 0000000..7cbddae --- /dev/null +++ b/charts/aai-spike/resources/config/model/edge_props/edge_properties_v7.json @@ -0,0 +1,10 @@ +{ + "isParent":"java.lang.Boolean", + "isParent-REV":"java.lang.Boolean", + "usesResource":"java.lang.Boolean", + "usesResource-REV":"java.lang.Boolean", + "SVC-INFRA":"java.lang.Boolean", + "SVC-INFRA-REV":"java.lang.Boolean", + "hasDelTarget":"java.lang.Boolean", + "hasDelTarget-REV":"java.lang.Boolean" +} diff --git a/charts/aai-spike/resources/config/model/edge_props/edge_properties_v8.json b/charts/aai-spike/resources/config/model/edge_props/edge_properties_v8.json new file mode 100644 index 0000000..7cbddae --- /dev/null +++ b/charts/aai-spike/resources/config/model/edge_props/edge_properties_v8.json @@ -0,0 +1,10 @@ +{ + "isParent":"java.lang.Boolean", + "isParent-REV":"java.lang.Boolean", + "usesResource":"java.lang.Boolean", + "usesResource-REV":"java.lang.Boolean", + "SVC-INFRA":"java.lang.Boolean", + "SVC-INFRA-REV":"java.lang.Boolean", + "hasDelTarget":"java.lang.Boolean", + "hasDelTarget-REV":"java.lang.Boolean" +} diff --git a/charts/aai-spike/resources/config/model/edge_props/edge_properties_v9.json b/charts/aai-spike/resources/config/model/edge_props/edge_properties_v9.json new file mode 100644 index 0000000..7cbddae --- /dev/null +++ b/charts/aai-spike/resources/config/model/edge_props/edge_properties_v9.json @@ -0,0 +1,10 @@ +{ + "isParent":"java.lang.Boolean", + "isParent-REV":"java.lang.Boolean", + "usesResource":"java.lang.Boolean", + "usesResource-REV":"java.lang.Boolean", + "SVC-INFRA":"java.lang.Boolean", + "SVC-INFRA-REV":"java.lang.Boolean", + "hasDelTarget":"java.lang.Boolean", + "hasDelTarget-REV":"java.lang.Boolean" +} diff --git a/charts/aai-spike/resources/config/schemaIngest.properties b/charts/aai-spike/resources/config/schemaIngest.properties new file mode 100644 index 0000000..cc51f17 --- /dev/null +++ b/charts/aai-spike/resources/config/schemaIngest.properties @@ -0,0 +1,30 @@ +# +# ============LICENSE_START======================================================= +# org.onap.aai +# ================================================================================ +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. +# Copyright © 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 +# Files named aai_oxm_v*.xml are unpacked here: +nodeDir=/opt/app/spike/bundleconfig/etc/oxm +# DB Edge Rules are unpacked here: +edgeDir=/opt/app/spike/bundleconfig/etc/dbedgerules +# DB Edge Property files are copied here: +edgePropsDir=/opt/app/spike/config/model/edge_props \ No newline at end of file diff --git a/charts/aai-spike/resources/config/spike-beans.xml b/charts/aai-spike/resources/config/spike-beans.xml new file mode 100644 index 0000000..20dfbc5 --- /dev/null +++ b/charts/aai-spike/resources/config/spike-beans.xml @@ -0,0 +1,58 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/charts/aai-spike/resources/config/spike.properties b/charts/aai-spike/resources/config/spike.properties new file mode 100644 index 0000000..c3ba4a3 --- /dev/null +++ b/charts/aai-spike/resources/config/spike.properties @@ -0,0 +1,28 @@ +# +# ============LICENSE_START======================================================= +# org.onap.aai +# ================================================================================ +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. +# Copyright © 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========================================================= +# + +# Spike configuration + +spike.event.poll.interval=30000 +spike.event.offset.period= 10000 +spike.event.queue.capacity=10000 +spike.event.queue.delay=10000 +spike.props.reserved=source-of-truth,last-mod-source-of-truth,aai-created-ts,aai-last-mod-ts -- cgit 1.2.3-korg From b5c6f9382a2fe95ca035a7725ecfdcede7dfb8ee Mon Sep 17 00:00:00 2001 From: Michael Arrastia Date: Tue, 18 Sep 2018 10:57:03 +0100 Subject: [Spike] Update to use DMaaP with SSL - DMaaP client configured to use HTTPS protocol in XML bean definition. - Values yaml updated with port and protocol. - Update JKS trust store (tomcat_keystore) to accept the DMaaP certificate. Change-Id: I71e8592b5aa6ca2170ee8449a14e6c7469a93839 Issue-ID: AAI-1537 Signed-off-by: Michael Arrastia --- .../aai-spike/resources/config/auth/tomcat_keystore | Bin 2214 -> 3429 bytes charts/aai-spike/resources/config/spike-beans.xml | 4 ++++ charts/aai-spike/values.yaml | 3 ++- 3 files changed, 6 insertions(+), 1 deletion(-) (limited to 'charts/aai-spike/resources') diff --git a/charts/aai-spike/resources/config/auth/tomcat_keystore b/charts/aai-spike/resources/config/auth/tomcat_keystore index 9eec841..025f3c4 100644 Binary files a/charts/aai-spike/resources/config/auth/tomcat_keystore and b/charts/aai-spike/resources/config/auth/tomcat_keystore differ diff --git a/charts/aai-spike/resources/config/spike-beans.xml b/charts/aai-spike/resources/config/spike-beans.xml index 20dfbc5..50be8cb 100644 --- a/charts/aai-spike/resources/config/spike-beans.xml +++ b/charts/aai-spike/resources/config/spike-beans.xml @@ -37,6 +37,8 @@ + + @@ -48,6 +50,8 @@ + + diff --git a/charts/aai-spike/values.yaml b/charts/aai-spike/values.yaml index c8d2043..6429d3f 100644 --- a/charts/aai-spike/values.yaml +++ b/charts/aai-spike/values.yaml @@ -65,7 +65,8 @@ resources: {} # XML bean configuration event: port: - dmaap: 3904 + dmaap: 3905 + protocol: https consumer: topic: champRawEvents publisher: -- cgit 1.2.3-korg From c035a608c273859d928896ae27198dfa603c1901 Mon Sep 17 00:00:00 2001 From: Michael Arrastia Date: Thu, 29 Nov 2018 11:35:51 +0000 Subject: [aai-spike] Update schema ingest configuration * This change is related to changes in AAI Spike to use the latest version of aai-common. The aai-common adoption requires configuration of schema ingestion beans and the resources updated in this commit provide that configuration. * Additionally, the configuration of the meta-validation of the DBEdgeRules, know as "Edge Properties", is now separated into its own property file (edgeprops-ingest.properties) to distinguish this particular configuration from the aai-common schema ingest configuration. Change-Id: I15c79b36c7f53f4c7e85f83179b1f7674b28a200 Issue-ID: AAI-1953 Signed-off-by: Michael Arrastia --- .../resources/config/edgeprops-ingest.properties | 23 ++++++++++ .../resources/config/schema-ingest.properties | 49 ++++++++++++++++++++++ .../resources/config/schemaIngest.properties | 30 ------------- charts/aai-spike/templates/deployment.yaml | 13 ++++-- 4 files changed, 81 insertions(+), 34 deletions(-) create mode 100644 charts/aai-spike/resources/config/edgeprops-ingest.properties create mode 100644 charts/aai-spike/resources/config/schema-ingest.properties delete mode 100644 charts/aai-spike/resources/config/schemaIngest.properties (limited to 'charts/aai-spike/resources') diff --git a/charts/aai-spike/resources/config/edgeprops-ingest.properties b/charts/aai-spike/resources/config/edgeprops-ingest.properties new file mode 100644 index 0000000..b0a3150 --- /dev/null +++ b/charts/aai-spike/resources/config/edgeprops-ingest.properties @@ -0,0 +1,23 @@ +# +# ============LICENSE_START======================================================= +# org.onap.aai +# ================================================================================ +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. +# Copyright © 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========================================================= +# + +# DB Edge Property files are copied here: +edgePropsDir=/opt/app/spike/config/model/edge_props diff --git a/charts/aai-spike/resources/config/schema-ingest.properties b/charts/aai-spike/resources/config/schema-ingest.properties new file mode 100644 index 0000000..7cec524 --- /dev/null +++ b/charts/aai-spike/resources/config/schema-ingest.properties @@ -0,0 +1,49 @@ +# +# ============LICENSE_START======================================================= +# org.onap.aai +# ================================================================================ +# Copyright © 2018 AT&T Intellectual Property. All rights reserved. +# Copyright © 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========================================================= +# + +####################################### +# Schema Version Related Attributes +####################################### + +schema.uri.base.path=/aai +# Lists all of the versions in the schema +schema.version.list=v8,v9,v10,v11,v12,v13,v14 +# Specifies from which version should the depth parameter to default to zero +schema.version.depth.start=v9 +# Specifies from which version should the related link be displayed in response payload +schema.version.related.link.start=v10 +# Specifies from which version should the client see only the uri excluding host info +# Before this version server base will also be included +schema.version.app.root.start=v11 +# Specifies from which version should the namespace be changed +schema.version.namespace.change.start=v12 +# Specifies from which version should the client start seeing the edge label in payload +schema.version.edge.label.start=v12 +# Specifies the version that the application should default to +schema.version.api.default=v14 + +####################################### +# Schema Location Related Attributes +####################################### + +schema.configuration.location=NA +schema.nodes.location=/opt/app/spike/bundleconfig/etc/onap/oxm +schema.edges.location=/opt/app/spike/bundleconfig/etc/onap/dbedgerules diff --git a/charts/aai-spike/resources/config/schemaIngest.properties b/charts/aai-spike/resources/config/schemaIngest.properties deleted file mode 100644 index cc51f17..0000000 --- a/charts/aai-spike/resources/config/schemaIngest.properties +++ /dev/null @@ -1,30 +0,0 @@ -# -# ============LICENSE_START======================================================= -# org.onap.aai -# ================================================================================ -# Copyright © 2018 AT&T Intellectual Property. All rights reserved. -# Copyright © 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 -# Files named aai_oxm_v*.xml are unpacked here: -nodeDir=/opt/app/spike/bundleconfig/etc/oxm -# DB Edge Rules are unpacked here: -edgeDir=/opt/app/spike/bundleconfig/etc/dbedgerules -# DB Edge Property files are copied here: -edgePropsDir=/opt/app/spike/config/model/edge_props \ No newline at end of file diff --git a/charts/aai-spike/templates/deployment.yaml b/charts/aai-spike/templates/deployment.yaml index 38c5ac8..a3ff068 100644 --- a/charts/aai-spike/templates/deployment.yaml +++ b/charts/aai-spike/templates/deployment.yaml @@ -92,8 +92,11 @@ spec: - mountPath: /opt/app/spike/config/spike.properties subPath: spike.properties name: {{ include "common.fullname" . }}-config - - mountPath: /opt/app/spike/config/schemaIngest.properties - subPath: schemaIngest.properties + - mountPath: /opt/app/spike/config/schema-ingest.properties + subPath: schema-ingest.properties + name: {{ include "common.fullname" . }}-config + - mountPath: /opt/app/spike/config/edgeprops-ingest.properties + subPath: edgeprops-ingest.properties name: {{ include "common.fullname" . }}-config - mountPath: /opt/app/spike/config/model/edge_props name: {{ include "common.fullname" . }}-edge-props-config @@ -141,8 +144,10 @@ spec: path: spike.properties - key: spike-beans.xml path: spike-beans.xml - - key: schemaIngest.properties - path: schemaIngest.properties + - key: schema-ingest.properties + path: schema-ingest.properties + - key: edgeprops-ingest.properties + path: edgeprops-ingest.properties - key: logback.xml path: logback.xml - name: {{ include "common.fullname" . }}-edge-props-config -- cgit 1.2.3-korg From 36cb76dfc878a223501cca3f1b5b9ea22136e1e6 Mon Sep 17 00:00:00 2001 From: Michael Arrastia Date: Thu, 20 Dec 2018 10:48:24 +0000 Subject: Schema Service configuration for Spike The config has entries for both Schema Service and local schema files. The property schema.translator.list is currently set to config. This configuration only uses local schema files. Change-Id: Ib5ec6e0d5fad38623a38bb3a68e516491f6b3ed3 Issue-ID: AAI-2010 Signed-off-by: Michael Arrastia --- .../resources/config/auth/client-cert.p12 | Bin 0 -> 3617 bytes .../model/edge_props/edge_properties_v15.json | 6 +++++ .../resources/config/schema-ingest.properties | 28 ++++++++++++++++----- 3 files changed, 28 insertions(+), 6 deletions(-) create mode 100644 charts/aai-spike/resources/config/auth/client-cert.p12 create mode 100644 charts/aai-spike/resources/config/model/edge_props/edge_properties_v15.json (limited to 'charts/aai-spike/resources') diff --git a/charts/aai-spike/resources/config/auth/client-cert.p12 b/charts/aai-spike/resources/config/auth/client-cert.p12 new file mode 100644 index 0000000..d9fe86e Binary files /dev/null and b/charts/aai-spike/resources/config/auth/client-cert.p12 differ diff --git a/charts/aai-spike/resources/config/model/edge_props/edge_properties_v15.json b/charts/aai-spike/resources/config/model/edge_props/edge_properties_v15.json new file mode 100644 index 0000000..8d00636 --- /dev/null +++ b/charts/aai-spike/resources/config/model/edge_props/edge_properties_v15.json @@ -0,0 +1,6 @@ +{ + "contains-other-v": "java.lang.String", + "delete-other-v": "java.lang.String", + "SVC-INFRA": "java.lang.String", + "prevent-delete": "java.lang.String" +} \ No newline at end of file diff --git a/charts/aai-spike/resources/config/schema-ingest.properties b/charts/aai-spike/resources/config/schema-ingest.properties index 7cec524..1569761 100644 --- a/charts/aai-spike/resources/config/schema-ingest.properties +++ b/charts/aai-spike/resources/config/schema-ingest.properties @@ -22,28 +22,44 @@ ####################################### # Schema Version Related Attributes ####################################### - schema.uri.base.path=/aai # Lists all of the versions in the schema -schema.version.list=v8,v9,v10,v11,v12,v13,v14 +schema.version.list=v10,v11,v12,v13,v14,v15 # Specifies from which version should the depth parameter to default to zero -schema.version.depth.start=v9 +schema.version.depth.start=v10 # Specifies from which version should the related link be displayed in response payload schema.version.related.link.start=v10 # Specifies from which version should the client see only the uri excluding host info # Before this version server base will also be included schema.version.app.root.start=v11 # Specifies from which version should the namespace be changed -schema.version.namespace.change.start=v12 +schema.version.namespace.change.start=v11 # Specifies from which version should the client start seeing the edge label in payload schema.version.edge.label.start=v12 # Specifies the version that the application should default to -schema.version.api.default=v14 +schema.version.api.default=v15 ####################################### # Schema Location Related Attributes ####################################### - schema.configuration.location=NA schema.nodes.location=/opt/app/spike/bundleconfig/etc/onap/oxm schema.edges.location=/opt/app/spike/bundleconfig/etc/onap/dbedgerules + +############################################################################### +# Schema Service Related Attributes +############################################################################### +# Specifies whether to use the schema service (schema-service) or local schema files (config) +schema.translator.list=config + +schema.service.base.url=https://:8452/aai/schema-service/v1/ +schema.service.nodes.endpoint=nodes?version= +schema.service.edges.endpoint=edgerules?version= +schema.service.versions.endpoint=versions + +#Default rest client is the two-way-ssl +schema.service.client=two-way-ssl +#Replace the below with the A&AI client key store +schema.service.ssl.key-store=${CONFIG_HOME}/auth/client-cert.p12 +#Replace the below with the A&AI tomcat trust store +schema.service.ssl.trust-store=${CONFIG_HOME}/auth/tomcat_keystore -- cgit 1.2.3-korg