diff options
author | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-07-02 15:54:12 +0200 |
---|---|---|
committer | Fiete Ostkamp <Fiete.Ostkamp@telekom.de> | 2024-07-04 14:56:30 +0200 |
commit | 20fe7a7cefa72abc1294e1e972c28e86403ccb99 (patch) | |
tree | c250970cd8196947041fcfc819ca5d34bffae510 /src/main/scripts/uniquePropertyCheck.sh | |
parent | 938d2eee202bb2eb33bd43f718f157b3ad4b84c6 (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/uniquePropertyCheck.sh')
-rw-r--r-- | src/main/scripts/uniquePropertyCheck.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/main/scripts/uniquePropertyCheck.sh b/src/main/scripts/uniquePropertyCheck.sh index c3c92bf..92da3cb 100644 --- a/src/main/scripts/uniquePropertyCheck.sh +++ b/src/main/scripts/uniquePropertyCheck.sh @@ -1,4 +1,4 @@ -#!/bin/ksh +#!/bin/sh # # The script invokes UniqueProperty java class to see if the passed property is unique in the db and if # not, to display where duplicate values are found. @@ -6,10 +6,9 @@ # For example: uniquePropertyCheck.sh subscriber-name # -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; #execute_spring_jar org.onap.aai.util.UniquePropertyCheck ${PROJECT_HOME}/resources/uniquePropertyCheck-logback.xml "$@" @@ -21,4 +20,4 @@ if [ $ret_code != 0 ]; then fi end_date; -exit 0
\ No newline at end of file +exit 0 |