Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Melodic
morphemic-preprocessor
Commits
84d64f46
Commit
84d64f46
authored
Jul 12, 2021
by
Mohamed Khalil Labidi
Browse files
Merge branch 'ip-collect' into 'proactive-dev'
Fix ip addresses collection for env vars preparation See merge request
!115
parents
18b3dd54
3a13dc59
Changes
1
Hide whitespace changes
Inline
Side-by-side
scheduling-abstraction-layer/src/main/java/org/activeeon/morphemic/PAGateway.java
View file @
84d64f46
...
...
@@ -1439,6 +1439,8 @@ public class PAGateway {
}
}
else
if
(!
task
.
getParentTasks
().
isEmpty
())
{
prepareInfraTask
=
PAFactory
.
createBashScriptTaskFromFile
(
taskName
,
"prepare_infra_script.sh"
);
prepareInfraTask
.
setPostScript
(
PAFactory
.
createSimpleScript
(
Utils
.
getContentWithFileName
(
"collect_ip_addr_results.groovy"
),
"groovy"
));
//TODO: Taking into consideration multiple parent tasks with multiple communications
taskVariablesMap
.
put
(
"requestedPortName"
,
new
TaskVariable
(
"requestedPortName"
,
job
.
findTask
(
task
.
getParentTasks
().
get
(
0
)).
getPortsToOpen
().
get
(
0
).
getRequestedName
()));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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