Skip to content

Configuration variables

With DAMAP v5.0.0, we are going away from reconfiguring the application through the application.yaml and are starting to only support environment variables. The table below will map from the old application.yaml values to the new environment variables.

Old Attribute (v4.x.x) Environment variable Description
(None - previously not needed) DAMAP_QUARKUS_PROFILE Comma seperated profiles, defaults to prod if left empty. Pass multitenant to allow for multiple tenants.
damap.env DAMAP_ENV Either DEV or PROD.
damap.origins DAMAP_QUARKUS_HTTP_CORS_ORIGINS The URL the backend should send out in the CORS header. This should match your frontend URL.
damap.title DAMAP_TENANT_AWARE_TITLE The name of the DAMAP instance is used to set the HTML title.
damap.gotenbergurl DAMAP_REST_GOTENBERG_MP_REST_URL URL to your Gotenberg service. (e.g. http://gotenberg:3000)
damap.fitsurl None - was removed Fits container was replaced with a Java library
damap.fields.ethical-report-enabled DAMAP_TENANT_AWARE_FIELDS_ETHICAL_REPORT_ENABLED If true, enables input field for short ethical report description. Set to false if you want to deactivate the feature, true by default.
damap.elsevier-pure-description-classification DAMAP_TENANT_AWARE_ELSEVIER_PURE_DESCRIPTION_CLASSIFICATION Project description classification in Pure. Should start with /dk/atira/pure/....
damap.elsevier-pure-contributor-role-classifications DAMAP_TENANT_AWARE_ELSEVIER_PURE_CONTRIBUTOR_ROLE_CLASSIFICATIONS_0__PURE_ROLE_URI A pure role url (see Pure section).
damap.elsevier-pure-contributor-role-classifications DAMAP_TENANT_AWARE_ELSEVIER_PURE_CONTRIBUTOR_ROLE_CLASSIFICATIONS_0__CONTRIBUTOR_ROLE A DAMAP role (see Pure section).
damap.elsevier-pure-project-lead-role-classification DAMAP_TENANT_AWARE_ELSEVIER_PURE_PROJECT_LEAD_ROLE_CLASSIFICATION The Pure classification for project leads. Should start with /dk/atira/pure/....
damap.elsevier-pure-backend DAMAP_TENANT_AWARE_ELSEVIER_PURE_BACKEND Set this to http to use a HTTP server, or to file to read from files. In production, its advised to use the http backend and only rely on file if there is no other way.
damap.elsevier-pure-endpoint-url DAMAP_TENANT_AWARE_ELSEVIER_PURE_ENDPOINT_URL HTTP endpoint URL when using the http backend. Not necessary when file backend is used.
damap.elsevier-pure-api-key DAMAP_TENANT_AWARE_ELSEVIER_PURE_API_KEY API key to use for the http backend. Not necessary when file backend is used.
damap.elsevier-pure-projects-file DAMAP_TENANT_AWARE_ELSEVIER_PURE_PROJECTS_FILE The path to the file containing the projects in JSON format for the file backend. Must start with file:/.
damap.elsevier-pure-persons-file DAMAP_TENANT_AWARE_ELSEVIER_PURE_PERSONS_FILE The path to the file containing the persons in JSON format for the file backend. Must start with file:/.
damap.projects-service DAMAP_TENANT_AWARE_PROJECT_SERVICE Determines which project service the application should use. Set to elsevier-pure if you want to use the Pure integration.
damap.person.services DAMAP_TENANT_AWARE_PERSON_SERVICES_0__DISPLAY_TEXT Text which gets displayed in the frontend when picking the person service type, defaults to University
damap.person.services DAMAP_TENANT_AWARE_PERSON_SERVICES_0__QUERY_VALUE Determines the person service used. Set to PURE for the pure integration. Defaults to UNIVERSITY.
damap.person.services DAMAP_TENANT_AWARE_PERSON_SERVICES_0__CLASS_NAME Determines the java class used for the custom person service. Set either to your custom class or to org.damap.base.integration.pure.PurePersonService if you want to use PURE.
damap.datasource.url DAMAP_DB_HOST Host of the database, no trailing slash or protocol (http/https).
damap.datasource.url DAMAP_DB_NAME Name of the database.
damap.datasource.url DAMAP_DB_PORT Port of the database.
damap.datasource.db_kind DAMAP_DB_KIND Your database engine kind (postgresql or oracle).
damap.datasource.username DAMAP_DB_USERNAME Username for database authentication.
damap.datasource.password DAMAP_DB_PASSWORD Password for database authentication.
damap.datasource.dialect None - was removed Now generated from DAMAP_DB_KIND.
damap.datasource.driver None - was removed Now generated from DAMAP_DB_KIND.