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