source: gs3-installations/intermuse/trunk/sites/intermuse/collect/demo-localhost/SUBMIT-OPENANNOTATION-LIST.sh@ 38294

Last change on this file since 38294 was 38294, checked in by davidb, 8 months ago

Tighten up full-build script sequence

  • Property svn:executable set to *
File size: 576 bytes
Line 
1#!/bin/bash
2
3source ../_local_collect_config.sh
4
5
6iuri_prefix=$gs_library_url/sites/$site/collect/$col/index/assoc/
7
8ifilename=$1
9
10iuri_tail=${ifilename#archives/}
11
12iuri="${iuri_prefix}${iuri_tail}"
13
14internal_url_base="http://localhost:$gs_http_port/simpleAnnotationStore/annotation"
15post_url="${internal_url_base}/populate"
16
17
18#echo curl -X POST -d "uri=${iuri}" "$post_url"
19#curl -X POST -d "uri=${iuri}" "$post_url"
20
21echo " " curl -X POST -H \'Content-Type: text/plain\' -d \"@$ifilename\" $post_url
22curl -X POST -H 'Content-Type: text/plain' -d "@$ifilename" $post_url
23
Note: See TracBrowser for help on using the repository browser.