aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAbdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>2018-09-05 19:18:40 +0000
committerAbdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>2018-09-05 19:19:30 +0000
commitca2bcc1e0e12098c27baa48cce1f50ecb838505d (patch)
treea8ea43245b2cdd822970d321f83658477807d53b
parent5b14a89f43397da93bfd83b2f79ab2fd34c065f0 (diff)
Correct dataRestoreSnapshot.sh to clear out AAI DBbeijing
Change-Id: Iedbf5e7ed0f7e51113c249502af150effac3b489 Issue-ID: AAI-1519 Signed-off-by: Abdelmuhaimen Seaudi <abdelmuhaimen.seaudi@orange.com>
-rw-r--r--aai-resources/src/main/scripts/dataRestoreFromSnapshot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/aai-resources/src/main/scripts/dataRestoreFromSnapshot.sh b/aai-resources/src/main/scripts/dataRestoreFromSnapshot.sh
index 042dd15..277a464 100644
--- a/aai-resources/src/main/scripts/dataRestoreFromSnapshot.sh
+++ b/aai-resources/src/main/scripts/dataRestoreFromSnapshot.sh
@@ -44,7 +44,7 @@ source_profile;
export PRE_JAVA_OPTS=${PRE_JAVA_OPTS:--Xms6g -Xmx8g};
#### Step 1) clear out the database
-execute_spring_jar org.onap.aai.dbgen.DataSnapshot ${PROJECT_HOME}/resources/etc/appprops/dataSnapshot-logback.xml "CLEAR_ENTIRE_DATABASE" "$1" "$2"
+execute_spring_jar org.onap.aai.dbgen.DataSnapshot ${PROJECT_HOME}/resources/etc/appprops/dataSnapshot-logback.xml "CLEAR_ENTIRE_DATABASE" "$1"
if [ "$?" -ne "0" ]; then
echo "Problem clearing out database."
exit 1