ariatosca-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ARIA-134) Service.workflows field is not populated
Date Wed, 05 Apr 2017 15:58:41 GMT

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

ASF GitHub Bot commented on ARIA-134:
-------------------------------------

Github user tliron commented on a diff in the pull request:

    https://github.com/apache/incubator-ariatosca/pull/91#discussion_r109956337
  
    --- Diff: extensions/aria_extension_tosca/simple_v1_0/modeling/__init__.py ---
    @@ -85,9 +85,14 @@ def create_service_template_model(context): # pylint: disable=too-many-locals,to
         policies = context.presentation.get('service_template', 'topology_template', 'policies')
         if policies:
             for policy in policies.itervalues():
    -            if model.policy_types.get_descendant(policy.type).role == 'plugin':
    +            role = model.policy_types.get_descendant(policy.type).role
    --- End diff --
    
    *All* the policies are added in line 115, below. Well, I think we *have* to add all of
them because they are there in the TOSCA service template. The fact that ARIA recognizes some
special roles doesn't mean they aren't policies, still.


> Service.workflows field is not populated
> ----------------------------------------
>
>                 Key: ARIA-134
>                 URL: https://issues.apache.org/jira/browse/ARIA-134
>             Project: AriaTosca
>          Issue Type: Bug
>            Reporter: Ran Ziv
>            Assignee: Tal Liron
>
> Service.workflows field is not populated
> It should be populated with policies whose role is set to Workflow



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

Mime
View raw message