diff options
author | ToineSiebelink <toine.siebelink@est.tech> | 2020-11-10 16:32:50 +0000 |
---|---|---|
committer | ToineSiebelink <toine.siebelink@est.tech> | 2020-11-19 12:47:36 +0000 |
commit | e731118eca0540792a140803f18c298fb3be132d (patch) | |
tree | 11359438ed6dae45dfb0b7a71c02c134075e1109 /cps-ri/src | |
parent | 4576674e59ab3cc1126ee0422049e112904b8831 (diff) |
Adding & Testing method for breaking JSON Data into 'fragments'
Improving Bookstore test model
https://jira.onap.org/browse/CPS-32
Issue-ID: CPS-32
Change-Id: Ie03e03c041233aa908ab55902c1b387f96eb1c2e
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Diffstat (limited to 'cps-ri/src')
-rwxr-xr-x | cps-ri/src/main/java/org/onap/cps/spi/impl/DataPersistenceServiceImpl.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cps-ri/src/main/java/org/onap/cps/spi/impl/DataPersistenceServiceImpl.java b/cps-ri/src/main/java/org/onap/cps/spi/impl/DataPersistenceServiceImpl.java index 9ed111271a..51790f390d 100755 --- a/cps-ri/src/main/java/org/onap/cps/spi/impl/DataPersistenceServiceImpl.java +++ b/cps-ri/src/main/java/org/onap/cps/spi/impl/DataPersistenceServiceImpl.java @@ -25,7 +25,6 @@ import org.onap.cps.spi.repository.DataRepository; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Component; - @Component public class DataPersistenceServiceImpl implements DataPersistenceService { @@ -63,7 +62,8 @@ public class DataPersistenceServiceImpl implements DataPersistenceService { * @param jsonStructureId the JSON object identifier. */ @Override - public void deleteJsonById(int jsonStructureId) { + public void deleteJsonById(final int jsonStructureId) { dataRepository.deleteById(jsonStructureId); } + } |