GitLab will be upgraded on June 23rd evening. During the upgrade the service will be unavailable, sorry for the inconvenience.

Commit 4a49d864 authored by Operator for ID30's avatar Operator for ID30

Changed 'CREATOR' to 'INITIATOR', 'HOST' and 'PORT'

parent 9aaa0d77
......@@ -42,11 +42,15 @@ def initMongo(name):
workflowId = None
mongoUrl = getMongoUrl()
if mongoUrl is not None:
creator = os.environ.get('PYPUSHFLOW_CREATOR', 'Unknown')
initiator = os.environ.get('PYPUSHFLOW_INITIATOR', 'Unknown')
host = os.environ.get('PYPUSHFLOW_HOST', 'Unknown')
port = os.environ.get('PYPUSHFLOW_PORT', 'Unknown')
collection = pymongo.MongoClient(mongoUrl).pybes.pybes
workflowData = {
'startTime': getDateTimeString(),
'creator': creator,
'initiator': initiator,
'host': host,
'port': port,
'name': name,
'status': 'started',
'actors': []
......
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