Coder Social home page Coder Social logo

tomdcsmith / eva-ws Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ebivariation/eva-ws

0.0 2.0 0.0 19.1 MB

European Variation Archive REST web services API

Home Page: http://www.ebi.ac.uk/eva

License: Apache License 2.0

Java 99.71% Python 0.29%

eva-ws's Introduction

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 https://www.ebi.ac.uk/eva

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

Build

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

The project dependencies are OpenCGA and Variation-Commons

You can get OpenCGA 0.5.2 from https://github.com/opencb/opencga, branch hotfix/0.5. Please follow the download/compilation instructions there.

You can get Variation-Commons from https://github.com/EBIvariation/variation-commons. This project can be installed with just mvn clean install.

After it has been compiled, if you just want to build the WAR, run mvn package -DskipTests and you should obtain a file to deploy in Tomcat or other Java container.

Testing

The tests implemented so far are integration (not unit) tests, so a working WAR file needs to be created first. The Jetty plugin for Maven has been included to ease the testing process.

  1. Fill the datasource information in the file eva-server/src/main/webapp/WEB-INF/jetty-env.xml
  2. Build the WAR file as described in the section above
  3. Run mvn jetty:run from the eva-server subfolder
  4. Run mvn test from the root folder

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.

eva-ws's People

Contributors

tomdcsmith avatar jmmut avatar frasator avatar pabarcgar avatar jorizci avatar imedina avatar cyenyxe avatar j-coll avatar poggio84 avatar kandaj avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.