DescriptionMichael Pasternak
2013-01-07 13:12:03 UTC
Description of problem:
if CPU-pinning format is incorrect will be thrown "Internal server error 500"
Expected results:
400 (bad request) + "CPU-pinning format is incorrect" detail.
Comment 4Michael Pasternak
2013-01-10 11:35:51 UTC
(In reply to comment #1)
> Michael, for that I need to add resteasy-jaxrs as dependency to
> restapi-types. Is that acceptable for you?
no, this will create circular dependency + JAXRS ain't relevant for mapping, please see my reply in gerrit.
for QE: reproduce by creating a VM and directly in the DB execute
update vm_static set cpu_pinning='FAIL';
after this just fetch the VM resources. When trying to set a wrong format either from restapi or UI, the engine is validating, so this may be the only way to break it.