Scheduler REST API should not return 'NOT_FOUND' as a schedule status
Scheduler REST API should not return 'NOT_FOUND' as a schedule status.
In Scheduler.java, there's an enum ScheduleState, which has a value of 'NOT_FOUND'.
If the schedule truly is not found, we should respond to the http response with 404 response code, and not just a status of 'NOT_FOUND'.
The new scheduler never returns that now. The old schedulers may still have code that returns NOT_FOUND but it never gets called. We should clean up the obsolete code.