From c24665c64ed719947c16e682035ee3c771b9cde4 Mon Sep 17 00:00:00 2001 From: Areli Fuss Date: Tue, 26 Sep 2017 11:12:35 +0300 Subject: Add dynamic keyspace creation Add dynamic key space creation for Amdocs Change-Id: Ia6fdc921c14231ffad4eaae44d018e012905e698 Issue-Id: SDC-276 Signed-off-by: Areli Fuss --- .../tools/build/scripts/generate-application-config-insert-cql.sh | 2 +- openecomp-be/tools/build/scripts/generate-cassandra-alter-cql.sh | 2 +- openecomp-be/tools/build/scripts/generate-cassandra-drop-cql.sh | 2 +- openecomp-be/tools/build/scripts/generate-cassandra-init-cql.sh | 2 +- openecomp-be/tools/build/scripts/onboard-db-schema-creation.sh | 4 ++-- .../tools/build/scripts/zusammen-generate-cassandra-init-cql.sh | 2 +- 6 files changed, 7 insertions(+), 7 deletions(-) (limited to 'openecomp-be') diff --git a/openecomp-be/tools/build/scripts/generate-application-config-insert-cql.sh b/openecomp-be/tools/build/scripts/generate-application-config-insert-cql.sh index ad3e6ad43d..6b43f53f8c 100644 --- a/openecomp-be/tools/build/scripts/generate-application-config-insert-cql.sh +++ b/openecomp-be/tools/build/scripts/generate-application-config-insert-cql.sh @@ -1,4 +1,4 @@ -#/bin/sh +#/bin/bash ############################################################################## ### diff --git a/openecomp-be/tools/build/scripts/generate-cassandra-alter-cql.sh b/openecomp-be/tools/build/scripts/generate-cassandra-alter-cql.sh index 1f3ae3becb..70fbd7a671 100644 --- a/openecomp-be/tools/build/scripts/generate-cassandra-alter-cql.sh +++ b/openecomp-be/tools/build/scripts/generate-cassandra-alter-cql.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash ############################################################################## ### diff --git a/openecomp-be/tools/build/scripts/generate-cassandra-drop-cql.sh b/openecomp-be/tools/build/scripts/generate-cassandra-drop-cql.sh index f0f1da0eaf..daffa911d1 100644 --- a/openecomp-be/tools/build/scripts/generate-cassandra-drop-cql.sh +++ b/openecomp-be/tools/build/scripts/generate-cassandra-drop-cql.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash ############################################################################## ### diff --git a/openecomp-be/tools/build/scripts/generate-cassandra-init-cql.sh b/openecomp-be/tools/build/scripts/generate-cassandra-init-cql.sh index 0221b20a43..8c98df6d99 100644 --- a/openecomp-be/tools/build/scripts/generate-cassandra-init-cql.sh +++ b/openecomp-be/tools/build/scripts/generate-cassandra-init-cql.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash ############################################################################## ### diff --git a/openecomp-be/tools/build/scripts/onboard-db-schema-creation.sh b/openecomp-be/tools/build/scripts/onboard-db-schema-creation.sh index be19f6b960..09c9625436 100644 --- a/openecomp-be/tools/build/scripts/onboard-db-schema-creation.sh +++ b/openecomp-be/tools/build/scripts/onboard-db-schema-creation.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash @@ -9,7 +9,7 @@ CASSANDRA_ALTER_CQL_FILE=alter_dox_db.cql # Generate the create schema CQL file ./generate-cassandra-init-cql.sh ./cassandra-commands.json dox no > ${CASSANDRA_CQL_FILE} ./generate-application-config-insert-cql.sh vsp.schemaTemplates ../../../tools/install/database/schemaTemplates >> ${CASSANDRA_CQL_FILE} -./generate-application-config-insert-cql.sh vsp.monitoring ../../..//tools/install/database/monitoring >> ${CASSANDRA_CQL_FILE} +./generate-application-config-insert-cql.sh vsp.monitoring ../../../tools/install/database/monitoring >> ${CASSANDRA_CQL_FILE} ./zusammen-generate-cassandra-init-cql.sh ./zusammen-cassandra-commands.json zusammen_dox no >> ${CASSANDRA_CQL_FILE} # Generate the alter schema CQL file diff --git a/openecomp-be/tools/build/scripts/zusammen-generate-cassandra-init-cql.sh b/openecomp-be/tools/build/scripts/zusammen-generate-cassandra-init-cql.sh index b215fb3ce7..1190659d39 100644 --- a/openecomp-be/tools/build/scripts/zusammen-generate-cassandra-init-cql.sh +++ b/openecomp-be/tools/build/scripts/zusammen-generate-cassandra-init-cql.sh @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash ############################################################################## ### -- cgit 1.2.3-korg