Stopped passing process into execution contract and action
This commit is contained in:
@@ -2,7 +2,6 @@ import json
|
||||
import logging
|
||||
|
||||
from core.runtime.outputs import buildOutput
|
||||
from core.execution.executioncontract import executeContract
|
||||
from core.runtime.firewall import buildFirewall
|
||||
|
||||
|
||||
@@ -32,11 +31,13 @@ def buildListener(listener, self):
|
||||
allow, status_code = buildFirewall(listener, outputs)
|
||||
|
||||
if allow:
|
||||
from core.execution.executioncontract import executeContract
|
||||
|
||||
#Print allowed items for logging purposes
|
||||
logging.info(outputs["firewall_allowed"])
|
||||
|
||||
#Process and forward to RMASS
|
||||
responses = executeContract(listener.execute, outputs, None)
|
||||
responses = executeContract(listener.execute, outputs)
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user