This project holds is supposed to be used to developed Java micro services.
This project is supposed to be used to developed Java micro services.
## Configuration ##
## Configuration ##
A json file with the configuration should be given during the startup as an argument, if not given the default "config.json" will be loaded (mostly used for distribution) and if not found "./conf/config.json" is loaded (mostly used for development).
A json file with the configuration should be given during the startup as an argument. If it os not given the default "config.json" will be loaded (mostly used for distribution) and if not found "./conf/config.json" is loaded (mostly used for development).
## Build ##
## Build ##
...
@@ -77,13 +77,13 @@ All these handlers share the same configuration and input parameters.
...
@@ -77,13 +77,13 @@ All these handlers share the same configuration and input parameters.
### Configuration ###
### Configuration ###
openbis-url : Server where is validated that the user sessionToken can retrieve the dataset.
openbis-url : Server to validate that the user sessionToken can retrieve the dataset.
datastore-url : Server where is validated that the user sessionToken can retrieve the file and that the file exists for the given dataset.
datastore-url : Server to validate that the user sessionToken can retrieve the file and that the file exists for the given dataset.
services-timeout : Timeout when making calls to openBIS or DSS.
services-timeout : Timeout when making calls to openBIS or DSS.
allowedExternalDMSCode : Allowed External DMS code, with the current implementation only one EDMS is possible for the service.
allowedExternalDMSCode : Allowed External DMS code. With the current implementation only one EDMS is possible for the service.
allowedContentCopyPath : Allowed directory where dataset files should be present, trying to access outside of this directory giving relative paths will result in failure.
allowedContentCopyPath : Allowed directory where dataset files should be present. Trying to access outside of this directory giving relative paths will result in failure.