diff options
author | 2021-08-12 12:00:57 +0100 | |
---|---|---|
committer | 2021-08-17 15:49:12 +0100 | |
commit | 4c52e1a31c1424a954b2a1540117b4fbb443c578 (patch) | |
tree | 6754e3348f469f1321527bf9b9bb91f389eeffb2 /cps-service/src/main/java/org/onap/cps/api/impl/CpsModuleServiceImpl.java | |
parent | 2ff8b7c6c11e56f6104ed529cc858f5fc128ea25 (diff) |
CPS-508: Create anchor/schemaset from new modules and existing modules
Issue-ID: CPS-508
Signed-off-by: shivasubedi <shiva.subedi@est.tech>
Change-Id: I8023a093334b77d0220f7c7d94de66863f5ba6dd
Diffstat (limited to 'cps-service/src/main/java/org/onap/cps/api/impl/CpsModuleServiceImpl.java')
-rw-r--r-- | cps-service/src/main/java/org/onap/cps/api/impl/CpsModuleServiceImpl.java | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/cps-service/src/main/java/org/onap/cps/api/impl/CpsModuleServiceImpl.java b/cps-service/src/main/java/org/onap/cps/api/impl/CpsModuleServiceImpl.java index 34735f848..c65f82781 100644 --- a/cps-service/src/main/java/org/onap/cps/api/impl/CpsModuleServiceImpl.java +++ b/cps-service/src/main/java/org/onap/cps/api/impl/CpsModuleServiceImpl.java @@ -51,6 +51,15 @@ public class CpsModuleServiceImpl implements CpsModuleService { } @Override + public void createSchemaSetFromModules(final String dataspaceName, final String schemaSetName, + final Map<String, String> newYangResourcesModuleNameToContentMap, + final List<ModuleReference> moduleReferenceList) { + cpsModulePersistenceService.storeSchemaSetFromModules(dataspaceName, schemaSetName, + newYangResourcesModuleNameToContentMap, moduleReferenceList); + + } + + @Override public SchemaSet getSchemaSet(final String dataspaceName, final String schemaSetName) { final var yangTextSchemaSourceSet = yangTextSchemaSourceSetCache .get(dataspaceName, schemaSetName); |