Giter Site home page Giter Site logo

georgebatalinski / beacon-of-beacons Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mcupak/beacon-of-beacons

0.0 1.0 0.0 2.3 MB

Beacon Network.

Home Page: http://mcupak.github.io/beacon-of-beacons/

Java 96.91% JavaScript 1.22% Python 1.38% Shell 0.50%

beacon-of-beacons's Introduction

#Beacon Network

##Contents

##What it is Beacon Network (formerly known as the Beacon of Beacons, or BoB, for short) provides a unified REST API to publicly available GA4GH Beacons (see http://ga4gh.org/#/beacon for more details about the Beacon project itself). Beacon Network standardizes the way beacons are accessed and aggregates their results, thus addressing one of the missing parts of the Beacon project itself.

##System requirements Java 1.7 or newer, Maven 3.1 or newer, Java EE runtime (WildFly 8 recommended).

How to set up the runtime

Beacon Network needs access to a database through a JTA datasource (java:/jboss/datasources/bob). Make sure you have the required datasource on your application server or change the configuration in persistence.xml.

As Beacon Network can execute many queries in parallel, it's advisable to increase the pool sizes for EJB subsystem in Wildfly, particularly slsb-strict-max-pool (bean-instance-pools) and default (thread-pools).

##How to run it Start the server:

For Unix:       JBOSS_HOME/bin/standalone.sh -c standalone-full.xml
For Windows:    JBOSS_HOME\bin\standalone.bat -c standalone-full.xml

Build the project:

mvn clean install

Deploy (from bob-rest module):

mvn wildfly:deploy

After deployment, the application will be running on http://localhost:8080/.

To undeploy when you're done, run:

mvn wildfly:undeploy

##How to test it

To run tests for the persistence layer, execute the following in bob-data module:

mvn test -Pall-tests-managed

To test the supported beacons, execute the same command in bob-rest module. Note that the tests need access to a Wildfly instance, the path to which can be set in $JBOSS_HOME environment variable.

##How to use it Visit the project website for more information: http://mcupak.github.io/beacon-of-beacons/

##License and terms of use The code in this repository is licensed under the MIT license. An instance of the Beacon Network is a subject to these terms of use.

##Technologies Java EE. CDI, EJB, JAX-RS, JAXB, Bean Validation, JPA. Tested with Arquillian/ShrinkWrap/AssertJ.

beacon-of-beacons's People

Contributors

alexwweston avatar mcupak avatar mfiume avatar rohankatyal29 avatar

Watchers

 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.