1
|
INSERT INTO datasources (_dnet_resource_identifier_, id, officialname, englishname, websiteurl, logourl, contactemail, latitude, longitude, timezone, namespaceprefix, collectedfrom, datasourceclass)
|
2
|
VALUES ('openaire____::ands', 'openaire____::ands', 'Australian National Data Service (ANDS) - Grants Registry',
|
3
|
'Australian National Data Service (ANDS) - Grants Registry', 'http://www.ands.org.au/index.html',
|
4
|
'http://www.ands.org.au/assets/images/ands-full-b.png', 'contact@ands.org.au', -34.2333, 140.5667, 10.50, 'ands________',
|
5
|
'infrastruct_::openaire', 'entityregistry');
|
6
|
INSERT INTO api (_dnet_resource_identifier_, id, protocolclass, datasource, typologyclass, compatibilityclass)
|
7
|
VALUES ('api_________::ands::0', 'api_________::ands::0', 'filesystem', 'openaire____::ands', 'entityregistry', 'native');
|
8
|
INSERT INTO apicollections (param, original, api) VALUES ('baseUrl', 'file:///var/lib/dnet/ands', 'api_________::ands::0');
|
9
|
INSERT INTO apicollections (param, original, api) VALUES ('extensions', 'xml', 'api_________::ands::0');
|
10
|
INSERT INTO apicollections (param, original, api, accessparam) VALUES ('metadata_identifier_path', '/project/id', 'api_________::ands::0', FALSE);
|
11
|
|
12
|
INSERT INTO datasources (_dnet_resource_identifier_, id, officialname, englishname, websiteurl, logourl, contactemail, latitude, longitude, timezone, namespaceprefix, collectedfrom, datasourceclass)
|
13
|
VALUES ('openaire____::arc', 'openaire____::arc', 'Australian Research Council (ARC) - Grants Registry', 'Australian Research Council (ARC) - Grants Registry',
|
14
|
'http://www.arc.gov.au/', 'http://www.arc.gov.au/images/screen_logo.gif', 'info@arc.gov.au', -33.9, 151.1833, 11.0, 'arc_________',
|
15
|
'infrastruct_::openaire', 'entityregistry');
|
16
|
INSERT INTO api (_dnet_resource_identifier_, id, protocolclass, datasource, typologyclass, compatibilityclass)
|
17
|
VALUES ('api_________::arc::0', 'api_________::arc::0', 'filesystem', 'openaire____::arc', 'entityregistry', 'native');
|
18
|
INSERT INTO apicollections (param, original, api) VALUES ('baseUrl', 'file:///var/lib/dnet/arc', 'api_________::arc::0');
|
19
|
INSERT INTO apicollections (param, original, api) VALUES ('extensions', 'xml', 'api_________::arc::0');
|
20
|
INSERT INTO apicollections (param, original, api, accessparam) VALUES ('metadata_identifier_path', '/project/id', 'api_________::arc::0', FALSE);
|
21
|
|
22
|
UPDATE apicollections
|
23
|
SET _dnet_resource_identifier_ = api || '@@' || param;
|