From edb545c89d2f8e8785b4fd4a8d5b0bbe28aca400 Mon Sep 17 00:00:00 2001 From: Martin Skorupski Date: Fri, 3 Feb 2023 11:48:06 +0100 Subject: [PATCH] Clean-up existing docker-compose solutions - Delete integration smo onap-policy folder IssueID: OAM-311 Change-Id: I4b089218ca444a6e68f2e9e890550ae5e3ca7266 Signed-off-by: Martin Skorupski --- .../onap-policy/config/apex-pdp/OnapPfConfig.json | 43 --- .../smo/onap-policy/config/api/defaultConfig.json | 53 ---- .../onap-policy/config/db/bootstrap-database.sh | 28 -- .../smo/onap-policy/config/db/create-db.sql | 13 - .../config/distribution/defaultConfig.json | 73 ----- .../smo/onap-policy/config/dns_keystore.txt | 14 - .../drools-apps/custom/AAI-http-client.properties | 28 -- .../drools-apps/custom/APPC-CL-topic.properties | 28 -- .../custom/APPC-LCM-READ-topic.properties | 23 -- .../custom/APPC-LCM-WRITE-topic.properties | 23 -- .../custom/DCAE_CL_RSP-topic.properties | 23 -- .../drools-apps/custom/DCAE_TOPIC-topic.properties | 25 -- .../custom/GUARD-http-client.properties | 28 -- .../custom/POLICY-CL-MGT-topic.properties | 22 -- .../drools-apps/custom/SDNC-http-client.properties | 28 -- .../custom/SDNR-CL-RSP-topic.properties | 22 -- .../drools-apps/custom/SDNR-CL-topic.properties | 23 -- .../drools-apps/custom/SO-http-client.properties | 28 -- .../drools-apps/custom/VFC-http-client.properties | 28 -- .../drools-apps/custom/engine-system.properties | 45 --- .../config/drools-apps/custom/engine.properties | 50 ---- .../custom/feature-lifecycle.properties | 40 --- .../config/drools-apps/custom/features.pre.sh | 18 -- .../drools-apps/custom/standalone-settings.xml | 57 ---- .../onap-policy/config/drools-apps/env/base.conf | 132 --------- .../drools-apps/env/feature-healthcheck.conf | 18 -- .../drools-apps/env/feature-pooling-dmaap.conf | 17 -- .../config/drools/custom/engine-system.properties | 45 --- .../config/drools/custom/engine.properties | 37 --- .../onap-policy/config/drools/custom/noop.pre.sh | 22 -- .../smo/onap-policy/config/drools/env/base.conf | 132 --------- solution/integration/smo/onap-policy/config/ks.jks | Bin 2647 -> 0 bytes .../smo/onap-policy/config/pap/defaultConfig.json | 64 ----- .../config/xacml-pdp/defaultConfig.json | 39 --- .../integration/smo/onap-policy/docker-compose.yml | 315 --------------------- .../integration/smo/onap-policy/wait_for_port.sh | 56 ---- 36 files changed, 1640 deletions(-) delete mode 100644 solution/integration/smo/onap-policy/config/apex-pdp/OnapPfConfig.json delete mode 100644 solution/integration/smo/onap-policy/config/api/defaultConfig.json delete mode 100755 solution/integration/smo/onap-policy/config/db/bootstrap-database.sh delete mode 100644 solution/integration/smo/onap-policy/config/db/create-db.sql delete mode 100644 solution/integration/smo/onap-policy/config/distribution/defaultConfig.json delete mode 100644 solution/integration/smo/onap-policy/config/dns_keystore.txt delete mode 100644 solution/integration/smo/onap-policy/config/drools-apps/custom/AAI-http-client.properties delete mode 100644 solution/integration/smo/onap-policy/config/drools-apps/custom/APPC-CL-topic.properties delete mode 100644 solution/integration/smo/onap-policy/config/drools-apps/custom/APPC-LCM-READ-topic.properties delete mode 100644 solution/integration/smo/onap-policy/config/drools-apps/custom/APPC-LCM-WRITE-topic.properties delete mode 100644 solution/integration/smo/onap-policy/config/drools-apps/custom/DCAE_CL_RSP-topic.properties delete mode 100644 solution/integration/smo/onap-policy/config/drools-apps/custom/DCAE_TOPIC-topic.properties delete mode 100644 solution/integration/smo/onap-policy/config/drools-apps/custom/GUARD-http-client.properties delete mode 100644 solution/integration/smo/onap-policy/config/drools-apps/custom/POLICY-CL-MGT-topic.properties delete mode 100644 solution/integration/smo/onap-policy/config/drools-apps/custom/SDNC-http-client.properties delete mode 100644 solution/integration/smo/onap-policy/config/drools-apps/custom/SDNR-CL-RSP-topic.properties delete mode 100644 solution/integration/smo/onap-policy/config/drools-apps/custom/SDNR-CL-topic.properties delete mode 100644 solution/integration/smo/onap-policy/config/drools-apps/custom/SO-http-client.properties delete mode 100644 solution/integration/smo/onap-policy/config/drools-apps/custom/VFC-http-client.properties delete mode 100644 solution/integration/smo/onap-policy/config/drools-apps/custom/engine-system.properties delete mode 100644 solution/integration/smo/onap-policy/config/drools-apps/custom/engine.properties delete mode 100644 solution/integration/smo/onap-policy/config/drools-apps/custom/feature-lifecycle.properties delete mode 100755 solution/integration/smo/onap-policy/config/drools-apps/custom/features.pre.sh delete mode 100644 solution/integration/smo/onap-policy/config/drools-apps/custom/standalone-settings.xml delete mode 100644 solution/integration/smo/onap-policy/config/drools-apps/env/base.conf delete mode 100644 solution/integration/smo/onap-policy/config/drools-apps/env/feature-healthcheck.conf delete mode 100644 solution/integration/smo/onap-policy/config/drools-apps/env/feature-pooling-dmaap.conf delete mode 100644 solution/integration/smo/onap-policy/config/drools/custom/engine-system.properties delete mode 100644 solution/integration/smo/onap-policy/config/drools/custom/engine.properties delete mode 100755 solution/integration/smo/onap-policy/config/drools/custom/noop.pre.sh delete mode 100644 solution/integration/smo/onap-policy/config/drools/env/base.conf delete mode 100644 solution/integration/smo/onap-policy/config/ks.jks delete mode 100644 solution/integration/smo/onap-policy/config/pap/defaultConfig.json delete mode 100644 solution/integration/smo/onap-policy/config/xacml-pdp/defaultConfig.json delete mode 100644 solution/integration/smo/onap-policy/docker-compose.yml delete mode 100755 solution/integration/smo/onap-policy/wait_for_port.sh diff --git a/solution/integration/smo/onap-policy/config/apex-pdp/OnapPfConfig.json b/solution/integration/smo/onap-policy/config/apex-pdp/OnapPfConfig.json deleted file mode 100644 index f48630f..0000000 --- a/solution/integration/smo/onap-policy/config/apex-pdp/OnapPfConfig.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "name":"OnapPfParameterGroup", - "restServerParameters": { - "host": "0.0.0.0", - "port": 6969, - "userName": "healthcheck", - "password": "zb!XztG34", - "https": true - }, - "pdpStatusParameters":{ - "pdpGroup": "defaultGroup", - "timeIntervalMs": 120000, - "pdpType":"apex", - "desiredInstanceCount": 2, - "description":"Pdp Heartbeat", - "supportedPolicyTypes": [ - { - "name": "onap.policies.controlloop.operational.common.Apex", - "version": "1.0.0" - }, - { - "name": "onap.policies.native.Apex", - "version": "1.0.0" - } - ] - }, - "topicParameterGroup": { - "topicSources" : [{ - "topic" : "POLICY-PDP-PAP", - "servers" : [ "onap-dmaap" ], - "topicCommInfrastructure" : "dmaap", - "useHttps" : false, - "allowSelfSignedCerts" : true - }], - "topicSinks" : [{ - "topic" : "POLICY-PDP-PAP", - "servers" : [ "onap-dmaap" ], - "topicCommInfrastructure" : "dmaap", - "useHttps" : false, - "allowSelfSignedCerts" : true - }] - } -} diff --git a/solution/integration/smo/onap-policy/config/api/defaultConfig.json b/solution/integration/smo/onap-policy/config/api/defaultConfig.json deleted file mode 100644 index b78b753..0000000 --- a/solution/integration/smo/onap-policy/config/api/defaultConfig.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "name": "ApiGroup", - "restServerParameters": { - "host": "0.0.0.0", - "port": 6969, - "userName": "healthcheck", - "password": "zb!XztG34", - "https": false, - "aaf": false - }, - "databaseProviderParameters": { - "name": "PolicyProviderParameterGroup", - "implementation": "org.onap.policy.models.provider.impl.DatabasePolicyModelsProviderImpl", - "databaseDriver": "org.mariadb.jdbc.Driver", - "databaseUrl": "jdbc:mariadb://mariadb:3306/policyadmin", - "databaseUser": "root", - "databasePassword": "strong_pitchou", - "persistenceUnit": "PolicyMariaDb" - }, - "preloadPolicyTypes": [ - "policytypes/onap.policies.monitoring.tcagen2.yaml", - "policytypes/onap.policies.monitoring.dcaegen2.collectors.datafile.datafile-app-server.yaml", - "policytypes/onap.policies.monitoring.dcae-restconfcollector.yaml", - "policytypes/onap.policies.Optimization.yaml", - "policytypes/onap.policies.optimization.Resource.yaml", - "policytypes/onap.policies.optimization.Service.yaml", - "policytypes/onap.policies.optimization.resource.AffinityPolicy.yaml", - "policytypes/onap.policies.optimization.resource.DistancePolicy.yaml", - "policytypes/onap.policies.optimization.resource.HpaPolicy.yaml", - "policytypes/onap.policies.optimization.resource.OptimizationPolicy.yaml", - "policytypes/onap.policies.optimization.resource.PciPolicy.yaml", - "policytypes/onap.policies.optimization.service.QueryPolicy.yaml", - "policytypes/onap.policies.optimization.service.SubscriberPolicy.yaml", - "policytypes/onap.policies.optimization.resource.Vim_fit.yaml", - "policytypes/onap.policies.optimization.resource.VnfPolicy.yaml", - "policytypes/onap.policies.controlloop.guard.Common.yaml", - "policytypes/onap.policies.controlloop.guard.common.Blacklist.yaml", - "policytypes/onap.policies.controlloop.guard.common.FrequencyLimiter.yaml", - "policytypes/onap.policies.controlloop.guard.common.MinMax.yaml", - "policytypes/onap.policies.controlloop.guard.common.Filter.yaml", - "policytypes/onap.policies.controlloop.guard.coordination.FirstBlocksSecond.yaml", - "policytypes/onap.policies.Naming.yaml", - "policytypes/onap.policies.Match.yaml", - "policytypes/onap.policies.native.Drools.yaml", - "policytypes/onap.policies.native.Xacml.yaml", - "policytypes/onap.policies.native.Apex.yaml", - "policytypes/onap.policies.controlloop.operational.Common.yaml", - "policytypes/onap.policies.controlloop.operational.common.Drools.yaml" - ], - "preloadPolicies" : [ - "policies/sdnc.policy.naming.input.tosca.yaml" - ] -} diff --git a/solution/integration/smo/onap-policy/config/db/bootstrap-database.sh b/solution/integration/smo/onap-policy/config/db/bootstrap-database.sh deleted file mode 100755 index 6a6310d..0000000 --- a/solution/integration/smo/onap-policy/config/db/bootstrap-database.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -### -# ============LICENSE_START======================================================= -# ONAP CLAMP -# ================================================================================ -# Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. -# Modifications Copyright (C) 2021 Nordix Foundation. All rights reserved. -# ================================================================================ -# 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============================================ -# =================================================================== -# -### - -mysql -uroot -p$MYSQL_ROOT_PASSWORD -f < /docker-entrypoint-initdb.d/create-db.sql -mysql -uroot -p$MYSQL_ROOT_PASSWORD --execute "CREATE USER 'policy_user'@'%' IDENTIFIED BY 'policy_user';" -mysql -uroot -p$MYSQL_ROOT_PASSWORD --execute "GRANT ALL PRIVILEGES ON controlloop.* TO 'policy_user'@'%';" \ No newline at end of file diff --git a/solution/integration/smo/onap-policy/config/db/create-db.sql b/solution/integration/smo/onap-policy/config/db/create-db.sql deleted file mode 100644 index bc64431..0000000 --- a/solution/integration/smo/onap-policy/config/db/create-db.sql +++ /dev/null @@ -1,13 +0,0 @@ -# -# Create CLDS database objects (tables, etc.) -# -# -CREATE DATABASE IF NOT EXISTS `cldsdb4`; -CREATE DATABASE IF NOT EXISTS `policyadmin`; -CREATE DATABASE IF NOT EXISTS `controlloop`; -USE `cldsdb4`; -DROP USER 'clds'; -CREATE USER 'clds'; -GRANT ALL on cldsdb4.* to 'clds' identified by 'sidnnd83K' with GRANT OPTION; -FLUSH PRIVILEGES; - diff --git a/solution/integration/smo/onap-policy/config/distribution/defaultConfig.json b/solution/integration/smo/onap-policy/config/distribution/defaultConfig.json deleted file mode 100644 index 140fd70..0000000 --- a/solution/integration/smo/onap-policy/config/distribution/defaultConfig.json +++ /dev/null @@ -1,73 +0,0 @@ -{ - "name":"SDCDistributionGroup", - "restServerParameters":{ - "host":"0.0.0.0", - "port":6969, - "userName":"healthcheck", - "password":"zb!XztG34", - "https": true - }, - "receptionHandlerParameters":{ - "FileReceptionHandler":{ - "receptionHandlerType":"File", - "receptionHandlerClassName":"org.onap.policy.distribution.reception.handling.file.FileSystemReceptionHandler", - "receptionHandlerConfigurationName":"fileConfiguration", - "pluginHandlerParameters":{ - "policyDecoders":{ - "ApexDecoder":{ - "decoderType":"ApexDecoder", - "decoderClassName":"org.onap.policy.distribution.reception.decoding.policy.file.PolicyDecoderFileInCsarToPolicy", - "decoderConfigurationName": "apexDecoderConfiguration" - } - }, - "policyForwarders":{ - "LifeCycleApiForwarder":{ - "forwarderType":"LifeCycleAPI", - "forwarderClassName":"org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiPolicyForwarder", - "forwarderConfigurationName": "lifecycleApiConfiguration" - } - } - } - } - }, - "receptionHandlerConfigurationParameters":{ - "fileConfiguration":{ - "parameterClassName":"org.onap.policy.distribution.reception.handling.file.FileSystemReceptionHandlerConfigurationParameterGroup", - "parameters":{ - "watchPath": "/opt/app/policy/distribution/etc/temp/", - "maxThread": 1 - } - } - }, - "policyDecoderConfigurationParameters":{ - "apexDecoderConfiguration":{ - "parameterClassName":"org.onap.policy.distribution.reception.decoding.policy.file.PolicyDecoderFileInCsarToPolicyParameterGroup", - "parameters":{ - "policyFileName": "apex_policy.json", - "policyTypeFileName": "apex_policy_type.json" - } - } - }, - "policyForwarderConfigurationParameters":{ - "lifecycleApiConfiguration":{ - "parameterClassName":"org.onap.policy.distribution.forwarding.lifecycle.api.LifecycleApiForwarderParameters", - "parameters":{ - "apiParameters": { - "hostName": "policy-api", - "port": 6969, - "userName": "healthcheck", - "password": "zb!XztG34" - }, - "papParameters": { - "hostName": "policy-pap", - "port": 6969, - "userName": "healthcheck", - "password": "zb!XztG34" - }, - "isHttps": true, - "allowSelfSignedCerts": true, - "deployPolicies": true - } - } - } -} diff --git a/solution/integration/smo/onap-policy/config/dns_keystore.txt b/solution/integration/smo/onap-policy/config/dns_keystore.txt deleted file mode 100644 index 6ef0320..0000000 --- a/solution/integration/smo/onap-policy/config/dns_keystore.txt +++ /dev/null @@ -1,14 +0,0 @@ -DNS:policy -DNS:drools -DNS:drools.onap -DNS:policy-apex-pdp -DNS:policy-apex-pdp.onap -DNS:policy-api -DNS:policy-api.onap -DNS:policy-distribution -DNS:policy-distribution.onap -DNS:policy-pap -DNS:policy-pap.onap -DNS:policy-xacml-pdp -DNS:policy-xacml-pdp.onap -DNS:onap-dmaap diff --git a/solution/integration/smo/onap-policy/config/drools-apps/custom/AAI-http-client.properties b/solution/integration/smo/onap-policy/config/drools-apps/custom/AAI-http-client.properties deleted file mode 100644 index 35fa7f6..0000000 --- a/solution/integration/smo/onap-policy/config/drools-apps/custom/AAI-http-client.properties +++ /dev/null @@ -1,28 +0,0 @@ -# ============LICENSE_START======================================================= -# ONAP -# ================================================================================ -# Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. -# ================================================================================ -# 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========================================================= - -http.client.services=AAI - -http.client.services.AAI.managed=true -http.client.services.AAI.https=true -http.client.services.AAI.host=${envd:AAI_HOST} -http.client.services.AAI.port=${envd:AAI_PORT} -http.client.services.AAI.userName=${envd:AAI_USERNAME} -http.client.services.AAI.password=${envd:AAI_PASSWORD} -http.client.services.AAI.contextUriPath=${envd:AAI_CONTEXT_URI} -http.client.services.AAI.selfSignedCertificates=true diff --git a/solution/integration/smo/onap-policy/config/drools-apps/custom/APPC-CL-topic.properties b/solution/integration/smo/onap-policy/config/drools-apps/custom/APPC-CL-topic.properties deleted file mode 100644 index 77362f2..0000000 --- a/solution/integration/smo/onap-policy/config/drools-apps/custom/APPC-CL-topic.properties +++ /dev/null @@ -1,28 +0,0 @@ -# ============LICENSE_START======================================================= -# ONAP -# ================================================================================ -# Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. -# ================================================================================ -# 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========================================================= - -dmaap.source.topics=APPC-CL -dmaap.sink.topics=APPC-CL - -dmaap.source.topics.APPC-CL.servers=${env:DMAAP_SERVERS} -dmaap.source.topics.APPC-CL.https=false -dmaap.source.topics.APPC-CL.selfSignedCertificates=true - -dmaap.sink.topics.APPC-CL.servers=${env:DMAAP_SERVERS} -dmaap.sink.topics.APPC-CL.https=false -dmaap.sink.topics.APPC-CL.selfSignedCertificates=true diff --git a/solution/integration/smo/onap-policy/config/drools-apps/custom/APPC-LCM-READ-topic.properties b/solution/integration/smo/onap-policy/config/drools-apps/custom/APPC-LCM-READ-topic.properties deleted file mode 100644 index f444f38..0000000 --- a/solution/integration/smo/onap-policy/config/drools-apps/custom/APPC-LCM-READ-topic.properties +++ /dev/null @@ -1,23 +0,0 @@ -# ============LICENSE_START======================================================= -# ONAP -# ================================================================================ -# Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. -# ================================================================================ -# 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========================================================= - -dmaap.sink.topics=APPC-LCM-READ - -dmaap.sink.topics.APPC-LCM-READ.servers=${env:DMAAP_SERVERS} -dmaap.sink.topics.APPC-LCM-READ.https=false -dmaap.sink.topics.APPC-LCM-READ.selfSignedCertificates=true diff --git a/solution/integration/smo/onap-policy/config/drools-apps/custom/APPC-LCM-WRITE-topic.properties b/solution/integration/smo/onap-policy/config/drools-apps/custom/APPC-LCM-WRITE-topic.properties deleted file mode 100644 index 2398550..0000000 --- a/solution/integration/smo/onap-policy/config/drools-apps/custom/APPC-LCM-WRITE-topic.properties +++ /dev/null @@ -1,23 +0,0 @@ -# ============LICENSE_START======================================================= -# ONAP -# ================================================================================ -# Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. -# ================================================================================ -# 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========================================================= - -dmaap.source.topics=APPC-LCM-WRITE - -dmaap.source.topics.APPC-LCM-WRITE.servers=${env:DMAAP_SERVERS} -dmaap.source.topics.APPC-LCM-WRITE.https=false -dmaap.source.topics.APPC-LCM-WRITE.selfSignedCertificates=true diff --git a/solution/integration/smo/onap-policy/config/drools-apps/custom/DCAE_CL_RSP-topic.properties b/solution/integration/smo/onap-policy/config/drools-apps/custom/DCAE_CL_RSP-topic.properties deleted file mode 100644 index b31cddb..0000000 --- a/solution/integration/smo/onap-policy/config/drools-apps/custom/DCAE_CL_RSP-topic.properties +++ /dev/null @@ -1,23 +0,0 @@ -# ============LICENSE_START======================================================= -# ONAP -# ================================================================================ -# Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. -# ================================================================================ -# 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========================================================= - -dmaap.sink.topics=DCAE_CL_RSP - -dmaap.sink.topics.DCAE_CL_RSP.servers=${env:DMAAP_SERVERS} -dmaap.sink.topics.DCAE_CL_RSP.https=false -dmaap.sink.topics.DCAE_CL_RSP.selfSignedCertificates=true diff --git a/solution/integration/smo/onap-policy/config/drools-apps/custom/DCAE_TOPIC-topic.properties b/solution/integration/smo/onap-policy/config/drools-apps/custom/DCAE_TOPIC-topic.properties deleted file mode 100644 index 38f9f89..0000000 --- a/solution/integration/smo/onap-policy/config/drools-apps/custom/DCAE_TOPIC-topic.properties +++ /dev/null @@ -1,25 +0,0 @@ -# ============LICENSE_START======================================================= -# ONAP -# ================================================================================ -# Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. -# ================================================================================ -# 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========================================================= - -dmaap.source.topics=DCAE_TOPIC - -dmaap.source.topics.DCAE_TOPIC.effectiveTopic=${env:DCAE_TOPIC} -dmaap.source.topics.DCAE_TOPIC.servers=${env:DMAAP_SERVERS} -dmaap.source.topics.DCAE_TOPIC.consumerGroup=${env:DCAE_CONSUMER_GROUP} -dmaap.source.topics.DCAE_TOPIC.https=false -dmaap.source.topics.DCAE_TOPIC.selfSignedCertificates=true diff --git a/solution/integration/smo/onap-policy/config/drools-apps/custom/GUARD-http-client.properties b/solution/integration/smo/onap-policy/config/drools-apps/custom/GUARD-http-client.properties deleted file mode 100644 index 4266b04..0000000 --- a/solution/integration/smo/onap-policy/config/drools-apps/custom/GUARD-http-client.properties +++ /dev/null @@ -1,28 +0,0 @@ -# ============LICENSE_START======================================================= -# ONAP -# ================================================================================ -# Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. -# ================================================================================ -# 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========================================================= - -http.client.services=GUARD - -http.client.services.GUARD.managed=true -http.client.services.GUARD.https=false -http.client.services.GUARD.host=${envd:PDP_HOST} -http.client.services.GUARD.port=${envd:PDP_PORT} -http.client.services.GUARD.userName=${envd:PDP_USERNAME} -http.client.services.GUARD.password=${envd:PDP_PASSWORD} -http.client.services.GUARD.contextUriPath=${envd:PDP_CONTEXT_URI:policy/pdpx/v1/} -http.client.services.GUARD.selfSignedCertificates=true diff --git a/solution/integration/smo/onap-policy/config/drools-apps/custom/POLICY-CL-MGT-topic.properties b/solution/integration/smo/onap-policy/config/drools-apps/custom/POLICY-CL-MGT-topic.properties deleted file mode 100644 index 7fa0f10..0000000 --- a/solution/integration/smo/onap-policy/config/drools-apps/custom/POLICY-CL-MGT-topic.properties +++ /dev/null @@ -1,22 +0,0 @@ -# ============LICENSE_START======================================================= -# ONAP -# ================================================================================ -# Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. -# ================================================================================ -# 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========================================================= - -dmaap.sink.topics=POLICY-CL-MGT -dmaap.sink.topics.POLICY-CL-MGT.servers=${env:DMAAP_SERVERS} -dmaap.sink.topics.POLICY-CL-MGT.https=false -dmaap.sink.topics.POLICY-CL-MGT.selfSignedCertificates=true diff --git a/solution/integration/smo/onap-policy/config/drools-apps/custom/SDNC-http-client.properties b/solution/integration/smo/onap-policy/config/drools-apps/custom/SDNC-http-client.properties deleted file mode 100644 index 3f91b07..0000000 --- a/solution/integration/smo/onap-policy/config/drools-apps/custom/SDNC-http-client.properties +++ /dev/null @@ -1,28 +0,0 @@ -# ============LICENSE_START======================================================= -# ONAP -# ================================================================================ -# Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. -# ================================================================================ -# 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========================================================= - -http.client.services=SDNC - -http.client.services.SDNC.managed=true -http.client.services.SDNC.https=false -http.client.services.SDNC.host=${envd:SDNC_HOST} -http.client.services.SDNC.port=${envd:SDNC_PORT} -http.client.services.SDNC.userName=${envd:SDNC_USERNAME} -http.client.services.SDNC.password=${envd:SDNC_PASSWORD} -http.client.services.SDNC.contextUriPath=${envd:SDNC_CONTEXT_URI} -http.client.services.SDNC.selfSignedCertificates=true diff --git a/solution/integration/smo/onap-policy/config/drools-apps/custom/SDNR-CL-RSP-topic.properties b/solution/integration/smo/onap-policy/config/drools-apps/custom/SDNR-CL-RSP-topic.properties deleted file mode 100644 index 79b5e55..0000000 --- a/solution/integration/smo/onap-policy/config/drools-apps/custom/SDNR-CL-RSP-topic.properties +++ /dev/null @@ -1,22 +0,0 @@ -# ============LICENSE_START======================================================= -# ONAP -# ================================================================================ -# Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. -# ================================================================================ -# 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========================================================= - -dmaap.source.topics=SDNR-CL-RSP -dmaap.source.topics.SDNR-CL-RSP.servers=${env:DMAAP_SERVERS} -dmaap.source.topics.SDNR-CL-RSP.https=false -dmaap.source.topics.SDNR-CL-RSP.selfSignedCertificates=true diff --git a/solution/integration/smo/onap-policy/config/drools-apps/custom/SDNR-CL-topic.properties b/solution/integration/smo/onap-policy/config/drools-apps/custom/SDNR-CL-topic.properties deleted file mode 100644 index 5eac5e3..0000000 --- a/solution/integration/smo/onap-policy/config/drools-apps/custom/SDNR-CL-topic.properties +++ /dev/null @@ -1,23 +0,0 @@ -# ============LICENSE_START======================================================= -# ONAP -# ================================================================================ -# Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. -# ================================================================================ -# 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========================================================= - -dmaap.sink.topics=SDNR-CL - -dmaap.sink.topics.SDNR-CL.servers=${env:DMAAP_SERVERS} -dmaap.sink.topics.SDNR-CL.https=false -dmaap.sink.topics.SDNR-CL.selfSignedCertificates=true diff --git a/solution/integration/smo/onap-policy/config/drools-apps/custom/SO-http-client.properties b/solution/integration/smo/onap-policy/config/drools-apps/custom/SO-http-client.properties deleted file mode 100644 index 7e71e35..0000000 --- a/solution/integration/smo/onap-policy/config/drools-apps/custom/SO-http-client.properties +++ /dev/null @@ -1,28 +0,0 @@ -# ============LICENSE_START======================================================= -# ONAP -# ================================================================================ -# Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. -# ================================================================================ -# 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========================================================= - -http.client.services=SO - -http.client.services.SO.managed=true -http.client.services.SO.https=false -http.client.services.SO.host=${envd:SO_HOST} -http.client.services.SO.port=${envd:SO_PORT} -http.client.services.SO.userName=${envd:SO_USERNAME} -http.client.services.SO.password=${envd:SO_PASSWORD} -http.client.services.SO.contextUriPath=${envd:SO_CONTEXT_URI} -http.client.services.SO.selfSignedCertificates=true diff --git a/solution/integration/smo/onap-policy/config/drools-apps/custom/VFC-http-client.properties b/solution/integration/smo/onap-policy/config/drools-apps/custom/VFC-http-client.properties deleted file mode 100644 index c267b7a..0000000 --- a/solution/integration/smo/onap-policy/config/drools-apps/custom/VFC-http-client.properties +++ /dev/null @@ -1,28 +0,0 @@ -# ============LICENSE_START======================================================= -# ONAP -# ================================================================================ -# Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. -# ================================================================================ -# 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========================================================= - -http.client.services=VFC - -http.client.services.VFC.managed=true -http.client.services.VFC.https=false -http.client.services.VFC.host=${envd:VFC_HOST} -http.client.services.VFC.port=${envd:VFC_PORT} -http.client.services.VFC.userName=${envd:VFC_USERNAME} -http.client.services.VFC.password=${envd:VFC_PASSWORD} -http.client.services.VFC.contextUriPath=${envd:VFC_CONTEXT_URI:api/nslcm/v1/} -http.client.services.VFC.selfSignedCertificates=true diff --git a/solution/integration/smo/onap-policy/config/drools-apps/custom/engine-system.properties b/solution/integration/smo/onap-policy/config/drools-apps/custom/engine-system.properties deleted file mode 100644 index 19e03b5..0000000 --- a/solution/integration/smo/onap-policy/config/drools-apps/custom/engine-system.properties +++ /dev/null @@ -1,45 +0,0 @@ -# -# ============LICENSE_START======================================================= -# ONAP -# ================================================================================ -# Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. -# ================================================================================ -# 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========================================================= -# - -# system properties set within the application - -java.net.preferIPv4Stack=true - -# jmx - -com.sun.management.jmxremote.port=9991 -com.sun.management.jmxremote.authenticate=false -com.sun.management.jmxremote.ssl=false - -# certs - -javax.net.ssl.trustStore=${envd:TRUSTSTORE:/opt/app/policy/etc/ssl/policy-truststore} -javax.net.ssl.trustStorePassword=${envd:TRUSTSTORE_PASSWD:Pol1cy_0nap} - -javax.net.ssl.keyStore=${envd:KEYSTORE:/opt/app/policy/etc/ssl/policy-keystore} -javax.net.ssl.keyStorePassword=${envd:KEYSTORE_PASSWD:Pol1cy_0nap} - -# kie - -kie.maven.offline.force=${envd:REPOSITORY_OFFLINE:false} - -# symmetric key for sensitive configuration data - -engine.symm.key=${envd:SYMM_KEY} diff --git a/solution/integration/smo/onap-policy/config/drools-apps/custom/engine.properties b/solution/integration/smo/onap-policy/config/drools-apps/custom/engine.properties deleted file mode 100644 index 01e6ed6..0000000 --- a/solution/integration/smo/onap-policy/config/drools-apps/custom/engine.properties +++ /dev/null @@ -1,50 +0,0 @@ -### -# ============LICENSE_START======================================================= -# ONAP -# ================================================================================ -# Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. -# ================================================================================ -# 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========================================================= -### - -# Policy Engine Configuration Channels - -dmaap.source.topics=PDPD-CONFIGURATION - -dmaap.source.topics.PDPD-CONFIGURATION.servers=${envd:DMAAP_SERVERS} -dmaap.source.topics.PDPD-CONFIGURATION.effectiveTopic=${envd:PDPD_CONFIGURATION_TOPIC} -dmaap.source.topics.PDPD-CONFIGURATION.apiKey=${envd:PDPD_CONFIGURATION_API_KEY} -dmaap.source.topics.PDPD-CONFIGURATION.apiSecret=${envd:PDPD_CONFIGURATION_API_SECRET} -dmaap.source.topics.PDPD-CONFIGURATION.consumerGroup=${envd:PDPD_CONFIGURATION_CONSUMER_GROUP} -dmaap.source.topics.PDPD-CONFIGURATION.consumerInstance=${envd:PDPD_CONFIGURATION_CONSUMER_INSTANCE} -dmaap.source.topics.PDPD-CONFIGURATION.managed=false -dmaap.source.topics.PDPD-CONFIGURATION.https=false -dmaap.source.topics.PDPD-CONFIGURATION.selfSignedCertificates=true - -http.server.services=SECURED-CONFIG - -http.server.services.SECURED-CONFIG.host=${envd:TELEMETRY_HOST} -http.server.services.SECURED-CONFIG.port=9696 -http.server.services.SECURED-CONFIG.userName=${envd:TELEMETRY_USER} -http.server.services.SECURED-CONFIG.password=${envd:TELEMETRY_PASSWORD} -http.server.services.SECURED-CONFIG.restPackages=org.onap.policy.drools.server.restful -http.server.services.SECURED-CONFIG.managed=false -http.server.services.SECURED-CONFIG.swagger=true -http.server.services.SECURED-CONFIG.https=false -http.server.services.SECURED-CONFIG.aaf=${envd:AAF:false} -http.server.services.SECURED-CONFIG.serialization.provider=org.onap.policy.common.gson.JacksonHandler,org.onap.policy.common.endpoints.http.server.YamlJacksonHandler - -aaf.namespace=${envd:AAF_NAMESPACE:false} -aaf.root.permission=${envd:AAF_NAMESPACE:org.onap.policy}.pdpd - diff --git a/solution/integration/smo/onap-policy/config/drools-apps/custom/feature-lifecycle.properties b/solution/integration/smo/onap-policy/config/drools-apps/custom/feature-lifecycle.properties deleted file mode 100644 index ab97035..0000000 --- a/solution/integration/smo/onap-policy/config/drools-apps/custom/feature-lifecycle.properties +++ /dev/null @@ -1,40 +0,0 @@ -# ============LICENSE_START======================================================= -# ONAP -# ================================================================================ -# Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. -# ================================================================================ -# 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========================================================= - -lifecycle.pdp.group=${envd:POLICY_PDP_PAP_GROUP:defaultGroup} -lifecycle.pdp.type=${envd:POLICY_PDP_PAP_TYPE:drools} - -# Mandatory policy types that this PDP-D must support at a minimum -lifecycle.pdp.policytypes=${envd:POLICY_PDP_PAP_POLICYTYPES} - -dmaap.source.topics=POLICY-PDP-PAP -dmaap.sink.topics=POLICY-PDP-PAP - -dmaap.source.topics.POLICY-PDP-PAP.servers=${envd:DMAAP_SERVERS} -dmaap.source.topics.POLICY-PDP-PAP.effectiveTopic=${envd:POLICY_PDP_PAP_TOPIC} -dmaap.source.topics.POLICY-PDP-PAP.apiKey=${envd:POLICY_PDP_PAP_API_KEY} -dmaap.source.topics.POLICY-PDP-PAP.apiSecret=${envd:POLICY_PDP_PAP_API_SECRET} -dmaap.source.topics.POLICY-PDP-PAP.https=false -dmaap.source.topics.POLICY-PDP-PAP.selfSignedCertificates=true - -dmaap.sink.topics.POLICY-PDP-PAP.servers=${envd:DMAAP_SERVERS} -dmaap.sink.topics.POLICY-PDP-PAP.effectiveTopic=${envd:POLICY_PDP_PAP_TOPIC} -dmaap.sink.topics.POLICY-PDP-PAP.apiKey=${envd:POLICY_PDP_PAP_API_KEY} -dmaap.sink.topics.POLICY-PDP-PAP.apiSecret=${envd:POLICY_PDP_PAP_API_SECRET} -dmaap.sink.topics.POLICY-PDP-PAP.https=false -dmaap.sink.topics.POLICY-PDP-PAP.selfSignedCertificates=true diff --git a/solution/integration/smo/onap-policy/config/drools-apps/custom/features.pre.sh b/solution/integration/smo/onap-policy/config/drools-apps/custom/features.pre.sh deleted file mode 100755 index fd7b5b9..0000000 --- a/solution/integration/smo/onap-policy/config/drools-apps/custom/features.pre.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/sh -# ============LICENSE_START=================================================== -# Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. -# ============================================================================ -# 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===================================================== - -sh -c "features disable distributed-locking" diff --git a/solution/integration/smo/onap-policy/config/drools-apps/custom/standalone-settings.xml b/solution/integration/smo/onap-policy/config/drools-apps/custom/standalone-settings.xml deleted file mode 100644 index ebd6dd2..0000000 --- a/solution/integration/smo/onap-policy/config/drools-apps/custom/standalone-settings.xml +++ /dev/null @@ -1,57 +0,0 @@ - - - - - - - true - - - - - policy-local - - - - file-repository - file:${user.home}/.m2/file-repository - - true - always - - - true - always - - - - - - - - - - policy-local - - - diff --git a/solution/integration/smo/onap-policy/config/drools-apps/env/base.conf b/solution/integration/smo/onap-policy/config/drools-apps/env/base.conf deleted file mode 100644 index b8ca10e..0000000 --- a/solution/integration/smo/onap-policy/config/drools-apps/env/base.conf +++ /dev/null @@ -1,132 +0,0 @@ -# ============LICENSE_START================================================== -# Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. -# =========================================================================== -# 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==================================================== - -# JVM options - -JVM_OPTIONS=-server -Xms512m -Xmx512m - -# SYSTEM software configuration - -DEBUG=y -POLICY_HOME=/opt/app/policy -POLICY_LOGS=/var/log/onap/policy/pdpd -KEYSTORE_PASSWD=Pol1cy_0nap -TRUSTSTORE_PASSWD=Pol1cy_0nap - -# Telemetry credentials - -TELEMETRY_PORT=9696 -TELEMETRY_HOST=0.0.0.0 -TELEMETRY_USER=demo@people.osaaf.org -TELEMETRY_PASSWORD=demo123456! - -# nexus repository - -SNAPSHOT_REPOSITORY_ID= -SNAPSHOT_REPOSITORY_URL= -RELEASE_REPOSITORY_ID= -RELEASE_REPOSITORY_URL= -REPOSITORY_USERNAME= -REPOSITORY_PASSWORD= -REPOSITORY_OFFLINE=true - -# Relational (SQL) DB access - -SQL_HOST=mariadb -SQL_USER=root -SQL_PASSWORD=strong_pitchou - -# AAF - -AAF=false -AAF_NAMESPACE=org.onap.policy -AAF_HOST=aaf.api.simpledemo.onap.org - -# PDP-D DMaaP configuration channel - -PDPD_CONFIGURATION_TOPIC=PDPD-CONFIGURATION -PDPD_CONFIGURATION_API_KEY= -PDPD_CONFIGURATION_API_SECRET= -PDPD_CONFIGURATION_CONSUMER_GROUP= -PDPD_CONFIGURATION_CONSUMER_INSTANCE= -PDPD_CONFIGURATION_PARTITION_KEY= - -# PAP-PDP configuration channel - -POLICY_PDP_PAP_TOPIC=POLICY-PDP-PAP -POLICY_PDP_PAP_API_KEY= -POLICY_PDP_PAP_API_SECRET= - -# PAP - -PAP_HOST=pap -PAP_USERNAME=testpap -PAP_PASSWORD=alpha123 - -# PDP-X - -GUARD_DISABLED=false -PDP_HOST=policy-xacml-pdp -PDP_PORT=6969 -PDP_CONTEXT_URI=policy/pdpx/v1/ -PDP_USERNAME=healthcheck -PDP_PASSWORD=zb!XztG34 -PDP_CLIENT_USERNAME=python -PDP_CLIENT_PASSWORD=test -PDP_ENVIRONMENT=TEST - -# DCAE DMaaP - -DCAE_TOPIC=unauthenticated.DCAE_CL_OUTPUT -DCAE_SERVERS=policy.api.simpledemo.onap.org -DCAE_CONSUMER_GROUP=dcae.policy.shared - -# Open DMaaP - -DMAAP_SERVERS=onap-dmaap - -# AAI - -AAI_HOST=policy.api.simpledemo.onap.org -AAI_PORT=6666 -AAI_CONTEXT_URI= -AAI_USERNAME=policy@policy.onap.org -AAI_PASSWORD=demo123456! - -# MSO - -SO_HOST=policy.api.simpledemo.onap.org -SO_PORT=6669 -SO_CONTEXT_URI= -SO_URL=https://policy.api.simpledemo.onap.org:6669/ -SO_USERNAME=InfraPortalClient -SO_PASSWORD=password1$ - -# VFC - -VFC_HOST=policy.api.simpledemo.onap.org -VFC_PORT=6670 -VFC_CONTEXT_URI= -VFC_USERNAME= -VFC_PASSWORD= - -# SDNC - -SDNC_HOST=policy.api.simpledemo.onap.org -SDNC_PORT=6668 -SDNC_CONTEXT_URI= -SDNC_USERNAME= -SDNC_PASSWORD= diff --git a/solution/integration/smo/onap-policy/config/drools-apps/env/feature-healthcheck.conf b/solution/integration/smo/onap-policy/config/drools-apps/env/feature-healthcheck.conf deleted file mode 100644 index 1c71054..0000000 --- a/solution/integration/smo/onap-policy/config/drools-apps/env/feature-healthcheck.conf +++ /dev/null @@ -1,18 +0,0 @@ -# ============LICENSE_START======================================================= -# Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. -# ================================================================================ -# 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========================================================= - -HEALTHCHECK_USER=demo@people.osaaf.org -HEALTHCHECK_PASSWORD=demo123456! diff --git a/solution/integration/smo/onap-policy/config/drools-apps/env/feature-pooling-dmaap.conf b/solution/integration/smo/onap-policy/config/drools-apps/env/feature-pooling-dmaap.conf deleted file mode 100644 index 3808e3d..0000000 --- a/solution/integration/smo/onap-policy/config/drools-apps/env/feature-pooling-dmaap.conf +++ /dev/null @@ -1,17 +0,0 @@ -# ============LICENSE_START======================================================= -# Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. -# ================================================================================ -# 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========================================================= - -POOLING_TOPIC=POOLING diff --git a/solution/integration/smo/onap-policy/config/drools/custom/engine-system.properties b/solution/integration/smo/onap-policy/config/drools/custom/engine-system.properties deleted file mode 100644 index 19e03b5..0000000 --- a/solution/integration/smo/onap-policy/config/drools/custom/engine-system.properties +++ /dev/null @@ -1,45 +0,0 @@ -# -# ============LICENSE_START======================================================= -# ONAP -# ================================================================================ -# Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. -# ================================================================================ -# 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========================================================= -# - -# system properties set within the application - -java.net.preferIPv4Stack=true - -# jmx - -com.sun.management.jmxremote.port=9991 -com.sun.management.jmxremote.authenticate=false -com.sun.management.jmxremote.ssl=false - -# certs - -javax.net.ssl.trustStore=${envd:TRUSTSTORE:/opt/app/policy/etc/ssl/policy-truststore} -javax.net.ssl.trustStorePassword=${envd:TRUSTSTORE_PASSWD:Pol1cy_0nap} - -javax.net.ssl.keyStore=${envd:KEYSTORE:/opt/app/policy/etc/ssl/policy-keystore} -javax.net.ssl.keyStorePassword=${envd:KEYSTORE_PASSWD:Pol1cy_0nap} - -# kie - -kie.maven.offline.force=${envd:REPOSITORY_OFFLINE:false} - -# symmetric key for sensitive configuration data - -engine.symm.key=${envd:SYMM_KEY} diff --git a/solution/integration/smo/onap-policy/config/drools/custom/engine.properties b/solution/integration/smo/onap-policy/config/drools/custom/engine.properties deleted file mode 100644 index 790bf55..0000000 --- a/solution/integration/smo/onap-policy/config/drools/custom/engine.properties +++ /dev/null @@ -1,37 +0,0 @@ -### -# ============LICENSE_START======================================================= -# ONAP -# ================================================================================ -# Copyright (C) 2021 AT&T Intellectual Property. All rights reserved. -# ================================================================================ -# 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========================================================= -### - -# Policy Engine Telemetry Server - -http.server.services=SECURED-CONFIG - -http.server.services.SECURED-CONFIG.host=${envd:TELEMETRY_HOST} -http.server.services.SECURED-CONFIG.port=9696 -http.server.services.SECURED-CONFIG.userName=${envd:TELEMETRY_USER} -http.server.services.SECURED-CONFIG.password=${envd:TELEMETRY_PASSWORD} -http.server.services.SECURED-CONFIG.restPackages=org.onap.policy.drools.server.restful -http.server.services.SECURED-CONFIG.managed=false -http.server.services.SECURED-CONFIG.swagger=true -http.server.services.SECURED-CONFIG.https=false -http.server.services.SECURED-CONFIG.aaf=${envd:AAF:false} -http.server.services.SECURED-CONFIG.serialization.provider=org.onap.policy.common.gson.JacksonHandler,org.onap.policy.common.endpoints.http.server.YamlJacksonHandler - -aaf.namespace=${envd:AAF_NAMESPACE:false} -aaf.root.permission=${envd:AAF_NAMESPACE:org.onap.policy}.pdpd diff --git a/solution/integration/smo/onap-policy/config/drools/custom/noop.pre.sh b/solution/integration/smo/onap-policy/config/drools/custom/noop.pre.sh deleted file mode 100755 index 63bdc4c..0000000 --- a/solution/integration/smo/onap-policy/config/drools/custom/noop.pre.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/bash -x -# ============LICENSE_START======================================================= -# Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. -# ================================================================================ -# 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========================================================= - -sed -i "s/^dmaap/noop/g" \ - ${POLICY_HOME}/config/engine.properties \ - ${POLICY_HOME}/config/feature-lifecycle.properties - -chmod 644 ${POLICY_HOME}/config/engine.properties ${POLICY_HOME}/config/feature-lifecycle.properties diff --git a/solution/integration/smo/onap-policy/config/drools/env/base.conf b/solution/integration/smo/onap-policy/config/drools/env/base.conf deleted file mode 100644 index fa1f8f1..0000000 --- a/solution/integration/smo/onap-policy/config/drools/env/base.conf +++ /dev/null @@ -1,132 +0,0 @@ -# ============LICENSE_START======================================================= -# Copyright (C) 2020 AT&T Intellectual Property. All rights reserved. -# ================================================================================ -# 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========================================================= - -# JVM options - -JVM_OPTIONS=-server -Xms512m -Xmx512m - -# SYSTEM software configuration - -DEBUG=y -POLICY_HOME=/opt/app/policy -POLICY_LOGS=/var/log/onap/policy/pdpd -KEYSTORE_PASSWD=Pol1cy_0nap -TRUSTSTORE_PASSWD=Pol1cy_0nap - -# Telemetry credentials - -TELEMETRY_PORT=9696 -TELEMETRY_HOST=0.0.0.0 -TELEMETRY_USER=demo@people.osaaf.org -TELEMETRY_PASSWORD=demo123456! - -# nexus repository - -SNAPSHOT_REPOSITORY_ID=policy-nexus-snapshots -SNAPSHOT_REPOSITORY_URL=http://nexus:8081/nexus/content/repositories/snapshots/ -RELEASE_REPOSITORY_ID=policy-nexus-releases -RELEASE_REPOSITORY_URL=http://nexus:8081/nexus/content/repositories/releases/ -REPOSITORY_USERNAME=admin -REPOSITORY_PASSWORD=admin123 -REPOSITORY_OFFLINE=false - -# Relational (SQL) DB access - -SQL_HOST=mariadb -SQL_USER=root -SQL_PASSWORD=strong_pitchou - -# AAF - -AAF=false -AAF_NAMESPACE=org.onap.policy -AAF_HOST=aaf.api.simpledemo.onap.org - -# PDP-D DMaaP configuration channel - -PDPD_CONFIGURATION_TOPIC=PDPD-CONFIGURATION -PDPD_CONFIGURATION_API_KEY= -PDPD_CONFIGURATION_API_SECRET= -PDPD_CONFIGURATION_CONSUMER_GROUP= -PDPD_CONFIGURATION_CONSUMER_INSTANCE= -PDPD_CONFIGURATION_PARTITION_KEY= - -# PAP-PDP configuration channel - -POLICY_PDP_PAP_TOPIC=POLICY-PDP-PAP -POLICY_PDP_PAP_API_KEY= -POLICY_PDP_PAP_API_SECRET= - -# PAP - -PAP_HOST= -PAP_USERNAME= -PAP_PASSWORD= - -# PDP-X - -PDP_HOST= -PDP_PORT= -PDP_CONTEXT_URI=policy/pdpx/v1/ -PDP_USERNAME= -PDP_PASSWORD= -PDP_CLIENT_USERNAME= -PDP_CLIENT_PASSWORD= -PDP_ENVIRONMENT= -GUARD_DISABLED=false - -# DCAE DMaaP - -DCAE_TOPIC=unauthenticated.DCAE_CL_OUTPUT -DCAE_SERVERS= -DCAE_CONSUMER_GROUP=dcae.policy.shared - -# Open DMaaP - -DMAAP_SERVERS=onap-dmaap - -# AAI - -AAI_HOST=aai.api.simpledemo.onap.org -AAI_PORT=8443 -AAI_CONTEXT_URI= -AAI_USERNAME=policy@policy.onap.org -AAI_PASSWORD=demo123456! - -# MSO - -SO_HOST=vm1.mso.simpledemo.onap.org -SO_PORT=8080 -SO_CONTEXT_URI=onap/so/infra/ -SO_URL=http://vm1.mso.simpledemo.onap.org:8080/onap/so/infra -SO_USERNAME=InfraPortalClient -SO_PASSWORD=password1$ - -# VFC - -VFC_HOST= -VFC_PORT= -VFC_CONTEXT_URI=api/nslcm/v1/ -VFC_USERNAME= -VFC_PASSWORD= - -# SDNC - -SDNC_HOST= -SDNC_PORT= -SDNC_CONTEXT_URI=restconf/operations/ -SDNC_USERNAME= -SDNC_PASSWORD= diff --git a/solution/integration/smo/onap-policy/config/ks.jks b/solution/integration/smo/onap-policy/config/ks.jks deleted file mode 100644 index 001c7e1a9aad185507bb401e71096a794e11ee44..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2647 zcmY+Ec{mgb7sdx;G)DG)8zk9{oy6FQA&jwB*0Kx}%9gT>y<{1Z?Af!0B9lG)URf`Z zFv8en?0oL`eBZrKf1Kx>^S7zIe_BWbVf}e_LM0 zCbBa%?J{{x?MdzLfXFET?Iu7huxDAsdfd-cB6OQROQ0sQ)QEO_^v=#pRpt93vLB8w zXZNabI>@2JrMq#PJWSLgpXNTxexQao|7Ok7ZRC`b(>Fo7%;L%mp6Ibrv$YfmJTU1O z+g#eutaa0B@!CyjnLR(?l(BwtwfS9-bEdx3?QssT{9b6`ik#S6Qn%v9ect;VMy#T! zABB>5 zq>?*>V^5sV8=eH;S_l}|rX{soQ?$2>H=q$aka{p0HglFxDnG6CD`PVM%=31-h)ZoX=x!Y$^j7T^39G<^Dw zlgTwKB^bX?&N@HGqpqgM8ON=w|A2@Ui6&ply2}-BG`n--C(IrMe&6X(s?!FBH(fds zt@X`AnX$WL@H%fA69*=_j&?1V@qUR<;yxbCb($B!ZVEsn5Hl&}5`iKaCM9{U{@s?Y zgIHI7`~HPajV=RaoKwzUu0xg~OuK771gY;`V=39xIRM${pn`lyhFTu`jY#enN~uXp z2IY*x%%)3R%!#v&wh#_rx!u`whVNGeE1-v_#c`E{>BgCB=#<& za81>@1~T}pQ#MG}Q5ez!Ic#*TJ&7EbjA0L87MCC7Q{e zsQslJbg7Ey76Nrb96mCZUkL+B=dc&<{?r>ym95Wl9aB4htwwbqB-Jl|doms+9V=R< z{El^lZNC&me|XSbO2~Hi&xowz)nywQ`NjmA)si0>(G;mjHcoQGC7xCs)0)xQ1tCXW zVlxIZ6-w~$-D6XaKN0Arp)bO1>19%BH|izxF#xTY(7Tu`PiGTtZZtFIbqSDL9rC&o zZ3cu;2Q3Z+rHJ%RTXUVM&^#rX&GW}|r|DLNp2z4-)fKxth;8)quJr^T?>(~QRXhBN zpy|f)6AN*;-s8iuq4M4(2zBu0^(<~_32d&ti^vcACjP=HwPE7k9^O!+__z5}2xReh z22gbVM`ca_sTbOUcmGk=^uertvjh9S#o)K94+MC=kWWXD=jnthNKm+M=Eh$${PM`7dJEp>J>e^);z)8diw9tG3eCeZq+#Ap7XZSqdUbLLyV9 z@DXJncTgm2n&ALyxF99S=OiH9>ujnlTWr-b$kPKL^uZdp#H2;q?@C?2MxWM@T4YNoy0~yWTJn!*I zE66CyC@Ux{%fS>BFW~C@&k+^qg14v($&{Q7aM29@b;$l8Fz9arZwvJg8#zvIvo%u4 zsdS8lmPE5W|1W_dXrH(qZDkC#^`X^G4&HTk*p?aKojc-k-qA0Lzjkg#%5}-v3D>Q_YfU`6x8%d%P)3ikG9SX zAp`6w!Y8-Cn~aX1y++j3c)kbzOh~)2YCLsydC5$~)jn1}n1MFnB*BgF7tWaaacQpd>s(%I=N=%$7ElF>M91OhtHizg_?8hlxMl!WcG|GVSu`ZEgufEYisv}u7@S^!W!R-n) zAz^629%0H*|KNfURU}5tW6fR4h)*p@tDHl!$$81@Q{chsnA*n`2D%fR=Zm;SqHv%z zw2-Wg1aSK@zrCAvq<2QxXVLtza$-xeaW4@JDawB{GwqvWkjT}{@AfM0B;2F9>XtfD zbC|ohq*(SQ#6K9C79@LF@@?ou@RH&9n|qEd&{)AzUsS7c*odM=-CG_;8gBR<)s%<% zK1h?OZWn56(sytLqIG?yAD5I0KPq8Md^G&2>cF-tBF<{HM_byT%&1s`z+dUtCBTZH zSb&!lAz8ef#f(2;N%lq2yCC#nk8UOiV-oeMzAsb_oGueS?2EcyWKu@u%yH26Q$Dp_ zkyqP zs>eHI)uNc0cQnD|{!DK#DgAy~c$}%aAXm{OHWxyuY{Hh`BFYiiw&XW1>Epvrf3x&2 - exit 1 -fi - -while [ $# -ge 2 ]; do - export host=$1 - export port=$2 - shift - shift - - echo "Waiting for $host port $port..." - timeout $tmout sh -c 'until nc -vz "$host" "$port"; do echo -n "."; - sleep 1; done' - rc=$? - - if [ $rc != 0 ]; then - echo "$host port $port cannot be reached" - exit $rc - fi -done - -$cmd - -exit 0 -- 2.16.6