You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Jinmei Liao (Jira)" <ji...@apache.org> on 2020/02/05 00:24:00 UTC

[jira] [Resolved] (GEODE-7424) Ability: can create index in RESTAPI for Management

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

Jinmei Liao resolved GEODE-7424.
--------------------------------
    Fix Version/s: 1.12.0
       Resolution: Fixed

> Ability: can create index in RESTAPI for Management
> ---------------------------------------------------
>
>                 Key: GEODE-7424
>                 URL: https://issues.apache.org/jira/browse/GEODE-7424
>             Project: Geode
>          Issue Type: New Feature
>          Components: management, rest (admin)
>            Reporter: Gang Yan
>            Priority: Major
>             Fix For: 1.12.0
>
>          Time Spent: 50m
>  Remaining Estimate: 0h
>
> # WHAT
>   1. endpoint: [POST] `management/v1/indexes`
>   1. parameter:  "name(indexID)",  "expression", "region", "type",  "group"
>   1. expected result: create index by specified parameters
>   1. type: default is "range"
>   1. region is required
>   1. name(indexID) is required
>   1. expression is required
>   1. "hash" type is not supported.
> ### Note
> 1.  request body
> ```JSON
> {
>             "name": "Foo6name3",
>             "expression": "name3",
>             "regionPath": "/Foo6",
>              “group”:“”,
>              “type”:“” range|key
>         }
> ```



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