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"): ...@@ -15,10 +15,12 @@ class PyBesWorkflowDbClient(PyMongoWorkflowDbClient, register_name="pybes"):
initiator = os.environ.get("PYPUSHFLOW_INITIATOR", "Unknown") initiator = os.environ.get("PYPUSHFLOW_INITIATOR", "Unknown")
host = os.environ.get("PYPUSHFLOW_HOST", "Unknown") host = os.environ.get("PYPUSHFLOW_HOST", "Unknown")
port = os.environ.get("PYPUSHFLOW_PORT", "Unknown") port = os.environ.get("PYPUSHFLOW_PORT", "Unknown")
requestId = os.environ.get("PYPUSHFLOW_OBJECTID", "Unknown")
return { return {
"initiator": initiator, "initiator": initiator,
"host": host, "host": host,
"port": port, "port": port,
"Request ID": requestId,
} }
def generateWorkflowId(self, oid: Optional[str] = None): def generateWorkflowId(self, oid: Optional[str] = None):
Supports Markdown
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