Skip to content


Repository files navigation

European Variation Archive (EVA)

The European Variation Archive is an open-access database of all types of genetic variation data from all species. The service is available in

This repository contains the core of the application and the web services.


In order to build EVA, you need to install the Java Development Kit 8 and Maven.

All the dependencies will be downloaded by Maven.

If you want to build all the modules, including dgva-server, you will need to download the Oracle drivers used in dgva-server from the Oracle Maven Repository. In order to do so, register with Oracle and set up your Maven security. See #81 (comment) for more information.

There are some properties that you have to provide. If you can access, use those configuration files. If not, save the next snippet in your ~/.m2/settings.xml to use a Maven profile and fill all the properties (fill empty values when needed and change everything starting with "your_"):


                <realm>OAM 11g</realm>

After setting up your Maven security and Maven settings, you can install the whole project and run the tests using the above "production" profile with mvn clean install -Pproduction. This will generate the ".war" files that you can deploy in Tomcat or other Java container. You have to set up the JNDI credentials in Tomcat (conf/context.xml), matching the "eva.evapro.datasource" and "eva.evapro.jdbc.url" properties.

If you don't need to build dgva-server, you can build the ".war" files for the rest of the modules running mvn clean install -pl '!dgva-server'.


The tests implemented are both unit and integration tests. You can run them with mvn test from the root folder.

If you are compiling and want to skip the tests, you can do mvn clean install -Pproduction -DskipTests.

For manual testing, you can deploy the ".war" files and go to the Swagger page to get an overview of the endpoints and run them manually. If you name the artifact "eva.war" and deploy it locally, the Swagger URL is "localhost:8080/eva/swagger-ui.html".

Enabling OAuth2 Security

In order to enable OAuth2 Security you must enable the oauth2-security profile in the spring-boot application in any way supported by Spring-boot as stated in Spring documentation. In adition, the application requires configuration to point to the public user check endpoints of your OAuth2 compatible authentication service. More information is available in Spring documentation.

When using OAuth2 Security, Swagger UI will be still enabled and public to review the API but no command sent from the UI will be authorized.