9854: Added ArvadosModel::UnresolvableContainerError exception to return a 422 http...
authorLucas Di Pentima <lucas@curoverse.com>
Fri, 26 Aug 2016 17:07:08 +0000 (14:07 -0300)
committerLucas Di Pentima <lucas@curoverse.com>
Fri, 26 Aug 2016 17:07:08 +0000 (14:07 -0300)
commit97d6365ee6a5f5bde1c8571fe1d2f3777a67cc3f
treec01a58d5859b9eb91806e02552a47f8680076dc5
parent1062d90268c69372ff98be2d86cf7d9423c31da0
9854: Added ArvadosModel::UnresolvableContainerError exception to return a 422 http status. Modified container resolving methods to raise this new exception instead of RecordNotFound. Updated related tests.
services/api/app/models/arvados_model.rb
services/api/app/models/container_request.rb
services/api/test/unit/container_request_test.rb