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-92) Execution plugin operations default mappings
Date Wed, 05 Apr 2017 15:48:42 GMT

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

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

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

    https://github.com/apache/incubator-ariatosca/pull/95#discussion_r109944668
  
    --- Diff: aria/modeling/orchestration.py ---
    @@ -258,29 +290,17 @@ def execution(cls):
         def inputs(cls):
             return relationship.many_to_many(cls, 'parameter', prefix='inputs', dict_key='name')
     
    -    status = Column(Enum(*STATES, name='status'), default=PENDING)
    -
    -    due_at = Column(DateTime, nullable=False, index=True, default=datetime.utcnow())
    -    started_at = Column(DateTime, default=None)
    -    ended_at = Column(DateTime, default=None)
    +    implementation = Column(String)
         max_attempts = Column(Integer, default=1)
    -    retry_count = Column(Integer, default=0)
         retry_interval = Column(Float, default=0)
         ignore_failure = Column(Boolean, default=False)
    +    due_at = Column(DateTime, nullable=False, index=True, default=datetime.utcnow())
    --- End diff --
    
    Does `due_at` ever change after creation? I guess you're implying that it does...


> Execution plugin operations default mappings
> --------------------------------------------
>
>                 Key: ARIA-92
>                 URL: https://issues.apache.org/jira/browse/ARIA-92
>             Project: AriaTosca
>          Issue Type: Story
>            Reporter: Ran Ziv
>            Assignee: Tal Liron
>
> The execution plugin serves as the default plugin, i.e. if no other plugin was specified,
it'll be used to execute scripts in operations.
> These scripts will currently only execute locally. The execution plugin also supports
running scripts on remote machines (via SSH).
> One option is to have the parser recognize whether the node in question is contained
inside a host node, in which case the script should be executed remotely (by default, yet
overridable by specifying the full plugin operation mapping), and if not then it should be
executed locally.
> Another option is to have the user specify it using special syntax, e.g.:
> "local > script.sh" and "remote > script.sh"



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

Mime
View raw message