setup.sh 965 B

1234567891011121314151617181920212223242526272829
  1. #!/bin/bash
  2. mongo <<EOF
  3. use test
  4. db.createCollection("_properties");
  5. db.createCollection("AggTaskStatus");
  6. EOF
  7. mongoimport --db test --collection _properties --file $WORKSPACE/_properties.metadata.json
  8. mongoimport --db test --collection AggTaskStatus --file $WORKSPACE/AggTaskStatus.metadata.json
  9. #db.createCollection("_properties");
  10. #db.createCollection("_properties");
  11. #db.createCollection("_properties");
  12. #db.createCollection("_properties");
  13. #db.createCollection("_properties");
  14. #db.createCollection("_properties");
  15. #db.createCollection("_properties");
  16. #db.createCollection("_properties");
  17. #db.createCollection("_properties");
  18. #db.createCollection("_properties");
  19. #db.createCollection("_properties");
  20. #db.createCollection("_properties");
  21. #db.createCollection("_properties");
  22. #db.createCollection("_properties");
  23. #db.createCollection("_properties");
  24. #db.createCollection("_properties");
  25. #db.createCollection("_properties");
  26. #db.createCollection("_properties");