|
|
The following functions are included in the rule set _/opt/eudat/b2safe/rulebase/local.re_ :
|
|
|
|
|
|
- **getEpicApiParameters**(*credStoreType, *credStorePath, *epicApi, *serverID, *epicDebug)
|
|
|
Provides parameters for the connection with the EPIC service (PID registry). They must be configured by the B2SAFE administrator in order to enable the PID registration.
|
|
|
- **credStoreType**: states if the file path is based on irods namespace or on the filesystem [os | irods]
|
|
|
- **credStorePath**: the path to the file containing the credentials to connect to an EPIC service (e.g. /opt/eudat/b2safe/conf/credentials)
|
|
|
- **epicApi**: the reference URL for EPIC API [http://hdl.handle.net/]
|
|
|
- **serverID**: the id related the irods service [irods://hostnameWithFullDomain:1247]
|
|
|
- **epicDebug**: the debug level for the EPIC client scripts [2]
|
|
|
|
|
|
- parseCredentials (*baseuri, *username, *prefix, *password)
|
|
|
Parse the credentials to connect to an EPIC server. The aame parameters listed [here](https://github.com/EUDAT-B2SAFE/B2SAFE-core/wiki/Python-script-configuration).
|
|
|
|