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

JOC API ./jobscheduler/commands does not refresh session timeout

    XMLWordPrintable

Details

    Description

      Current Situation

      • User authenticates ./joc/API/security/login and get an auth token.
      • The auth token is valid only for the default 15 minutes,
      • The JOC Cockpit calls ./joc/API/security/touch to extend the session timeout, but for a REST API clients directly calling ./joc/API/jobscheduler/commands API, it's not desirable to re-login or calls touch.
      • If a REST client continues calling REST API, with 60 seconds idle time between API calls, the session expires after 15 minutes of the first login.
      • Refer JobScheduler - REST Web Service documentation describing

      Desired Behavior

      • The REST API call ./joc/API/jobscheduler/commands should extend the session timeout.

      Workaround

      • For release 1.12.2: Deploy patch-20180426-JOC-416_on_version_1.12.2 in the directory ./joc/patches and restart the JOC
      • For other releases: Call call the API ./joc/api/touch after each rest command.
      • The patch and fix for-416 is only applicable for the API ./joc/API/jobscheduler/commands, if using any other API endpoint, to extend the session timeout, call the API ./joc/api/touch

      Attachments

        Activity

          People

            ur Uwe Risse
            mp Mahendra Patidar
            Mahendra Patidar Mahendra Patidar
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: