Uploaded image for project: 'JITL - JS7 Integration Templates'
  1. JITL - JS7 Integration Templates
  2. JITL-764

Add new property "logout_delay" to the JS7RESTClientJob to postpone immediate logout after the response of the desired api call is received

    XMLWordPrintable

Details

    • Feature
    • Status: Dismissed (View Workflow)
    • Minor
    • Resolution: Won't Fix
    • 2.8.4
    • 2.8.5
    • None

    Description

      Current Situation
      Currently when calling asynchronous JOC APIs (e.g. /inventory/release) with the JS7RestClientJob the JITL Job calls the ApiExecutors logout method immediately after a response of the desired api call is received. This provides the security that any used session is invalidated and cannot be reused when the desired api call is finished. Due to the asynchronous nature of some of JOCs API calls not all of the asynchronous background task may be finished in time when the session is invalidated and may subsequently fail.

      Desired Behavior
      A new JobArgument "logout_delay" should be introduced for customers to be able to configure a delay before the ApiExecutors logout method is called. This provides a means to postpone the immediate logout for a configurable time which raises the chance for asynchronous background task to finish in time before the session in use is invalidated.

      Maintainer Notes
      The issue is dismissed as the solution comes from JOC-2265 and does not require changes to the JS7RESTClientJob.

      Attachments

        Issue Links

          Activity

            People

              karuna-pawar Karuna Pawar
              sp Santiago Aucejo Petzoldt
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: