Overview :
This use story will update the existing solution for storing model/modules:
- For PoC the module_set table above will not be used. Instead a ‘modules’ table which will contain the complete source for each module including columns for namespace and revision will be used.
- (update) Rest Endpoint org.onap.cps.rest.controller.RestController#uploadYangModelFile
- add dataspace parameter
- follow new API structure
- (update) implementation in CPService
- (update) implementation in Persistence Service using 'new' schema
Diagram :
Diagram depicting the schema to be used for PoC is attached below :