... | ... | @@ -145,9 +145,11 @@ Replication process triggered client-side with PID registration ( **registered d |
|
|
|
|
|
**PID record metadata (842/f5188714-f8b8-11e4-a506-fa163e62896a)**
|
|
|
|
|
|
URL irods://hostname/Zone A/path/to/data-object.dat
|
|
|
10320/LOC <locations><location href="irods://hostname:1247/Zone A/path/to/data-object.dat" id="0"/><location href="http://hdl.handle.net/843/7d4c7ad2-24ab-11e5-bf18-0050569ed64e" id="1"/></locations></locations>
|
|
|
CHECKSUM md5:076aad9622fa3118f006927f05222817
|
|
|
URL irods://hostname/Zone A/path/to/data-object.dat
|
|
|
EUDAT/FIXED_CONTENT False
|
|
|
EUDAT/CHECKSUM md5:076aad9622fa3118f006927f05222817
|
|
|
EUDAT/PROFILE_VERSION 1
|
|
|
EUDAT/REPLICA 843/7d4c7ad2-24ab-11e5-bf18-0050569ed64e
|
|
|
|
|
|
**System metadata Zone B**
|
|
|
|
... | ... | @@ -166,11 +168,12 @@ Replication process triggered client-side with PID registration ( **registered d |
|
|
|
|
|
**PID record metadata (843/7d4c7ad2-24ab-11e5-bf18-0050569ed64e)**
|
|
|
|
|
|
URL irods://hostname/Zone B/path/to/data-object-replica.dat
|
|
|
10320/LOC <locations><location href="irods://hostname:1247/Zone B/path/to/data-object-replica.dat" id="0"/></locations>
|
|
|
CHECKSUM md5:076aad9622fa3118f006927f05222817
|
|
|
EUDAT/ROR 842/f5188714-f8b8-11e4-a506-fa163e62896a
|
|
|
EUDAT/PPID 842/f5188714-f8b8-11e4-a506-fa163e62896a
|
|
|
URL irods://hostname/Zone B/path/to/data-object-replica.dat
|
|
|
EUDAT/CHECKSUM md5:076aad9622fa3118f006927f05222817
|
|
|
EUDAT/ROR 842/f5188714-f8b8-11e4-a506-fa163e62896a
|
|
|
EUDAT/PARENT 842/f5188714-f8b8-11e4-a506-fa163e62896a
|
|
|
EUDAT/FIO 842/f5188714-f8b8-11e4-a506-fa163e62896a
|
|
|
EUDAT/FIXED_CONTENT False
|
|
|
|
|
|
The **registered data boolean flag** is an input parameter which can be True or False. If True, the replication mechanism assumes that the data have PIDs. If it is not the case, the procedure creates and registers automatically new PIDs for the data.
|
|
|
|
... | ... | @@ -237,7 +240,8 @@ In this case the replication is performed with **registered data boolean flag = |
|
|
PID_Registration {
|
|
|
*source = /My/source/irods/path;
|
|
|
*destination = /My/destination/irods/path;
|
|
|
*status_reg = EUDATPIDRegistration(*source, *destination, *registration_response);
|
|
|
*notification = 0
|
|
|
*status_reg = EUDATPIDRegistration(*source, *destination, *notification, *registration_response);
|
|
|
if (*status_reg) {
|
|
|
writeLine("stdout", "Successful PID registration!");
|
|
|
}
|
... | ... | |