Gang Yan created GEODE-7409:
-------------------------------
Summary: 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
### 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
```gherkin
Scenario: show latest config, configuration equals to runtimeInfo
Given
When
Then
```
```gherkin
Scenario: show latest config, configuration does **NOT** equal to runtimeInfo
Given a cluster is
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)