You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ariatosca.apache.org by "Ran Ziv (JIRA)" <ji...@apache.org> on 2017/05/08 11:01:04 UTC

[jira] [Updated] (ARIA-218) Add higher-level "Install" and "Uninstall" commands in CLI

     [ https://issues.apache.org/jira/browse/ARIA-218?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ran Ziv updated ARIA-218:
-------------------------
    Description: 
Add higher-level commands in CLI which allow for storing a service-template, creating a service, and executing the {{install}} workflow all in a single command - as well as the opposite process.
This will simplify the standard working process with the CLI.

Basically, the suggestion is to add two new commands, {{install}} and {{uninstall}}, which will be the equivalent of the consecutive execution of several other commands, like so:

{{aria install my-template.yaml my-template-name}}
Translates into:
{code}
aria service-templates store my-template.yaml my-template-name
aria services create -t my-template-name
aria executions start install -s my-template-name_1
{code}

{{aria uninstall my-template-name}}
Translates into:
{code}
aria executions start uninstall -s my-template-name_1
aria services delete my-template-name_1
aria service-templates delete my-template-name
{code}


The commands should also support the various flags that might be necessary (e.g. supplying inputs, service name, etc.)

  was:
Add higher-level commands in CLI which allow for storing a service-template, creating a service, and executing the {{install}} workflow all in a single command - as well as the opposite process.
This will simplify the standard working process with the CLI.

Basically, the suggestion is to add two new commands, {{install}} and {{uninstall}}, which will be the equivalent of the consecutive execution of several other commands, like so:

{{aria install my-template.yaml my-template-name}}
Translates into:
{code}
aria service-templates store my-template.yaml my-template-name
aria services create -t my-template-name
aria executions start install -s my-template-name_1
{code}

{{aria uninstall my-template-name}}
Translates into:
{code}
aria executions start uninstall -s my-template-name_1
aria services delete my-template-name_1
aria service-templates delete my-template-name
{code}



> Add higher-level "Install" and "Uninstall" commands in CLI
> ----------------------------------------------------------
>
>                 Key: ARIA-218
>                 URL: https://issues.apache.org/jira/browse/ARIA-218
>             Project: AriaTosca
>          Issue Type: Story
>            Reporter: Ran Ziv
>            Priority: Trivial
>
> Add higher-level commands in CLI which allow for storing a service-template, creating a service, and executing the {{install}} workflow all in a single command - as well as the opposite process.
> This will simplify the standard working process with the CLI.
> Basically, the suggestion is to add two new commands, {{install}} and {{uninstall}}, which will be the equivalent of the consecutive execution of several other commands, like so:
> {{aria install my-template.yaml my-template-name}}
> Translates into:
> {code}
> aria service-templates store my-template.yaml my-template-name
> aria services create -t my-template-name
> aria executions start install -s my-template-name_1
> {code}
> {{aria uninstall my-template-name}}
> Translates into:
> {code}
> aria executions start uninstall -s my-template-name_1
> aria services delete my-template-name_1
> aria service-templates delete my-template-name
> {code}
> The commands should also support the various flags that might be necessary (e.g. supplying inputs, service name, etc.)



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