File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ for i in $(seq 1 15); do
8383done
8484
8585echo " "
86- echo " Bootstrapping KalamDB namespace 'rmtest' and table 'profiles' ..."
86+ echo " Bootstrapping KalamDB namespace 'rmtest' ..."
8787
8888LOGIN_RESP=$( curl -sf " $KALAMDB_API_URL /v1/api/auth/login" \
8989 -H " Content-Type: application/json" \
@@ -114,17 +114,7 @@ curl -s "$KALAMDB_API_URL/v1/api/sql" \
114114 -H " Content-Type: application/json" \
115115 -d ' {"sql": "CREATE NAMESPACE IF NOT EXISTS rmtest"}' > /dev/null
116116
117- curl -s " $KALAMDB_API_URL /v1/api/sql" \
118- -H " Authorization: Bearer $BEARER_TOKEN " \
119- -H " Content-Type: application/json" \
120- -d ' {"sql": "CREATE USER TABLE IF NOT EXISTS rmtest.profiles (id TEXT PRIMARY KEY, name TEXT, age INTEGER)"}' > /dev/null
121-
122- curl -s " $KALAMDB_API_URL /v1/api/sql" \
123- -H " Authorization: Bearer $BEARER_TOKEN " \
124- -H " Content-Type: application/json" \
125- -d ' {"sql": "CREATE SHARED TABLE IF NOT EXISTS rmtest.shared_items (id TEXT PRIMARY KEY, title TEXT, value INTEGER)"}' > /dev/null
126-
127- echo " KalamDB tables bootstrapped (rmtest.profiles, rmtest.shared_items)."
117+ echo " KalamDB namespace bootstrapped (rmtest)."
128118
129119echo " Waiting for PostgreSQL to be ready..."
130120for i in $( seq 1 30) ; do
You can’t perform that action at this time.
0 commit comments