source: gs3-installations/intermuse/trunk/sites/intermuse/collect/programmes/SUBMIT-OPENANNOTATION-LIST.sh@ 37080

Last change on this file since 37080 was 37080, checked in by davidb, 16 months ago

Changed from url to uri in variable names

  • Property svn:executable set to *
File size: 570 bytes
Line 
1#!/bin/bash
2
3iuri_prefix=http://localhost:4343/greenstone3/library/sites/intermuse/collect/programmes/index/assoc/
4
5ifilename=${1:-archives/HASH012c.dir/openannotation-list.json}
6
7iuri_tail=${ifilename#archives/}
8
9iuri="${iuri_prefix}${iuri_tail}"
10
11
12# external_url_base="https://intermuse.sowemustthink.space/simpleAnnotationStore/annotation"
13internal_url_base="http://localhost:4343/simpleAnnotationStore/annotation"
14
15post_url="${internal_url_base}/populate"
16
17
18
19echo ""
20echo curl -X POST -d "uri=${iuri}" "$post_url"
21
22curl -X POST -d "uri=${iuri}" "$post_url"
23
24echo ""
Note: See TracBrowser for help on using the repository browser.