aboutsummaryrefslogtreecommitdiffstats
path: root/policy-management/src/main/server-gen/bin
diff options
context:
space:
mode:
authorJorge Hernandez <jorge.hernandez-herrero@att.com>2019-02-13 13:12:37 -0600
committerJorge Hernandez <jorge.hernandez-herrero@att.com>2019-02-14 08:31:11 -0600
commitc6f2da8cb993382057c6e141b68af9334b6391d1 (patch)
treeb0bf922f384c8891fcd372ef4f562aad21a14397 /policy-management/src/main/server-gen/bin
parent6683a08e12d119e1ba8fb1070a93660c0c3a3931 (diff)
Decouple nexus reconfiguration from installation
This allows for nexus to be reconfigured dynamically. Change-Id: I103707ab7525ddb29663d7785739a34dff538605 Issue-ID: POLICY-1518 Signed-off-by: Jorge Hernandez <jorge.hernandez-herrero@att.com>
Diffstat (limited to 'policy-management/src/main/server-gen/bin')
-rw-r--r--policy-management/src/main/server-gen/bin/policy-management-controller7
1 files changed, 6 insertions, 1 deletions
diff --git a/policy-management/src/main/server-gen/bin/policy-management-controller b/policy-management/src/main/server-gen/bin/policy-management-controller
index 51d83d6a..589c4c32 100644
--- a/policy-management/src/main/server-gen/bin/policy-management-controller
+++ b/policy-management/src/main/server-gen/bin/policy-management-controller
@@ -4,7 +4,7 @@
# ============LICENSE_START=======================================================
# ONAP POLICY
# ================================================================================
-# Copyright (C) 2017-2018 AT&T Intellectual Property. All rights reserved.
+# Copyright (C) 2017-2019 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.
@@ -49,6 +49,11 @@ function um_start() {
if [ -e $_LOGS/$PNAME.err ]; then mv $_LOGS/$PNAME.err $_LOGS/$PNAME.err.1; fi
CP=$(ls $_DIR/lib/*.jar | xargs -I X printf ":%s" X)
+ # pick up any new changes in the environment every time we start
+ source ${POLICY_HOME}/etc/profile.d/env.sh
+
+ ${POLICY_HOME}/bin/configure-maven
+
# If 'system.properties' exists, convert it into JVM arguments.
# Note that the following also handles property values with spaces.
IFS=$'\n'