Consonance / consonance

Core consonance utilities for scheduling, reporting on, and provisioning VMs for workflows
GNU General Public License v3.0
14 stars 5 forks source link

Feature/rework job scheduling #85

Closed denis-yuen closed 9 years ago

denis-yuen commented 9 years ago

This seems to properly hook up DropWizard+Hibernate to create DB records compatible with our legacy daemon utilities.

This properly schedules and lists workflows (without any auth).

Tested by doing POST with the following (proper testing follows in a different ticket)

{
  "end_user": "Player1",
  "flavour": "m1.xlarge",
  "job_hash": "test",
  "extra_files":  { "/etc/init.d/something_important" : "jkajkggk
wegnkljkorgjklrgnklerklrg", "field2" : "value2"},
  "container_image_descriptor": "{ \"field1\" : \"value1\", \"field2\" :
\"value2\"}",
  "container_runtime_descriptor": "{ \"field1\" : \"value1\", \"field2\"
: \"value2\"}"
}

This also adds the auto-generated swagger Java client for us to build upon with no extra dependencies for the CLI and moves stuff into a consistent io.consonance namespace.