diff options
-rw-r--r-- | validation/appconfig/aai-environment.properties | 31 | ||||
-rw-r--r-- | validation/appconfig/auth/auth_policy.json | 45 | ||||
-rw-r--r-- | validation/appconfig/auth/client-cert-onap.p12 | bin | 0 -> 2556 bytes | |||
-rw-r--r-- | validation/appconfig/auth/tomcat_keystore | bin | 0 -> 2214 bytes | |||
-rw-r--r-- | validation/appconfig/rule-indexing.properties | 20 | ||||
-rw-r--r-- | validation/appconfig/schemaIngest.properties | 23 | ||||
-rw-r--r-- | validation/appconfig/topics/topic-aai-data-export.properties | 23 | ||||
-rw-r--r-- | validation/appconfig/topics/topic-aai-data-integrity.properties | 22 | ||||
-rw-r--r-- | validation/appconfig/topics/topic-aai-event.properties | 23 | ||||
-rw-r--r-- | validation/appconfig/topics/topic-poa-audit-result.properties | 22 | ||||
-rw-r--r-- | validation/appconfig/topics/topic-poa-rule-validation.properties | 23 | ||||
-rw-r--r-- | validation/appconfig/validation-service-auth.properties | 18 | ||||
-rw-r--r-- | validation/appconfig/validation-service.properties | 29 |
13 files changed, 279 insertions, 0 deletions
diff --git a/validation/appconfig/aai-environment.properties b/validation/appconfig/aai-environment.properties new file mode 100644 index 0000000..74bc273 --- /dev/null +++ b/validation/appconfig/aai-environment.properties @@ -0,0 +1,31 @@ +# ============LICENSE_START=================================================== +# Copyright (c) 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===================================================== + +host=aai-hostname.onap.org +port=8443 +httpProtocol=https +trustStorePath=/auth/tomcat_keystore +#trustStorePassword intentionally left blank +trustStorePassword.x=OBF:1y0q1uvc1uum1uvg1pil1pjl1uuq1uvk1uuu1y10 +keyStorePath=/auth/client-cert-onap.p12 +keyStorePassword.x= +keyManagerFactoryAlgorithm=SunX509 +keyStoreType=PKCS12 +securityProtocol=TLS +connectionTimeout=5000 +readTimeout=1000 + +baseModelURI=/aai/v8/service-design-and-creation/models/model diff --git a/validation/appconfig/auth/auth_policy.json b/validation/appconfig/auth/auth_policy.json new file mode 100644 index 0000000..dadf170 --- /dev/null +++ b/validation/appconfig/auth/auth_policy.json @@ -0,0 +1,45 @@ +{"roles": [ + { + "name": "admin", + "functions": [ + { + "name": "actions", + "methods": [ + {"name": "GET"}, + {"name": "DELETE"}, + {"name": "PUT"} + ] + }, + { + "name": "validate", + "methods": [{"name": "POST"}] + } + ], + "users": [ + {"username": "CN=common-name, OU=org-unit, O=org, L=location, ST=state, C=US"}, + {"username": "CN=test, OU=qa, O=Test Ltd, L=London, ST=London, C=GB"} + ] + }, + { + "name": "ops", + "functions": [{ + "name": "actions", + "methods": [{"name": "POST"}] + }], + "users": [ + {"username": "CN=common-name, OU=org-unit, O=org, L=location, ST=state, C=US"}, + {"username": "CN=test, OU=qa, O=Test Ltd, L=London, ST=London, C=GB"} + ] + }, + { + "name": "basicauth", + "functions": [{ + "name": "util", + "methods": [{"name": "GET"}] + }], + "users": [{ + "user": "aai", + "pass": "OBF:1u2a1t2v1vgb1s3g1s3m1vgj1t3b1u30" + }] + } +]}
\ No newline at end of file diff --git a/validation/appconfig/auth/client-cert-onap.p12 b/validation/appconfig/auth/client-cert-onap.p12 Binary files differnew file mode 100644 index 0000000..dbf4fca --- /dev/null +++ b/validation/appconfig/auth/client-cert-onap.p12 diff --git a/validation/appconfig/auth/tomcat_keystore b/validation/appconfig/auth/tomcat_keystore Binary files differnew file mode 100644 index 0000000..9eec841 --- /dev/null +++ b/validation/appconfig/auth/tomcat_keystore diff --git a/validation/appconfig/rule-indexing.properties b/validation/appconfig/rule-indexing.properties new file mode 100644 index 0000000..447480f --- /dev/null +++ b/validation/appconfig/rule-indexing.properties @@ -0,0 +1,20 @@ +# ============LICENSE_START=================================================== +# Copyright (c) 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===================================================== + +rule.indexing.events=POA-EVENT +rule.indexing.exclude.oxm.validation=POA-EVENT +rule.indexing.key.attributes=$.poa-event.modelVersionId,$.poa-event.modelInvariantId +rule.indexing.default.key=default-rules diff --git a/validation/appconfig/schemaIngest.properties b/validation/appconfig/schemaIngest.properties new file mode 100644 index 0000000..ffa08cb --- /dev/null +++ b/validation/appconfig/schemaIngest.properties @@ -0,0 +1,23 @@ +# ============LICENSE_START=================================================== +# Copyright (c) 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=bundleconfig +# Files named aai_oxm_v*.xml are unpacked here: +nodeDir=${APP_HOME}/bundleconfig/etc/oxm +# Dummy folder/directory: +edgeDir=${APP_HOME}/bundleconfig/etc/oxm diff --git a/validation/appconfig/topics/topic-aai-data-export.properties b/validation/appconfig/topics/topic-aai-data-export.properties new file mode 100644 index 0000000..64c9400 --- /dev/null +++ b/validation/appconfig/topics/topic-aai-data-export.properties @@ -0,0 +1,23 @@ +# ============LICENSE_START=================================================== +# Copyright (c) 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===================================================== + +aai-data-export.name=AAI-DATA-EXPORT +aai-data-export.host=export-dummy-host +aai-data-export.username=export-dummy-username +aai-data-export.password=export-dummy-password +aai-data-export.consumer.group=export-dummy-consumer-group +aai-data-export.consumer.id=export-dummy-consumer-id +aai-data-export.transport.type=export-dummy-transport-type
\ No newline at end of file diff --git a/validation/appconfig/topics/topic-aai-data-integrity.properties b/validation/appconfig/topics/topic-aai-data-integrity.properties new file mode 100644 index 0000000..377e156 --- /dev/null +++ b/validation/appconfig/topics/topic-aai-data-integrity.properties @@ -0,0 +1,22 @@ +# ============LICENSE_START=================================================== +# Copyright (c) 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===================================================== + +aai-data-integrity.name=AAI-DATA-INTEGRITY +aai-data-integrity.host=integrity-dummy-host +aai-data-integrity.publisher.partition=integrity-dummy-partition +aai-data-integrity.username=integrity-dummy-username +aai-data-integrity.password=integrity-dummy-password +aai-data-integrity.transport.type=integrity-dummy-transport-type
\ No newline at end of file diff --git a/validation/appconfig/topics/topic-aai-event.properties b/validation/appconfig/topics/topic-aai-event.properties new file mode 100644 index 0000000..5e28f79 --- /dev/null +++ b/validation/appconfig/topics/topic-aai-event.properties @@ -0,0 +1,23 @@ +# ============LICENSE_START=================================================== +# Copyright (c) 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===================================================== + +aai-event.name=AAI-EVENT +aai-event.host=event-dummy-host +aai-event.username=event-dummy-username +aai-event.password=7347c3ef253772d7e2b8e73b1a7ed4f751b730c692df6d1c25e96e352bffd11b +aai-event.consumer.group=event-dummy-consumer-group +aai-event.consumer.id=event-dummy-consumer-id +aai-event.transport.type=event-dummy-transport-type
\ No newline at end of file diff --git a/validation/appconfig/topics/topic-poa-audit-result.properties b/validation/appconfig/topics/topic-poa-audit-result.properties new file mode 100644 index 0000000..7f92548 --- /dev/null +++ b/validation/appconfig/topics/topic-poa-audit-result.properties @@ -0,0 +1,22 @@ +# ============LICENSE_START=================================================== +# Copyright (c) 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===================================================== + +poa-audit-result.name=POA-AUDIT-RESULT +poa-audit-result.host=dmaap-host.onap.org:30227 +poa-audit-result.publisher.partition=1 +poa-audit-result.username= +poa-audit-result.password= +poa-audit-result.transport.type=HTTPAUTH
\ No newline at end of file diff --git a/validation/appconfig/topics/topic-poa-rule-validation.properties b/validation/appconfig/topics/topic-poa-rule-validation.properties new file mode 100644 index 0000000..1a305e5 --- /dev/null +++ b/validation/appconfig/topics/topic-poa-rule-validation.properties @@ -0,0 +1,23 @@ +# ============LICENSE_START=================================================== +# Copyright (c) 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===================================================== + +poa-rule-validation.name=POA-RULE-VALIDATION +poa-rule-validation.host=dmaap-host.onap.org:30227 +poa-rule-validation.username= +poa-rule-validation.password= +poa-rule-validation.consumer.group=poa-validator-test +poa-rule-validation.consumer.id=test +poa-rule-validation.transport.type=HTTPAUTH
\ No newline at end of file diff --git a/validation/appconfig/validation-service-auth.properties b/validation/appconfig/validation-service-auth.properties new file mode 100644 index 0000000..ef1a475 --- /dev/null +++ b/validation/appconfig/validation-service-auth.properties @@ -0,0 +1,18 @@ +# ============LICENSE_START=================================================== +# Copyright (c) 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===================================================== + +auth.policy.file=${CONFIG_HOME}/auth/auth_policy.json +auth.authentication.disable=false diff --git a/validation/appconfig/validation-service.properties b/validation/appconfig/validation-service.properties new file mode 100644 index 0000000..3a4b8f0 --- /dev/null +++ b/validation/appconfig/validation-service.properties @@ -0,0 +1,29 @@ +# ============LICENSE_START=================================================== +# Copyright (c) 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===================================================== + +topic.publish.enable=true +topic.publish.retries=3 +topic.consume.enable=true +topic.consume.polling.interval.seconds=3 + +event.domain=onap +event.action.exclude=DELETE +event.type.rule=AAI-EVENT,AAI-DATA-EXPORT-API,GIZMO-EVENT,POA-EVENT +event.type.model=AAI-DATA-EXPORT-NQ +event.type.end=END-EVENT + +model.cache.expirySeconds=3 +aai.oxm.version=12 |