aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/bin
diff options
context:
space:
mode:
authorLee, Tian (tl5884) <TianL@amdocs.com>2019-03-01 16:03:03 +0000
committerLee, Tian (tl5884) <TianL@amdocs.com>2019-03-01 16:03:03 +0000
commite07d5b8dc0801583518b4f27ce6b8f3b56bcf206 (patch)
tree66fa70a6f5a1fbeb069723b3d9df07759d58d7c8 /src/main/bin
parent5ea47abeeb1713b56006fd69b1564cbd4c4220c7 (diff)
Add elasticsearch with searchguard Dockerfile
Add Dockerfile that produces an image of ElasticSearch with SearchGuard plugin pre-installed, and restructure the Maven project to build both the old search-data-service Dockerfile and the new elasticsearch-sg Dockerfile. Change-Id: Iff7cb79e3c09da78b6233422f40cb03eeef5bfdb Issue-ID: AAI-2203 Signed-off-by: Lee, Tian (tl5884) <TianL@amdocs.com>
Diffstat (limited to 'src/main/bin')
-rw-r--r--src/main/bin/start.sh33
1 files changed, 0 insertions, 33 deletions
diff --git a/src/main/bin/start.sh b/src/main/bin/start.sh
deleted file mode 100644
index 5248a7a..0000000
--- a/src/main/bin/start.sh
+++ /dev/null
@@ -1,33 +0,0 @@
-#!/bin/sh
-
-BASEDIR="/opt/app/search-data-service"
-AJSC_HOME="$BASEDIR"
-AJSC_CONF_HOME="$AJSC_HOME/bundleconfig/"
-
-if [ -z "$CONFIG_HOME" ]; then
- echo "CONFIG_HOME must be set in order to start up process"
- exit 1
-fi
-
-if [ -z "$KEY_STORE_PASSWORD" ]; then
- echo "KEY_STORE_PASSWORD must be set in order to start up process"
- exit 1
-fi
-
-PROPS="-DAJSC_HOME=$AJSC_HOME"
-PROPS="$PROPS -DAJSC_CONF_HOME=$AJSC_CONF_HOME"
-PROPS="$PROPS -Dlogging.config=$BASEDIR/bundleconfig/etc/logback.xml"
-PROPS="$PROPS -DCONFIG_HOME=$CONFIG_HOME"
-PROPS="$PROPS -DKEY_STORE_PASSWORD=$KEY_STORE_PASSWORD"
-
-if [ ! -z "$TRUST_STORE_PASSWORD" ]; then
- PROPS="$PROPS -DTRUST_STORE_PASSWORD=${TRUST_STORE_PASSWORD}"
-fi
-
-if [ ! -z "$TRUST_STORE_LOCATION" ]; then
- PROPS="$PROPS -DTRUST_STORE_LOCATION=${TRUST_STORE_LOCATION}"
-fi
-
-JVM_MAX_HEAP=${MAX_HEAP:-1024}
-
-java $PROPS -jar $BASEDIR/search-data-service-package.jar \ No newline at end of file