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-105) Integrate new models into parser
Date Mon, 13 Mar 2017 13:14:41 GMT

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

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

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

    https://github.com/apache/incubator-ariatosca/pull/72#discussion_r105643914
  
    --- Diff: aria/modeling/service.py ---
    @@ -91,20 +115,16 @@ def operations(cls):
             return cls.one_to_many_relationship('operation', dict_key='name')
     
         @declared_attr
    -    def service_template(cls):
    -        return cls.many_to_one_relationship('service_template')
    -
    -    # region orchestration
    +    def plugins(cls):
    +        return cls.many_to_many_relationship('plugin')
     
         created_at = Column(DateTime, nullable=False, index=True)
         updated_at = Column(DateTime)
    +
    +    # region orchestration
    +
         permalink = Column(Text)
         scaling_groups = Column(modeling_types.Dict)
    -    workflows = Column(modeling_types.Dict)
    -
    -    @declared_attr
    -    def service_template_name(cls):
    --- End diff --
    
    Why?


> Integrate new models into parser
> --------------------------------
>
>                 Key: ARIA-105
>                 URL: https://issues.apache.org/jira/browse/ARIA-105
>             Project: AriaTosca
>          Issue Type: Task
>            Reporter: Ran Ziv
>            Assignee: Tal Liron
>




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

Mime
View raw message