... | ... | @@ -19,25 +19,17 @@ Provides parameters for the [authorization mechanism](https://github.com/EUDAT-B |
|
|
Provides parameters for the logging mechanism
|
|
|
- `logConfPath`: the file path to the logging configuration.
|
|
|
|
|
|
- **getConfParameters**(*msiFreeEnabled, *msiCurlEnabled, *authzEnabled)
|
|
|
- **getConfParameters**(*authzEnabled)
|
|
|
Provides parameters for some B2SAFE configurations.
|
|
|
The plugin _msifree_microservice_out_ is a [bug fixing](https://github.com/EUDAT-B2SAFE/B2SAFE-core/wiki/Known-issues) to avoid memory leak in case of collection replication involving thousands of files and the parameter _msiFreeEnabled_ enables it.
|
|
|
The CURL plugin is an optional component (available [here](http://irods.org/download/)), which is needed if you set to "true" the parameter _msiCurlEnabled_ : it disables the calls to the default python client to connect to the EPIC service (PID registry) directly. It can improve the performance in the creation of PIDs (see the [documentation](https://github.com/EUDAT-B2SAFE/B2SAFE-core/wiki/Documentation#performance)). If enabled it requires the function parseCredentials (see below).
|
|
|
- `msiFreeEnabled`: if True the msiFree plugin must be deployed
|
|
|
- `msiCurlEnabled`: if True the msiCurl plugin must be deployed
|
|
|
- `authzEnabled`: if True the authorization mechanism enforces the assertions defined in the file retrieved by getAuthZParameters.
|
|
|
|
|
|
***
|
|
|
### Optional configurations
|
|
|
|
|
|
- **getMetaParameters**(*metaConfPath, *enabled)
|
|
|
Provides parameters for the metadata management mechanism
|
|
|
- `metaConfPath`: the file path to the metadata tool configuration.
|
|
|
- `enabled`: boolean value to enable (if true) globally the json metadata writing
|
|
|
|
|
|
- **getMessageParameters**(*msgLogPath, *enabled)
|
|
|
- **getMessageParameters**(*msgConfPath, *controlQueueName, *enabled)
|
|
|
Provides parameters for the message management mechanism
|
|
|
- `msgConfPath`: the file path to the message conf file.
|
|
|
- `controlQueueName`: the name of the queue/topic which stores the list of modified collections
|
|
|
- `enabled`: boolean value to enable (if true) globally the the usage of the messaging system
|
|
|
|
|
|
- **parseCredentials** (*baseuri, *username, *prefix, *password)
|
... | ... | |