Changeset 37080 for gs3-installations/intermuse/trunk/sites/intermuse/collect/programmes/SUBMIT-OPENANNOTATION-LIST.sh
- Timestamp:
- 2022-12-29T23:21:13+13:00 (16 months ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
gs3-installations/intermuse/trunk/sites/intermuse/collect/programmes/SUBMIT-OPENANNOTATION-LIST.sh
r37077 r37080 1 1 #!/bin/bash 2 2 3 4 iurl_prefix=http://localhost:4343/greenstone3/library/sites/intermuse/collect/programmes/index/assoc/ 3 iuri_prefix=http://localhost:4343/greenstone3/library/sites/intermuse/collect/programmes/index/assoc/ 5 4 6 5 ifilename=${1:-archives/HASH012c.dir/openannotation-list.json} 7 6 8 iur l_tail=${ifilename#archives/}7 iuri_tail=${ifilename#archives/} 9 8 10 iur l="${iurl_prefix}${iurl_tail}"9 iuri="${iuri_prefix}${iuri_tail}" 11 10 12 11 13 external_url_base="https://intermuse.sowemustthink.space/simpleAnnotationStore/annotation"12 # external_url_base="https://intermuse.sowemustthink.space/simpleAnnotationStore/annotation" 14 13 internal_url_base="http://localhost:4343/simpleAnnotationStore/annotation" 15 14 16 15 post_url="${internal_url_base}/populate" 17 16 18 #echo "Running: curl -F uri=${iurl} $post_url"19 20 #curl -F "uri=${iurl}" "$post_url"21 17 22 18 23 19 echo "" 24 echo curl -X POST -d "uri=${iur l}" "$post_url"20 echo curl -X POST -d "uri=${iuri}" "$post_url" 25 21 26 curl -X POST -d "uri=${iur l}" "$post_url"22 curl -X POST -d "uri=${iuri}" "$post_url" 27 23 28 24 echo ""
Note:
See TracChangeset
for help on using the changeset viewer.