diff options
Diffstat (limited to 'nfvparser/toscaparser/tests/artifacts/mongodb/create_database.sh')
-rw-r--r-- | nfvparser/toscaparser/tests/artifacts/mongodb/create_database.sh | 5 |
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 |