Repository: incubator-ariatosca
Updated Branches:
  refs/heads/ARIA-258-Convert-runtime-properties-to-attributes 6baadc0c9 -> 
5f1bfacf4


linting and removed runtime props documentation


Project: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/repo
Commit: 
http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/commit/5f1bfacf
Tree: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/tree/5f1bfacf
Diff: http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/diff/5f1bfacf

Branch: refs/heads/ARIA-258-Convert-runtime-properties-to-attributes
Commit: 5f1bfacf408abe25a1ea4ad01b6eb95fa4e33459
Parents: 6baadc0
Author: max-orlov <[email protected]>
Authored: Wed May 17 15:04:02 2017 +0300
Committer: max-orlov <[email protected]>
Committed: Wed May 17 15:04:02 2017 +0300

----------------------------------------------------------------------
 aria/modeling/service_instance.py | 2 --
 tests/mock/models.py              | 2 +-
 2 files changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/5f1bfacf/aria/modeling/service_instance.py
----------------------------------------------------------------------
diff --git a/aria/modeling/service_instance.py 
b/aria/modeling/service_instance.py
index cf9298b..7058969 100644
--- a/aria/modeling/service_instance.py
+++ b/aria/modeling/service_instance.py
@@ -333,8 +333,6 @@ class NodeBase(InstanceModelMixin):
     :vartype inbound_relationships: [:class:`Relationship`]
     :ivar host: Host node (can be self)
     :vartype host: :class:`Node`
-    :ivar runtime_properties: TODO: should be replaced with attributes
-    :vartype runtime_properties: {}
     :ivar state: The state of the node, according to to the TOSCA-defined node 
states
     :vartype state: string
     :ivar version: Used by `aria.storage.instrumentation`

http://git-wip-us.apache.org/repos/asf/incubator-ariatosca/blob/5f1bfacf/tests/mock/models.py
----------------------------------------------------------------------
diff --git a/tests/mock/models.py b/tests/mock/models.py
index 2ec4b7a..98703d5 100644
--- a/tests/mock/models.py
+++ b/tests/mock/models.py
@@ -120,7 +120,7 @@ def create_node_with_dependencies(include_attribute=False):
     node_template.service_template.services[0] = 
create_service(node_template.service_template)
     node = create_node(node_template, 
node_template.service_template.services[0])
     if include_attribute:
-        node.attributes['attribute1'] = models.Parameter.wrap('attribute1', 
'value1')
+        node.attributes['attribute1'] = models.Parameter.wrap('attribute1', 
'value1')               # pylint: disable=unsubscriptable-object
     return node
 
 

Reply via email to