aboutsummaryrefslogtreecommitdiffstats
path: root/packages/install
diff options
context:
space:
mode:
authorRashmi Pujar <rashmi.pujar@bell.ca>2020-01-24 15:34:04 -0500
committerRashmi Pujar <rashmi.pujar@bell.ca>2020-01-29 16:08:36 -0500
commitbb03caf94de4ad884e308dbce4992e370638d629 (patch)
treed5083374fff40b9cd96870b9a5d44919071ba3e3 /packages/install
parenta54a2373f1b48cdb64d4920ec57ffeab4f228814 (diff)
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 <rashmi.pujar@bell.ca> Change-Id: I9ea0161b45d504be4e65a21c95e48dee4a78de3a
Diffstat (limited to 'packages/install')
-rw-r--r--packages/install/src/files/base.conf21
1 files changed, 19 insertions, 2 deletions
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=