Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CONF
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
UvA
CONF
Commits
48adea8f
Commit
48adea8f
authored
5 years ago
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debug mesg
parent
2d49359b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
tosca_template_service.py
...flask-server/sure_tosca/service/tosca_template_service.py
+5
-0
No files found.
sure_tosca-flask-server/sure_tosca/service/tosca_template_service.py
View file @
48adea8f
...
@@ -280,8 +280,13 @@ def get_node_outputs(id, node_name):
...
@@ -280,8 +280,13 @@ def get_node_outputs(id, node_name):
matching_outputs
=
{}
matching_outputs
=
{}
matching_output_names
=
[]
matching_output_names
=
[]
tosca_template_dict
=
get_tosca_template_dict_by_id
(
id
)
tosca_template_dict
=
get_tosca_template_dict_by_id
(
id
)
logging
.
info
(
'Got tosca_template_dict: '
+
str
(
tosca_template_dict
))
tosca_template
=
get_tosca_template
(
tosca_template_dict
)
tosca_template
=
get_tosca_template
(
tosca_template_dict
)
logging
.
info
(
'Got tosca_template: '
+
str
(
tosca_template
))
outputs
=
tosca_template
.
topology_template
.
outputs
outputs
=
tosca_template
.
topology_template
.
outputs
logging
.
info
(
'Got outputs: '
+
str
(
outputs
))
if
not
outputs
:
return
None
for
output
in
outputs
:
for
output
in
outputs
:
if
node_name
==
output
.
value
.
node_template_name
:
if
node_name
==
output
.
value
.
node_template_name
:
matching_output_names
.
append
(
output
.
name
)
matching_output_names
.
append
(
output
.
name
)
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
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