Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Coding standards match those used in the SeqWare project
Use the standard mvn release:prepare and mvn release:perform procedures with maven 3
Updating Auto-Generated Code
The schema is generated by dumping the auto-generated schema from Dropwizard/Hibernate.
pg_dump queue_status --schema-only &> schema.sql mv schema.sql consonance-arch/sql
The basis for the swagger client is auto-generated from Dropwizard. While you have the web service running, create the classes here using the https://github.com/swagger-api/swagger-codegen/blob/master/README.md project.
git clone https://github.com/swagger-api/swagger-codegen.git cd swagger-codegen ./run-in-docker.sh generate -i http://10.0.3.18:8080/swagger.json -l java -o test_swagger_output --library jersey2 cp -R test_swagger_output/src ~/consonance/swagger-java-client/
We modified the pom.xml to be compatible with our parent pom, but otherwise no files in here should be manually changed in case we wish to automatically regenerate the classes above based on changes in the web service.