Uploaded image for project: 'Geode'
  1. Geode
  2. GEODE-7485

can not get index with "." in name by REST API for Management

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 1.12.0
    • Component/s: management, rest (admin)
    • Labels:
      None

      Description

      precondition:
      1. there is a region named "Foo6" in cluster
      2. RESTAPI for Management is on.

      steps to reproduce
      1. create index by GFSH, with a "." in index name, such as "Foo6.name2"
      2. get all the indexes by REST API for Management, [GET]'/management/v1/indexes'
      3. in the response of [GET]'/management/v1/indexes', a index named "Foo6.name2" will be found in the index list
      4. and there is a "self" link in the links part of "Foo6.name2", it will be "http://localhost:7070/management/v1/regions/Foo6/indexes/Foo6.name2"
      5. and then , when you click on this link, you will get an error response: "Index 'Foo6' does not exist."

      expected result:
      1. can get a index by click that link.

      possible cause:
      1. maybe RESTAPI for Management can not deal with "." as index name

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                demery Dale Emery
                Reporter:
                gyan Gang Yan
              • Votes:
                0 Vote for this issue
                Watchers:
                2 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 - 40m
                  40m