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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
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)