-
Story
-
Resolution: Done
-
Medium
-
None
-
None
During registration an object called RestInputCmHandle contains all the information to register new entities in the database.
The object should be extended at the top level with the new optional property (only for the create operation).
Modify docs/openapi/components.yaml RestInputCmHandle to accomodate alternateId (optional)
Modify org/onap/cps/ncmp/api/models/NcmpServiceCmHandle.java class (add new field alternateId)
Extend org.onap.cps.ncmp.api.impl.yangmodels.YangModelCmHandle#toYangModelCmHandle method to accept the new String parameter.
the generated RestInputCmHandle has the new field (unit test for the mapper)
NcmpServiceCmHandle should have the new field (unit test)
Validate toYangModelCmHandle output
A/C:
- RTD is updated: Verify the modified yaml file (contains the new attribute)
- AlternateId can bee seen using DB viewer
Out of scope:
- other operations (delete/update/upgrade)
- modifying Yang model (
CPS-1989)