Project: springxd
Issue XD-2316: REST: "jobs/configurations" returns 404 if one job has error
There is a bug in the deployments rest end-point. *How to reproduce:* * Deploy a Batch job (success) that for example does not all necessary libraries in the class-patch and thus causes a “java.lang.ClassNotFoundException�? *Result:* You cannot retrieve the list of deployments list anymore using: * http://localhost:9393/jobs/configurations The rest endpoint will now report: [{"links":[],"logref":"NoSuchBatchJobException","message":"Batch Job with the name myJob doesn't exist"}] This message is not entirely wrong…but extremely misleading. I think we should still return the entire list and rather mark the job as having an error. Also returning an “404 Not Found�? is misleading as well.
Story points: 3