diff options
author | Renu Kumari <renu.kumari@bell.ca> | 2022-03-28 10:22:41 -0400 |
---|---|---|
committer | Renu Kumari <renu.kumari@bell.ca> | 2022-04-01 11:55:06 +0000 |
commit | b14f04b6bd92b4dd6e3ed511ef5334db02e0b1ea (patch) | |
tree | a0f999eef091127521903f307511473186bd6841 /cps-ncmp-service/src | |
parent | 73f01b7f9141ddaf6ad4ed69599b2a454e4766fe (diff) |
Update CM-Handle registration response
- update openapi.yml with new response structure
- send only details of failed cm-handle operations
- updated csit to validate 200 status
Issue-ID: CPS-896
Signed-off-by: Renu Kumari <renu.kumari@bell.ca>
Change-Id: I3b868bcc5b8ff488c31faef51edc82c771452234
Diffstat (limited to 'cps-ncmp-service/src')
-rw-r--r-- | cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/models/DmiPluginRegistrationResponse.java | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/models/DmiPluginRegistrationResponse.java b/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/models/DmiPluginRegistrationResponse.java index ce2f3e66aa..8a3d26414a 100644 --- a/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/models/DmiPluginRegistrationResponse.java +++ b/cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/models/DmiPluginRegistrationResponse.java @@ -20,6 +20,7 @@ package org.onap.cps.ncmp.api.models; +import java.util.Collections; import java.util.List; import lombok.Data; import lombok.NoArgsConstructor; @@ -27,7 +28,7 @@ import lombok.NoArgsConstructor; @Data @NoArgsConstructor public class DmiPluginRegistrationResponse { - private List<CmHandleRegistrationResponse> createdCmHandles; - private List<CmHandleRegistrationResponse> updatedCmHandles; - private List<CmHandleRegistrationResponse> removedCmHandles; + private List<CmHandleRegistrationResponse> createdCmHandles = Collections.emptyList(); + private List<CmHandleRegistrationResponse> updatedCmHandles = Collections.emptyList(); + private List<CmHandleRegistrationResponse> removedCmHandles = Collections.emptyList(); }
\ No newline at end of file |