Skip to content

Worker app to aggregate Bridge uploads, survey answers, and health data daily, and export them to Synapse

License

Notifications You must be signed in to change notification settings

liujoshua/Bridge-Exporter

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

95 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Bridge Exporter (Bridge-EX)

Worker app to aggregate Bridge uploads, survey answers, and health data daily, and export them to Synapse

Set-up: In your home directory, add a file BridgeExporter.conf and add

  • Synapse username
  • Synapse API key
  • Synapse principal ID
  • local exporter DDB prefix
  • any other local overrides

See main/resources/BridgeExporter.conf for an example. (Note that any attribute you don't add to your local conf file will fall back to the bundled conf file.)

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

(A full build takes about 1 min 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 run this locally, run mvn spring-boot:run

Useful Spring Boot / Maven development resouces: http://stackoverflow.com/questions/27323104/spring-boot-and-maven-exec-plugin-issue http://techblog.molindo.at/2007/11/maven-unable-to-find-resources-in-test-cases.html

About

Worker app to aggregate Bridge uploads, survey answers, and health data daily, and export them to Synapse

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Java 100.0%