Uploaded image for project: 'Apache YuniKorn'
  1. Apache YuniKorn
  2. YUNIKORN-950

Add missing HTTP routes regarding statedump feature

    XMLWordPrintableJSON

Details

    Description

      In YUNIKORN-940, only the following route was introduced:

      	route{
      		"Scheduler",
      		"PUT",
      		"/ws/v1/periodicstatedump/{switch}/{periodSeconds}",
      		handlePeriodicStateDump,
      	},
      

      This is not enough. If we want to gracefully handle the situation when either "switch" or both "switch" and "periodSeconds" are missing, then we have to define them explicitly.

      Attachments

        Issue Links

          Activity

            People

              pbacsko Peter Bacsko
              pbacsko Peter Bacsko
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: