aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/bin/start.sh
diff options
context:
space:
mode:
authormark.j.leonard <mark.j.leonard@gmail.com>2018-09-10 15:53:13 +0100
committermark.j.leonard <mark.j.leonard@gmail.com>2018-09-10 15:56:03 +0100
commite4cc64bb1b7c0acba0fe11160469c03b94bd5be2 (patch)
tree380095337e0b2cd88ea3d6621adf0a828842c684 /src/main/bin/start.sh
parent64bebc790795869a3dde4093296f3d55294b4f40 (diff)
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 <mark.j.leonard@gmail.com>
Diffstat (limited to 'src/main/bin/start.sh')
-rw-r--r--src/main/bin/start.sh6
1 files changed, 3 insertions, 3 deletions
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