From e4cc64bb1b7c0acba0fe11160469c03b94bd5be2 Mon Sep 17 00:00:00 2001 From: "mark.j.leonard" Date: Mon, 10 Sep 2018 15:53:13 +0100 Subject: Add support for InstanceGroup resource models Generate models for Instance Groups (for specific supported types). Process groups with a metadata type of CR or Configuration. Add InstanceGroup Widget to the supported Widgets. Add support for a group filter properties resource/file (with the single property key "AAI.instance-group-types" which provides a comma-separated list of supported types). Add the System Propery groupfilter.config to define the file path. Change-Id: I6153e6284965c57ae43291b1dc3ee4a1d11e6583 Issue-ID: AAI-1579 Signed-off-by: mark.j.leonard --- src/main/bin/start.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/main/bin/start.sh') diff --git a/src/main/bin/start.sh b/src/main/bin/start.sh index b91c396..c71acca 100644 --- a/src/main/bin/start.sh +++ b/src/main/bin/start.sh @@ -19,8 +19,7 @@ # limitations under the License. # ============LICENSE_END========================================================= -BASEDIR="/opt/app/babel" -APP_HOME="${BASEDIR}" +APP_HOME="${APP_HOME:-/opt/app/babel}" if [ -z "${CONFIG_HOME}" ]; then echo "CONFIG_HOME must be set in order to start up process" @@ -35,7 +34,8 @@ fi PROPS="-DAPP_HOME=${APP_HOME}" PROPS="${PROPS} -DCONFIG_HOME=${CONFIG_HOME}" PROPS="${PROPS} -Dartifactgenerator.config=${CONFIG_HOME}/artifact-generator.properties" +PROPS="${PROPS} -Dgroupfilter.config=${CONFIG_HOME}/filter-types.properties" PROPS="${PROPS} -DKEY_STORE_PASSWORD=${KEY_STORE_PASSWORD}" JVM_MAX_HEAP=${MAX_HEAP:-1024} -exec java -Xmx${JVM_MAX_HEAP}m ${PROPS} -jar ${APP_HOME}/babel.jar \ No newline at end of file +exec java -Xmx${JVM_MAX_HEAP}m ${PROPS} -jar ${APP_HOME}/babel.jar -- cgit