From 3531b5e747be39efa87deaef594241654db48ff8 Mon Sep 17 00:00:00 2001 From: jcule Date: Wed, 4 Oct 2017 18:47:05 +0100 Subject: [PATCH] RM-5645: Automate AC Prevent Classification Beyond Parents Classification: api tests moved into separate classes --- .../model/recordfolder/RecordFolderProperties.java | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/model/recordfolder/RecordFolderProperties.java b/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/model/recordfolder/RecordFolderProperties.java index 65b98ab3d9..5b4893a068 100644 --- a/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/model/recordfolder/RecordFolderProperties.java +++ b/rm-automation/rm-automation-community-rest-api/src/main/java/org/alfresco/rest/rm/community/model/recordfolder/RecordFolderProperties.java @@ -26,6 +26,7 @@ */ package org.alfresco.rest.rm.community.model.recordfolder; +import static org.alfresco.rest.rm.community.model.fileplancomponents.FilePlanComponentFields.PROPERTIES_CLASSIFICATION; import static org.alfresco.rest.rm.community.model.fileplancomponents.FilePlanComponentFields.PROPERTIES_DESCRIPTION; import static org.alfresco.rest.rm.community.model.fileplancomponents.FilePlanComponentFields.PROPERTIES_HELD_CHILDREN_COUNT; import static org.alfresco.rest.rm.community.model.fileplancomponents.FilePlanComponentFields.PROPERTIES_IDENTIFIER; @@ -40,6 +41,7 @@ import static org.alfresco.rest.rm.community.model.fileplancomponents.FilePlanCo import static org.alfresco.rest.rm.community.model.fileplancomponents.FilePlanComponentFields.PROPERTIES_TITLE; import static org.alfresco.rest.rm.community.model.fileplancomponents.FilePlanComponentFields.PROPERTIES_VITAL_RECORD_INDICATOR; +import java.util.List; import com.fasterxml.jackson.annotation.JsonIgnoreProperties; import com.fasterxml.jackson.annotation.JsonProperty; @@ -104,12 +106,15 @@ public class RecordFolderProperties extends TestModel @JsonSerialize (using = ReviewPeriodSerializer.class) private ReviewPeriod reviewPeriod; + @JsonProperty (PROPERTIES_CLASSIFICATION) + private List classification; + @JsonProperty (PROPERTIES_DESCRIPTION) private String description; @JsonProperty (PROPERTIES_OWNER) private Owner owner; - + @JsonProperty (PROPERTIES_RECORD_SEARCH_VITAL_RECORD_REVIEW_PERIOD) private String recordSearchVitalRecordReviewPeriod;