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

CM Handle State: define and agree new dmi-registry yang model supporting States

    XMLWordPrintable

Details

    • Story
    • Status: Closed
    • Medium
    • Resolution: Done
    • None
    • Jakarta Release
    • None

    Description

      NCMP should be able to handle a large (10,000s!) batch of registrations at once. To make this possible we need to 

      1. Create updated DMI Registry Yang Schema (using @yyyy-mm-dd) in changelog/db/changes/data/yang-models/dmi-registry @ 2021-12-13.yang to store Handle State
        see also [https://wiki.onap.org/display/DW/CPS-677+Support+%27public%27+Cm+Handle+Properties#CPS677Support'public'CmHandleProperties-December2021YangModelforPublicPropertiesSupport
      2. Add State, LockReason and LockReasonDetails as (Yang)Strings to the schema. Any validation or enum-limitations can be handled in the Java code.
      3. consider timestamp for retry and timeout related scenarios as part of same schema update to reduce overhead of Liquibase changesets
      4. Test/demo using CPS-Core 
        1. Can create anchor with new schema
        2. Can add and create data 

      A/C

      1. Propose and agree new model (as draft commit) with team and stakeholders
      2. Demo 
        1. Can create anchor using new model
        2. Can add data for new model
        3. Can query data using file based on state
      3. Agree new name for dataspace. Replace Admin dataspace?
      4. Describe impacts to codebase

      Out of Scope:

      1. No Code changes!
      2. No CSIT Test

      Attachments

        Issue Links

          No reviews matched the request. Check your Options in the drop-down menu of this sections header.

          Activity

            People

              lukegleeson Luke Gleeson
              ToineSiebelink Toine Siebelink
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: