-
Story
-
Resolution: Done
-
Medium
-
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
- 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!
- 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
1.
|
Create a method to retrieve yang resources based on module name and revision | Closed | shivasubedi |