Revision 7284
Added by ben leinfelder over 12 years ago
src/doi_registration.sql | ||
---|---|---|
5 | 5 |
text('testing') as ezid_account, |
6 | 6 |
doc.doctype, |
7 | 7 |
id.guid, |
8 |
'https://cn-stage.dataone.org/cn/v1/resolve/' || regexp_replace(regexp_replace(id.guid, '/', '%2F', 'g'), ':', '%3A', 'g') as url,
|
|
8 |
'https://cn.dataone.org/cn/v1/resolve/' || regexp_replace(regexp_replace(id.guid, '/', '%2F', 'g'), ':', '%3A', 'g') as url, |
|
9 | 9 |
text('Unknown') as title, |
10 | 10 |
text(null) as creator, |
11 | 11 |
text(null) as publisher, |
... | ... | |
21 | 21 |
text('testing') as ezid_account, |
22 | 22 |
doc.doctype, |
23 | 23 |
id.guid, |
24 |
'https://cn-stage.dataone.org/cn/v1/resolve/' || regexp_replace(regexp_replace(id.guid, '/', '%2F', 'g'), ':', '%3A', 'g') as url,
|
|
24 |
'https://cn.dataone.org/cn/v1/resolve/' || regexp_replace(regexp_replace(id.guid, '/', '%2F', 'g'), ':', '%3A', 'g') as url, |
|
25 | 25 |
text('Unknown') as title, |
26 | 26 |
text(null) as creator, |
27 | 27 |
text(null) as publisher, |
Also available in: Unified diff
use production cn url for the resolve url