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

Gang Yan updated GEODE-7485:
----------------------------
    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


  was:
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."

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



> can not get index with "." in name by REST API for Management 
> --------------------------------------------------------------
>
>                 Key: GEODE-7485
>                 URL: https://issues.apache.org/jira/browse/GEODE-7485
>             Project: Geode
>          Issue Type: Bug
>          Components: management, rest (admin)
>            Reporter: Gang Yan
>            Assignee: Dale Emery
>            Priority: Major
>
> 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



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to