Details
-
Feature
-
Status: Dismissed (View Workflow)
-
Minor
-
Resolution: Won't Fix
-
2.8.4
-
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
- is related to
-
JOC-2265 The end of a session should not break already running asynchronous processes
-
- Released
-