Commit c0e1de3e authored by Olof Svensson's avatar Olof Svensson Committed by Wout De Nolf
Browse files

Added "Request ID" to initial workflow info

parent 6c2c2370
Pipeline #55600 passed with stages
in 1 minute and 17 seconds
......@@ -15,10 +15,12 @@ class PyBesWorkflowDbClient(PyMongoWorkflowDbClient, register_name="pybes"):
initiator = os.environ.get("PYPUSHFLOW_INITIATOR", "Unknown")
host = os.environ.get("PYPUSHFLOW_HOST", "Unknown")
port = os.environ.get("PYPUSHFLOW_PORT", "Unknown")
requestId = os.environ.get("PYPUSHFLOW_OBJECTID", "Unknown")
return {
"initiator": initiator,
"host": host,
"port": port,
"Request ID": requestId,
}
def generateWorkflowId(self, oid: Optional[str] = None):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment