From bb03caf94de4ad884e308dbce4992e370638d629 Mon Sep 17 00:00:00 2001 From: Rashmi Pujar Date: Fri, 24 Jan 2020 15:34:04 -0500 Subject: Parameterize mvn repo urls and proxy settings This allows the users to build the docker images for drools-pdp and drools-application using their own CI pipelines if needed. Issue-ID: POLICY-2330 Signed-off-by: Rashmi Pujar Change-Id: I9ea0161b45d504be4e65a21c95e48dee4a78de3a --- packages/install/src/files/base.conf | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) (limited to 'packages/install') diff --git a/packages/install/src/files/base.conf b/packages/install/src/files/base.conf index 6d80fb56..865a9d18 100644 --- a/packages/install/src/files/base.conf +++ b/packages/install/src/files/base.conf @@ -3,6 +3,7 @@ # ONAP POLICY # ================================================================================ # Copyright (C) 2017-2019 AT&T Intellectual Property. All rights reserved. +# Modifications Copyright (C) 2020 Bell Canada. # ================================================================================ # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -22,7 +23,7 @@ JVM_OPTIONS=-server -Xms512m -Xmx1024m -# SYSTEM software configuration +# SYSTEM software configuration POLICY_HOME=/opt/app/policy POLICY_LOGS=/opt/app/policy/logs @@ -30,6 +31,14 @@ JAVA_HOME=/usr/lib/jvm/java-11-openjdk KEYSTORE_PASSWD=Pol1cy_0nap TRUSTSTORE_PASSWD=Pol1cy_0nap +# System proxy settings +# Empty by default, http proxy can be overridden during build time. +# System property settings will always override the project +# property supplied during build time. + +#http_proxy= +#https_proxy= + # Telemetry credentials TELEMETRY_PORT=9696 @@ -37,7 +46,7 @@ TELEMETRY_HOST=0.0.0.0 TELEMETRY_USER= TELEMETRY_PASSWORD= -# nexus repository +# nexus repository for policy artifacts SNAPSHOT_REPOSITORY_ID= SNAPSHOT_REPOSITORY_URL= @@ -47,6 +56,14 @@ REPOSITORY_USERNAME= REPOSITORY_PASSWORD= REPOSITORY_OFFLINE= +# nexus repository for all other artifacts. +# By default the repo URLs point to ONAP nexus +# repositories. These default build settings +# can be overridden during build time. + +#MVN_SNAPSHOT_REPO_URL=https://nexus.onap.org/content/repositories/snapshots/ +#MVN_RELEASE_REPO_URL=https://nexus.onap.org/content/repositories/releases/ + # Relational (SQL) DB access SQL_HOST= -- cgit 1.2.3-korg