Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
Description
-
-
- 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
- WHY
-
-
-
- WHAT
1. endpoint: `management/v1/configurations/pdx`
- WHAT
-
-
-
- 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":
,
"runtimeInfo":
,
"links":
}
]
}
```