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

getUserTokens api should return all tokens which are matching either of the same metadata name passed as query param

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.0
    • 2.0.0
    • None
    • None

    Description

      Steps:
      1. Create token1 with md_Name=reina&md_Score=50
      2. Create token2 with md_Name=mary&md_Score=100
      3. Create token3 with md_Name=mary&md_Score=20&md_Grade=A

      Scenario 1:
      Fetch token with "md_Name=mary&md_Score=100"
      Result : returns token2 and token3

      Scenario 2:
      Fetch token with "md_Name=mary&md_Name=reina"
      Result : return token2 and token3

      Expectation:
      if the api returns all matching tokens of any of the mentioned metadata in query param , then i would expect scenario2 to return me token1,2,3 though the passed metadata name in query param ("Name") is same but with different values. But here it doesnt return token1

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 0.5h
                  0.5h