aboutsummaryrefslogtreecommitdiffstats
path: root/asdctool/sdc-cassandra-init/startup.sh
diff options
context:
space:
mode:
authorLodha <jinendra.lodha@accenture.com>2025-01-30 19:28:37 +0530
committerLodha <jinendra.lodha@accenture.com>2025-01-30 19:28:37 +0530
commitd41e1b68b6be32ee367bdadd37955e91fba21303 (patch)
tree3faf15cbbc209a6f381c328c5baeaf684122d66b /asdctool/sdc-cassandra-init/startup.sh
parent92c86bb2b390a9d74f84d53b3edeccd239f3f0f5 (diff)
Chef removal changes for asdc_toolHEADmaster
- Removal of Chef recipes in the module. - Introduction of shell scripts in the module to replace some recipes. - Generation of module configuration using Charts. Issue-ID: SDC-4699 Change-Id: I3bb3b275f01cb35fb25ada0df3f9c65b86bac106 Signed-off-by: Jinendra.Lodha <jinendra.lodha@accenture.com>
Diffstat (limited to 'asdctool/sdc-cassandra-init/startup.sh')
-rw-r--r--asdctool/sdc-cassandra-init/startup.sh18
1 files changed, 14 insertions, 4 deletions
diff --git a/asdctool/sdc-cassandra-init/startup.sh b/asdctool/sdc-cassandra-init/startup.sh
index d48456a355..2bdf00e9da 100644
--- a/asdctool/sdc-cassandra-init/startup.sh
+++ b/asdctool/sdc-cassandra-init/startup.sh
@@ -1,6 +1,16 @@
#!/bin/sh
-cd /home/sdc/chef-solo
-chef-solo -c solo.rb -E ${ENVNAME}
-rc=$?
-if [ $rc -ne 0 ]; then exit $rc; fi \ No newline at end of file
+cd /home/sdc/scripts
+sh -x conditional_test.sh
+sh -x /home/sdc/scripts/change_cassandra_user.sh
+mkdir -p /tmp/config
+sh -x /home/sdc/scripts/create_dox_keyspace.sh
+cd /home/sdc/tools/build/scripts
+sh -x /home/sdc/tools/build/scripts/onboard-db-schema-creation.sh
+cd /home/sdc/scripts
+sh -x /home/sdc/scripts/create-alter-dox-db.sh
+cd /home/sdc/sdctool/scripts
+sh -x /home/sdc/sdctool/scripts/schemaCreation.sh /home/sdc/sdctool/config
+sh -x /home/sdc/sdctool/scripts/janusGraphSchemaCreation.sh /home/sdc/sdctool/config
+cd /home/sdc/scripts
+sh -x /home/sdc/scripts/importconformance.sh \ No newline at end of file