diff options
author | Pamela Dragosh <pdragosh@research.att.com> | 2017-02-14 19:45:48 -0500 |
---|---|---|
committer | Pamela Dragosh <pdragosh@research.att.com> | 2017-02-14 19:46:03 -0500 |
commit | 0e16acf4d8579fd82349d6cd24e236275735a818 (patch) | |
tree | 2c397f9d025dacfb3318d75e8fef9a750f71f76b /packages/install/src | |
parent | ec6b0922de2f7e9e68ba9586efc9ed2ad75768f8 (diff) |
Initial OpenECOMP policy/drools-pdp commit
Change-Id: I0072ccab6f40ed32da39667f9f8523b6d6dad2e2
Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'packages/install/src')
-rw-r--r-- | packages/install/src/assembly/zip.xml | 39 | ||||
-rw-r--r-- | packages/install/src/files/base.conf | 68 | ||||
-rw-r--r-- | packages/install/src/files/policy-management.conf | 5 |
3 files changed, 112 insertions, 0 deletions
diff --git a/packages/install/src/assembly/zip.xml b/packages/install/src/assembly/zip.xml new file mode 100644 index 00000000..48b82d40 --- /dev/null +++ b/packages/install/src/assembly/zip.xml @@ -0,0 +1,39 @@ +<!-- + ============LICENSE_START======================================================= + Installation Package + ================================================================================ + Copyright (C) 2017 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========================================================= + --> + +<assembly> + <id>zipfile</id> + <formats> + <format>zip</format> + </formats> + <includeBaseDirectory>false</includeBaseDirectory> + <fileSets> + <fileSet> + <directory>src/files</directory> + <outputDirectory>.</outputDirectory> + <fileMode>755</fileMode> + </fileSet> + </fileSets> + <dependencySets> + <dependencySet> + <useTransitiveDependencies>false</useTransitiveDependencies> + </dependencySet> + </dependencySets> +</assembly> diff --git a/packages/install/src/files/base.conf b/packages/install/src/files/base.conf new file mode 100644 index 00000000..90128e91 --- /dev/null +++ b/packages/install/src/files/base.conf @@ -0,0 +1,68 @@ +POLICY_HOME=/opt/app/policy +JAVA_HOME=/opt/jdk1.8.0_77 +M2_HOME=/opt/app/policy/3rdparty/apache-maven-3.3.1 + +ENGINE_MANAGEMENT_PORT=9696 +ENGINE_MANAGEMENT_HOST=localhost +ENGINE_MANAGEMENT_USER=@1b3rt +ENGINE_MANAGEMENT_PASSWORD=31nst@1n + +ENGINE_HEALTHCHECK_HOST=0.0.0.0 +ENGINE_HEALTHCHECK_PORT=9697 + +JDBC_DRIVER=org.mariadb.jdbc.Driver +JDBC_URL=jdbc:mysql://localhost:3306/xacml +JDBC_DROOLS_URL=jdbc:mysql://localhost:3306/drools +JDBC_USER=policy_user +JDBC_PASSWORD= + +NAGIOS_CONFIG_NAME=policy +NAGIOS_NRDP_URL= +NAGIOS_NRDP_TOKEN=bbpguvsohehj +NAGIOS_NRDP_DISABLED=true + +# Integrity Monitor properties +site_name=site_1 +fp_monitor_interval=30 +failed_counter_threshold=3 +test_trans_interval=20 +write_fpc_interval=5 +max_fpc_update_interval=60 +test_via_jmx=false +node_type=pdp_drools +# Dependency groups are groups of resources upon which a node operational state is dependent upon. +# Each group is a comma-separated list of resource names and groups are separated by a semicolon. +dependency_groups=site_1.pap_1,site_1.pap_2;site_1.pdp_1,site_1.pdp_2 +resource_name=pdpd_1 + +# The (optional) period of time in seconds between executions of the integrity audit. +# Value < 0 : Audit does not run (default value if property is not present = -1) +# Value = 0 : Audit runs continuously +# Value > 0 : The period of time in seconds between execution of the audit on a particular node +integrity_audit_period_seconds=-1 + +host_port=0.0.0.0:9981 + +# To use a Nexus repository for rules artifacts, +# following properties must be uncommented and set: +#repositoryID=policy-nexus +#repositoryUrl=http://....(URL for the repository goes here) +#repositoryUsername=(nexus username goes here) +#repositoryPassword=(password goes here) + +# just for testing purposes, modify at installation +PDPD_CONFIGURATION_TOPIC=PDPD_CONFIGURATION +PDPD_CONFIGURATION_SERVERS= +PDPD_CONFIGURATION_API_KEY= +PDPD_CONFIGURATION_API_SECRET= +PDPD_CONFIGURATION_CONSUMER_GROUP= +PDPD_CONFIGURATION_CONSUMER_INSTANCE= +PDPD_CONFIGURATION_PARTITION_KEY= + +PAP_HOST= +PAP_USERNAME= +PAP_PASSWORD= + +PDP_HOST= +PDP_USERNAME= +PDP_PASSWORD= diff --git a/packages/install/src/files/policy-management.conf b/packages/install/src/files/policy-management.conf new file mode 100644 index 00000000..609aa868 --- /dev/null +++ b/packages/install/src/files/policy-management.conf @@ -0,0 +1,5 @@ +CONTROLLER_ARTIFACT_ID=policy-management +CONTROLLER_NAME=policy-management-controller +CONTROLLER_PORT=9696 +RULES_ARTIFACT=org.openecomp.policy:dummy-artifact:1.0.0-SNAPSHOT +UEB_TOPIC=policyengine-develop |