You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@knox.apache.org by "J.Andreina (JIRA)" <ji...@apache.org> on 2015/01/23 12:43:35 UTC

[jira] [Updated] (KNOX-490) Listing and Deletion of Alias from an invalid Cluster name , returns successful message to the user .

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

J.Andreina updated KNOX-490:
----------------------------
    Attachment: KNOX-490.1.patch

Attached a patch along with few positive and negative testcases.

Please review the same.

> Listing and Deletion of Alias from an invalid Cluster name , returns successful message to the user .
> -----------------------------------------------------------------------------------------------------
>
>                 Key: KNOX-490
>                 URL: https://issues.apache.org/jira/browse/KNOX-490
>             Project: Apache Knox
>          Issue Type: Bug
>          Components: KnoxCLI
>            Reporter: J.Andreina
>         Attachments: KNOX-490.1.patch
>
>
> Listing and Deletion of Alias from an invalid Cluster name , returns successful message to the user .
> Scenario1 :
> =========
> Step 1: Created Alias "alias1" in cluster "cluster1"
> Step 2:  Deleted Alias "alias1" from cluster "cluster2"  (cluster2 does not have alias1)
> {noformat}
> omm@XXXXXXXX:/home/Knox/knox-0.6.0-SNAPSHOT/bin> ./knoxcli.sh delete-alias alias1 --cluster cluster2
> alias1 has been successfully deleted.
> {noformat}
> Scenario 2:
> =========
> Step 1: Created Alias "alias1" in cluster "cluster1"
> Step 2:  Listed Alias "cluster2"  (which is not available)
> {noformat}
> omm@XXXXXXXX:/home/Knox/knox-0.6.0-SNAPSHOT/bin> ./knoxcli.sh list-alias --cluster cluster2
> Listing aliases for: cluster2
> 0 items.
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)