Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-7593 Event-driven schedulers
  3. CDAP-11597

Scheduler REST API should not return 'NOT_FOUND' as a schedule status

    XMLWordPrintableJSON

    Details

    • Type: Sub-task
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.2.0
    • Component/s: App Fabric, Workflow
    • Labels:
      None
    • Rank:
      1|i001zr:

      Description

      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'.

        Attachments

          Activity

            People

            • Assignee:
              mao Chengfeng Mao
              Reporter:
              ali.anwar Ali Anwar
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: