diff options
author | ToineSiebelink <toine.siebelink@est.tech> | 2024-11-27 15:32:27 +0000 |
---|---|---|
committer | ToineSiebelink <toine.siebelink@est.tech> | 2024-11-28 15:37:43 +0000 |
commit | 6067e18b93a7bde19547406769498fcd64407ad8 (patch) | |
tree | a9fa8c552bdf389c537b1c3d83ecd0ad0a237555 /cps-ri | |
parent | 05e97441ad192b69051fbb67263284eb99ee1c41 (diff) |
De-Registration without Orphaned Module Check
- Testware updates to measure time spent for de-registration
- Removed orphan check from module delete methods
- Using @scheduled to run Db Cleaner method once
(see https://lf-onap.atlassian.net/wiki/spaces/DW/pages/52494359/CPS-2478+Module+Sync+Inefficiencies#De-Registration:-Test-Measurements-With-and-Without-Orphanage-removal for reasoning)
- Updated integration tests to call orphan check where need (after schema set deletion)
Issue-ID: CPS-2478
Change-Id: I513af9d8bb88486a242284b58e0363a527346dd4
Signed-off-by: ToineSiebelink <toine.siebelink@est.tech>
Diffstat (limited to 'cps-ri')
-rwxr-xr-x | cps-ri/src/main/java/org/onap/cps/ri/CpsModulePersistenceServiceImpl.java | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/cps-ri/src/main/java/org/onap/cps/ri/CpsModulePersistenceServiceImpl.java b/cps-ri/src/main/java/org/onap/cps/ri/CpsModulePersistenceServiceImpl.java index 3368aee148..e5853abf39 100755 --- a/cps-ri/src/main/java/org/onap/cps/ri/CpsModulePersistenceServiceImpl.java +++ b/cps-ri/src/main/java/org/onap/cps/ri/CpsModulePersistenceServiceImpl.java @@ -230,8 +230,6 @@ public class CpsModulePersistenceServiceImpl implements CpsModulePersistenceServ updateAllModuleReferences(allModuleReferences, schemaSetEntity.getId()); } - - @Override @Transactional public void deleteUnusedYangResourceModules() { |