Performance Improvement: Insert Yang Resources 53/130353/6
authorToineSiebelink <toine.siebelink@est.tech>
Thu, 18 Aug 2022 12:15:22 +0000 (13:15 +0100)
committerToineSiebelink <toine.siebelink@est.tech>
Mon, 22 Aug 2022 12:25:26 +0000 (13:25 +0100)
commita6633c02eefedcf85639c7d756661f3e756c6634
tree03880652b66e8048a89019296a3b95d220d385c9
parent06dc882a49e6754f68ff626f246cfbe3136305af
Performance Improvement: Insert Yang Resources

Insert batches of yang resources for a schema set into one operation
add batch-sized tests to ensure batch-size logic is covered for all branches
fixed legacy issues in changed test classes

Issue-ID: CPS-1208
Issue-ID: CPS-1126

Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Change-Id: I5b2a54ed0895999079975d777ba89d589ed4688b
cps-ri/src/main/java/org/onap/cps/spi/repository/SchemaSetYangResourceRepositoryImpl.java
cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsModulePersistenceServiceIntegrationSpec.groovy
cps-ri/src/test/groovy/org/onap/cps/spi/impl/CpsPersistenceSpecBase.groovy
cps-ri/src/test/resources/data/clear-all.sql