From 33155051aea6d5f533d596404e8c11d5b53f0688 Mon Sep 17 00:00:00 2001 From: Fabio Sinibaldi Date: Tue, 17 May 2022 11:43:50 +0200 Subject: [PATCH] Fixed Deletion --- .../SimpleLifeCycleManager.java | 5 +++- .../plugins/reports/EventExecutionReport.java | 2 +- .../engine/mongo/ProfiledMongoManager.java | 2 +- .../AbstractProfiledDocumentsTests.java | 5 +++- .../profiledDocuments/DummyProjectTest.java | 28 +++++++++++++------ 5 files changed, 29 insertions(+), 13 deletions(-) diff --git a/cms-plugin-framework/src/main/java/org/gcube/application/cms/plugins/implementations/SimpleLifeCycleManager.java b/cms-plugin-framework/src/main/java/org/gcube/application/cms/plugins/implementations/SimpleLifeCycleManager.java index 4a5010d..28de1fc 100644 --- a/cms-plugin-framework/src/main/java/org/gcube/application/cms/plugins/implementations/SimpleLifeCycleManager.java +++ b/cms-plugin-framework/src/main/java/org/gcube/application/cms/plugins/implementations/SimpleLifeCycleManager.java @@ -29,8 +29,11 @@ import java.util.List; @Slf4j public class SimpleLifeCycleManager extends AbstractLifeCycleManager implements LifecycleManager { + public static final String PLUGIN_ID="DEFAULT-SINGLE-STEP"; + + public SimpleLifeCycleManager() { - DESCRIPTOR.setId("DEFAULT-SINGLE-STEP"); + DESCRIPTOR.setId(PLUGIN_ID); } diff --git a/cms-plugin-framework/src/main/java/org/gcube/application/cms/plugins/reports/EventExecutionReport.java b/cms-plugin-framework/src/main/java/org/gcube/application/cms/plugins/reports/EventExecutionReport.java index 21c62a8..97b14d0 100644 --- a/cms-plugin-framework/src/main/java/org/gcube/application/cms/plugins/reports/EventExecutionReport.java +++ b/cms-plugin-framework/src/main/java/org/gcube/application/cms/plugins/reports/EventExecutionReport.java @@ -11,7 +11,7 @@ public class EventExecutionReport extends DocumentHandlingReport