Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
workflow
pypushflow
Commits
a01e888c
Commit
a01e888c
authored
Sep 29, 2021
by
Wout De Nolf
Browse files
Merge branch 'fixes_olof' into 'main'
Fixes olof See merge request
!19
parents
a7a6e67d
c0e1de3e
Pipeline
#55737
passed with stages
in 1 minute and 1 second
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
pypushflow/AbstractActor.py
View file @
a01e888c
...
...
@@ -79,7 +79,7 @@ class AbstractActor(ThreadCountingActor):
return
self
.
started
def
setStarted
(
self
):
logger
.
debug
(
"Setting
finish
ed of {0} to True"
.
format
(
self
.
name
))
logger
.
debug
(
"Setting
start
ed of {0} to True"
.
format
(
self
.
name
))
self
.
started
=
True
def
hasFinished
(
self
):
...
...
pypushflow/persistence/pybes.py
View file @
a01e888c
...
...
@@ -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
):
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment