6429: Use text instead of string for longer API fields.
authorPeter Amstutz <peter.amstutz@curoverse.com>
Wed, 9 Dec 2015 20:06:46 +0000 (15:06 -0500)
committerPeter Amstutz <peter.amstutz@curoverse.com>
Wed, 9 Dec 2015 20:06:46 +0000 (15:06 -0500)
commitce6f582e7e1d5b927aeee0aab3def7ab8a5cae4f
treea6b6e8fb21e791c85e5dc2fbe8d93254ddc40f77
parent6fc8952ed133607f5ce317d929d731657e405edf
6429: Use text instead of string for longer API fields.
Move "resolve" from Container to ContainerRequest.
Simplify state transition checking.
Improve formatting of error messages.
Rename workbench models to be singular.
Remove bogus factory files.
apps/workbench/app/models/container.rb [moved from apps/workbench/app/models/containers.rb with 100% similarity]
apps/workbench/app/models/container_request.rb [moved from apps/workbench/app/models/container_requests.rb with 100% similarity]
services/api/app/models/container.rb
services/api/app/models/container_request.rb
services/api/db/migrate/20151202151426_create_containers_and_requests.rb
services/api/db/structure.sql
services/api/lib/whitelist_update.rb
services/api/test/factories/container_requests.rb [deleted file]
services/api/test/factories/containers.rb [deleted file]
services/api/test/unit/container_request_test.rb