Uploaded image for project: 'JS - JobScheduler'
  1. JS - JobScheduler
  2. JS-1410

JobScheduler Universal Agent web services return information about current state

    XMLWordPrintable

Details

    Description

      Desired Behavior

      • The JobScheduler Universal Agent provides status information via web services
        • Web service /jobscheduler/agent/overview provides general status information
        • Web service /jobscheduler/agent/processHandler provides information about running task processes
      • The web services can return the media types application/json and text/plain (which is currently returned as YAML).

      Examples

      Response for /jobscheduler/agent/overview
      version: 1.10.X
      startedAt: '2015-06-19T14:16:19.188Z'
      java:
        systemProperties:
          java.vendor: Azul Systems, Inc.
          java.version: 1.8.0_25
          os.name: Linux
          os.version: 3.10.0-229.4.2.el7.x86_64
          os.arch: amd64
      totalProcessCount: 0
      currentProcessCount: 0
      isTerminating: false
      
      Response for /jobscheduler/agent/processHandler
      processes:
      - id: 2-735081434
        controllerAddress: 127.0.0.1:59999
        startedAt: '2015-06-19T14:20:42.014Z'
      - id: 5-518997919
        controllerAddress: 127.0.0.1:59998
        startedAt: '2015-06-19T14:21:37.738Z'
      
      Response for /jobscheduler/agent/commandHandler
      totalCommandCount: 39
      currentCommandCount: 1
      
      Response for /jobscheduler/agent/commandHandler/details - shows active command for file_order_source
      commandRuns:
      - internalId: '28'
        startedAt: '2015-06-22T20:17:06.439Z'
        command:
          regex: MATCHING-
          knownFiles: []
          $TYPE: RequestFileOrderSourceContent
          durationMillis: 60000
          directory: /tmp
      

      Attachments

        Issue Links

          Activity

            People

              jz Joacim Zschimmer
              al Andreas Liebert (Inactive)
              Oliver Haufe Oliver Haufe
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: