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 Thu, 13 Apr 2017 11:38:41 GMT

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

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

Github user ran-z commented on a diff in the pull request:

    https://github.com/apache/incubator-ariatosca/pull/95#discussion_r111368285
  
    --- Diff: aria/orchestrator/workflows/builtin/utils.py ---
    @@ -71,15 +71,13 @@ def relationship_tasks(
             operations.append(
                 OperationTask.for_relationship(relationship=relationship,
                                                interface_name=interface_name,
    -                                           operation_name=source_operation_name,
    -                                           runs_on='source')
    +                                           operation_name=source_operation_name)
             )
         if target_operation_name:
             operations.append(
                 OperationTask.for_relationship(relationship=relationship,
                                                interface_name=interface_name,
    -                                           operation_name=target_operation_name,
    -                                           runs_on='target')
    +                                           operation_name=target_operation_name,)
    --- End diff --
    
    yes i know, I just figured this is not what you wanted to have there :sweat_smile: anyway
i see its fixed, thanks


> 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