$ irule -F rule_lookup.r "*path='/igor/home/robertv/test_data_replicate*.txt'"
ERROR: rcExecMyRule error. status = -1090000 ACTION_FAILED_ERR
Level 0: DEBUG: execMicroService3: error when executing microservice
line 1, col 7
msiPidLookup(*path, *handle);
^
because of:
body ["21.T12996/2B8363B4-C0FF-48D5-B01A-0D88464A6BD8","21.T12996/B7873494-730A-472F-B46F-719DACA93EFA","21.T12996/1F9E8319-3671-454D-A058-7B261018D975","21.T12996/55215413-E2DC-4CDC-B506-D44A0363A629"]
Jan 8 15:26:44 pid:29678 ERROR: failed to lookup handle for iRods path /igor/home/robertv/test_data_replicate*.txt
Jan 8 15:26:44 pid:29678 ERROR: exception: Could not find PID for URL=irods://irodstest2.storage.surfsara.nl:1247/igor/home/robertv/test_data_replicate*.txt not unique, found 4 matching entries
Testing shows:
msiPidLookup
because of:
msiPidLookupKey
I would like it to be like
msiPidLookupKey
. That it gives back 4 values is my problem and not a problem of the handle database.This way we can also use wildcards to search for matching handles. As the example shows.