-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: handle case where BatchGetJobEntity returns no jobRunAsUser (#293)
Problem: The jobRunAsUser response field of the JobDetailsEntity structure within a BatchGetJobEntity request is an optional field. This Worker Agent currently treats it as a required field; resulting in failed Sessions when the field is absent. Solution: Handle the case of missing the jobRunAsUser field in the response. It is a service invariant that this field is always be present when the Worker is within a CMF. When the Worker is running within an SMF, then the field may be optional; but, further, in this case the Agent will always be running with a local jobRunAsUser override. We fail Sessions when this invariant is violated. Signed-off-by: Daniel Neilson <[email protected]>
- Loading branch information
Showing
7 changed files
with
320 additions
and
233 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.