Sage-Bionetworks/Bridge-EX-Scheduler

Name: Bridge-EX-Scheduler

Owner: Sage Bionetworks

Description: Bridge EX 2.0 Scheduler

Created: 2016-01-28 05:54:38.0

Updated: 2016-02-03 19:07:29.0

Pushed: 2017-08-15 00:50:29.0

Homepage: null

Size: 20

Language: Java

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Bridge-EX-Scheduler

Bridge EX 2.0 Scheduler which runs on AWS Lambda. This is the Lambda handler that sends messages to Bridge-EX's SQS request queue

To run a full build (including compile, unit tests, findbugs, and jacoco test coverage), run: mvn verify

(A full build takes about 15 seconds on my laptop, from a clean workspace.)

To just run findbugs, run: mvn compile findbugs:check

To run findbugs and get a friendly GUI to read about the bugs, run: mvn compile findbugs:findbugs findbugs:gui

To run jacoco coverage reports and checks, run: mvn test jacoco:report jacoco:check

Jacoco report will be in target/site/jacoco/index.html

To test locally mvn compile exec:java -Dexec.mainClass=org.sagebionetworks.bridge.exporter.scheduler.SchedulerLauncher -Dexec.args=[scheduler name]

The “compile” is important because otherwise exec:java may execute a stale version of your code

To deploy, after running mvn verify, upload target/Bridge-EX-Scheduler-2.0.jar to AWS Lambda in the AWS console. (Travis doesn't yet support Java deployments to Lambda. See https://github.com/travis-ci/dpl/issues/397)


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.