Uploaded image for project: 'Configuration Persistence Service'
  1. Configuration Persistence Service
  2. CPS-2105

NCMP to provide support for data producer identifier during registration

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • None
    • None
    • NCMP

      Study

      • 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:

      1. The DB view will show the  dataProducerIdentifier  
      2. get CM Handle (Rest endpoint) wil include the dataProducerIdentifier
      3. Swagger UI Documentation contains explanation about dataProducerIdentifier  
      4. Update attempt of non-blank dataProducerIdentifier will be ignored but visible as warning in logs (other properties might be updated)
      5. Demo above

       

       

       

       

            JvD_Ericsson JEFF VAN DAM
            JvD_Ericsson JEFF VAN DAM
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: