Uploaded image for project: 'Apache Knox'
  1. Apache Knox
  2. KNOX-490

Listing and Deletion of Alias from an invalid Cluster name, returns successful message to the user.

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • None
    • KnoxCLI
    • None

    Description

      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)

      omm@XXXXXXXX:/home/Knox/knox-0.6.0-SNAPSHOT/bin> ./knoxcli.sh delete-alias alias1 --cluster cluster2
      alias1 has been successfully deleted.
      

      Scenario 2:
      =========
      Step 1: Created Alias "alias1" in cluster "cluster1"
      Step 2: Listed Alias "cluster2" (which is not available)

      omm@XXXXXXXX:/home/Knox/knox-0.6.0-SNAPSHOT/bin> ./knoxcli.sh list-alias --cluster cluster2
      Listing aliases for: cluster2
      
      0 items.
      

      Attachments

        1. KNOX-490.1.patch
          6 kB
          J.Andreina
        2. KNOX-490.2.patch
          6 kB
          Kevin Minder

        Activity

          People

            andreina J.Andreina
            andreina J.Andreina
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: