diff scripts/issues/3543/setup.sh @ 10:a50cf11e5178

Rewrite LGDataverse completely upgrading to dataverse4.0
author Zoe Hong <zhong@mpiwg-berlin.mpg.de>
date Tue, 08 Sep 2015 17:00:21 +0200
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/scripts/issues/3543/setup.sh	Tue Sep 08 17:00:21 2015 +0200
@@ -0,0 +1,7 @@
+#!/bin/bash
+echo Setting up dataverses for deletion, as described in https://redmine.hmdc.harvard.edu/issues/3543
+
+curl -H"Content-type:application/json" -d @dv-peteDeleteTop.json http://localhost:8080/api/dataverses/peteTop?key=pete
+curl -H"Content-type:application/json" -d @dv-peteDelete1.json http://localhost:8080/api/dataverses/peteDeleteTop?key=pete
+curl -H"Content-type:application/json" -d @dv-peteDelete2.json http://localhost:8080/api/dataverses/peteDeleteTop?key=pete
+curl -H"Content-type:application/json" -d @dv-peteDelete3.json http://localhost:8080/api/dataverses/peteDeleteTop?key=pete