Open adamczykba opened 5 years ago
I already commented on this here: https://github.com/servicecatalog/oscm-rest-api/issues/164 The implementation of saveConfigurationSetting method from OperatorServiceBean class in the oscm repository and the ConfigurationKey class from oscm-interfaces need refactoring in order to make the POST endpoint work correctly.
I edited the task name.
Describe the bug POST endpoint in SettingsResource aside from creating new records also overwrites existing ones. There should be some check for duplicates.
To Reproduce Steps to reproduce the behavior:
Expected behavior POST endpoint should only create new records. It should not be able to update them.
Observed behavior SettingsResource#POST request overwrites existing settings records
Screenshots N/A
Additional context N/A