diff --git a/rm-automation/rm-automation-community-rest-api/pom.xml b/rm-automation/rm-automation-community-rest-api/pom.xml index bd2ce3a5e5..0a5b1d93e4 100644 --- a/rm-automation/rm-automation-community-rest-api/pom.xml +++ b/rm-automation/rm-automation-community-rest-api/pom.xml @@ -73,7 +73,7 @@ com.fasterxml.jackson.core jackson-databind - + org.projectlombok diff --git a/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/model/fileplancomponents/FilePlanComponentAspects.java b/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/model/fileplancomponents/FilePlanComponentAspects.java index 06c7493f17..78fa8ebe49 100644 --- a/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/model/fileplancomponents/FilePlanComponentAspects.java +++ b/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/model/fileplancomponents/FilePlanComponentAspects.java @@ -41,10 +41,10 @@ public class FilePlanComponentAspects // aspect present on completed records public static final String ASPECTS_COMPLETED_RECORD = "rma:declaredRecord"; - + // aspect present on record folders/categories with vital records public static final String ASPECTS_VITAL_RECORD_DEFINITION= "rma:vitalRecordDefinition"; - + // aspect present on vital records public static final String ASPECTS_VITAL_RECORD = "rma:vitalRecord"; @@ -53,4 +53,7 @@ public class FilePlanComponentAspects // recordSearch aspect public static final String RECORD_SEARCH_ASPECT = "rma:recordSearch"; + + // retention schedule cut off aspect + public static final String CUT_OFF_ASPECT = "rma:cutOff"; } diff --git a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/recordcategories/AutomaticDispositionTest.java b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/recordcategories/AutomaticDispositionTest.java index 56e904c0d5..075eeedc3a 100644 --- a/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/recordcategories/AutomaticDispositionTest.java +++ b/rm-automation/rm-automation-community-rest-api/src/test/java/org/alfresco/rest/rm/community/recordcategories/AutomaticDispositionTest.java @@ -26,6 +26,7 @@ */ package org.alfresco.rest.rm.community.recordcategories; +import static org.alfresco.rest.rm.community.model.fileplancomponents.FilePlanComponentAspects.CUT_OFF_ASPECT; import static org.alfresco.utility.data.RandomData.getRandomName; import static org.alfresco.utility.report.log.Step.STEP; import static org.testng.Assert.assertTrue; @@ -45,8 +46,6 @@ import org.testng.annotations.Test; public class AutomaticDispositionTest extends BaseRMRestTest { - private static final String CUT_OFF_ASPECT = "rma:cutOff"; - @Autowired private DispositionScheduleService dispositionScheduleService;