Skip to main content

Deposit Services

There are currently one implemented deposit service. This service is directly integrated with Zenodo.

Repository Deposit Zenodo

Env VariableDescriptionDefault ValueExample
IDP_ISSUER_URIKeycloak realm URL string.-http://<keycloak-hostname>:<port>/realms/<realm-name>
IDP_CLAIMS_ROLES_PATHKeycloak client roles path.-<keycloak_client>.roles
SECURITY_AUDIENCEKeycloak client scope that security is intended for.-<keycloak-client-scope>
OPENCDMP_DOMAINOpenCDMP URL string.-http://<opencdmp-hostname>:<opencdmp-port>/
DEPOSIT_ZENODO_URLZenodo API URLhttps://zenodo.org/api/https://<zenodo-hostname>/api/
DEPOSIT_ZENODO_RECORD_URLZenodo record URL to get specific DOI. The url must contain the {doi id} element, which is handled internally by the OPENCDMP platfmormhttps://zenodo.org/doi/{doi_id}https://<zenodo-hostname>/doi/{doi_id}
DEPOSIT_ZENODO_REDIRECT_URLZenodo redirect URL back to OpenCDMP platform.-http://<opencdmp-hostname>:<opencdmp-port>/deposit/oauth2/code-callaback
DEPOSIT_ZENODO_AUTHORIZATION_URLZenodo URL for authorization.https://zenodo.org/oauth/authorizehttps://<zenodo-hostname>/oauth/authorize
DEPOSIT_ZENODO_ACCESS_TOKEN_URLZenodo URL to get access token.https://zenodo.org/oauth/tokenhttps://<zenodo-hostname>/oauth/token
DEPOSIT_ZENODO_CLIENT_IDZenodo client id to get access for deposit with your user account.-<zenodo-client-id>
DEPOSIT_ZENODO_CLIENT_SECRETZenodo client secret to get access for deposit with your user account.-<zenodo-client-secret>
DEPOSIT_ZENODO_ACCESS_TOKENZenodo access token for deposit without your user account.-<zenodo-client-secret>
DEPOSIT_ZENODO_COMMUNITYZenodo community.-OpenCDMP
DEPOSIT_ZENODO_AFFILIATIONZenodo affiliation.-OpenCDMP
DEPOSIT_ZENODO_HAS_LOGOBoolean value to enable Zenodo logo.truetrue
DEPOSIT_ZENODO_LOGO_PATHImage for Zenodo logo.classpath:zenodo.jpgclasspath:<image-name>.<image-type>
LOGGING_CONFIG_PATHXml file that stores logging confiiguration.classpath:logging/logback.xmlclasspath:logging/<file-name>.xml
LOGGING_DEFAULT_LOG_LEVELLevel of error to store. Only 4 values can be assigned: INFO, DEBUG, WARM, ERROR-WARN
LOGGING_PATHFile path to store logging.-logs/