You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ariatosca.apache.org by "ASF subversion and git services (JIRA)" <ji...@apache.org> on 2017/05/15 21:11:04 UTC

[jira] [Commented] (ARIA-171) Service_template.services type inconsistency

    [ https://issues.apache.org/jira/browse/ARIA-171?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16011333#comment-16011333 ] 

ASF subversion and git services commented on ARIA-171:
------------------------------------------------------

Commit 24d693d762e4a56d6bf16d8c29d76c1f2909098d in incubator-ariatosca's branch refs/heads/master from [~avia]
[ https://git-wip-us.apache.org/repos/asf?p=incubator-ariatosca.git;h=24d693d ]

ARIA-171 service_template.services type inconsistency

As opposed to service_template.node_templates and service.nodes
which have a dict interface, service_template.services
had a list interface. That seemed inconsistent, so the former
interface was changed to a dict interface as well.


> Service_template.services type inconsistency
> --------------------------------------------
>
>                 Key: ARIA-171
>                 URL: https://issues.apache.org/jira/browse/ARIA-171
>             Project: AriaTosca
>          Issue Type: Bug
>            Reporter: Ran Ziv
>            Assignee: Avia Efrat
>
> {{service_template.services}} is an object of type {{InstrumentedList}}, which is inconsistent with similar forms of model access (e.g. {{service.nodes}}).
> The object's type should instead be a {{MappedCollection}} from the service name to the service model object.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)