[CDAP-9084] LogHandler endpoints should check for existence of the entity. Created: 21/Mar/17  Updated: 15/Apr/17  Resolved: 07/Apr/17

Status: Resolved
Project: CDAP
Component/s: Log
Affects Version/s: 3.5.4
Fix Version/s: 3.5.5, 4.1.1

Type: Bug Priority: Major
Reporter: Sagar Kapare Assignee: Sagar Kapare
Resolution: Fixed Votes: 0
Labels: TR, zen

Release Notes: The CDAP Logging APIs now return a 404 status code if the entity (the run id) for which logs are requested does not exist.
Rank: 1|hzzy9r:

 Description   

If log endpoint is called for non-existent entity, the endpoint should return 404. Currently it returns the 500 Internal Server Error.



 Comments   
Comment by Sagar Kapare [ 23/Mar/17 ]

PR for 3.5 - https://github.com/caskdata/cdap/pull/8411

Comment by Sagar Kapare [ 04/Apr/17 ]

PR for 4.1 - https://github.com/caskdata/cdap/pull/8483

Generated at Mon Dec 17 05:25:40 UTC 2018 using Jira 7.13.0#713000-sha1:fbf406879436de2f3fb1cfa09c7fa556fb79615a.