Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-3131

/runs endpoint should not return an empty list if the application/program/namespace was not found

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.3
    • Fix Version/s: 3.5.0
    • Component/s: App Fabric
    • Labels:
    • Release Notes:
      Runs endpoint of program lifecycle now returns 404 instead of empty list if the specified application is not found.
    • Rank:
      1|hzywqn:

      Description

      It should respond with a 404. Currently it just returns an empty list, so there's no way to indicate to clients that the app/program was not found

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                shenggu Shenggu Lu
                Reporter:
                bhooshan Bhooshan Mogal
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: