summaryrefslogtreecommitdiffstats
path: root/nfvparser/toscaparser/tests/artifacts/mongodb/create_database.sh
diff options
context:
space:
mode:
Diffstat (limited to 'nfvparser/toscaparser/tests/artifacts/mongodb/create_database.sh')
-rw-r--r--nfvparser/toscaparser/tests/artifacts/mongodb/create_database.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/nfvparser/toscaparser/tests/artifacts/mongodb/create_database.sh b/nfvparser/toscaparser/tests/artifacts/mongodb/create_database.sh
new file mode 100644
index 0000000..16f1358
--- /dev/null
+++ b/nfvparser/toscaparser/tests/artifacts/mongodb/create_database.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+echo "conn = new Mongo();" > setup.js
+echo "db = conn.getDB('paypal_pizza');" >> setup.js
+echo "db.about.insert({'name': 'PayPal Pizza Store'});" >> setup.js
+mongo setup.js