You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Ernest Burghardt (Jira)" <ji...@apache.org> on 2020/03/30 23:33:06 UTC
[jira] [Closed] (GEODE-7409) Ability: get latest PDX configuration
of cluster in REST API for Management
[ https://issues.apache.org/jira/browse/GEODE-7409?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ernest Burghardt closed GEODE-7409.
-----------------------------------
Assignee: Ernest Burghardt
> Ability: get latest PDX configuration of cluster in REST API for Management
> ----------------------------------------------------------------------------
>
> Key: GEODE-7409
> URL: https://issues.apache.org/jira/browse/GEODE-7409
> Project: Geode
> Issue Type: New Feature
> Components: management, rest (admin)
> Reporter: Gang Yan
> Assignee: Ernest Burghardt
> Priority: Major
> Fix For: 1.12.0
>
> Time Spent: 2h 10m
> Remaining Estimate: 0h
>
> ### WHY
> 1. need to show the latest PDX configuration to customer for check and validation
> 1. need to know the latest PDX configuration, as an input for next updates
> ### WHAT
> 1. endpoint: `management/v1/configurations/pdx`
> ### Acceptance Criteria
> - Scenario: show default config, configuration equals to runtimeInfo
> - Scenario: show latest config, configuration does **NOT** equal to runtimeInfo
> ```gherkin
> Scenario: show default config, configuration equals to runtimeInfo
> Given REST API for Management is turned on on a cluster
> AND A&A
> AND a customer has permission of `CLUSTER:READ`
> When the customer run [get] `management/v1/configurations/pdx`
> Then he can find the latest configuration
> ```
> ```gherkin
> Scenario: show latest config, configuration does **NOT** equal to runtimeInfo
> Given REST API for Management is turned on on a cluster
> AND A&A
> AND a customer has permission of `CLUSTER:READ`
> When the customer run [get] `management/v1/configurations/pdx`
> Then he can find the latest configuration, even it does not equals to runtimeInfo
> ```
> **Notes:**
> 1. response body:
> ```JSON
> {
> "statusCode": "OK",
> "result": [
> {
> "configuration": {
> "diskStoreName": "name1",
> "ignoreUnreadFields": true,
> "pdxSerializer": "fullpath.className1",
> "persistent": true,
> "readSerialized": true
> },
> "runtimeInfo": {
> "diskStoreName": "name2",
> "ignoreUnreadFields": true,
> "pdxSerializer": "fullpath.className2",
> "persistent": true,
> "readSerialized": true
> },
> "links": {
> "self": "http://127.0.0.1:7070/management/v1/configurations/pdx"
> }
> }
> ]
> }
> ```
--
This message was sent by Atlassian Jira
(v8.3.4#803005)