Gitiles
Code Review
Sign In
gerrit.nordix.org
/
onap
/
sdc
/
4d0fac7c8057d2732203fe9f219059945aa9750c
/
.
/
services
/
activity-spec
/
activity-spec-init
/
start.sh
blob: 5242bd5d9e0dc6897fccab9519e0a8317993751d [
file
] [
log
] [
blame
]
#!/bin/bash
if
[[
-
z
"${CASSANDRA_HOST}"
]];
then
echo
"CASSANDRA_HOST environment variable must be set"
exit
1
fi
cqlsh
-
f
/
create_activityspec_db
.
cql $CASSANDRA_HOST $CASSANDRA_PORT