Last change
on this file since 37124 was 37124, checked in by davidb, 16 months ago |
Changed to used derived name of collection from file-system
|
-
Property svn:executable
set to
*
|
File size:
597 bytes
|
Rev | Line | |
---|
[37077] | 1 | #!/bin/bash
|
---|
| 2 |
|
---|
[37124] | 3 | source ../_local_collect_config.sh
|
---|
[37077] | 4 |
|
---|
[37124] | 5 | iurl_prefix=http://localhost:4343/greenstone3/library/sites/intermuse/collect/$col/index/assoc/
|
---|
[37077] | 6 |
|
---|
| 7 | ifilename=${1:-archives/HASH012c.dir/webannotation-list.json}
|
---|
| 8 |
|
---|
| 9 | iurl_tail=${ifilename#archives/}
|
---|
| 10 |
|
---|
| 11 | iurl="${iurl_prefix}${iurl_tail}"
|
---|
| 12 |
|
---|
| 13 |
|
---|
[37124] | 14 | #external_url_base="https://intermuse.sowemustthink.space/simpleAnnotationStore/annotation"
|
---|
[37077] | 15 | internal_url_base="http://localhost:4343/simpleAnnotationStore/annotation"
|
---|
| 16 |
|
---|
| 17 | post_url="${internal_url_base}/populate"
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 | echo ""
|
---|
| 21 | echo curl -X POST -d "uri=${iurl}" "$post_url"
|
---|
| 22 |
|
---|
| 23 | curl -X POST -d "uri=${iurl}" "$post_url"
|
---|
| 24 |
|
---|
| 25 | echo ""
|
---|
Note:
See
TracBrowser
for help on using the repository browser.