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
535d96b9
Commit
535d96b9
authored
Sep 21, 2020
by
Spiros Koulouzis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
changed log level
parent
b40b08cf
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
__main__.py
planner/__main__.py
+1
-1
planner.py
planner/planner/planner.py
+1
-1
No files found.
planner/__main__.py
View file @
535d96b9
...
@@ -137,7 +137,7 @@ if __name__ == "__main__":
...
@@ -137,7 +137,7 @@ if __name__ == "__main__":
test_tosca_template
=
test_planner
.
resolve_requirements
()
test_tosca_template
=
test_planner
.
resolve_requirements
()
test_tosca_template
=
test_planner
.
set_node_templates_properties
()
test_tosca_template
=
test_planner
.
set_node_templates_properties
()
template_dict
=
tosca_helper
.
get_tosca_template_2_topology_template_dictionary
(
test_tosca_template
)
template_dict
=
tosca_helper
.
get_tosca_template_2_topology_template_dictionary
(
test_tosca_template
)
logger
.
info
(
"template ----:
\n
"
+
yaml
.
dump
(
template_dict
))
logger
.
debug
(
"template ----:
\n
"
+
yaml
.
dump
(
template_dict
))
ToscaTemplate
(
yaml_dict_tpl
=
copy
.
deepcopy
(
template_dict
))
ToscaTemplate
(
yaml_dict_tpl
=
copy
.
deepcopy
(
template_dict
))
...
...
planner/planner/planner.py
View file @
535d96b9
...
@@ -11,7 +11,7 @@ from service.simple_spec_alayzer import SimpleAnalyzer
...
@@ -11,7 +11,7 @@ from service.simple_spec_alayzer import SimpleAnalyzer
from
util
import
tosca_helper
from
util
import
tosca_helper
logger
=
logging
.
getLogger
(
__name__
)
logger
=
logging
.
getLogger
(
__name__
)
logger
.
setLevel
(
logging
.
DEBUG
)
logger
.
setLevel
(
logging
.
INFO
)
def
add_requirement
(
node
,
missing_requirement
,
capable_node_name
):
def
add_requirement
(
node
,
missing_requirement
,
capable_node_name
):
...
...
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