From c6f2da8cb993382057c6e141b68af9334b6391d1 Mon Sep 17 00:00:00 2001 From: Jorge Hernandez Date: Wed, 13 Feb 2019 13:12:37 -0600 Subject: 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 --- .../src/main/server-gen/bin/policy-management-controller | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'policy-management/src') 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' -- cgit 1.2.3-korg