... | ... | @@ -33,12 +33,12 @@ Now assume that we want to check that the information stored in the PID registry |
|
|
|
|
|
If you have used a public [handle prefix](https://www.handle.net/prefix.html) for the PID, it is possible to get all those pieces of information through the web interface of the [handle resolution service](http://hdl.handle.net/). In case you have not, or you prefer to query the PID registry via the python client embedded in the B2SAFE, go to the _/opt/eudat/b2safe_ directory where you have just installed the B2SAFE package and try the following commands:
|
|
|
```
|
|
|
1) $ cmd/epicclient.py os conf/credentials search URL "irods://irods-hostname:irods-port/My/source/irods/path"
|
|
|
1) $ cmd/epicclient2.py os conf/credentials search URL "irods://irods-hostname:irods-port/My/source/irods/path"
|
|
|
842/4676bcce-1ff2-11e5-9a45-fa163e62896a
|
|
|
|
|
|
2) $ cmd/epicclient.py os conf/credentials read --key EUDAT/REPLICA 842/4676bcce-1ff2-11e5-9a45-fa163e62896a
|
|
|
2) $ cmd/epicclient2.py os conf/credentials read --key EUDAT/REPLICA 842/4676bcce-1ff2-11e5-9a45-fa163e62896a
|
|
|
842/db9fbd72-a8a1-11e5-9ae1-fa163e62896a
|
|
|
|
|
|
3) $ cmd/epicclient.py os conf/credentials read --key EUDAT/PARENT 842/db9fbd72-a8a1-11e5-9ae1-fa163e62896a
|
|
|
3) $ cmd/epicclient2.py os conf/credentials read --key EUDAT/PARENT 842/db9fbd72-a8a1-11e5-9ae1-fa163e62896a
|
|
|
842/4676bcce-1ff2-11e5-9a45-fa163e62896a
|
|
|
``` |