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

Create anchor/schemaset from new modules and existing modules

XMLWordPrintable

    • Icon: Story Story
    • Resolution: Done
    • Icon: Medium Medium
    • Istanbul Release
    • None
    • None

      This needs some serious thinking current CPS only support creating a schema set by uploading the complete set of all yang resources (as a zip file)!!!

      this user story would need a special (java api) method that allows sending only part of the schema-set.

      Issues

      1.  How does NCMP know about already stored resources that it didn't get? Answer: remember the list of all resource that was used to calculate the differences and this list needs to be part of the api call!
      2. Name of the schema-set ? (based on) cm handle id?)

      Alternative 1

      • Only change service layer: combine new module sources with existing sources (retrieve those using persistence layer) and use existing method(s) to store complete schema-set
        The service layer allows for reusable method for the future

      Alternative 2

      • Update persistence layer to combine list of existing yang resources (reference only) with new yang resource files

      A/C
      Document implementation proposal and share with the team
      DB test to be able to build a schema context from the stored schema set
      The name of the schema set and anchor is identical to the cm handle id
      No rest endpoint is needed as the request is from NCMP
      Define integration tests

            shivasubedi shivasubedi
            ToineSiebelink Toine Siebelink
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: