From c309f24909510ebd11737efc3eadb055c91e304e Mon Sep 17 00:00:00 2001 From: niamhcore Date: Tue, 7 Sep 2021 10:27:18 +0100 Subject: P2 - Get module names and revisions rest layer Issue-ID: CPS-485 Signed-off-by: niamhcore Change-Id: I1bcf45902207d0dba6b5dfe8277cb06571694db3 --- .../java/org/onap/cps/spi/impl/CpsModulePersistenceServiceImpl.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cps-ri/src/main/java') diff --git a/cps-ri/src/main/java/org/onap/cps/spi/impl/CpsModulePersistenceServiceImpl.java b/cps-ri/src/main/java/org/onap/cps/spi/impl/CpsModulePersistenceServiceImpl.java index d7b882f6ee..e0f54265ab 100755 --- a/cps-ri/src/main/java/org/onap/cps/spi/impl/CpsModulePersistenceServiceImpl.java +++ b/cps-ri/src/main/java/org/onap/cps/spi/impl/CpsModulePersistenceServiceImpl.java @@ -116,7 +116,7 @@ public class CpsModulePersistenceServiceImpl implements CpsModulePersistenceServ } @Override - public Collection getAllYangResourceModuleReferences(final String dataspaceName) { + public Collection getYangResourceModuleReferences(final String dataspaceName) { final Set yangResourceModuleReferenceList = yangResourceRepository.findAllModuleReferences(dataspaceName); return yangResourceModuleReferenceList.stream().map(CpsModulePersistenceServiceImpl::toModuleReference) @@ -124,7 +124,7 @@ public class CpsModulePersistenceServiceImpl implements CpsModulePersistenceServ } @Override - public Collection getAllYangResourceModuleReferences(final String dataspaceName, + public Collection getYangResourceModuleReferences(final String dataspaceName, final String anchorName) { final Set yangResourceModuleReferenceList = yangResourceRepository -- cgit 1.2.3-korg