From 777131d706b8379c5fb30f8161902d0388eb96bf Mon Sep 17 00:00:00 2001 From: Jorge Hernandez Date: Fri, 4 Jan 2019 14:43:44 -0600 Subject: Add tooling for drools policy developers This commit adds tooling to better support development activities for drools developers. 1. deploy artifacts to nexus or to local file repository on demand. It also allows to test on a single drools instance without the dependency on a nexus repo. 2. make installation configuration files conform to same convention (all upper case). Change-Id: Ia0a2fc25db2ef21b774a9eee4ed51d4b876a1993 Issue-ID: POLICY-1367 Signed-off-by: Jorge Hernandez --- packages/install/src/files/base.conf | 63 +++++++++++++++++++++++++----------- 1 file changed, 45 insertions(+), 18 deletions(-) (limited to 'packages/install') diff --git a/packages/install/src/files/base.conf b/packages/install/src/files/base.conf index dd9e7c56..bd5c5e88 100644 --- a/packages/install/src/files/base.conf +++ b/packages/install/src/files/base.conf @@ -22,33 +22,37 @@ POLICY_HOME=/opt/app/policy POLICY_LOGS=/opt/app/policy/logs -JAVA_HOME=/opt/jdk1.8.0_77 -M2_HOME=/opt/app/policy/3rdparty/apache-maven-3.3.1 +JAVA_HOME=/usr/lib/jvm/java-8-openjdk-amd64 KEYSTORE_PASSWD=Pol1cy_0nap TRUSTSTORE_PASSWD=Pol1cy_0nap # Telemetry credentials -ENGINE_MANAGEMENT_PORT=9696 -ENGINE_MANAGEMENT_HOST=0.0.0.0 -ENGINE_MANAGEMENT_USER= -ENGINE_MANAGEMENT_PASSWORD= +TELEMETRY_PORT=9696 +TELEMETRY_HOST=0.0.0.0 +TELEMETRY_USER= +TELEMETRY_PASSWORD= # nexus repository -# 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) +SNAPSHOT_REPOSITORY_ID= +SNAPSHOT_REPOSITORY_URL= +RELEASE_REPOSITORY_ID= +REPOSITORY_USERNAME= +REPOSITORY_PASSWORD= -# Relational (SQL) DB access +# Relational (SQL) DB access SQL_HOST= SQL_USER= SQL_PASSWORD= +# AAF + +AAF=false +AAF_NAMESPACE=org.onap.policy +AAF_HOST=aaf-onap-test.osaaf.org + # PDP-D DMaaP configuration channel PDPD_CONFIGURATION_TOPIC=PDPD-CONFIGURATION @@ -59,11 +63,6 @@ PDPD_CONFIGURATION_CONSUMER_GROUP= PDPD_CONFIGURATION_CONSUMER_INSTANCE= PDPD_CONFIGURATION_PARTITION_KEY= -# AAF - -AAF_NAMESPACE=org.onap.policy -AAF_HOST=aaf-onap-test.osaaf.org - # PAP PAP_HOST= @@ -75,12 +74,40 @@ PAP_PASSWORD= PDP_HOST= PDP_USERNAME= PDP_PASSWORD= +PDP_CLIENT_USERNAME= +PDP_CLIENT_PASSWORD= +PDP_ENVIRONMENT= # DCAE DMaaP DCAE_TOPIC= DCAE_SERVERS= +DCAE_CONSUMER_GROUP= # Open DMaaP DMAAP_SERVERS= + +# AAI + +AAI_URL= +AAI_USERNAME= +AAI_PASSWORD= + +# MSO + +SO_URL= +SO_USERNAME= +SO_PASSWORD= + +# VFC + +VFC_URL= +VFC_USERNAME= +VFC_PASSWORD= + +# SDNC + +SDNC_URL= +SDNC_USERNAME= +SDNC_PASSWORD= -- cgit 1.2.3-korg