... | ... | @@ -39,7 +39,7 @@ The boxes with red borders and labels represent new patterns which rely on b2saf |
|
|
**client side rule: pid creation**
|
|
|
|
|
|
PID_DO_reg {
|
|
|
*iCATCache = bool("true");
|
|
|
*iCATCache = "true";
|
|
|
EUDATCreatePID(*parent_pid, *source, *ror, *iCATCache, *newPID);
|
|
|
writeLine("stdout","PID: *newPID");
|
|
|
}
|
... | ... | @@ -52,7 +52,7 @@ The boxes with red borders and labels represent new patterns which rely on b2saf |
|
|
on (($objPath like "My collection of registered data/*") {
|
|
|
*parent_pid = "None";
|
|
|
*ror = "None";
|
|
|
*iCATCache = bool("true");
|
|
|
*iCATCache = "true";
|
|
|
EUDATCreatePID(*parent_pid, $objPath, *ror, *iCATCache, *newPID);
|
|
|
}}
|
|
|
|
... | ... | @@ -190,8 +190,8 @@ Error messages: |
|
|
Replication {
|
|
|
*source = /My/source/irods/path;
|
|
|
*destination = /My/destination/irods/path;
|
|
|
*registered = bool("true");
|
|
|
*recursive = bool("true");
|
|
|
*registered = "true";
|
|
|
*recursive = "true";
|
|
|
*status = EUDATReplication(*source, *destination, *registered, *recursive, *response);
|
|
|
if (*status) {
|
|
|
writeLine("stdout", "Success!");
|
... | ... | @@ -213,8 +213,8 @@ In this case the replication is performed with **registered data boolean flag = |
|
|
Replication {
|
|
|
*source = /My/source/irods/path;
|
|
|
*destination = /My/destination/irods/path;
|
|
|
*registered = bool("false");
|
|
|
*recursive = bool("false");
|
|
|
*registered = "false";
|
|
|
*recursive = "false";
|
|
|
*status_repl = EUDATReplication(*source, *destination, *registered, *recursive, *response);
|
|
|
if (*status_repl) {
|
|
|
writeLine("stdout", "Successful replication!");
|
... | ... | |