aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/scripts/historyCreateDBSchema.sh
diff options
context:
space:
mode:
authorFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-07-02 15:54:12 +0200
committerFiete Ostkamp <Fiete.Ostkamp@telekom.de>2024-07-04 14:56:30 +0200
commit20fe7a7cefa72abc1294e1e972c28e86403ccb99 (patch)
treec250970cd8196947041fcfc819ca5d34bffae510 /src/main/scripts/historyCreateDBSchema.sh
parent938d2eee202bb2eb33bd43f718f157b3ad4b84c6 (diff)
Use eclipse-temurin:8-jre-alpine docker base image in aai-graphadmin
- use /bin/sh instead of /bin/bash for scripts - use wget instead of curl - do not check the container user when executing scripts Issue-ID: AAI-3916 Change-Id: I3e7c6e47f8eb55f1e2f872e7e427b61fae8232bb Signed-off-by: Fiete Ostkamp <Fiete.Ostkamp@telekom.de>
Diffstat (limited to 'src/main/scripts/historyCreateDBSchema.sh')
-rw-r--r--src/main/scripts/historyCreateDBSchema.sh7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/scripts/historyCreateDBSchema.sh b/src/main/scripts/historyCreateDBSchema.sh
index 7a08a68..834c1fe 100644
--- a/src/main/scripts/historyCreateDBSchema.sh
+++ b/src/main/scripts/historyCreateDBSchema.sh
@@ -1,4 +1,4 @@
-#!/bin/ksh
+#!/bin/sh
#
# ============LICENSE_START=======================================================
# org.onap.aai
@@ -23,10 +23,9 @@
#
#
-COMMON_ENV_PATH=$( cd "$(dirname "$0")" ; pwd -P )
+COMMON_ENV_PATH=$( cd "$(dirname "$0")" ; pwd -P )
. ${COMMON_ENV_PATH}/common_functions.sh
start_date;
-check_user;
source_profile;
if [ -z "$1" ]; then
execute_spring_jar org.onap.aai.schema.GenTester4Hist ${PROJECT_HOME}/resources/logback.xml
@@ -34,4 +33,4 @@ else
execute_spring_jar org.onap.aai.schema.GenTester4Hist ${PROJECT_HOME}/resources/logback.xml "$1"
fi;
end_date;
-exit 0 \ No newline at end of file
+exit 0