Uploaded image for project: 'JOC - JobScheduler Operations Center'
  1. JOC - JobScheduler Operations Center
  2. JOC-1109

The API call /jobstream/start should return an error if the given starter does not exist

    XMLWordPrintable

Details

    Description

      Current Situation

      The api call /jobstreams/start returns

      {
          "jobschedulerId": "scheduler_joc_cockpit",
          "params": [],
          "session": "2c0d1d56-2735-4abf-81f1-559e24a5bbf5"
      }
      

      when the given starter does not exist.

      Desired Behavior

      For each starter specified in the array jobstreamStarters it should be returned whether the starter could be found and only if exists session id and params.

      {
          "jobschedulerId": "scheduler_joc_cockpit",
          "jobstreamStarted": [
              {
                  "jobStreamStarterId": 1975,
                  "params": [],
                  "session": "4924a7ce-3433-4c3f-bb3f-417015c11aee",
                  "starterExists": true,
                  "starterName": "1975"
              },
              {
                  "params": [],
                  "starterExists": false,
                  "starterName": "1922275"
              }
          ]
      }
      

      Attachments

        Activity

          People

            ur Uwe Risse
            ur Uwe Risse
            Kanika Agrawal Kanika Agrawal
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: