-
Story
-
Resolution: Done
-
Medium
-
None
-
None
- During registration of a cmHandle the optional parameter dataProducerIdentifier can be specified
- Can be registered with no dataProducerIdentifier and be updated later (once)
- No validation on the entered string
How:
- Modify docs/openapi/components.yaml#RestInputCmHandle to include dataProducerIdentifier
- Modify org/onap/cps/ncmp/api/models/NcmpServiceCmHandle.java to include dataProducerIdentifier
- Modify cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/yangmodels/YangModelCmHandle.java to include dataProducerIdentifier
- Logic in cps-ncmp-service/src/main/java/org/onap/cps/ncmp/api/impl/NetworkCmProxyDataServicePropertyHandler.java to support updating dataProducerIdentifier and logging errors
- Modify DMI Registry Model to include dataProducerIdentifier
A/C:
- The DB view will show the dataProducerIdentifier
- get CM Handle (Rest endpoint) wil include the dataProducerIdentifier
- Swagger UI Documentation contains explanation about dataProducerIdentifier
- Update attempt of non-blank dataProducerIdentifier will be ignored but visible as warning in logs (other properties might be updated)
- Demo above