Cleaned process registry and added process to post runtime processing for post runtime stop signal registration
This commit is contained in:
@@ -22,7 +22,7 @@ def buildPreRuntimeAttr(action, outputs, process):
|
||||
return outputs, resolved, match, filter
|
||||
|
||||
|
||||
def buildRuntimeAttr(action, outputs, resolved, response):
|
||||
def buildRuntimeAttr(action, outputs, resolved, response, process):
|
||||
outputs = responsePolicy(response, action, outputs, resolved)
|
||||
|
||||
#print(f"Response status code: {response.status_code} during {action.name}")
|
||||
@@ -31,7 +31,7 @@ def buildRuntimeAttr(action, outputs, resolved, response):
|
||||
outputs = buildOutput(response, action, outputs)
|
||||
|
||||
if not response.ok:
|
||||
outputs = addStopSignal(action, outputs)
|
||||
outputs = addStopSignal(action, outputs, process)
|
||||
return outputs, response
|
||||
|
||||
resolved = extractItem(action, outputs, resolved)
|
||||
|
||||
Reference in New Issue
Block a user