From c051999635a548ad74733c77b81b0fb87d7941fc Mon Sep 17 00:00:00 2001 From: Lars Johansson <lars.johansson@ess.eu> Date: Mon, 19 Feb 2024 14:50:22 +0100 Subject: [PATCH] Remove comment from write operations Update integration tests. --- .../names/repository/model/Name.java | 4 +- .../openepics/names/rest/api/v1/INames.java | 28 +- .../names/rest/api/v1/IStructures.java | 44 ++- .../names/rest/beans/element/NameElement.java | 28 +- .../beans/element/NameElementCommand.java | 22 +- .../element/NameElementCommandConfirm.java | 18 +- .../element/NameElementCommandCreate.java | 22 +- .../element/NameElementCommandUpdate.java | 8 +- .../rest/beans/element/StructureElement.java | 26 +- .../element/StructureElementCommand.java | 21 +- .../StructureElementCommandConfirm.java | 21 +- .../StructureElementCommandCreate.java | 21 +- .../StructureElementCommandUpdate.java | 7 +- .../names/service/DeviceGroupService.java | 26 +- .../names/service/DeviceTypeService.java | 24 +- .../names/service/DisciplineService.java | 26 +- .../openepics/names/service/NamesService.java | 38 ++- .../names/service/StructuresService.java | 1 - .../names/service/SubsystemService.java | 26 +- .../names/service/SystemGroupService.java | 28 +- .../names/service/SystemService.java | 28 +- .../org/openepics/names/util/ExcelUtil.java | 64 ++--- .../openepics/names/util/NameElementUtil.java | 56 ++-- .../names/util/StructureElementUtil.java | 154 +++++----- .../org/openepics/names/util/TextUtil.java | 1 - .../names/util/ValidateNameElementUtil.java | 27 +- .../util/ValidateStructureElementUtil.java | 58 ++-- .../openepics/names/util/ValidateUtil.java | 11 - .../util/notification/NotificationName.java | 9 +- .../notification/NotificationStructure.java | 9 +- .../util/notification/NotificationUtil.java | 6 - .../templates/notification_names.html | 6 - .../templates/notification_structures.html | 12 - .../org/openepics/names/docker/ConvertIT.java | 42 ++- .../org/openepics/names/docker/MetricsIT.java | 22 +- .../org/openepics/names/docker/NamesIT.java | 131 +++------ .../org/openepics/names/docker/PvNamesIT.java | 22 +- .../names/docker/StructuresDeviceGroupIT.java | 270 +++++++---------- .../names/docker/StructuresDeviceTypeIT.java | 270 +++++++---------- .../names/docker/StructuresDisciplineIT.java | 264 +++++++---------- .../names/docker/StructuresSubsystemIT.java | 270 +++++++---------- .../names/docker/StructuresSystemGroupIT.java | 272 +++++++----------- .../names/docker/StructuresSystemIT.java | 267 +++++++---------- .../docker/complex/NamesInstanceIndexIT.java | 167 ++++------- .../names/docker/complex/NamesLegacyIT.java | 99 ++++--- .../NamesLegacyStructuresDeleteIT.java | 99 ++++--- .../NamesLegacyStructuresUpdateIT.java | 99 ++++--- .../names/docker/complex/NamesMultipleIT.java | 176 +++++------- .../docker/complex/StructuresLevel3IT.java | 159 ++++------ .../docker/complex/StructuresMultipleIT.java | 184 +++++------- .../repository/model/DeviceGroupTest.java | 40 +-- .../repository/model/DeviceTypeTest.java | 40 +-- .../repository/model/DisciplineTest.java | 40 +-- .../names/repository/model/NameTest.java | 40 +-- .../names/repository/model/StructureTest.java | 40 +-- .../names/repository/model/SubsystemTest.java | 40 +-- .../repository/model/SystemGroupTest.java | 40 +-- .../names/repository/model/SystemTest.java | 40 +-- .../NameElementCommandConfirmTest.java | 25 +- .../element/NameElementCommandCreateTest.java | 43 ++- .../beans/element/NameElementCommandTest.java | 43 ++- .../element/NameElementCommandUpdateTest.java | 25 +- .../rest/beans/element/NameElementTest.java | 60 ++-- .../StructureElementCommandConfirmTest.java | 25 +- .../StructureElementCommandCreateTest.java | 34 ++- .../element/StructureElementCommandTest.java | 34 ++- .../StructureElementCommandUpdateTest.java | 34 ++- .../beans/element/StructureElementTest.java | 60 ++-- .../names/util/NameElementUtilTest.java | 85 ++---- .../names/util/StructureElementUtilTest.java | 85 ++---- .../openepics/names/util/UtilitiesTest.java | 18 +- .../names/util/ValidateUtilTest.java | 42 --- .../notification/NotificationNameTest.java | 6 +- .../NotificationStructureTest.java | 6 +- .../notification/NotificationUtilTest.java | 12 +- .../INTEGRATIONTEST_DOCKER_TUTORIAL.md | 7 +- .../NameElementCommand_create_name.xlsx | Bin 7251 -> 7221 bytes ...lementCommand_create_name_NameElement.xlsx | Bin 7576 -> 7618 bytes ...nd_create_name_different_column_order.xlsx | Bin 7281 -> 7246 bytes ...ElementCommand_create_name_empty_uuid.xlsx | Bin 7178 -> 7146 bytes ...entCommand_create_name_incorrect_uuid.xlsx | Bin 7260 -> 7231 bytes ..._incorrect_uuid_parentdevicestructure.xlsx | Bin 7228 -> 7199 bytes ..._incorrect_uuid_parentsystemstructure.xlsx | Bin 7229 -> 7199 bytes ...ntCommand_create_name_too_few_columns.xlsx | Bin 6999 -> 6954 bytes ...tCommand_create_name_too_many_columns.xlsx | Bin 7433 -> 7450 bytes ...and_create_name_too_many_columns_uuid.xlsx | Bin 7428 -> 7460 bytes .../NameElementCommand_create_names.xlsx | Bin 7381 -> 7331 bytes ...StructureElementCommand_create_system.xlsx | Bin 7381 -> 7318 bytes ...ommand_create_system_StructureElement.xlsx | Bin 7651 -> 7666 bytes ..._create_system_different_column_order.xlsx | Bin 7407 -> 7340 bytes ...ementCommand_create_system_empty_uuid.xlsx | Bin 7345 -> 7279 bytes ...mand_create_system_incorrect_ordering.xlsx | Bin 7369 -> 7319 bytes ...tCommand_create_system_incorrect_uuid.xlsx | Bin 7383 -> 7336 bytes ...d_create_system_incorrect_uuid_parent.xlsx | Bin 7346 -> 7298 bytes ...Command_create_system_too_few_columns.xlsx | Bin 7033 -> 6969 bytes ...ommand_create_system_too_many_columns.xlsx | Bin 7529 -> 7550 bytes ...d_create_system_too_many_columns_uuid.xlsx | Bin 7532 -> 7557 bytes ...tructureElementCommand_create_systems.xlsx | Bin 7462 -> 7392 bytes 98 files changed, 1885 insertions(+), 2772 deletions(-) diff --git a/src/main/java/org/openepics/names/repository/model/Name.java b/src/main/java/org/openepics/names/repository/model/Name.java index 64e3a4c0..68c8537a 100644 --- a/src/main/java/org/openepics/names/repository/model/Name.java +++ b/src/main/java/org/openepics/names/repository/model/Name.java @@ -92,8 +92,8 @@ public class Name extends NameStructure implements Serializable { * @param requestedComment requested comment */ public Name(UUID uuid, UUID systemGroupUuid, UUID systemUuid, UUID subsystemUuid, UUID deviceTypeUuid, - String index, String conventionName, String conventionNameEquivalence, - String description, Status status, Boolean latest, Boolean deleted, + String index, String conventionName, String conventionNameEquivalence, String description, + Status status, Boolean latest, Boolean deleted, Date requested, String requestedBy, String requestedComment) { setUuid(uuid); setSystemGroupUuid(systemGroupUuid); diff --git a/src/main/java/org/openepics/names/rest/api/v1/INames.java b/src/main/java/org/openepics/names/rest/api/v1/INames.java index 1ba1d2c4..e635d03a 100644 --- a/src/main/java/org/openepics/names/rest/api/v1/INames.java +++ b/src/main/java/org/openepics/names/rest/api/v1/INames.java @@ -61,20 +61,19 @@ import io.swagger.v3.oas.annotations.tags.Tag; public interface INames { /* - NameElementCommandCreate - parentSystemStructure, parentDeviceStructure, index, description, comment - NameElementCommandUpdate - uuid, parentSystemStructure, parentDeviceStructure, index, description, comment - NameElementCommandConfirm - uuid, comment + NameElementCommandCreate - parentSystemStructure, parentDeviceStructure, index, description + NameElementCommandUpdate - uuid, parentSystemStructure, parentDeviceStructure, index, description + NameElementCommandConfirm - uuid ---------------------------------------------------------------------------------------------------- converted into NameElementCommand ---------------------------------------------------------------------------------------------------- - NameElementCommand - uuid, parentSystemStructure, parentDeviceStructure, index, description, comment + NameElementCommand - uuid, parentSystemStructure, parentDeviceStructure, index, description NameElement uuid (UUID) parentSystemStructure (UUID) parentDeviceStructure (UUID) index (String) description (String) - comment (String) ---------------------------------- systemStructure (String) deviceStructure (String) @@ -84,6 +83,7 @@ public interface INames { deleted (Boolean) when (Date) who (String) + comment (String) Methods create POST /names - createNames @@ -139,7 +139,6 @@ public interface INames { Required attributes: - parentSystemStructure - description - - comment Optional attributes: - parentDeviceStructure @@ -200,7 +199,7 @@ public interface INames { array = @ArraySchema( schema = @Schema( implementation = NameElementCommandCreate.class, - requiredProperties = {"parentSystemStructure","description","comment"})))) + requiredProperties = {"parentSystemStructure","description"})))) @RequestBody List<NameElementCommandCreate> nameElementCommands); // ---------------------------------------------------------------------------------------------------- @@ -675,7 +674,6 @@ public interface INames { Required attributes: - parentSystemStructure - description - - comment Optional attributes: - parentDeviceStructure @@ -722,7 +720,7 @@ public interface INames { array = @ArraySchema( schema = @Schema( implementation = NameElementCommandCreate.class, - requiredProperties = {"parentSystemStructure","parentDeviceStructure","index","description","comment"})))) + requiredProperties = {"parentSystemStructure","parentDeviceStructure","index","description"})))) @RequestBody List<NameElementCommandCreate> nameElementCommands); /** @@ -748,7 +746,6 @@ public interface INames { - uuid - parentSystemStructure - description - - comment Optional attributes: - parentDeviceStructure @@ -792,7 +789,7 @@ public interface INames { array = @ArraySchema( schema = @Schema( implementation = NameElementCommandUpdate.class, - requiredProperties = {"uuid","parentSystemStructure","description","comment"})))) + requiredProperties = {"uuid","parentSystemStructure","description"})))) @RequestBody List<NameElementCommandUpdate> nameElementCommands); /** @@ -816,7 +813,6 @@ public interface INames { Required attributes: - uuid - - comment """ ) @ApiResponses(value = { @@ -856,7 +852,7 @@ public interface INames { array = @ArraySchema( schema = @Schema( implementation = NameElementCommandConfirm.class, - requiredProperties = {"uuid","comment"})))) + requiredProperties = {"uuid"})))) @RequestBody List<NameElementCommandConfirm> nameElementCommands); // ---------------------------------------------------------------------------------------------------- @@ -878,7 +874,6 @@ public interface INames { - uuid - parentSystemStructure - description - - comment Optional attributes: - parentDeviceStructure @@ -936,7 +931,7 @@ public interface INames { array = @ArraySchema( schema = @Schema( implementation = NameElementCommandUpdate.class, - requiredProperties = {"uuid","parentSystemStructure","description","comment"})))) + requiredProperties = {"uuid","parentSystemStructure","description"})))) @RequestBody List<NameElementCommandUpdate> nameElementCommands); // ---------------------------------------------------------------------------------------------------- @@ -955,7 +950,6 @@ public interface INames { Required attributes: - uuid - - comment """ ) @ApiResponses(value = { @@ -1000,7 +994,7 @@ public interface INames { array = @ArraySchema( schema = @Schema( implementation = NameElementCommandConfirm.class, - requiredProperties = {"uuid","comment"})))) + requiredProperties = {"uuid"})))) @RequestBody List<NameElementCommandConfirm> nameElementCommands); } diff --git a/src/main/java/org/openepics/names/rest/api/v1/IStructures.java b/src/main/java/org/openepics/names/rest/api/v1/IStructures.java index d1b02a30..9bd727e3 100644 --- a/src/main/java/org/openepics/names/rest/api/v1/IStructures.java +++ b/src/main/java/org/openepics/names/rest/api/v1/IStructures.java @@ -64,9 +64,9 @@ import io.swagger.v3.oas.annotations.tags.Tag; public interface IStructures { /* - StructureElementCommandCreate - type, parent, mnemonic, ordering, description, comment - StructureElementCommandUpdate - uuid, type, parent, mnemonic, ordering, description, comment - StructureElementCommandConfirm - uuid, type, comment + StructureElementCommandCreate - type, parent, mnemonic, ordering, description + StructureElementCommandUpdate - uuid, type, parent, mnemonic, ordering, description + StructureElementCommandConfirm - uuid, type ---------------------------------------------------------------------------------------------------- converted into StructureElementCommand ---------------------------------------------------------------------------------------------------- @@ -78,7 +78,6 @@ public interface IStructures { mnemonic (String) ordering (String) description (String) - comment (String) ------------------------- mnemonicPath (String) level (Integer) @@ -87,6 +86,7 @@ public interface IStructures { deleted (Boolean) when (Date) who (String) + comment (String) Methods create POST /structures - createStructures @@ -147,7 +147,6 @@ public interface IStructures { Required attributes: - type - description - - comment Optional attributes: - parent @@ -211,7 +210,7 @@ public interface IStructures { array = @ArraySchema( schema = @Schema( implementation = StructureElementCommandCreate.class, - requiredProperties = {"type","description","comment"})))) + requiredProperties = {"type","description"})))) @RequestBody List<StructureElementCommandCreate> structureElementCommands); // ---------------------------------------------------------------------------------------------------- @@ -614,7 +613,6 @@ public interface IStructures { Required attributes: - type - description - - comment Optional attributes: - parent @@ -664,7 +662,7 @@ public interface IStructures { array = @ArraySchema( schema = @Schema( implementation = StructureElementCommandCreate.class, - requiredProperties = {"type","description","comment"})))) + requiredProperties = {"type","description"})))) @RequestBody List<StructureElementCommandCreate> structureElementCommands); /** @@ -696,7 +694,6 @@ public interface IStructures { - uuid - type - description - - comment Optional attributes: - parent @@ -745,7 +742,7 @@ public interface IStructures { array = @ArraySchema( schema = @Schema( implementation = StructureElementCommandUpdate.class, - requiredProperties = {"uuid","type","description","comment"})))) + requiredProperties = {"uuid","type","description"})))) @RequestBody List<StructureElementCommandUpdate> structureElementCommands); /** @@ -776,7 +773,6 @@ public interface IStructures { Required attributes: - uuid - type - - comment """ ) @ApiResponses(value = { @@ -816,7 +812,7 @@ public interface IStructures { array = @ArraySchema( schema = @Schema( implementation = StructureElementCommandConfirm.class, - requiredProperties = {"uuid","type","comment"})))) + requiredProperties = {"uuid","type"})))) @RequestBody List<StructureElementCommandConfirm> structureElementCommands); /** @@ -847,7 +843,6 @@ public interface IStructures { Required attributes: - uuid - type - - comment """ ) @ApiResponses(value = { @@ -887,7 +882,7 @@ public interface IStructures { array = @ArraySchema( schema = @Schema( implementation = StructureElementCommandConfirm.class, - requiredProperties = {"uuid","type","comment"})))) + requiredProperties = {"uuid","type"})))) @RequestBody List<StructureElementCommandConfirm> structureElementCommands); /** @@ -918,7 +913,6 @@ public interface IStructures { Required attributes: - uuid - type - - comment """ ) @ApiResponses(value = { @@ -958,7 +952,7 @@ public interface IStructures { array = @ArraySchema( schema = @Schema( implementation = StructureElementCommandConfirm.class, - requiredProperties = {"uuid","type","comment"})))) + requiredProperties = {"uuid","type"})))) @RequestBody List<StructureElementCommandConfirm> structureElementCommands); /** @@ -989,7 +983,6 @@ public interface IStructures { Required attributes: - uuid - type - - comment """ ) @ApiResponses(value = { @@ -1029,7 +1022,7 @@ public interface IStructures { array = @ArraySchema( schema = @Schema( implementation = StructureElementCommandConfirm.class, - requiredProperties = {"uuid","type","comment"})))) + requiredProperties = {"uuid","type"})))) @RequestBody List<StructureElementCommandConfirm> structureElementCommands); // ---------------------------------------------------------------------------------------------------- @@ -1051,7 +1044,6 @@ public interface IStructures { - uuid - type - description - - comment Optional attributes: - parent @@ -1114,7 +1106,7 @@ public interface IStructures { array = @ArraySchema( schema = @Schema( implementation = StructureElementCommandUpdate.class, - requiredProperties = {"uuid","type","description","comment"})))) + requiredProperties = {"uuid","type","description"})))) @RequestBody List<StructureElementCommandUpdate> structureElementCommands); // ---------------------------------------------------------------------------------------------------- @@ -1134,7 +1126,6 @@ public interface IStructures { Required attributes: - uuid - type - - comment """ ) @ApiResponses(value = { @@ -1179,7 +1170,7 @@ public interface IStructures { array = @ArraySchema( schema = @Schema( implementation = StructureElementCommandConfirm.class, - requiredProperties = {"uuid","type","comment"})))) + requiredProperties = {"uuid","type"})))) @RequestBody List<StructureElementCommandConfirm> structureElementCommands); // ---------------------------------------------------------------------------------------------------- @@ -1206,7 +1197,6 @@ public interface IStructures { Required attributes: - uuid - type - - comment """ ) @ApiResponses(value = { @@ -1255,7 +1245,7 @@ public interface IStructures { array = @ArraySchema( schema = @Schema( implementation = StructureElementCommandConfirm.class, - requiredProperties = {"uuid","type","comment"})))) + requiredProperties = {"uuid","type"})))) @RequestBody List<StructureElementCommandConfirm> structureElementCommands); /** @@ -1274,7 +1264,6 @@ public interface IStructures { Required attributes: - uuid - type - - comment """ ) @ApiResponses(value = { @@ -1323,7 +1312,7 @@ public interface IStructures { array = @ArraySchema( schema = @Schema( implementation = StructureElementCommandConfirm.class, - requiredProperties = {"uuid","type","comment"})))) + requiredProperties = {"uuid","type"})))) @RequestBody List<StructureElementCommandConfirm> structureElementCommands); /** @@ -1342,7 +1331,6 @@ public interface IStructures { Required attributes: - uuid - type - - comment """ ) @ApiResponses(value = { @@ -1391,7 +1379,7 @@ public interface IStructures { array = @ArraySchema( schema = @Schema( implementation = StructureElementCommandConfirm.class, - requiredProperties = {"uuid","type","comment"})))) + requiredProperties = {"uuid","type"})))) @RequestBody List<StructureElementCommandConfirm> structureElementCommands); } diff --git a/src/main/java/org/openepics/names/rest/beans/element/NameElement.java b/src/main/java/org/openepics/names/rest/beans/element/NameElement.java index 3fc41fd5..bfa1e34e 100644 --- a/src/main/java/org/openepics/names/rest/beans/element/NameElement.java +++ b/src/main/java/org/openepics/names/rest/beans/element/NameElement.java @@ -60,6 +60,8 @@ public class NameElement extends NameElementCommand implements Serializable { private Date when; @Schema(description = "Name (user) of who created the name entry.") private String who; + @Schema(description = "Comment of the name entry.") + private String comment; /** * Public constructor. @@ -76,7 +78,6 @@ public class NameElement extends NameElementCommand implements Serializable { * @param parentDeviceStructure parent device structure uuid * @param index index * @param description description - * @param comment comment * @param systemStructure system structure mnemonic path * @param deviceStructure device structure mnemonic path * @param name name @@ -85,14 +86,15 @@ public class NameElement extends NameElementCommand implements Serializable { * @param deleted deleted * @param when when * @param who who + * @param comment comment */ public NameElement( - UUID uuid, UUID parentSystemStructure, UUID parentDeviceStructure, String index, - String description, String comment, + UUID uuid, UUID parentSystemStructure, UUID parentDeviceStructure, + String index, String description, String systemStructure, String deviceStructure, String name, Status status, Boolean latest, Boolean deleted, - Date when, String who) { - super(uuid, parentSystemStructure, parentDeviceStructure, index, description, comment); + Date when, String who, String comment) { + super(uuid, parentSystemStructure, parentDeviceStructure, index, description); this.systemStructure = systemStructure; this.deviceStructure = deviceStructure; this.name = name; @@ -101,6 +103,7 @@ public class NameElement extends NameElementCommand implements Serializable { this.deleted = deleted; this.when = when; this.who = who; + this.comment = comment; } public String getSystemStructure() { @@ -151,6 +154,12 @@ public class NameElement extends NameElementCommand implements Serializable { public void setWho(String who) { this.who = who; } + public String getComment() { + return comment; + } + public void setComment(String comment) { + this.comment = comment; + } @Override public boolean equals(Object obj) { @@ -212,13 +221,18 @@ public class NameElement extends NameElementCommand implements Serializable { return false; } else if (!getWho().equals(other.getWho())) return false; + if (getComment() == null) { + if (other.getComment() != null) + return false; + } else if (!getComment().equals(other.getComment())) + return false; return true; } @Override public int hashCode() { - return Objects.hash(getUuid(), getWhen()); + return Objects.hash(getUuid(), getWhen(), getComment()); } @Override @@ -231,8 +245,8 @@ public class NameElement extends NameElementCommand implements Serializable { sb.append(", \"systemStructure\": " + getSystemStructure()); sb.append(", \"deviceStructure\": " + getDeviceStructure()); sb.append(", \"index\": " + getIndex()); - sb.append(", \"name\": " + getName()); sb.append(", \"description\": " + getDescription()); + sb.append(", \"name\": " + getName()); sb.append(", \"status\": " + getStatus()); sb.append(", \"latest\": " + isLatest()); sb.append(", \"deleted\": " + isDeleted()); diff --git a/src/main/java/org/openepics/names/rest/beans/element/NameElementCommand.java b/src/main/java/org/openepics/names/rest/beans/element/NameElementCommand.java index b75d1557..8d7494e4 100644 --- a/src/main/java/org/openepics/names/rest/beans/element/NameElementCommand.java +++ b/src/main/java/org/openepics/names/rest/beans/element/NameElementCommand.java @@ -51,8 +51,6 @@ public class NameElementCommand implements Serializable { private String index; @Schema(description = "Description (verbose) of the name entry.") private String description; - @Schema(description = "Comment of the name entry command.") - private String comment; /** * Public constructor. @@ -68,18 +66,16 @@ public class NameElementCommand implements Serializable { * @param parentDeviceStructure parent device structure uuid * @param index index * @param description description - * @param comment comment */ public NameElementCommand( - UUID uuid, UUID parentSystemStructure, UUID parentDeviceStructure, String index, - String description, String comment) { + UUID uuid, UUID parentSystemStructure, UUID parentDeviceStructure, + String index, String description) { super(); this.uuid = uuid; this.parentSystemStructure = parentSystemStructure; this.parentDeviceStructure = parentDeviceStructure; this.index = index; this.description = description; - this.comment = comment; } public UUID getUuid() { @@ -112,12 +108,6 @@ public class NameElementCommand implements Serializable { public void setDescription(String description) { this.description = description; } - public String getComment() { - return comment; - } - public void setComment(String comment) { - this.comment = comment; - } @Override public boolean equals(Object obj) { @@ -160,11 +150,6 @@ public class NameElementCommand implements Serializable { return false; } else if (!getDescription().equals(other.getDescription())) return false; - if (getComment() == null) { - if (other.getComment() != null) - return false; - } else if (!getComment().equals(other.getComment())) - return false; return true; } @@ -173,7 +158,7 @@ public class NameElementCommand implements Serializable { public int hashCode() { return Objects.hash( getUuid(), getParentSystemStructure(), getParentDeviceStructure(), getIndex(), - getDescription(), getComment()); + getDescription()); } @Override @@ -185,7 +170,6 @@ public class NameElementCommand implements Serializable { sb.append(", \"parentDeviceStructure\": " + getParentDeviceStructure()); sb.append(", \"index\": " + getIndex()); sb.append(", \"description\": " + getDescription()); - sb.append(", \"comment\": " + getComment()); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/org/openepics/names/rest/beans/element/NameElementCommandConfirm.java b/src/main/java/org/openepics/names/rest/beans/element/NameElementCommandConfirm.java index c305db94..0cecd084 100644 --- a/src/main/java/org/openepics/names/rest/beans/element/NameElementCommandConfirm.java +++ b/src/main/java/org/openepics/names/rest/beans/element/NameElementCommandConfirm.java @@ -15,8 +15,6 @@ public class NameElementCommandConfirm implements Serializable { @Schema(description = "Identity (uuid) of the name entry. Value is created server-side.") private UUID uuid; - @Schema(description = "Comment of the name entry command.") - private String comment; /** * Public constructor. @@ -28,13 +26,11 @@ public class NameElementCommandConfirm implements Serializable { * Public constructor. * * @param uuid uuid - * @param comment comment */ public NameElementCommandConfirm( - UUID uuid, String comment) { + UUID uuid) { super(); this.uuid = uuid; - this.comment = comment; } public UUID getUuid() { @@ -43,12 +39,6 @@ public class NameElementCommandConfirm implements Serializable { public void setUuid(UUID uuid) { this.uuid = uuid; } - public String getComment() { - return comment; - } - public void setComment(String comment) { - this.comment = comment; - } @Override public boolean equals(Object obj) { @@ -71,11 +61,6 @@ public class NameElementCommandConfirm implements Serializable { return false; } else if (!getUuid().equals(other.getUuid())) return false; - if (getComment() == null) { - if (other.getComment() != null) - return false; - } else if (!getComment().equals(other.getComment())) - return false; return true; } @@ -90,7 +75,6 @@ public class NameElementCommandConfirm implements Serializable { StringBuilder sb = new StringBuilder(); sb.append("{"); sb.append("\"uuid\": " + getUuid()); - sb.append(", \"comment\": " + getComment()); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/org/openepics/names/rest/beans/element/NameElementCommandCreate.java b/src/main/java/org/openepics/names/rest/beans/element/NameElementCommandCreate.java index 19a2a89e..57be55f4 100644 --- a/src/main/java/org/openepics/names/rest/beans/element/NameElementCommandCreate.java +++ b/src/main/java/org/openepics/names/rest/beans/element/NameElementCommandCreate.java @@ -21,8 +21,6 @@ public class NameElementCommandCreate implements Serializable { private String index; @Schema(description = "Description (verbose) of the name entry.") private String description; - @Schema(description = "Comment of the name entry command.") - private String comment; /** * Public constructor. @@ -37,17 +35,15 @@ public class NameElementCommandCreate implements Serializable { * @param parentDeviceStructure parent device structure uuid * @param index index * @param description description - * @param comment comment */ public NameElementCommandCreate( - UUID parentSystemStructure, UUID parentDeviceStructure, String index, - String description, String comment) { + UUID parentSystemStructure, UUID parentDeviceStructure, + String index, String description) { super(); this.parentSystemStructure = parentSystemStructure; this.parentDeviceStructure = parentDeviceStructure; this.index = index; this.description = description; - this.comment = comment; } public UUID getParentSystemStructure() { @@ -74,12 +70,6 @@ public class NameElementCommandCreate implements Serializable { public void setDescription(String description) { this.description = description; } - public String getComment() { - return comment; - } - public void setComment(String comment) { - this.comment = comment; - } @Override public boolean equals(Object obj) { @@ -117,11 +107,6 @@ public class NameElementCommandCreate implements Serializable { return false; } else if (!getDescription().equals(other.getDescription())) return false; - if (getComment() == null) { - if (other.getComment() != null) - return false; - } else if (!getComment().equals(other.getComment())) - return false; return true; } @@ -130,7 +115,7 @@ public class NameElementCommandCreate implements Serializable { public int hashCode() { return Objects.hash( getParentSystemStructure(), getParentDeviceStructure(), getIndex(), - getDescription(), getComment()); + getDescription()); } @Override @@ -141,7 +126,6 @@ public class NameElementCommandCreate implements Serializable { sb.append(", \"parentDeviceStructure\": " + getParentDeviceStructure()); sb.append(", \"index\": " + getIndex()); sb.append(", \"description\": " + getDescription()); - sb.append(", \"comment\": " + getComment()); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/org/openepics/names/rest/beans/element/NameElementCommandUpdate.java b/src/main/java/org/openepics/names/rest/beans/element/NameElementCommandUpdate.java index b45ba7c4..9375649f 100644 --- a/src/main/java/org/openepics/names/rest/beans/element/NameElementCommandUpdate.java +++ b/src/main/java/org/openepics/names/rest/beans/element/NameElementCommandUpdate.java @@ -30,12 +30,11 @@ public class NameElementCommandUpdate extends NameElementCommandCreate implement * @param parentDeviceStructure parent device structure uuid * @param index index * @param description description - * @param comment comment */ public NameElementCommandUpdate( - UUID uuid, UUID parentSystemStructure, UUID parentDeviceStructure, String index, - String description, String comment) { - super(parentSystemStructure, parentDeviceStructure, index, description, comment); + UUID uuid, UUID parentSystemStructure, UUID parentDeviceStructure, + String index, String description) { + super(parentSystemStructure, parentDeviceStructure, index, description); this.uuid = uuid; } @@ -89,7 +88,6 @@ public class NameElementCommandUpdate extends NameElementCommandCreate implement sb.append(", \"parentDeviceStructure\": " + getParentDeviceStructure()); sb.append(", \"index\": " + getIndex()); sb.append(", \"description\": " + getDescription()); - sb.append(", \"comment\": " + getComment()); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/org/openepics/names/rest/beans/element/StructureElement.java b/src/main/java/org/openepics/names/rest/beans/element/StructureElement.java index 6481c598..f9c512b0 100644 --- a/src/main/java/org/openepics/names/rest/beans/element/StructureElement.java +++ b/src/main/java/org/openepics/names/rest/beans/element/StructureElement.java @@ -59,6 +59,8 @@ public class StructureElement extends StructureElementCommand implements Seriali private Date when; @Schema(description = "Name (user) of who created the structure entry.") private String who; + @Schema(description = "Comment of the structure entry.") + private String comment; /** * Public constructor. @@ -76,7 +78,6 @@ public class StructureElement extends StructureElementCommand implements Seriali * @param mnemonic mnemonic * @param ordering ordering * @param description description - * @param comment comment * @param mnemonicPath mnemonic path * @param level level * @param status status @@ -84,14 +85,15 @@ public class StructureElement extends StructureElementCommand implements Seriali * @param deleted deleted * @param when when * @param who who + * @param comment comment */ public StructureElement( - UUID uuid, Type type, UUID parent, String mnemonic, Integer ordering, - String description, String comment, + UUID uuid, Type type, UUID parent, + String mnemonic, Integer ordering, String description, String mnemonicPath, Integer level, Status status, Boolean latest, Boolean deleted, - Date when, String who) { - super(uuid, type, parent, mnemonic, ordering, description, comment); + Date when, String who, String comment) { + super(uuid, type, parent, mnemonic, ordering, description); this.mnemonicPath = mnemonicPath; this.level = level; this.status = status; @@ -99,6 +101,7 @@ public class StructureElement extends StructureElementCommand implements Seriali this.deleted = deleted; this.when = when; this.who = who; + this.comment = comment; } public String getMnemonicPath() { @@ -143,6 +146,12 @@ public class StructureElement extends StructureElementCommand implements Seriali public void setWho(String who) { this.who = who; } + public String getComment() { + return comment; + } + public void setComment(String comment) { + this.comment = comment; + } @Override public boolean equals(Object obj) { @@ -199,13 +208,18 @@ public class StructureElement extends StructureElementCommand implements Seriali return false; } else if (!getWho().equals(other.getWho())) return false; + if (getComment() == null) { + if (other.getComment() != null) + return false; + } else if (!getComment().equals(other.getComment())) + return false; return true; } @Override public int hashCode() { - return Objects.hash(getUuid(), getWhen()); + return Objects.hash(getUuid(), getWhen(), getComment()); } @Override diff --git a/src/main/java/org/openepics/names/rest/beans/element/StructureElementCommand.java b/src/main/java/org/openepics/names/rest/beans/element/StructureElementCommand.java index e989c61f..00fe0668 100644 --- a/src/main/java/org/openepics/names/rest/beans/element/StructureElementCommand.java +++ b/src/main/java/org/openepics/names/rest/beans/element/StructureElementCommand.java @@ -55,8 +55,6 @@ public class StructureElementCommand implements Serializable { private Integer ordering; @Schema(description = "Description (verbose) of the structure entry.") private String description; - @Schema(description = "Comment of the structure entry command.") - private String comment; /** * Public constructor. @@ -73,12 +71,10 @@ public class StructureElementCommand implements Serializable { * @param mnemonic mnemonic * @param ordering ordering * @param description description - * @param comment comment */ public StructureElementCommand( UUID uuid, Type type, UUID parent, - String mnemonic, Integer ordering, - String description, String comment) { + String mnemonic, Integer ordering, String description) { super(); this.uuid = uuid; this.type = type; @@ -86,7 +82,6 @@ public class StructureElementCommand implements Serializable { this.mnemonic = mnemonic; this.ordering = ordering; this.description = description; - this.comment = comment; } public UUID getUuid() { @@ -125,12 +120,6 @@ public class StructureElementCommand implements Serializable { public void setDescription(String description) { this.description = description; } - public String getComment() { - return comment; - } - public void setComment(String comment) { - this.comment = comment; - } @Override public boolean equals(Object obj) { @@ -178,11 +167,6 @@ public class StructureElementCommand implements Serializable { return false; } else if (!getDescription().equals(other.getDescription())) return false; - if (getComment() == null) { - if (other.getComment() != null) - return false; - } else if (!getComment().equals(other.getComment())) - return false; return true; } @@ -191,7 +175,7 @@ public class StructureElementCommand implements Serializable { public int hashCode() { return Objects.hash( getUuid(), getType(), getParent(), - getMnemonic(), getDescription(), getComment()); + getMnemonic(), getDescription()); } @Override @@ -204,7 +188,6 @@ public class StructureElementCommand implements Serializable { sb.append(", \"mnemonic\": " + getMnemonic()); sb.append(", \"ordering\": " + getOrdering()); sb.append(", \"description\": " + getDescription()); - sb.append(", \"comment\": " + getComment()); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/org/openepics/names/rest/beans/element/StructureElementCommandConfirm.java b/src/main/java/org/openepics/names/rest/beans/element/StructureElementCommandConfirm.java index d7a2fb92..1bbf7d72 100644 --- a/src/main/java/org/openepics/names/rest/beans/element/StructureElementCommandConfirm.java +++ b/src/main/java/org/openepics/names/rest/beans/element/StructureElementCommandConfirm.java @@ -19,8 +19,6 @@ public class StructureElementCommandConfirm implements Serializable { private UUID uuid; @Schema(description = "Type of the structure entry. Valid values - SYSTEMGROUP, SYSTEM, SUBSYSTEM, DISCIPLINE, DEVICEGROUP, DEVICETYPE.") private Type type; - @Schema(description = "Comment of the structure entry command.") - private String comment; /** * Public constructor. @@ -33,14 +31,12 @@ public class StructureElementCommandConfirm implements Serializable { * * @param uuid uuid * @param type type - * @param comment comment */ public StructureElementCommandConfirm( - UUID uuid, Type type, String comment) { + UUID uuid, Type type) { super(); this.uuid = uuid; this.type = type; - this.comment = comment; } public UUID getUuid() { @@ -55,12 +51,6 @@ public class StructureElementCommandConfirm implements Serializable { public void setType(Type type) { this.type = type; } - public String getComment() { - return comment; - } - public void setComment(String comment) { - this.comment = comment; - } @Override public boolean equals(Object obj) { @@ -88,19 +78,13 @@ public class StructureElementCommandConfirm implements Serializable { return false; } else if (!getType().equals(other.getType())) return false; - if (getComment() == null) { - if (other.getComment() != null) - return false; - } else if (!getComment().equals(other.getComment())) - return false; return true; } @Override public int hashCode() { - return Objects.hash( - getUuid()); + return Objects.hash(getUuid()); } @Override @@ -109,7 +93,6 @@ public class StructureElementCommandConfirm implements Serializable { sb.append("{"); sb.append("\"uuid\": " + getUuid()); sb.append(", \"type\": " + getType()); - sb.append(", \"comment\": " + getComment()); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/org/openepics/names/rest/beans/element/StructureElementCommandCreate.java b/src/main/java/org/openepics/names/rest/beans/element/StructureElementCommandCreate.java index 4c1acb23..543d5016 100644 --- a/src/main/java/org/openepics/names/rest/beans/element/StructureElementCommandCreate.java +++ b/src/main/java/org/openepics/names/rest/beans/element/StructureElementCommandCreate.java @@ -25,8 +25,6 @@ public class StructureElementCommandCreate implements Serializable { private Integer ordering; @Schema(description = "Description (verbose) of the structure entry.") private String description; - @Schema(description = "Comment of the structure entry command.") - private String comment; /** * Public constructor. @@ -42,19 +40,16 @@ public class StructureElementCommandCreate implements Serializable { * @param mnemonic mnemonic * @param ordering ordering * @param description description - * @param comment comment */ public StructureElementCommandCreate( Type type, UUID parent, - String mnemonic, Integer ordering, - String description, String comment) { + String mnemonic, Integer ordering, String description) { super(); this.type = type; this.parent = parent; this.mnemonic = mnemonic; this.ordering = ordering; this.description = description; - this.comment = comment; } public Type getType() { @@ -87,12 +82,6 @@ public class StructureElementCommandCreate implements Serializable { public void setDescription(String description) { this.description = description; } - public String getComment() { - return comment; - } - public void setComment(String comment) { - this.comment = comment; - } @Override public boolean equals(Object obj) { @@ -135,11 +124,6 @@ public class StructureElementCommandCreate implements Serializable { return false; } else if (!getDescription().equals(other.getDescription())) return false; - if (getComment() == null) { - if (other.getComment() != null) - return false; - } else if (!getComment().equals(other.getComment())) - return false; return true; } @@ -147,7 +131,7 @@ public class StructureElementCommandCreate implements Serializable { @Override public int hashCode() { return Objects.hash( - getType(), getParent(), getMnemonic(), getDescription(), getComment()); + getType(), getParent(), getMnemonic(), getDescription()); } @Override @@ -159,7 +143,6 @@ public class StructureElementCommandCreate implements Serializable { sb.append(", \"mnemonic\": " + getMnemonic()); sb.append(", \"ordering\": " + getOrdering()); sb.append(", \"description\": " + getDescription()); - sb.append(", \"comment\": " + getComment()); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/org/openepics/names/rest/beans/element/StructureElementCommandUpdate.java b/src/main/java/org/openepics/names/rest/beans/element/StructureElementCommandUpdate.java index 8766d469..4f42a70c 100644 --- a/src/main/java/org/openepics/names/rest/beans/element/StructureElementCommandUpdate.java +++ b/src/main/java/org/openepics/names/rest/beans/element/StructureElementCommandUpdate.java @@ -33,13 +33,11 @@ public class StructureElementCommandUpdate extends StructureElementCommandCreate * @param mnemonic mnemonic * @param ordering ordering * @param description description - * @param comment comment */ public StructureElementCommandUpdate( UUID uuid, Type type, UUID parent, - String mnemonic, Integer ordering, - String description, String comment) { - super(type, parent, mnemonic, ordering, description, comment); + String mnemonic, Integer ordering, String description) { + super(type, parent, mnemonic, ordering, description); this.uuid = uuid; } @@ -94,7 +92,6 @@ public class StructureElementCommandUpdate extends StructureElementCommandCreate sb.append(", \"mnemonic\": " + getMnemonic()); sb.append(", \"ordering\": " + getOrdering()); sb.append(", \"description\": " + getDescription()); - sb.append(", \"comment\": " + getComment()); sb.append("}"); return sb.toString(); } diff --git a/src/main/java/org/openepics/names/service/DeviceGroupService.java b/src/main/java/org/openepics/names/service/DeviceGroupService.java index ca8c4e0f..327190aa 100644 --- a/src/main/java/org/openepics/names/service/DeviceGroupService.java +++ b/src/main/java/org/openepics/names/service/DeviceGroupService.java @@ -94,7 +94,7 @@ public class DeviceGroupService { // notification // // attributes - // type, parent, mnemonic, ordering, description, comment + // type, parent, mnemonic, ordering, description // note // namingConvention.equivalenceClassRepresentative return null for null input @@ -108,7 +108,7 @@ public class DeviceGroupService { DeviceGroup deviceGroup = new DeviceGroup(UUID.randomUUID(), structureElementCommand.getParent(), mnemonic, equivalenceClassRepresentative, structureElementCommand.getOrdering(), structureElementCommand.getDescription(), Status.PENDING, Boolean.FALSE, Boolean.FALSE, - when, username, structureElementCommand.getComment()); + when, username, null); deviceGroupRepository.createDeviceGroup(deviceGroup); return new StructureElementNotification( @@ -129,7 +129,7 @@ public class DeviceGroupService { // notification // // attributes - // uuid, type, parent, mnemonic, ordering, description, comment + // uuid, type, parent, mnemonic, ordering, description // note // namingConvention.equivalenceClassRepresentative return null for null input @@ -143,7 +143,7 @@ public class DeviceGroupService { DeviceGroup deviceGroup = new DeviceGroup(structureElementCommand.getUuid(), structureElementCommand.getParent(), mnemonic, equivalenceClassRepresentative, structureElementCommand.getOrdering(), structureElementCommand.getDescription(), Status.PENDING, Boolean.FALSE, Boolean.FALSE, - when, username, structureElementCommand.getComment()); + when, username, null); deviceGroupRepository.createDeviceGroup(deviceGroup); // previous @@ -168,7 +168,7 @@ public class DeviceGroupService { // notification // // attributes - // uuid, comment + // uuid // find List<DeviceGroup> deviceGroups = deviceGroupRepository.readDeviceGroups(Status.APPROVED, Boolean.FALSE, structureElementCommand.getUuid().toString(), null, null, null, null, null, null); @@ -181,7 +181,7 @@ public class DeviceGroupService { DeviceGroup deviceGroup = new DeviceGroup(toBeDeleted.getUuid(), toBeDeleted.getParentUuid(), toBeDeleted.getMnemonic(), toBeDeleted.getMnemonicEquivalence(), toBeDeleted.getOrdering(), toBeDeleted.getDescription(), Status.PENDING, Boolean.FALSE, Boolean.TRUE, - when, username, structureElementCommand.getComment()); + when, username, null); deviceGroupRepository.createDeviceGroup(deviceGroup); return new StructureElementNotification( @@ -219,7 +219,7 @@ public class DeviceGroupService { // notification // // attributes - // uuid, comment + // uuid String uuid = structureElementCommand.getUuid().toString(); @@ -242,7 +242,7 @@ public class DeviceGroupService { deviceGroup = deviceGroups.get(0); // approve - deviceGroup.setAttributesStatusProcessed(Status.APPROVED, when, username, structureElementCommand.getComment()); + deviceGroup.setAttributesStatusProcessed(Status.APPROVED, when, username, null); deviceGroup.setLatest(Boolean.TRUE); deviceGroupRepository.updateDeviceGroup(deviceGroup); @@ -258,7 +258,7 @@ public class DeviceGroupService { List<StructureElementCommand> commands = Lists.newArrayList(); List<DeviceType> deviceTypes = iDeviceTypeRepository.findLatestNotDeletedByParent(uuid); for (DeviceType deviceType : deviceTypes) { - commands.add(new StructureElementCommand(deviceType.getUuid(), Type.DEVICETYPE, null, null, null, null, StructuresService.DELETE_AFTER_APPROVE_STRUCTURE_CHANGE)); + commands.add(new StructureElementCommand(deviceType.getUuid(), Type.DEVICETYPE, null, null, null, null)); } for (StructureElementCommand command : commands) { deviceTypeService.deleteStructure(command, when, username, holderStructures); @@ -289,7 +289,7 @@ public class DeviceGroupService { // notification // // attributes - // uuid, comment + // uuid String uuid = structureElementCommand.getUuid().toString(); @@ -301,7 +301,7 @@ public class DeviceGroupService { DeviceGroup deviceGroup = deviceGroups.get(0); // cancel - deviceGroup.setAttributesStatusProcessed(Status.CANCELLED, when, username, structureElementCommand.getComment()); + deviceGroup.setAttributesStatusProcessed(Status.CANCELLED, when, username, null); deviceGroupRepository.updateDeviceGroup(deviceGroup); // previous @@ -330,7 +330,7 @@ public class DeviceGroupService { // notification // // attributes - // uuid, comment + // uuid String uuid = structureElementCommand.getUuid().toString(); @@ -342,7 +342,7 @@ public class DeviceGroupService { DeviceGroup deviceGroup = deviceGroups.get(0); // reject - deviceGroup.setAttributesStatusProcessed(Status.REJECTED, when, username, structureElementCommand.getComment()); + deviceGroup.setAttributesStatusProcessed(Status.REJECTED, when, username, null); deviceGroupRepository.updateDeviceGroup(deviceGroup); // previous diff --git a/src/main/java/org/openepics/names/service/DeviceTypeService.java b/src/main/java/org/openepics/names/service/DeviceTypeService.java index b7b2ee15..e12c110d 100644 --- a/src/main/java/org/openepics/names/service/DeviceTypeService.java +++ b/src/main/java/org/openepics/names/service/DeviceTypeService.java @@ -87,7 +87,7 @@ public class DeviceTypeService { // notification // // attributes - // type, parent, mnemonic, ordering, description, comment + // type, parent, mnemonic, ordering, description // note // namingConvention.equivalenceClassRepresentative return null for null input @@ -101,7 +101,7 @@ public class DeviceTypeService { DeviceType deviceType = new DeviceType(UUID.randomUUID(), structureElementCommand.getParent(), mnemonic, equivalenceClassRepresentative, structureElementCommand.getOrdering(), structureElementCommand.getDescription(), Status.PENDING, Boolean.FALSE, Boolean.FALSE, - when, username, structureElementCommand.getComment()); + when, username, null); deviceTypeRepository.createDeviceType(deviceType); return new StructureElementNotification( @@ -122,7 +122,7 @@ public class DeviceTypeService { // notification // // attributes - // uuid, type, parent, mnemonic, ordering, description, comment + // uuid, type, parent, mnemonic, ordering, description // note // namingConvention.equivalenceClassRepresentative return null for null input @@ -136,7 +136,7 @@ public class DeviceTypeService { DeviceType deviceType = new DeviceType(structureElementCommand.getUuid(), structureElementCommand.getParent(), mnemonic, equivalenceClassRepresentative, structureElementCommand.getOrdering(), structureElementCommand.getDescription(), Status.PENDING, Boolean.FALSE, Boolean.FALSE, - when, username, structureElementCommand.getComment()); + when, username, null); deviceTypeRepository.createDeviceType(deviceType); // previous @@ -161,7 +161,7 @@ public class DeviceTypeService { // notification // // attributes - // uuid, comment + // uuid // find List<DeviceType> deviceTypes = deviceTypeRepository.readDeviceTypes(Status.APPROVED, Boolean.FALSE, structureElementCommand.getUuid().toString(), null, null, null, null, null, null); @@ -174,7 +174,7 @@ public class DeviceTypeService { DeviceType deviceType = new DeviceType(toBeDeleted.getUuid(), toBeDeleted.getParentUuid(), toBeDeleted.getMnemonic(), toBeDeleted.getMnemonicEquivalence(), toBeDeleted.getOrdering(), toBeDeleted.getDescription(), Status.PENDING, Boolean.FALSE, Boolean.TRUE, - when, username, structureElementCommand.getComment()); + when, username, null); deviceTypeRepository.createDeviceType(deviceType); return new StructureElementNotification( @@ -212,7 +212,7 @@ public class DeviceTypeService { // notification // // attributes - // uuid, comment + // uuid String uuid = structureElementCommand.getUuid().toString(); @@ -235,7 +235,7 @@ public class DeviceTypeService { deviceType = deviceTypes.get(0); // approve - deviceType.setAttributesStatusProcessed(Status.APPROVED, when, username, structureElementCommand.getComment()); + deviceType.setAttributesStatusProcessed(Status.APPROVED, when, username, null); deviceType.setLatest(Boolean.TRUE); deviceTypeRepository.updateDeviceType(deviceType); @@ -272,7 +272,7 @@ public class DeviceTypeService { // notification // // attributes - // uuid, comment + // uuid String uuid = structureElementCommand.getUuid().toString(); @@ -283,7 +283,7 @@ public class DeviceTypeService { DeviceType deviceType = deviceTypes.get(0); // cancel - deviceType.setAttributesStatusProcessed(Status.CANCELLED, when, username, structureElementCommand.getComment()); + deviceType.setAttributesStatusProcessed(Status.CANCELLED, when, username, null); deviceTypeRepository.updateDeviceType(deviceType); // previous @@ -312,7 +312,7 @@ public class DeviceTypeService { // notification // // attributes - // uuid, comment + // uuid String uuid = structureElementCommand.getUuid().toString(); @@ -324,7 +324,7 @@ public class DeviceTypeService { DeviceType deviceType = deviceTypes.get(0); // reject - deviceType.setAttributesStatusProcessed(Status.REJECTED, when, username, structureElementCommand.getComment()); + deviceType.setAttributesStatusProcessed(Status.REJECTED, when, username, null); deviceTypeRepository.updateDeviceType(deviceType); // previous diff --git a/src/main/java/org/openepics/names/service/DisciplineService.java b/src/main/java/org/openepics/names/service/DisciplineService.java index 468060fc..446ee6f5 100644 --- a/src/main/java/org/openepics/names/service/DisciplineService.java +++ b/src/main/java/org/openepics/names/service/DisciplineService.java @@ -97,7 +97,7 @@ public class DisciplineService { // notification // // attributes - // type, parent, mnemonic, ordering, description, comment + // type, parent, mnemonic, ordering, description // note // namingConvention.equivalenceClassRepresentative return null for null input @@ -111,7 +111,7 @@ public class DisciplineService { Discipline discipline = new Discipline(UUID.randomUUID(), mnemonic, equivalenceClassRepresentative, structureElementCommand.getOrdering(), structureElementCommand.getDescription(), Status.PENDING, Boolean.FALSE, Boolean.FALSE, - when, username, structureElementCommand.getComment()); + when, username, null); disciplineRepository.createDiscipline(discipline); return new StructureElementNotification( @@ -132,7 +132,7 @@ public class DisciplineService { // notification // // attributes - // uuid, type, parent, mnemonic, ordering, description, comment + // uuid, type, parent, mnemonic, ordering, description // note // namingConvention.equivalenceClassRepresentative return null for null input @@ -146,7 +146,7 @@ public class DisciplineService { Discipline discipline = new Discipline(structureElementCommand.getUuid(), mnemonic, equivalenceClassRepresentative, structureElementCommand.getOrdering(), structureElementCommand.getDescription(), Status.PENDING, Boolean.FALSE, Boolean.FALSE, - when, username, structureElementCommand.getComment()); + when, username, null); disciplineRepository.createDiscipline(discipline); // previous @@ -171,7 +171,7 @@ public class DisciplineService { // notification // // attributes - // uuid, comment + // uuid // find List<Discipline> disciplines = disciplineRepository.readDisciplines(Status.APPROVED, Boolean.FALSE, structureElementCommand.getUuid().toString(), null, null, null, null, null); @@ -184,7 +184,7 @@ public class DisciplineService { Discipline discipline = new Discipline(toBeDeleted.getUuid(), toBeDeleted.getMnemonic(), toBeDeleted.getMnemonicEquivalence(), toBeDeleted.getOrdering(), toBeDeleted.getDescription(), Status.PENDING, Boolean.FALSE, Boolean.TRUE, - when, username, structureElementCommand.getComment()); + when, username, null); disciplineRepository.createDiscipline(discipline); return new StructureElementNotification( @@ -222,7 +222,7 @@ public class DisciplineService { // notification // // attributes - // uuid, comment + // uuid String uuid = structureElementCommand.getUuid().toString(); @@ -244,7 +244,7 @@ public class DisciplineService { discipline = disciplines.get(0); // approve - discipline.setAttributesStatusProcessed(Status.APPROVED, when, username, structureElementCommand.getComment()); + discipline.setAttributesStatusProcessed(Status.APPROVED, when, username, null); discipline.setLatest(Boolean.TRUE); disciplineRepository.updateDiscipline(discipline); @@ -262,7 +262,7 @@ public class DisciplineService { List<StructureElementCommand> commands = Lists.newArrayList(); List<DeviceGroup> deviceGroups = iDeviceGroupRepository.findLatestNotDeletedByParent(uuid); for (DeviceGroup deviceGroup : deviceGroups) { - commands.add(new StructureElementCommand(deviceGroup.getUuid(), Type.DEVICEGROUP, null, null, null, null, StructuresService.DELETE_AFTER_APPROVE_STRUCTURE_CHANGE)); + commands.add(new StructureElementCommand(deviceGroup.getUuid(), Type.DEVICEGROUP, null, null, null, null)); } for (StructureElementCommand command : commands) { deviceGroupService.deleteStructure(command, when, username, holderStructures); @@ -293,7 +293,7 @@ public class DisciplineService { // notification // // attributes - // uuid, comment + // uuid String uuid = structureElementCommand.getUuid().toString(); @@ -305,7 +305,7 @@ public class DisciplineService { Discipline discipline = disciplines.get(0); // cancel - discipline.setAttributesStatusProcessed(Status.CANCELLED, when, username, structureElementCommand.getComment()); + discipline.setAttributesStatusProcessed(Status.CANCELLED, when, username, null); disciplineRepository.updateDiscipline(discipline); // previous @@ -334,7 +334,7 @@ public class DisciplineService { // notification // // attributes - // uuid, comment + // uuid String uuid = structureElementCommand.getUuid().toString(); @@ -346,7 +346,7 @@ public class DisciplineService { Discipline discipline = disciplines.get(0); // reject - discipline.setAttributesStatusProcessed(Status.REJECTED, when, username, structureElementCommand.getComment()); + discipline.setAttributesStatusProcessed(Status.REJECTED, when, username, null); disciplineRepository.updateDiscipline(discipline); // previous diff --git a/src/main/java/org/openepics/names/service/NamesService.java b/src/main/java/org/openepics/names/service/NamesService.java index ea7d16ba..af5551e3 100644 --- a/src/main/java/org/openepics/names/service/NamesService.java +++ b/src/main/java/org/openepics/names/service/NamesService.java @@ -93,8 +93,6 @@ public class NamesService { private static final Logger LOGGER = Logger.getLogger(NamesService.class.getName()); - private static final String UPDATE_AFTER_APPROVE_STRUCTURE_CHANGE = "Update after APPROVE structure change"; - private HolderIRepositories holderIRepositories; private HolderRepositories holderRepositories; // convenience, also part of holderRepositories @@ -183,13 +181,13 @@ public class NamesService { // return name element for created name // // attributes - // parentSystemStructure, parentDeviceStructure, index, description, comment + // parentSystemStructure, parentDeviceStructure, index, description UUID parentSystemStructure = nameElementCommand.getParentSystemStructure(); UUID parentDeviceStructure = nameElementCommand.getParentDeviceStructure(); String index = nameElementCommand.getIndex(); String description = nameElementCommand.getDescription(); - String comment = nameElementCommand.getComment(); + String comment = null; // find // system structure - system group, system, subsystem - one of the three expected to be non-null, other two expected to be null @@ -217,8 +215,8 @@ public class NamesService { system != null ? system.getUuid() : null, subsystem != null ? subsystem.getUuid() : null, parentDeviceStructure, - index, derivedName, namingConvention.equivalenceClassRepresentative(derivedName), - description, Status.APPROVED, Boolean.TRUE, Boolean.FALSE, + index, derivedName, namingConvention.equivalenceClassRepresentative(derivedName), description, + Status.APPROVED, Boolean.TRUE, Boolean.FALSE, when, username, comment); nameRepository.createName(name); @@ -621,7 +619,7 @@ public class NamesService { // return name elements for updated names // // attributes - // uuid, parentSystemStructure, parentDeviceStructure, index, description, comment + // uuid, parentSystemStructure, parentDeviceStructure, index, description // initiate holder of system and device structure content, for performance reasons HolderStructures holderStructures = new HolderStructures(holderIRepositories); @@ -637,7 +635,7 @@ public class NamesService { UUID parentDeviceStructure = nameElementCommand.getParentDeviceStructure(); String index = nameElementCommand.getIndex(); String description = nameElementCommand.getDescription(); - String comment = nameElementCommand.getComment(); + String comment = null; Name name = holderIRepositories.nameRepository().findLatestByUuid(uuid.toString()); if (name == null) { @@ -679,8 +677,8 @@ public class NamesService { system != null ? system.getUuid() : null, subsystem != null ? subsystem.getUuid() : null, parentDeviceStructure, - index, derivedName, namingConvention.equivalenceClassRepresentative(derivedName), - description, Status.APPROVED, Boolean.TRUE, Boolean.FALSE, + index, derivedName, namingConvention.equivalenceClassRepresentative(derivedName), description, + Status.APPROVED, Boolean.TRUE, Boolean.FALSE, when, username, comment); nameRepository.createName(name); @@ -730,7 +728,7 @@ public class NamesService { nameElements.add( new NameElementCommand( name.getUuid(), name.getSystemGroupUuid(), name.getDeviceTypeUuid(), - name.getInstanceIndex(), name.getDescription(), UPDATE_AFTER_APPROVE_STRUCTURE_CHANGE)); + name.getInstanceIndex(), name.getDescription())); } } else if (previousStructure instanceof System && structure instanceof System) { // find @@ -740,7 +738,7 @@ public class NamesService { nameElements.add( new NameElementCommand( name.getUuid(), name.getSystemUuid(), name.getDeviceTypeUuid(), - name.getInstanceIndex(), name.getDescription(), UPDATE_AFTER_APPROVE_STRUCTURE_CHANGE)); + name.getInstanceIndex(), name.getDescription())); } names = holderIRepositories.nameRepository().findLatestBySystemUuidThroughSubsystem(structure.getUuid().toString()); @@ -748,7 +746,7 @@ public class NamesService { nameElements.add( new NameElementCommand( name.getUuid(), name.getSubsystemUuid(), name.getDeviceTypeUuid(), - name.getInstanceIndex(), name.getDescription(), UPDATE_AFTER_APPROVE_STRUCTURE_CHANGE)); + name.getInstanceIndex(), name.getDescription())); } } else if (previousStructure instanceof Subsystem && structure instanceof Subsystem) { // find @@ -758,7 +756,7 @@ public class NamesService { nameElements.add( new NameElementCommand( name.getUuid(), name.getSubsystemUuid(), name.getDeviceTypeUuid(), - name.getInstanceIndex(), name.getDescription(), UPDATE_AFTER_APPROVE_STRUCTURE_CHANGE)); + name.getInstanceIndex(), name.getDescription())); } } else if (previousStructure instanceof Discipline && structure instanceof Discipline) { // find @@ -775,7 +773,7 @@ public class NamesService { nameElements.add( new NameElementCommand( name.getUuid(), parentSystemStructure, name.getDeviceTypeUuid(), - name.getInstanceIndex(), name.getDescription(), UPDATE_AFTER_APPROVE_STRUCTURE_CHANGE)); + name.getInstanceIndex(), name.getDescription())); } } else if (previousStructure instanceof DeviceType && structure instanceof DeviceType) { // find @@ -792,7 +790,7 @@ public class NamesService { nameElements.add( new NameElementCommand( name.getUuid(), parentSystemStructure, name.getDeviceTypeUuid(), - name.getInstanceIndex(), name.getDescription(), UPDATE_AFTER_APPROVE_STRUCTURE_CHANGE)); + name.getInstanceIndex(), name.getDescription())); } } @@ -819,13 +817,13 @@ public class NamesService { // return name elements for deleted names // // attributes - // uuid, comment + // uuid Date when = new Date(); final List<NameElement> deletedNameElements = Lists.newArrayList(); for (NameElementCommand nameElementCommand : nameElementCommands) { UUID uuid = nameElementCommand.getUuid(); - String comment = nameElementCommand.getComment(); + String comment = null; Name name = holderIRepositories.nameRepository().findLatestByUuid(uuid.toString()); if (name == null) { @@ -840,8 +838,8 @@ public class NamesService { name.getSystemUuid(), name.getSubsystemUuid(), name.getDeviceTypeUuid(), - name.getInstanceIndex(), name.getConventionName(), name.getConventionNameEquivalence(), - name.getDescription(), Status.APPROVED, Boolean.TRUE, Boolean.TRUE, + name.getInstanceIndex(), name.getConventionName(), name.getConventionNameEquivalence(), name.getDescription(), + Status.APPROVED, Boolean.TRUE, Boolean.TRUE, when, username, comment); nameRepository.createName(name); diff --git a/src/main/java/org/openepics/names/service/StructuresService.java b/src/main/java/org/openepics/names/service/StructuresService.java index 2c027b0c..9c51bea2 100644 --- a/src/main/java/org/openepics/names/service/StructuresService.java +++ b/src/main/java/org/openepics/names/service/StructuresService.java @@ -90,7 +90,6 @@ public class StructuresService { private static final Logger LOGGER = Logger.getLogger(StructuresService.class.getName()); protected static final String SYSTEM_STRUCTURE_ONLY = "System structure only"; - protected static final String DELETE_AFTER_APPROVE_STRUCTURE_CHANGE = "Delete after APPROVE structure change"; private HolderIRepositories holderIRepositories; private HolderRepositories holderRepositories; diff --git a/src/main/java/org/openepics/names/service/SubsystemService.java b/src/main/java/org/openepics/names/service/SubsystemService.java index 475078e9..87363b31 100644 --- a/src/main/java/org/openepics/names/service/SubsystemService.java +++ b/src/main/java/org/openepics/names/service/SubsystemService.java @@ -88,7 +88,7 @@ public class SubsystemService { // notification // // attributes - // type, parent, mnemonic, ordering, description, comment + // type, parent, mnemonic, ordering, description // note // namingConvention.equivalenceClassRepresentative return null for null input @@ -102,7 +102,7 @@ public class SubsystemService { Subsystem subsystem = new Subsystem(UUID.randomUUID(), structureElementCommand.getParent(), mnemonic, equivalenceClassRepresentative, structureElementCommand.getOrdering(), structureElementCommand.getDescription(), Status.PENDING, Boolean.FALSE, Boolean.FALSE, - when, username, structureElementCommand.getComment()); + when, username, null); subsystemRepository.createSubsystem(subsystem); return new StructureElementNotification( @@ -123,7 +123,7 @@ public class SubsystemService { // notification // // attributes - // uuid, type, parent, mnemonic, ordering, description, comment + // uuid, type, parent, mnemonic, ordering, description // note // namingConvention.equivalenceClassRepresentative return null for null input @@ -137,7 +137,7 @@ public class SubsystemService { Subsystem subsystem = new Subsystem(structureElementCommand.getUuid(), structureElementCommand.getParent(), mnemonic, equivalenceClassRepresentative, structureElementCommand.getOrdering(), structureElementCommand.getDescription(), Status.PENDING, Boolean.FALSE, Boolean.FALSE, - when, username, structureElementCommand.getComment()); + when, username, null); subsystemRepository.createSubsystem(subsystem); // previous @@ -162,7 +162,7 @@ public class SubsystemService { // notification // // attributes - // uuid, comment + // uuid // find List<Subsystem> subsystems = subsystemRepository.readSubsystems(Status.APPROVED, Boolean.FALSE, structureElementCommand.getUuid().toString(), null, null, null, null, null, null); @@ -175,7 +175,7 @@ public class SubsystemService { Subsystem subsystem = new Subsystem(toBeDeleted.getUuid(), toBeDeleted.getParentUuid(), toBeDeleted.getMnemonic(), toBeDeleted.getMnemonicEquivalence(), toBeDeleted.getOrdering(), toBeDeleted.getDescription(), Status.PENDING, Boolean.FALSE, Boolean.TRUE, - when, username, structureElementCommand.getComment()); + when, username, null); subsystemRepository.createSubsystem(subsystem); return new StructureElementNotification( @@ -213,7 +213,7 @@ public class SubsystemService { // notification // // attributes - // uuid, comment + // uuid String uuid = structureElementCommand.getUuid().toString(); @@ -236,7 +236,7 @@ public class SubsystemService { subsystem = subsystems.get(0); // approve - subsystem.setAttributesStatusProcessed(Status.APPROVED, when, username, structureElementCommand.getComment()); + subsystem.setAttributesStatusProcessed(Status.APPROVED, when, username, null); subsystem.setLatest(Boolean.TRUE); subsystemRepository.updateSubsystem(subsystem); @@ -250,7 +250,7 @@ public class SubsystemService { boolean hasMnemonic = !StringUtils.isEmpty(subsystem.getMnemonic()); boolean existsName = hasMnemonic && namesService.existsName(StructureUtil.getMnemonicPath(subsystem, holderStructures)); if (hasMnemonic && !existsName) { - NameElementCommand nameElement = new NameElementCommand(null, subsystem.getUuid(), null, null, StructuresService.SYSTEM_STRUCTURE_ONLY, null); + NameElementCommand nameElement = new NameElementCommand(null, subsystem.getUuid(), null, null, StructuresService.SYSTEM_STRUCTURE_ONLY); namesService.createName(nameElement, when, username, holderStructures); } } else if (StructureCommand.UPDATE.equals(structureCommandCUD)) { @@ -280,7 +280,7 @@ public class SubsystemService { // notification // // attributes - // uuid, comment + // uuid String uuid = structureElementCommand.getUuid().toString(); @@ -292,7 +292,7 @@ public class SubsystemService { Subsystem subsystem = subsystems.get(0); // cancel - subsystem.setAttributesStatusProcessed(Status.CANCELLED, when, username, structureElementCommand.getComment()); + subsystem.setAttributesStatusProcessed(Status.CANCELLED, when, username, null); subsystemRepository.updateSubsystem(subsystem); // previous @@ -321,7 +321,7 @@ public class SubsystemService { // notification // // attributes - // uuid, comment + // uuid String uuid = structureElementCommand.getUuid().toString(); @@ -333,7 +333,7 @@ public class SubsystemService { Subsystem subsystem = subsystems.get(0); // reject - subsystem.setAttributesStatusProcessed(Status.REJECTED, when, username, structureElementCommand.getComment()); + subsystem.setAttributesStatusProcessed(Status.REJECTED, when, username, null); subsystemRepository.updateSubsystem(subsystem); // previous diff --git a/src/main/java/org/openepics/names/service/SystemGroupService.java b/src/main/java/org/openepics/names/service/SystemGroupService.java index 54cf4fce..41de569e 100644 --- a/src/main/java/org/openepics/names/service/SystemGroupService.java +++ b/src/main/java/org/openepics/names/service/SystemGroupService.java @@ -98,7 +98,7 @@ public class SystemGroupService { // notification // // attributes - // type, parent, mnemonic, ordering, description, comment + // type, parent, mnemonic, ordering, description // note // namingConvention.equivalenceClassRepresentative return null for null input @@ -112,7 +112,7 @@ public class SystemGroupService { SystemGroup systemGroup = new SystemGroup(UUID.randomUUID(), mnemonic, equivalenceClassRepresentative, structureElementCommand.getOrdering(), structureElementCommand.getDescription(), Status.PENDING, Boolean.FALSE, Boolean.FALSE, - when, username, structureElementCommand.getComment()); + when, username, null); systemGroupRepository.createSystemGroup(systemGroup); return new StructureElementNotification( @@ -133,7 +133,7 @@ public class SystemGroupService { // notification // // attributes - // uuid, type, parent, mnemonic, ordering, description, comment + // uuid, type, parent, mnemonic, ordering, description // note // namingConvention.equivalenceClassRepresentative return null for null input @@ -147,7 +147,7 @@ public class SystemGroupService { SystemGroup systemGroup = new SystemGroup(structureElementCommand.getUuid(), mnemonic, equivalenceClassRepresentative, structureElementCommand.getOrdering(), structureElementCommand.getDescription(), Status.PENDING, Boolean.FALSE, Boolean.FALSE, - when, username, structureElementCommand.getComment()); + when, username, null); systemGroupRepository.createSystemGroup(systemGroup); // previous @@ -172,7 +172,7 @@ public class SystemGroupService { // notification // // attributes - // uuid, comment + // uuid // find List<SystemGroup> systemGroups = systemGroupRepository.readSystemGroups(Status.APPROVED, Boolean.FALSE, structureElementCommand.getUuid().toString(), null, null, null, null, null); @@ -185,7 +185,7 @@ public class SystemGroupService { SystemGroup systemGroup = new SystemGroup(toBeDeleted.getUuid(), toBeDeleted.getMnemonic(), toBeDeleted.getMnemonicEquivalence(), toBeDeleted.getOrdering(), toBeDeleted.getDescription(), Status.PENDING, Boolean.FALSE, Boolean.TRUE, - when, username, structureElementCommand.getComment()); + when, username, null); systemGroupRepository.createSystemGroup(systemGroup); return new StructureElementNotification( @@ -223,7 +223,7 @@ public class SystemGroupService { // notification // // attributes - // uuid, comment + // uuid String uuid = structureElementCommand.getUuid().toString(); @@ -246,7 +246,7 @@ public class SystemGroupService { systemGroup = systemGroups.get(0); // approve - systemGroup.setAttributesStatusProcessed(Status.APPROVED, when, username, structureElementCommand.getComment()); + systemGroup.setAttributesStatusProcessed(Status.APPROVED, when, username, null); systemGroup.setLatest(Boolean.TRUE); systemGroupRepository.updateSystemGroup(systemGroup); @@ -260,7 +260,7 @@ public class SystemGroupService { boolean hasMnemonic = !StringUtils.isEmpty(systemGroup.getMnemonic()); boolean existsName = hasMnemonic && namesService.existsName(StructureUtil.getMnemonicPath(systemGroup, holderStructures)); if (hasMnemonic && !existsName) { - NameElementCommand nameElement = new NameElementCommand(null, systemGroup.getUuid(), null, null, StructuresService.SYSTEM_STRUCTURE_ONLY, null); + NameElementCommand nameElement = new NameElementCommand(null, systemGroup.getUuid(), null, null, StructuresService.SYSTEM_STRUCTURE_ONLY); namesService.createName(nameElement, when, username, holderStructures); } } else if (StructureCommand.UPDATE.equals(structureCommandCUD)) { @@ -271,7 +271,7 @@ public class SystemGroupService { List<StructureElementCommand> commands = Lists.newArrayList(); List<System> systems = iSystemRepository.findLatestNotDeletedByParent(uuid); for (System system : systems) { - commands.add(new StructureElementCommand(system.getUuid(), Type.SYSTEM, null, null, null, null, StructuresService.DELETE_AFTER_APPROVE_STRUCTURE_CHANGE)); + commands.add(new StructureElementCommand(system.getUuid(), Type.SYSTEM, null, null, null, null)); } for (StructureElementCommand command : commands) { systemService.deleteStructure(command, when, username, holderStructures); @@ -302,7 +302,7 @@ public class SystemGroupService { // notification // // attributes - // uuid, comment + // uuid String uuid = structureElementCommand.getUuid().toString(); @@ -314,7 +314,7 @@ public class SystemGroupService { SystemGroup systemGroup = systemGroups.get(0); // cancel - systemGroup.setAttributesStatusProcessed(Status.CANCELLED, when, username, structureElementCommand.getComment()); + systemGroup.setAttributesStatusProcessed(Status.CANCELLED, when, username, null); systemGroupRepository.updateSystemGroup(systemGroup); // previous @@ -343,7 +343,7 @@ public class SystemGroupService { // notification // // attributes - // uuid, comment + // uuid String uuid = structureElementCommand.getUuid().toString(); @@ -355,7 +355,7 @@ public class SystemGroupService { SystemGroup systemGroup = systemGroups.get(0); // reject - systemGroup.setAttributesStatusProcessed(Status.REJECTED, when, username, structureElementCommand.getComment()); + systemGroup.setAttributesStatusProcessed(Status.REJECTED, when, username, null); systemGroupRepository.updateSystemGroup(systemGroup); // previous diff --git a/src/main/java/org/openepics/names/service/SystemService.java b/src/main/java/org/openepics/names/service/SystemService.java index eecb9a11..1baeed0d 100644 --- a/src/main/java/org/openepics/names/service/SystemService.java +++ b/src/main/java/org/openepics/names/service/SystemService.java @@ -98,7 +98,7 @@ public class SystemService { // notification // // attributes - // type, parent, mnemonic, ordering, description, comment + // type, parent, mnemonic, ordering, description // note // namingConvention.equivalenceClassRepresentative return null for null input @@ -112,7 +112,7 @@ public class SystemService { System system = new System(UUID.randomUUID(), structureElementCommand.getParent(), mnemonic, equivalenceClassRepresentative, structureElementCommand.getOrdering(), structureElementCommand.getDescription(), Status.PENDING, Boolean.FALSE, Boolean.FALSE, - when, username, structureElementCommand.getComment()); + when, username, null); systemRepository.createSystem(system); return new StructureElementNotification( @@ -133,7 +133,7 @@ public class SystemService { // notification // // attributes - // uuid, type, parent, mnemonic, ordering, description, comment + // uuid, type, parent, mnemonic, ordering, description // note // namingConvention.equivalenceClassRepresentative return null for null input @@ -147,7 +147,7 @@ public class SystemService { System system = new System(structureElementCommand.getUuid(), structureElementCommand.getParent(), mnemonic, equivalenceClassRepresentative, structureElementCommand.getOrdering(), structureElementCommand.getDescription(), Status.PENDING, Boolean.FALSE, Boolean.FALSE, - when, username, structureElementCommand.getComment()); + when, username, null); systemRepository.createSystem(system); // previous @@ -172,7 +172,7 @@ public class SystemService { // notification // // attributes - // uuid, comment + // uuid // find List<System> systems = systemRepository.readSystems(Status.APPROVED, Boolean.FALSE, structureElementCommand.getUuid().toString(), null, null, null, null, null, null); @@ -185,7 +185,7 @@ public class SystemService { System system = new System(toBeDeleted.getUuid(), toBeDeleted.getParentUuid(), toBeDeleted.getMnemonic(), toBeDeleted.getMnemonicEquivalence(), toBeDeleted.getOrdering(), toBeDeleted.getDescription(), Status.PENDING, Boolean.FALSE, Boolean.TRUE, - when, username, structureElementCommand.getComment()); + when, username, null); systemRepository.createSystem(system); return new StructureElementNotification( @@ -223,7 +223,7 @@ public class SystemService { // notification // // attributes - // uuid, comment + // uuid String uuid = structureElementCommand.getUuid().toString(); @@ -246,7 +246,7 @@ public class SystemService { system = systems.get(0); // approve - system.setAttributesStatusProcessed(Status.APPROVED, when, username, structureElementCommand.getComment()); + system.setAttributesStatusProcessed(Status.APPROVED, when, username, null); system.setLatest(Boolean.TRUE); systemRepository.updateSystem(system); @@ -260,7 +260,7 @@ public class SystemService { boolean hasMnemonic = !StringUtils.isEmpty(system.getMnemonic()); boolean existsName = hasMnemonic && namesService.existsName(StructureUtil.getMnemonicPath(system, holderStructures)); if (hasMnemonic && !existsName) { - NameElementCommand nameElement = new NameElementCommand(null, system.getUuid(), null, null, StructuresService.SYSTEM_STRUCTURE_ONLY, null); + NameElementCommand nameElement = new NameElementCommand(null, system.getUuid(), null, null, StructuresService.SYSTEM_STRUCTURE_ONLY); namesService.createName(nameElement, when, username, holderStructures); } } else if (StructureCommand.UPDATE.equals(structureCommandCUD)) { @@ -271,7 +271,7 @@ public class SystemService { List<StructureElementCommand> commands = Lists.newArrayList(); List<Subsystem> subsystems = iSubsystemRepository.findLatestNotDeletedByParent(uuid); for (Subsystem subsystem : subsystems) { - commands.add(new StructureElementCommand(subsystem.getUuid(), Type.SUBSYSTEM, null, null, null, null, StructuresService.DELETE_AFTER_APPROVE_STRUCTURE_CHANGE)); + commands.add(new StructureElementCommand(subsystem.getUuid(), Type.SUBSYSTEM, null, null, null, null)); } for (StructureElementCommand command : commands) { subsystemService.deleteStructure(command, when, username, holderStructures); @@ -302,7 +302,7 @@ public class SystemService { // notification // // attributes - // uuid, comment + // uuid String uuid = structureElementCommand.getUuid().toString(); @@ -314,7 +314,7 @@ public class SystemService { System system = systems.get(0); // cancel - system.setAttributesStatusProcessed(Status.CANCELLED, when, username, structureElementCommand.getComment()); + system.setAttributesStatusProcessed(Status.CANCELLED, when, username, null); systemRepository.updateSystem(system); // previous @@ -343,7 +343,7 @@ public class SystemService { // notification // // attributes - // uuid, comment + // uuid String uuid = structureElementCommand.getUuid().toString(); @@ -355,7 +355,7 @@ public class SystemService { System system = systems.get(0); // reject - system.setAttributesStatusProcessed(Status.REJECTED, when, username, structureElementCommand.getComment()); + system.setAttributesStatusProcessed(Status.REJECTED, when, username, null); systemRepository.updateSystem(system); // previous diff --git a/src/main/java/org/openepics/names/util/ExcelUtil.java b/src/main/java/org/openepics/names/util/ExcelUtil.java index 4cfb4794..aa6765b0 100644 --- a/src/main/java/org/openepics/names/util/ExcelUtil.java +++ b/src/main/java/org/openepics/names/util/ExcelUtil.java @@ -70,14 +70,13 @@ public class ExcelUtil { // column width 3.44 inch (to fit header text and uuid) private static final int SHEET_COLUMN_WIDTH = 35 * 256 + 64; - private static final int NAMEELEMENTCOMMAND_LENGTH = 6; + private static final int NAMEELEMENTCOMMAND_LENGTH = 5; private static final String[][] NAMEELEMENT_HEADER_COMMENT = { {"Uuid", "Identity (uuid) of the name entry. Value is created server-side."}, {"ParentSystemStructure", "Identity (uuid) for the system structure parent."}, {"ParentDeviceStructure", "Identity (uuid) for the device structure parent (if the name entry refers to device structure)."}, {"Index", "Index (instance) of the name entry (if the name entry refers to device structure)."}, {"Description", "Description (verbose) of the name entry."}, - {"Comment", "Comment of the name entry command."}, // above NameElementCommand {"SystemStructure", "Mnemonic path for for the system structure."}, {"DeviceStructure", "Mnemonic path for for the device structure."}, @@ -86,9 +85,10 @@ public class ExcelUtil { {"Latest", "If the name entry is latest (with status APPROVED) in its line of entries."}, {"Deleted", "If the name entry is deleted."}, {"When", "Date and time when the name entry was created."}, - {"Who", "Name (user) of who created the name entry."} }; + {"Who", "Name (user) of who created the name entry."}, + {"Comment", "Comment of the name entry command."} }; - private static final int STRUCTUREELEMENTCOMMAND_LENGTH = 7; + private static final int STRUCTUREELEMENTCOMMAND_LENGTH = 6; private static final String[][] STRUCTUREELEMENT_HEADER_COMMENT = { {"Uuid", "Identity (uuid) of the structure entry. Value is created server-side."}, {"Type", "Type of the structure entry. Valid values - SYSTEMGROUP, SYSTEM, SUBSYSTEM, DISCIPLINE, DEVICEGROUP, DEVICETYPE."}, @@ -96,7 +96,6 @@ public class ExcelUtil { {"Mnemonic", "Mnemonic of the structure entry."}, {"Ordering", "Ordering of the structure entry."}, {"Description", "Description (verbose) of the structure entry."}, - {"Comment", "Comment of the structure entry command."}, // above StructureElementCommand {"MnemonicPath", "Mnemonic path of the structure entry."}, {"Level", "Level of the structure entry."}, @@ -104,7 +103,8 @@ public class ExcelUtil { {"Latest", "If the structure entry is latest (with status APPROVED) in its line of entries."}, {"Deleted", "If the structure entry is deleted."}, {"When", "Date and time when the structure entry was created."}, - {"Who", "Name (user) of who created the structure entry."} }; + {"Who", "Name (user) of who created the structure entry."}, + {"Comment", "Comment of the structure entry command."} }; private static final String ARIAL = "Arial"; private static final String SHEET = "Entries"; @@ -147,9 +147,9 @@ public class ExcelUtil { // see validateHeaderNameElementCommand // NameElementCommand - // create - parentSystemStructure, parentDeviceStructure, index, description, comment - // update - uuid, parentSystemStructure, parentDeviceStructure, index, description, comment - // delete - uuid, comment + // create - parentSystemStructure, parentDeviceStructure, index, description + // update - uuid, parentSystemStructure, parentDeviceStructure, index, description + // delete - uuid int rowIndex = 0; int columnIndex = 0; @@ -198,9 +198,6 @@ public class ExcelUtil { case 4: nameElementCommand.setDescription(value); break; - case 5: - nameElementCommand.setComment(value); - break; default: if (columnIndex > NAMEELEMENT_HEADER_COMMENT.length - 1) { throw new IllegalArgumentException( @@ -249,9 +246,9 @@ public class ExcelUtil { // see validateHeaderStructureElementCommand // StructureElementCommand - // create - type, parent, mnemonic, ordering, description, comment - // update - uuid, type, parent, mnemonic, ordering, description, comment - // delete - uuid, type comment + // create - type, parent, mnemonic, ordering, description + // update - uuid, type, parent, mnemonic, ordering, description + // delete - uuid, type int rowIndex = 0; int columnIndex = 0; @@ -303,9 +300,6 @@ public class ExcelUtil { case 5: structureElementCommand.setDescription(value); break; - case 6: - structureElementCommand.setComment(value); - break; default: if (columnIndex > STRUCTUREELEMENT_HEADER_COMMENT.length - 1) { throw new IllegalArgumentException( @@ -486,31 +480,31 @@ public class ExcelUtil { cell.setCellValue(nameElement.getDescription()); break; case 5: - cell.setCellValue(nameElement.getComment()); + cell.setCellValue(nameElement.getSystemStructure()); break; case 6: - cell.setCellValue(nameElement.getSystemStructure()); + cell.setCellValue(nameElement.getDeviceStructure()); break; case 7: - cell.setCellValue(nameElement.getDeviceStructure()); + cell.setCellValue(nameElement.getName()); break; case 8: - cell.setCellValue(nameElement.getName()); + cell.setCellValue(nameElement.getStatus() != null ? nameElement.getStatus().toString() : null); break; case 9: - cell.setCellValue(nameElement.getStatus() != null ? nameElement.getStatus().toString() : null); + cell.setCellValue(nameElement.isLatest()); break; case 10: - cell.setCellValue(nameElement.isLatest()); + cell.setCellValue(nameElement.isDeleted()); break; case 11: - cell.setCellValue(nameElement.isDeleted()); + cell.setCellValue(DateFormat.getDateTimeInstance().format(nameElement.getWhen())); break; case 12: - cell.setCellValue(DateFormat.getDateTimeInstance().format(nameElement.getWhen())); + cell.setCellValue(nameElement.getWho()); break; case 13: - cell.setCellValue(nameElement.getWho()); + cell.setCellValue(nameElement.getComment()); break; default: break; @@ -616,28 +610,28 @@ public class ExcelUtil { cell.setCellValue(structureElement.getDescription()); break; case 6: - cell.setCellValue(structureElement.getComment()); + cell.setCellValue(structureElement.getMnemonicPath()); break; case 7: - cell.setCellValue(structureElement.getMnemonicPath()); + cell.setCellValue(structureElement.getLevel()); break; case 8: - cell.setCellValue(structureElement.getLevel()); + cell.setCellValue(structureElement.getStatus() != null ? structureElement.getStatus().toString() : null); break; case 9: - cell.setCellValue(structureElement.getStatus() != null ? structureElement.getStatus().toString() : null); + cell.setCellValue(structureElement.isLatest()); break; case 10: - cell.setCellValue(structureElement.isLatest()); + cell.setCellValue(structureElement.isDeleted()); break; case 11: - cell.setCellValue(structureElement.isDeleted()); + cell.setCellValue(DateFormat.getDateTimeInstance().format(structureElement.getWhen())); break; case 12: - cell.setCellValue(DateFormat.getDateTimeInstance().format(structureElement.getWhen())); + cell.setCellValue(structureElement.getWho()); break; case 13: - cell.setCellValue(structureElement.getWho()); + cell.setCellValue(structureElement.getComment()); break; default: break; diff --git a/src/main/java/org/openepics/names/util/NameElementUtil.java b/src/main/java/org/openepics/names/util/NameElementUtil.java index 502f6b99..4d0948bd 100644 --- a/src/main/java/org/openepics/names/util/NameElementUtil.java +++ b/src/main/java/org/openepics/names/util/NameElementUtil.java @@ -92,12 +92,12 @@ public class NameElementUtil { : null; return getNameElement( - name.getUuid(), - parentSystemStructure, name.getDeviceTypeUuid(), + name.getUuid(), parentSystemStructure, name.getDeviceTypeUuid(), + name.getInstanceIndex(), name.getDescription(), NamingConventionUtil.extractMnemonicPathSystemStructure(name.getConventionName()), NamingConventionUtil.extractMnemonicPathDeviceStructure(name.getConventionName()), - name.getInstanceIndex(), name.getConventionName(), - name.getDescription(), Status.APPROVED, name.isLatest(), name.isDeleted(), + name.getConventionName(), + Status.APPROVED, name.isLatest(), name.isDeleted(), name.getRequested(), name.getRequestedBy(), name.getRequestedComment()); } @@ -107,11 +107,11 @@ public class NameElementUtil { * @param uuid uuid * @param parentSystemStructure parent system structure uuid (system group, system, subsystem) * @param parentDeviceStructure parent device structure uuid (device type) + * @param index instance index + * @param description description * @param systemStructure system structure mnemonic path * @param deviceStructure device structure mnemonic path - * @param index instance index * @param name name - * @param description description * @param status status * @param latest latest * @param deleted deleted @@ -121,19 +121,18 @@ public class NameElementUtil { * @return name element */ protected static NameElement getNameElement( - UUID uuid, - UUID parentSystemStructure, UUID parentDeviceStructure, - String systemStructure, String deviceStructure, - String index, String name, - String description, Status status, Boolean latest, Boolean deleted, + UUID uuid, UUID parentSystemStructure, UUID parentDeviceStructure, + String index, String description, + String systemStructure, String deviceStructure, String name, + Status status, Boolean latest, Boolean deleted, Date when, String who, String comment) { return new NameElement( - uuid, parentSystemStructure, parentDeviceStructure, index, - description, comment, + uuid, parentSystemStructure, parentDeviceStructure, + index, description, systemStructure, deviceStructure, name, status, latest, deleted, - when, who); + when, who, comment); } /** @@ -157,7 +156,6 @@ public class NameElementUtil { // parentDeviceStructure // index // description - // comment // Name // x systemgroup_uuid // x system_uuid @@ -203,7 +201,6 @@ public class NameElementUtil { return false; } else if (!nameElement.getDescription().equals(name.getDescription())) return false; - // no need to compare comment, it is comment to action that is taken, not considered state return true; } @@ -222,8 +219,7 @@ public class NameElementUtil { command.getParentSystemStructure(), command.getParentDeviceStructure(), command.getIndex(), - command.getDescription(), - command.getComment()); + command.getDescription()); } /** @@ -252,8 +248,7 @@ public class NameElementUtil { command.getParentSystemStructure(), command.getParentDeviceStructure(), command.getIndex(), - command.getDescription(), - command.getComment()); + command.getDescription()); } /** @@ -282,8 +277,7 @@ public class NameElementUtil { null, null, null, - null, - command.getComment()); + null); } /** @@ -313,8 +307,7 @@ public class NameElementUtil { command.getParentSystemStructure(), command.getParentDeviceStructure(), command.getIndex(), - command.getDescription(), - command.getComment()); + command.getDescription()); } /** @@ -343,8 +336,7 @@ public class NameElementUtil { command.getParentSystemStructure(), command.getParentDeviceStructure(), command.getIndex(), - command.getDescription(), - command.getComment()); + command.getDescription()); } /** @@ -369,8 +361,7 @@ public class NameElementUtil { */ public static NameElementCommandConfirm convertCommand2CommandConfirm(NameElementCommand command) { return new NameElementCommandConfirm( - command.getUuid(), - command.getComment()); + command.getUuid()); } /** @@ -400,8 +391,7 @@ public class NameElementUtil { element.getParentSystemStructure(), element.getParentDeviceStructure(), element.getIndex(), - element.getDescription(), - element.getComment()); + element.getDescription()); } /** @@ -430,8 +420,7 @@ public class NameElementUtil { element.getParentSystemStructure(), element.getParentDeviceStructure(), element.getIndex(), - element.getDescription(), - element.getComment()); + element.getDescription()); } /** @@ -456,8 +445,7 @@ public class NameElementUtil { */ public static NameElementCommandConfirm convertElement2CommandConfirm(NameElement element) { return new NameElementCommandConfirm( - element.getUuid(), - element.getComment()); + element.getUuid()); } /** diff --git a/src/main/java/org/openepics/names/util/StructureElementUtil.java b/src/main/java/org/openepics/names/util/StructureElementUtil.java index 4d7db60d..8fe20cb6 100644 --- a/src/main/java/org/openepics/names/util/StructureElementUtil.java +++ b/src/main/java/org/openepics/names/util/StructureElementUtil.java @@ -282,11 +282,10 @@ public class StructureElementUtil { String mnemonicPath = null; return getStructureElement( - systemGroup.getUuid(), - Type.SYSTEMGROUP, - null, - systemGroup.getMnemonic(), mnemonicPath, systemGroup.getOrdering(), 1, - systemGroup.getDescription(), Status.PENDING, Boolean.FALSE, systemGroup.isDeleted(), + systemGroup.getUuid(), Type.SYSTEMGROUP, null, + systemGroup.getMnemonic(), systemGroup.getOrdering(), systemGroup.getDescription(), + mnemonicPath, 1, + Status.PENDING, Boolean.FALSE, systemGroup.isDeleted(), systemGroup.getRequested(), systemGroup.getRequestedBy(), systemGroup.getRequestedComment()); } /** @@ -311,11 +310,10 @@ public class StructureElementUtil { : StructureUtil.getMnemonicPath(systemGroup, holderStructures); return getStructureElement( - systemGroup.getUuid(), - Type.SYSTEMGROUP, - null, - systemGroup.getMnemonic(), mnemonicPath, systemGroup.getOrdering(), 1, - systemGroup.getDescription(), systemGroup.getStatus(), systemGroup.isLatest(), systemGroup.isDeleted(), + systemGroup.getUuid(), Type.SYSTEMGROUP, null, + systemGroup.getMnemonic(), systemGroup.getOrdering(), systemGroup.getDescription(), + mnemonicPath, 1, + systemGroup.getStatus(), systemGroup.isLatest(), systemGroup.isDeleted(), systemGroup.getProcessed(), systemGroup.getProcessedBy(), systemGroup.getProcessedComment()); } /** @@ -336,11 +334,10 @@ public class StructureElementUtil { String mnemonicPath = null; return getStructureElement( - system.getUuid(), - Type.SYSTEM, - system.getParentUuid(), - system.getMnemonic(), mnemonicPath, system.getOrdering(), 2, - system.getDescription(), Status.PENDING, Boolean.FALSE, system.isDeleted(), + system.getUuid(), Type.SYSTEM, system.getParentUuid(), + system.getMnemonic(), system.getOrdering(), system.getDescription(), + mnemonicPath, 2, + Status.PENDING, Boolean.FALSE, system.isDeleted(), system.getRequested(), system.getRequestedBy(), system.getRequestedComment()); } /** @@ -365,11 +362,10 @@ public class StructureElementUtil { : StructureUtil.getMnemonicPath(system, holderStructures); return getStructureElement( - system.getUuid(), - Type.SYSTEM, - system.getParentUuid(), - system.getMnemonic(), mnemonicPath, system.getOrdering(), 2, - system.getDescription(), system.getStatus(), system.isLatest(), system.isDeleted(), + system.getUuid(), Type.SYSTEM, system.getParentUuid(), + system.getMnemonic(), system.getOrdering(), system.getDescription(), + mnemonicPath, 2, + system.getStatus(), system.isLatest(), system.isDeleted(), system.getProcessed(), system.getProcessedBy(), system.getProcessedComment()); } /** @@ -390,11 +386,10 @@ public class StructureElementUtil { String mnemonicPath = null; return getStructureElement( - subsystem.getUuid(), - Type.SUBSYSTEM, - subsystem.getParentUuid(), - subsystem.getMnemonic(), mnemonicPath, subsystem.getOrdering(), 3, - subsystem.getDescription(), Status.PENDING, Boolean.FALSE, subsystem.isDeleted(), + subsystem.getUuid(), Type.SUBSYSTEM, subsystem.getParentUuid(), + subsystem.getMnemonic(), subsystem.getOrdering(), subsystem.getDescription(), + mnemonicPath, 3, + Status.PENDING, Boolean.FALSE, subsystem.isDeleted(), subsystem.getRequested(), subsystem.getRequestedBy(), subsystem.getRequestedComment()); } /** @@ -419,11 +414,10 @@ public class StructureElementUtil { : StructureUtil.getMnemonicPath(subsystem, holderStructures); return getStructureElement( - subsystem.getUuid(), - Type.SUBSYSTEM, - subsystem.getParentUuid(), - subsystem.getMnemonic(), mnemonicPath, subsystem.getOrdering(), 3, - subsystem.getDescription(), subsystem.getStatus(), subsystem.isLatest(), subsystem.isDeleted(), + subsystem.getUuid(), Type.SUBSYSTEM, subsystem.getParentUuid(), + subsystem.getMnemonic(), subsystem.getOrdering(), subsystem.getDescription(), + mnemonicPath, 3, + subsystem.getStatus(), subsystem.isLatest(), subsystem.isDeleted(), subsystem.getProcessed(), subsystem.getProcessedBy(), subsystem.getProcessedComment()); } @@ -445,11 +439,10 @@ public class StructureElementUtil { String mnemonicPath = null; return getStructureElement( - discipline.getUuid(), - Type.DISCIPLINE, - null, - discipline.getMnemonic(), mnemonicPath, discipline.getOrdering(), 1, - discipline.getDescription(), Status.PENDING, Boolean.FALSE, discipline.isDeleted(), + discipline.getUuid(), Type.DISCIPLINE, null, + discipline.getMnemonic(), discipline.getOrdering(), discipline.getDescription(), + mnemonicPath, 1, + Status.PENDING, Boolean.FALSE, discipline.isDeleted(), discipline.getRequested(), discipline.getRequestedBy(), discipline.getRequestedComment()); } /** @@ -474,11 +467,10 @@ public class StructureElementUtil { : StructureUtil.getMnemonicPath(discipline, holderStructures); return getStructureElement( - discipline.getUuid(), - Type.DISCIPLINE, - null, - discipline.getMnemonic(), mnemonicPath, discipline.getOrdering(), 1, - discipline.getDescription(), discipline.getStatus(), discipline.isLatest(), discipline.isDeleted(), + discipline.getUuid(), Type.DISCIPLINE, null, + discipline.getMnemonic(), discipline.getOrdering(), discipline.getDescription(), + mnemonicPath, 1, + discipline.getStatus(), discipline.isLatest(), discipline.isDeleted(), discipline.getProcessed(), discipline.getProcessedBy(), discipline.getProcessedComment()); } /** @@ -499,11 +491,10 @@ public class StructureElementUtil { String mnemonicPath = null; return getStructureElement( - deviceGroup.getUuid(), - Type.DEVICEGROUP, - deviceGroup.getParentUuid(), - deviceGroup.getMnemonic(), mnemonicPath, deviceGroup.getOrdering(), 2, - deviceGroup.getDescription(), Status.PENDING, Boolean.FALSE, deviceGroup.isDeleted(), + deviceGroup.getUuid(), Type.DEVICEGROUP, deviceGroup.getParentUuid(), + deviceGroup.getMnemonic(), deviceGroup.getOrdering(), deviceGroup.getDescription(), + mnemonicPath, 2, + Status.PENDING, Boolean.FALSE, deviceGroup.isDeleted(), deviceGroup.getRequested(), deviceGroup.getRequestedBy(), deviceGroup.getRequestedComment()); } /** @@ -528,11 +519,10 @@ public class StructureElementUtil { : StructureUtil.getMnemonicPath(deviceGroup, holderStructures); return getStructureElement( - deviceGroup.getUuid(), - Type.DEVICEGROUP, - deviceGroup.getParentUuid(), - deviceGroup.getMnemonic(), mnemonicPath, deviceGroup.getOrdering(), 2, - deviceGroup.getDescription(), deviceGroup.getStatus(), deviceGroup.isLatest(), deviceGroup.isDeleted(), + deviceGroup.getUuid(), Type.DEVICEGROUP, deviceGroup.getParentUuid(), + deviceGroup.getMnemonic(), deviceGroup.getOrdering(), deviceGroup.getDescription(), + mnemonicPath, 2, + deviceGroup.getStatus(), deviceGroup.isLatest(), deviceGroup.isDeleted(), deviceGroup.getProcessed(), deviceGroup.getProcessedBy(), deviceGroup.getProcessedComment()); } /** @@ -553,11 +543,10 @@ public class StructureElementUtil { String mnemonicPath = null; return getStructureElement( - deviceType.getUuid(), - Type.DEVICETYPE, - deviceType.getParentUuid(), - deviceType.getMnemonic(), mnemonicPath, deviceType.getOrdering(), 3, - deviceType.getDescription(), Status.PENDING, Boolean.FALSE, deviceType.isDeleted(), + deviceType.getUuid(), Type.DEVICETYPE, deviceType.getParentUuid(), + deviceType.getMnemonic(), deviceType.getOrdering(), deviceType.getDescription(), + mnemonicPath, 3, + Status.PENDING, Boolean.FALSE, deviceType.isDeleted(), deviceType.getRequested(), deviceType.getRequestedBy(), deviceType.getRequestedComment()); } /** @@ -582,11 +571,10 @@ public class StructureElementUtil { : StructureUtil.getMnemonicPath(deviceType, holderStructures); return getStructureElement( - deviceType.getUuid(), - Type.DEVICETYPE, - deviceType.getParentUuid(), - deviceType.getMnemonic(), mnemonicPath, deviceType.getOrdering(), 3, - deviceType.getDescription(), deviceType.getStatus(), deviceType.isLatest(), deviceType.isDeleted(), + deviceType.getUuid(), Type.DEVICETYPE, deviceType.getParentUuid(), + deviceType.getMnemonic(), deviceType.getOrdering(), deviceType.getDescription(), + mnemonicPath, 3, + deviceType.getStatus(), deviceType.isLatest(), deviceType.isDeleted(), deviceType.getProcessed(), deviceType.getProcessedBy(), deviceType.getProcessedComment()); } @@ -597,10 +585,10 @@ public class StructureElementUtil { * @param type type * @param parent parent uuid * @param mnemonic mnemonic - * @param mnemonicPath mnemonic path * @param ordering ordering - * @param level level * @param description description + * @param mnemonicPath mnemonic path + * @param level level * @param status status * @param latest latest * @param deleted deleted @@ -610,19 +598,18 @@ public class StructureElementUtil { * @return structure element */ protected static StructureElement getStructureElement( - UUID uuid, - Type type, - UUID parent, - String mnemonic, String mnemonicPath, Integer ordering, Integer level, - String description, Status status, Boolean latest, Boolean deleted, + UUID uuid, Type type, UUID parent, + String mnemonic, Integer ordering, String description, + String mnemonicPath, Integer level, + Status status, Boolean latest, Boolean deleted, Date when, String who, String comment) { return new StructureElement( - uuid, type, parent, mnemonic, ordering, - description, comment, + uuid, type, parent, + mnemonic, ordering, description, mnemonicPath, level, status, latest, deleted, - when, who); + when, who, comment); } // ---------------------------------------------------------------------------------------------------- @@ -640,8 +627,7 @@ public class StructureElementUtil { command.getParent(), command.getMnemonic(), command.getOrdering(), - command.getDescription(), - command.getComment()); + command.getDescription()); } /** @@ -671,8 +657,7 @@ public class StructureElementUtil { command.getParent(), command.getMnemonic(), command.getOrdering(), - command.getDescription(), - command.getComment()); + command.getDescription()); } /** @@ -702,8 +687,7 @@ public class StructureElementUtil { null, null, null, - null, - command.getComment()); + null); } /** @@ -734,8 +718,7 @@ public class StructureElementUtil { command.getParent(), command.getMnemonic(), command.getOrdering(), - command.getDescription(), - command.getComment()); + command.getDescription()); } /** @@ -766,8 +749,7 @@ public class StructureElementUtil { command.getParent(), command.getMnemonic(), command.getOrdering(), - command.getDescription(), - command.getComment()); + command.getDescription()); } /** @@ -794,8 +776,7 @@ public class StructureElementUtil { public static StructureElementCommandConfirm convertCommand2CommandConfirm(StructureElementCommand command) { return new StructureElementCommandConfirm( command.getUuid(), - command.getType(), - command.getComment()); + command.getType()); } /** @@ -826,8 +807,7 @@ public class StructureElementUtil { element.getParent(), element.getMnemonic(), element.getOrdering(), - element.getDescription(), - element.getComment()); + element.getDescription()); } /** @@ -857,8 +837,7 @@ public class StructureElementUtil { element.getParent(), element.getMnemonic(), element.getOrdering(), - element.getDescription(), - element.getComment()); + element.getDescription()); } /** @@ -884,8 +863,7 @@ public class StructureElementUtil { public static StructureElementCommandConfirm convertElement2CommandConfirm(StructureElement element) { return new StructureElementCommandConfirm( element.getUuid(), - element.getType(), - element.getComment()); + element.getType()); } /** diff --git a/src/main/java/org/openepics/names/util/TextUtil.java b/src/main/java/org/openepics/names/util/TextUtil.java index 938e3d6d..53fe89df 100644 --- a/src/main/java/org/openepics/names/util/TextUtil.java +++ b/src/main/java/org/openepics/names/util/TextUtil.java @@ -42,7 +42,6 @@ public class TextUtil { public static final String DEVICEGROUP = "device group"; public static final String DEVICETYPE = "device type"; - public static final String COMMENT = "comment"; public static final String DESCRIPTION = "description"; public static final String INDEX = "index"; public static final String MNEMONIC = "mnemonic"; diff --git a/src/main/java/org/openepics/names/util/ValidateNameElementUtil.java b/src/main/java/org/openepics/names/util/ValidateNameElementUtil.java index 200d14d3..248fb643 100644 --- a/src/main/java/org/openepics/names/util/ValidateNameElementUtil.java +++ b/src/main/java/org/openepics/names/util/ValidateNameElementUtil.java @@ -46,13 +46,14 @@ public class ValidateNameElementUtil { // NameElement // uuid, // systemGroup, system, subsystem, deviceType, systemStructure, deviceStructure, - // index, name, - // description, status, latest, deleted, when, who, comment + // index, description, name, + // status, latest, deleted, + // when, who, comment // // NameElementCommand - // create - parentSystemStructure, parentDeviceStructure, index, description, comment - // update - uuid, parentSystemStructure, parentDeviceStructure, index, description, comment - // delete - uuid, comment + // create - parentSystemStructure, parentDeviceStructure, index, description + // update - uuid, parentSystemStructure, parentDeviceStructure, index, description + // delete - uuid /** * This class is not to be instantiated. @@ -125,9 +126,9 @@ public class ValidateNameElementUtil { */ private static void validateNameElementInput(NameElementCommand nameElementCommand, NameCommand nameCommand) { // command - attributes - // create - parentSystemStructure, parentDeviceStructure, index, description, comment - // update - uuid, parentSystemStructure, parentDeviceStructure, index, description, comment - // delete - uuid, comment + // create - parentSystemStructure, parentDeviceStructure, index, description + // update - uuid, parentSystemStructure, parentDeviceStructure, index, description + // delete - uuid // // create, update - optional - parentDeviceStructure, index // @@ -145,7 +146,6 @@ public class ValidateNameElementUtil { UUID parentDeviceStructure = nameElementCommand.getParentDeviceStructure(); String index = nameElementCommand.getIndex(); String description = nameElementCommand.getDescription(); - String comment = nameElementCommand.getComment(); if (ValidateUtil.isAnyEqual(nameCommand, NameCommand.UPDATE, NameCommand.DELETE)) { ValidateUtil.validateInputUuid(uuid != null ? uuid.toString() : null); @@ -166,8 +166,6 @@ public class ValidateNameElementUtil { ValidateUtil.validateInputDescription(description); } - - ValidateUtil.validateInputComment(comment); } // ---------------------------------------------------------------------------------------------------- @@ -223,9 +221,9 @@ public class ValidateNameElementUtil { */ private static void validateNameElementData(NameElementCommand nameElementCommand, EssNamingConvention namingConvention, HolderIRepositories holderIRepositories, NameRepository nameRepository, HolderStructures holderStructures, NameCommand nameCommand) { // command - attributes - // create - parentSystemStructure, parentDeviceStructure, index, description, comment - // update - uuid, parentSystemStructure, parentDeviceStructure, index, description, comment - // delete - uuid, comment + // create - parentSystemStructure, parentDeviceStructure, index, description + // update - uuid, parentSystemStructure, parentDeviceStructure, index, description + // delete - uuid // // create, update - optional - parentDeviceStructure, index // @@ -351,7 +349,6 @@ public class ValidateNameElementUtil { } else if (NameCommand.DELETE.equals(nameCommand)) { // n.a. // uuid - already handled - // comment - already handled } } diff --git a/src/main/java/org/openepics/names/util/ValidateStructureElementUtil.java b/src/main/java/org/openepics/names/util/ValidateStructureElementUtil.java index 7a1de425..3bcea2a6 100644 --- a/src/main/java/org/openepics/names/util/ValidateStructureElementUtil.java +++ b/src/main/java/org/openepics/names/util/ValidateStructureElementUtil.java @@ -49,16 +49,18 @@ public class ValidateStructureElementUtil { // // StructureElement // type, uuid, parent, - // mnemonic, mnemonic path, ordering, level, - // description, status, latest, deleted, when, who, comment + // mnemonic, ordering, description, + // mnemonic path, level, + // status, latest, deleted, + // when, who, comment // // StructureElementCommand - // create - type, parent, mnemonic, ordering, description, comment - // update - uuid, type, parent, mnemonic, ordering, description, comment - // delete - uuid, type, comment - // approve - uuid, type, comment - // cancel - uuid, type, comment - // reject - uuid, type, comment + // create - type, parent, mnemonic, ordering, description + // update - uuid, type, parent, mnemonic, ordering, description + // delete - uuid, type + // approve - uuid, type + // cancel - uuid, type + // reject - uuid, type /** * This class is not to be instantiated. @@ -193,12 +195,12 @@ public class ValidateStructureElementUtil { */ private static void validateStructureElementInput(StructureElementCommand structureElementCommand, EssNamingConvention namingConvention, StructureCommand structureCommand) { // command - attributes - // create - type, parent, mnemonic, ordering, description, comment - // update - uuid, type, parent, mnemonic, ordering, description, comment - // delete - uuid, type, comment - // approve - uuid, type, comment - // cancel - uuid, type, comment - // reject - uuid, type, comment + // create - type, parent, mnemonic, ordering, description + // update - uuid, type, parent, mnemonic, ordering, description + // delete - uuid, type + // approve - uuid, type + // cancel - uuid, type + // reject - uuid, type // // create, update - optional - parent, mnemonic // @@ -216,7 +218,6 @@ public class ValidateStructureElementUtil { UUID parent = structureElementCommand.getParent(); String mnemonic = structureElementCommand.getMnemonic(); String description = structureElementCommand.getDescription(); - String comment = structureElementCommand.getComment(); if (ValidateUtil.isAnyEqual(structureCommand, StructureCommand.UPDATE, StructureCommand.DELETE, StructureCommand.APPROVE, StructureCommand.CANCEL, StructureCommand.REJECT)) { ValidateUtil.validateInputUuid(uuid != null ? uuid.toString() : null); @@ -240,8 +241,6 @@ public class ValidateStructureElementUtil { ValidateUtil.validateInputDescription(description); } - - ValidateUtil.validateInputComment(comment); } // ---------------------------------------------------------------------------------------------------- @@ -333,12 +332,12 @@ public class ValidateStructureElementUtil { */ public static void validateStructureElementDataInItself(StructureElementCommand structureElementCommand, HolderRepositories holderRepositories, StructureCommand structureCommand) { // command - attributes - // create - type, parent, mnemonic, ordering, description, comment - // update - uuid, type, parent, mnemonic, ordering, description, comment - // delete - uuid, type, comment - // approve - uuid, type, comment - // cancel - uuid, type, comment - // reject - uuid, type, comment + // create - type, parent, mnemonic, ordering, description + // update - uuid, type, parent, mnemonic, ordering, description + // delete - uuid, type + // approve - uuid, type + // cancel - uuid, type + // reject - uuid, type // // create, update - optional - parent, mnemonic // @@ -432,12 +431,12 @@ public class ValidateStructureElementUtil { */ public static void validateStructureElementDataRelativeOtherData(StructureElementCommand structureElementCommand, EssNamingConvention namingConvention, HolderRepositories holderRepositories, HolderStructures holderStructures, StructureCommand structureCommand) { // command - attributes - // create - type, parent, mnemonic, ordering, description, comment - // update - uuid, type, parent, mnemonic, ordering, description, comment - // delete - uuid, type, comment - // approve - uuid, type, comment - // cancel - uuid, type, comment - // reject - uuid, type, comment + // create - type, parent, mnemonic, ordering, description + // update - uuid, type, parent, mnemonic, ordering, description + // delete - uuid, type + // approve - uuid, type + // cancel - uuid, type + // reject - uuid, type // // create, update - optional - parent, mnemonic // @@ -454,7 +453,6 @@ public class ValidateStructureElementUtil { // checks on mnemonic, mnemonic equivalence are to ensure can coexist, can move // possibly // additional checks if names are affected - // comment not same as previous comment if (ValidateUtil.isAnyNull(structureElementCommand, namingConvention, holderRepositories, holderStructures, structureCommand)) { return; diff --git a/src/main/java/org/openepics/names/util/ValidateUtil.java b/src/main/java/org/openepics/names/util/ValidateUtil.java index 85a746e7..c56f81fe 100644 --- a/src/main/java/org/openepics/names/util/ValidateUtil.java +++ b/src/main/java/org/openepics/names/util/ValidateUtil.java @@ -40,17 +40,6 @@ public class ValidateUtil { throw new IllegalStateException("Utility class"); } - /** - * Validate comment. - * - * @param comment comment - */ - public static void validateInputComment(String comment) { - // available - ExceptionUtil.validateConditionInputNotAvailableException(!StringUtils.isEmpty(comment), - TextUtil.VALUE_IS_NOT_AVAILABLE, comment, TextUtil.COMMENT); - } - /** * Validate description. * diff --git a/src/main/java/org/openepics/names/util/notification/NotificationName.java b/src/main/java/org/openepics/names/util/notification/NotificationName.java index 93b0d671..46f2bf89 100644 --- a/src/main/java/org/openepics/names/util/notification/NotificationName.java +++ b/src/main/java/org/openepics/names/util/notification/NotificationName.java @@ -40,7 +40,6 @@ public class NotificationName { private String newIndex; private String newName; private String newDescription; - private String comment; private Date when; private String who; @@ -55,7 +54,6 @@ public class NotificationName { * @param newIndex new index * @param newName new name * @param newDescription new description - * @param comment comment * @param when when * @param who who */ @@ -63,7 +61,7 @@ public class NotificationName { UUID uuid, String oldIndex, String oldName, String oldDescription, String newIndex, String newName, String newDescription, - String comment, Date when, String who) { + Date when, String who) { super(); this.nameCommandCUD = nameCommandCUD; this.uuid = uuid; @@ -73,7 +71,6 @@ public class NotificationName { this.newIndex = newIndex; this.newName = newName; this.newDescription = newDescription; - this.comment = comment; this.when = when; this.who = who; } @@ -102,9 +99,6 @@ public class NotificationName { public String getNewDescription() { return newDescription; } - public String getComment() { - return comment; - } public Date getWhen() { return when; } @@ -124,7 +118,6 @@ public class NotificationName { sb.append(", \"newIndex\": " + getNewIndex()); sb.append(", \"newName\": " + getNewName()); sb.append(", \"newDescription\": " + getNewDescription()); - sb.append(", \"comment\": " + getComment()); sb.append(", \"when\": " + getWhen()); sb.append(", \"who\": " + getWho()); sb.append("}"); diff --git a/src/main/java/org/openepics/names/util/notification/NotificationStructure.java b/src/main/java/org/openepics/names/util/notification/NotificationStructure.java index 6c4d05b9..a3357a72 100644 --- a/src/main/java/org/openepics/names/util/notification/NotificationStructure.java +++ b/src/main/java/org/openepics/names/util/notification/NotificationStructure.java @@ -44,7 +44,6 @@ public class NotificationStructure { private String newMnemonic; private String newMnemonicpath; private String newDescription; - private String comment; private Date when; private String who; @@ -61,7 +60,6 @@ public class NotificationStructure { * @param newMnemonic new mnemonic * @param newMnemonicpath new mnemonic path * @param newDescription new description - * @param comment comment * @param when when * @param who who */ @@ -69,7 +67,7 @@ public class NotificationStructure { Type type, UUID uuid, String oldMnemonic, String oldMnemonicpath, String oldDescription, String newMnemonic, String newMnemonicpath, String newDescription, - String comment, Date when, String who) { + Date when, String who) { super(); this.structureCommandCUD = structureCommandCUD; this.structureCommandACR = structureCommandACR; @@ -81,7 +79,6 @@ public class NotificationStructure { this.newMnemonic = newMnemonic; this.newMnemonicpath = newMnemonicpath; this.newDescription = newDescription; - this.comment = comment; this.when = when; this.who = who; } @@ -116,9 +113,6 @@ public class NotificationStructure { public String getNewDescription() { return newDescription; } - public String getComment() { - return comment; - } public Date getWhen() { return when; } @@ -140,7 +134,6 @@ public class NotificationStructure { sb.append(", \"newMnemonic\": " + getNewMnemonic()); sb.append(", \"newMnemonicpath\": " + getNewMnemonicpath()); sb.append(", \"newDescription\": " + getNewDescription()); - sb.append(", \"comment\": " + getComment()); sb.append(", \"when\": " + getWhen()); sb.append(", \"who\": " + getWho()); sb.append("}"); diff --git a/src/main/java/org/openepics/names/util/notification/NotificationUtil.java b/src/main/java/org/openepics/names/util/notification/NotificationUtil.java index ba9798b3..b3fdad7a 100644 --- a/src/main/java/org/openepics/names/util/notification/NotificationUtil.java +++ b/src/main/java/org/openepics/names/util/notification/NotificationUtil.java @@ -154,7 +154,6 @@ public class NotificationUtil { newIndex, newName, newDescription, - name.getRequestedComment(), name.getRequested(), name.getRequestedBy()); } @@ -254,21 +253,17 @@ public class NotificationUtil { String newMnemonicpath = EMPTY; String newDescription = EMPTY; - String comment = EMPTY; Date when = null; String who = EMPTY; if (structureCommandACR == null) { - comment = structure.getRequestedComment(); when = structure.getRequested(); who = structure.getRequestedBy(); } else { - comment = structure.getProcessedComment(); when = structure.getProcessed(); who = structure.getProcessedBy(); } - comment = StringUtils.stripToEmpty(comment); who = StringUtils.stripToEmpty(who); if (ValidateUtil.isAnyEqual(structureCommandCUD, StructureCommand.UPDATE)) { @@ -319,7 +314,6 @@ public class NotificationUtil { newMnemonic, newMnemonicpath, newDescription, - comment, when, who); } diff --git a/src/main/resources/templates/notification_names.html b/src/main/resources/templates/notification_names.html index db809bdb..7958dfc7 100644 --- a/src/main/resources/templates/notification_names.html +++ b/src/main/resources/templates/notification_names.html @@ -55,7 +55,6 @@ <th/> <th>New</th> - <th>Comment</th> <th>When</th> <th>Who</th> </tr> @@ -80,7 +79,6 @@ </div> </td> - <td th:text="${row.getComment()}"/> <td th:text="${#dates.format(row.getWhen(), 'yyyy.MM.dd HH:mm')}"/> <td th:text="${row.getWho()}"/> </tr> @@ -104,7 +102,6 @@ <th/> <th>New</th> - <th>Comment</th> <th>When</th> <th>Who</th> </tr> @@ -129,7 +126,6 @@ </div> </td> - <td th:text="${row.getComment()}"/> <td th:text="${#dates.format(row.getWhen(), 'yyyy.MM.dd HH:mm')}"/> <td th:text="${row.getWho()}"/> </tr> @@ -153,7 +149,6 @@ <th/> <th>New</th> - <th>Comment</th> <th>When</th> <th>Who</th> </tr> @@ -178,7 +173,6 @@ </div> </td> - <td th:text="${row.getComment()}"/> <td th:text="${#dates.format(row.getWhen(), 'yyyy.MM.dd HH:mm')}"/> <td th:text="${row.getWho()}"/> </tr> diff --git a/src/main/resources/templates/notification_structures.html b/src/main/resources/templates/notification_structures.html index 0e74bc79..3b6d4cc3 100644 --- a/src/main/resources/templates/notification_structures.html +++ b/src/main/resources/templates/notification_structures.html @@ -73,7 +73,6 @@ <th/> <th>New</th> - <th>Comment</th> <th>When</th> <th>Who</th> </tr> @@ -100,7 +99,6 @@ </div> </td> - <td th:text="${row.getComment()}"/> <td th:text="${#dates.format(row.getWhen(), 'yyyy.MM.dd HH:mm')}"/> <td th:text="${row.getWho()}"/> </tr> @@ -126,7 +124,6 @@ <th/> <th>New</th> - <th>Comment</th> <th>When</th> <th>Who</th> </tr> @@ -153,7 +150,6 @@ </div> </td> - <td th:text="${row.getComment()}"/> <td th:text="${#dates.format(row.getWhen(), 'yyyy.MM.dd HH:mm')}"/> <td th:text="${row.getWho()}"/> </tr> @@ -179,7 +175,6 @@ <th/> <th>New</th> - <th>Comment</th> <th>When</th> <th>Who</th> </tr> @@ -206,7 +201,6 @@ </div> </td> - <td th:text="${row.getComment()}"/> <td th:text="${#dates.format(row.getWhen(), 'yyyy.MM.dd HH:mm')}"/> <td th:text="${row.getWho()}"/> </tr> @@ -232,7 +226,6 @@ <th/> <th>New</th> - <th>Comment</th> <th>When</th> <th>Who</th> </tr> @@ -259,7 +252,6 @@ </div> </td> - <td th:text="${row.getComment()}"/> <td th:text="${#dates.format(row.getWhen(), 'yyyy.MM.dd HH:mm')}"/> <td th:text="${row.getWho()}"/> </tr> @@ -285,7 +277,6 @@ <th/> <th>New</th> - <th>Comment</th> <th>When</th> <th>Who</th> </tr> @@ -312,7 +303,6 @@ </div> </td> - <td th:text="${row.getComment()}"/> <td th:text="${#dates.format(row.getWhen(), 'yyyy.MM.dd HH:mm')}"/> <td th:text="${row.getWho()}"/> </tr> @@ -338,7 +328,6 @@ <th/> <th>New</th> - <th>Comment</th> <th>When</th> <th>Who</th> </tr> @@ -365,7 +354,6 @@ </div> </td> - <td th:text="${row.getComment()}"/> <td th:text="${#dates.format(row.getWhen(), 'yyyy.MM.dd HH:mm')}"/> <td th:text="${row.getWho()}"/> </tr> diff --git a/src/test/java/org/openepics/names/docker/ConvertIT.java b/src/test/java/org/openepics/names/docker/ConvertIT.java index f051103f..91ae3f2f 100644 --- a/src/test/java/org/openepics/names/docker/ConvertIT.java +++ b/src/test/java/org/openepics/names/docker/ConvertIT.java @@ -76,83 +76,73 @@ class ConvertIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "Acc", null, - "Accelerator. The ESS Linear Accelerator", "approved by alfio"); + "Acc", null, "Accelerator. The ESS Linear Accelerator"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); systemGroupAcc = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupAcc, - "RFQ", null, - "Radio Frequency Quadrupole", "empty"); + "RFQ", null, "Radio Frequency Quadrupole"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); systemRFQ = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemRFQ, - "010PRL", null, - "01 Phase Reference Line", "Approved by Daniel Piso"); + "010PRL", null, "01 Phase Reference Line"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemRFQ, - "010", null, - "RFQ-010", "Approved by Daniel Piso"); + "010", null, "RFQ-010"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); subsystem010 = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemRFQ, - "N1U1", null, - "Power switch board 01. Electrical power cabinets", "Approved by Daniel Piso"); + "N1U1", null, "Power switch board 01. Electrical power cabinets"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "EMR", null, - "Electromagnetic Resonators", "empty"); + "EMR", null, "Electromagnetic Resonators"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineEMR = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineEMR, - null, null, - "Control", "These names are needed now, so I am approving, but please add a description to these later."); + null, null, "Control"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupEMR = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupEMR, - "FS", null, - "Flow Switch", "Approve names added from misc device group"); + "FS", null, "Flow Switch"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceTypeFS = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupEMR, - "RFA", null, - "RF Antenna", "Approve names added from misc device group"); + "RFA", null, "RF Antenna"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupEMR, - "TT", null, - "Temperature Transmitter", "Approve names added from misc device group"); + "TT", null, "Temperature Transmitter"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); nameElementCommandCreate = new NameElementCommandCreate( - subsystem010, deviceTypeFS, "001", - "description", "comment"); + subsystem010, deviceTypeFS, + "001", "description"); ITUtilNames.assertCreate(nameElementCommandCreate); nameElementCommandCreate = new NameElementCommandCreate( - subsystem010, deviceTypeFS, "002", - "description", "comment"); + subsystem010, deviceTypeFS, + "002", "description"); ITUtilNames.assertCreate(nameElementCommandCreate); nameElementCommandCreate = new NameElementCommandCreate( - subsystem010, deviceTypeFS, "003", - "description", "comment"); + subsystem010, deviceTypeFS, + "003", "description"); ITUtilNames.assertCreate(nameElementCommandCreate); } diff --git a/src/test/java/org/openepics/names/docker/MetricsIT.java b/src/test/java/org/openepics/names/docker/MetricsIT.java index 4e8062ec..aaf55f14 100644 --- a/src/test/java/org/openepics/names/docker/MetricsIT.java +++ b/src/test/java/org/openepics/names/docker/MetricsIT.java @@ -70,49 +70,43 @@ public class MetricsIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "Acc", null, - "Accelerator. The ESS Linear Accelerator", "approved by alfio"); + "Acc", null, "Accelerator. The ESS Linear Accelerator"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); systemGroupAcc = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupAcc, - "RFQ", null, - "Radio Frequency Quadrupole", "empty"); + "RFQ", null, "Radio Frequency Quadrupole"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); systemRFQ = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemRFQ, - "010", null, - "RFQ-010", "Approved by Daniel Piso"); + "010", null, "RFQ-010"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); subsystem010 = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "EMR", null, - "Electromagnetic Resonators", "empty"); + "EMR", null, "Electromagnetic Resonators"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineEMR = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineEMR, - null, null, - "Control", "These names are needed now, so I am approving, but please add a description to these later."); + null, null, "Control"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupEMR = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupEMR, - "FS", null, - "Flow Switch", "Approve names added from misc device group"); + "FS", null, "Flow Switch"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceTypeFS = approvedStructureElement.getUuid(); nameElementCommandCreate = new NameElementCommandCreate( - subsystem010, deviceTypeFS, "001", - "description", "comment"); + subsystem010, deviceTypeFS, + "001", "description"); ITUtilNames.assertCreate(nameElementCommandCreate); } diff --git a/src/test/java/org/openepics/names/docker/NamesIT.java b/src/test/java/org/openepics/names/docker/NamesIT.java index f04b28a4..c502f014 100644 --- a/src/test/java/org/openepics/names/docker/NamesIT.java +++ b/src/test/java/org/openepics/names/docker/NamesIT.java @@ -68,9 +68,9 @@ class NamesIT { // NameElement, StructureElement // // NameElementCommand - // create - parentSystemStructure, parentDeviceStructure, index, description, comment - // update - uuid, parentSystemStructure, parentDeviceStructure, index, description, comment - // delete - uuid, comment + // create - parentSystemStructure, parentDeviceStructure, index, description + // update - uuid, parentSystemStructure, parentDeviceStructure, index, description + // delete - uuid // // response status codes @@ -98,71 +98,64 @@ class NamesIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "Acc", null, - "Accelerator. The ESS Linear Accelerator", "approved by alfio"); + "Acc", null, "Accelerator. The ESS Linear Accelerator"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); systemGroupAcc = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupAcc, - "RFQ", null, - "Radio Frequency Quadrupole", "empty"); + "RFQ", null, "Radio Frequency Quadrupole"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); systemRFQ = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemRFQ, - "010PRL", null, - "01 Phase Reference Line", "Approved by Daniel Piso"); + "010PRL", null, "01 Phase Reference Line"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); subsystem010PRL = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemRFQ, - "010", null, - "RFQ-010", "Approved by Daniel Piso"); + "010", null, "RFQ-010"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); subsystem010 = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemRFQ, - "N1U1", null, - "Power switch board 01. Electrical power cabinets", "Approved by Daniel Piso"); + "N1U1", null, "Power switch board 01. Electrical power cabinets"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); subsystemN1U1 = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "EMR", null, - "Electromagnetic Resonators", "empty"); + "EMR", null, "Electromagnetic Resonators"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineEMR = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineEMR, - null, null, - "Control", "These names are needed now, so I am approving, but please add a description to these later."); + null, null, "Control"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupEMR = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupEMR, "FS", null, - "Flow Switch", "Approve names added from misc device group"); + "Flow Switch"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceTypeFS = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupEMR, "RFA", null, - "RF Antenna", "Approve names added from misc device group"); + "RF Antenna"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceTypeRFA = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupEMR, "TT", null, - "Temperature Transmitter", "Approve names added from misc device group"); + "Temperature Transmitter"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceTypeTT = approvedStructureElement.getUuid(); @@ -217,8 +210,8 @@ class NamesIT { ResponsePageNameElements response, response2 = null; nameElementCommand = new NameElementCommand( - null, subsystemN1U1, deviceTypeRFA, "071", - "description", "comment"); + null, subsystemN1U1, deviceTypeRFA, + "071", "description"); nameElementCommandCreate = NameElementUtil.convertCommand2CommandCreate(nameElementCommand); nameElementCommandUpdate = NameElementUtil.convertCommand2CommandUpdate(nameElementCommand); nameElementCommandConfirm = NameElementUtil.convertCommand2CommandConfirm(nameElementCommand); @@ -275,7 +268,7 @@ class NamesIT { // delete, approve structureElementCommandConfirm = new StructureElementCommandConfirm( - subsystemN1U1, Type.SUBSYSTEM, "comment"); + subsystemN1U1, Type.SUBSYSTEM); ITUtilStructures.assertDelete(structureElementCommandConfirm); @@ -467,7 +460,6 @@ class NamesIT { // or system structure + device structure + index // + // description - // comment try { NameElementCommandCreate nameElementCommandCreate = new NameElementCommandCreate(); @@ -488,16 +480,11 @@ class NamesIT { // system structure // subsystem // description - // comment nameElementCommandCreate.setDescription("description"); ITUtilNames.assertValidate(nameElementCommandCreate, NameCommand.CREATE, Boolean.FALSE); ITUtilNames.assertCreate(nameElementCommandCreate, ITUtil.HTTP_UNPROCESSABLE_ENTITY); - nameElementCommandCreate.setComment("comment"); - ITUtilNames.assertValidate(nameElementCommandCreate, NameCommand.CREATE, Boolean.FALSE); - ITUtilNames.assertCreate(nameElementCommandCreate, ITUtil.HTTP_UNPROCESSABLE_ENTITY); - // convention name exists // already exists since create subsystem was approved nameElementCommandCreate.setParentSystemStructure(subsystem010PRL); @@ -508,7 +495,6 @@ class NamesIT { // system structure + device structure + index // subsystem, device type // description - // comment nameElementCommandCreate.setIndex("051"); ITUtilNames.assertValidate(nameElementCommandCreate, NameCommand.CREATE, Boolean.FALSE); @@ -530,7 +516,6 @@ class NamesIT { // system structure // system // description - // comment // convention name exists // already exists since create system was approved @@ -542,7 +527,6 @@ class NamesIT { // system structure + device structure + index // system, device type // description - // comment nameElementCommandCreate.setIndex("051"); ITUtilNames.assertValidate(nameElementCommandCreate, NameCommand.CREATE, Boolean.FALSE); @@ -564,7 +548,6 @@ class NamesIT { // system structure // system group // description - // comment // convention name exists // already exists since create system group was approved @@ -575,7 +558,6 @@ class NamesIT { // system structure + device structure + index // system group, device type // description - // comment nameElementCommandCreate.setIndex("051"); ITUtilNames.assertValidate(nameElementCommandCreate, NameCommand.CREATE, Boolean.FALSE); @@ -600,7 +582,6 @@ class NamesIT { // system structure + device structure // system, device type // description - // comment // convention name exists // already exists since create system was approved @@ -653,12 +634,12 @@ class NamesIT { NameElementCommandCreate nameElementCommandCreate2 = null; nameElementCommandCreate = new NameElementCommandCreate( - subsystem010PRL, deviceTypeRFA, "052", - "description", "comment"); + subsystem010PRL, deviceTypeRFA, + "052", "description"); nameElementCommandCreate2 = new NameElementCommandCreate( - subsystem010PRL, deviceTypeRFA, "061", - "description", "comment"); + subsystem010PRL, deviceTypeRFA, + "061", "description"); ITUtilNames.assertExists("RFQ-010PRL:EMR-RFA-052", Boolean.FALSE); ITUtilNames.assertIsLegacy("RFQ-010PRL:EMR-RFA-052", Boolean.FALSE); @@ -708,7 +689,6 @@ class NamesIT { // or system structure + device structure + index // + // description - // comment try { NameElementCommandCreate nameElementCommandCreate = null; @@ -716,8 +696,8 @@ class NamesIT { NameElement createdNameElement = null; nameElementCommandCreate = new NameElementCommandCreate( - subsystem010PRL, deviceTypeRFA, "053", - "description", "comment"); + subsystem010PRL, deviceTypeRFA, + "053", "description"); // create createdNameElement = ITUtilNames.assertCreate(nameElementCommandCreate); @@ -739,13 +719,6 @@ class NamesIT { nameElementCommandUpdate.setDescription("checkUpdate"); ITUtilNames.assertValidate(nameElementCommandUpdate, NameCommand.UPDATE, Boolean.TRUE); - nameElementCommandUpdate.setComment(null); - ITUtilNames.assertValidate(nameElementCommandUpdate, NameCommand.UPDATE, Boolean.FALSE); - ITUtilNames.assertUpdate(nameElementCommandUpdate, ITUtil.HTTP_UNPROCESSABLE_ENTITY); - - nameElementCommandUpdate.setComment("checkUpdate"); - ITUtilNames.assertValidate(nameElementCommandUpdate, NameCommand.UPDATE, Boolean.TRUE); - // ---------- nameElementCommandUpdate.setParentSystemStructure(null); @@ -852,8 +825,8 @@ class NamesIT { NameElement createdNameElement = null; nameElementCommand = new NameElementCommand( - null, subsystem010PRL, deviceTypeRFA, "054", - "description", "comment"); + null, subsystem010PRL, deviceTypeRFA, + "054", "description"); nameElementCommandCreate = NameElementUtil.convertCommand2CommandCreate(nameElementCommand); nameElementCommandUpdate = NameElementUtil.convertCommand2CommandUpdate(nameElementCommand); @@ -871,14 +844,12 @@ class NamesIT { ITUtilNames.assertValidate(nameElementCommandUpdate, NameCommand.UPDATE, Boolean.TRUE); nameElementCommandUpdate.setDescription("updated description"); - nameElementCommandUpdate.setComment("updated comment"); ITUtilNames.assertValidate(nameElementCommandUpdate, NameCommand.UPDATE, Boolean.TRUE); // update ITUtilNames.assertUpdate(nameElementCommandUpdate); nameElementCommandUpdate.setDescription("another description"); - nameElementCommandUpdate.setComment("another comment"); ITUtilNames.assertValidate(nameElementCommandUpdate, NameCommand.UPDATE, Boolean.TRUE); } catch (Exception e) { @@ -902,7 +873,6 @@ class NamesIT { // // validate delete // uuid - // comment try { NameElementCommandCreate nameElementCommandCreate = null; @@ -910,8 +880,8 @@ class NamesIT { NameElement createdNameElement = null; nameElementCommandCreate = new NameElementCommandCreate( - subsystem010PRL, deviceTypeRFA, "055", - "description", "comment"); + subsystem010PRL, deviceTypeRFA, + "055", "description"); // create createdNameElement = ITUtilNames.assertCreate(nameElementCommandCreate); @@ -931,13 +901,6 @@ class NamesIT { nameElementCommandConfirm.setUuid(createdNameElement.getUuid()); ITUtilNames.assertValidate(nameElementCommandConfirm, NameCommand.DELETE, Boolean.TRUE); - - nameElementCommandConfirm.setComment(null); - ITUtilNames.assertValidate(nameElementCommandConfirm, NameCommand.DELETE, Boolean.FALSE); - ITUtilNames.assertDelete(nameElementCommandConfirm, ITUtil.HTTP_UNPROCESSABLE_ENTITY); - - nameElementCommandConfirm.setComment("checkDelete"); - ITUtilNames.assertValidate(nameElementCommandConfirm, NameCommand.DELETE, Boolean.TRUE); } catch (Exception e) { fail(); } @@ -963,8 +926,8 @@ class NamesIT { NameElement createdNameElement = null; nameElementCommandCreate = new NameElementCommandCreate( - subsystem010PRL, deviceTypeRFA, "056", - "description", "comment"); + subsystem010PRL, deviceTypeRFA, + "056", "description"); ITUtilNames.assertValidate(nameElementCommandCreate, NameCommand.DELETE, Boolean.FALSE); @@ -974,10 +937,6 @@ class NamesIT { ITUtilNames.assertValidate(nameElementCommandConfirm, NameCommand.DELETE, Boolean.TRUE); - nameElementCommandConfirm.setComment("deleted comment"); - - ITUtilNames.assertValidate(nameElementCommandConfirm, NameCommand.DELETE, Boolean.TRUE); - // delete ITUtilNames.assertDelete(nameElementCommandConfirm); @@ -1010,58 +969,56 @@ class NamesIT { NameElement nameElement1, nameElement7, nameElement8 = null; nameElementCommandCreate = new NameElementCommandCreate( - subsystem010, deviceTypeFS, "001", - "description", "comment"); + subsystem010, deviceTypeFS, + "001", "description"); // create nameElement1 = ITUtilNames.assertCreate(nameElementCommandCreate); uuid = nameElement1.getUuid(); nameElementCommandCreate = new NameElementCommandCreate( - subsystem010, deviceTypeFS, "002", - "description", "comment"); + subsystem010, deviceTypeFS, + "002", "description"); responseNameElement = ITUtilNames.assertCreate(nameElementCommandCreate); uuid2 = responseNameElement.getUuid(); nameElementCommandCreate = new NameElementCommandCreate( - subsystem010, deviceTypeFS, "003", - "description", "comment"); + subsystem010, deviceTypeFS, + "003", "description"); ITUtilNames.assertCreate(nameElementCommandCreate); nameElementCommandCreate = new NameElementCommandCreate( - subsystem010, deviceTypeFS, "004", - "description", "comment"); + subsystem010, deviceTypeFS, + "004", "description"); ITUtilNames.assertCreate(nameElementCommandCreate); nameElementCommandCreate = new NameElementCommandCreate( - subsystem010, deviceTypeFS, "005", - "description", "comment"); + subsystem010, deviceTypeFS, + "005", "description"); ITUtilNames.assertCreate(nameElementCommandCreate); nameElementCommandCreate = new NameElementCommandCreate( - subsystem010, deviceTypeFS, "006", - "description", "comment"); + subsystem010, deviceTypeFS, + "006", "description"); ITUtilNames.assertCreate(nameElementCommandCreate); nameElementCommandCreate = new NameElementCommandCreate( - subsystem010, deviceTypeFS, "007", - "description", "comment"); + subsystem010, deviceTypeFS, + "007", "description"); nameElement7 = ITUtilNames.assertCreate(nameElementCommandCreate); nameElementCommandCreate = new NameElementCommandCreate( - subsystem010, deviceTypeFS, "008", - "description", "comment"); + subsystem010, deviceTypeFS, + "008", "description"); nameElement8 = ITUtilNames.assertCreate(nameElementCommandCreate); // update element 1 twice nameElementCommandUpdate = NameElementUtil.convertElement2CommandUpdate(nameElement1); nameElementCommandUpdate.setDescription("updated description"); - nameElementCommandUpdate.setComment("updated comment"); ITUtilNames.assertUpdate(nameElementCommandUpdate); nameElementCommandUpdate.setDescription("updated description again"); - nameElementCommandUpdate.setComment("updated comment again"); ITUtilNames.assertUpdate(nameElementCommandUpdate); diff --git a/src/test/java/org/openepics/names/docker/PvNamesIT.java b/src/test/java/org/openepics/names/docker/PvNamesIT.java index e3f3aa1d..6b59d273 100644 --- a/src/test/java/org/openepics/names/docker/PvNamesIT.java +++ b/src/test/java/org/openepics/names/docker/PvNamesIT.java @@ -65,43 +65,37 @@ public class PvNamesIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "Acc", null, - "Accelerator. The ESS Linear Accelerator", "approved by alfio"); + "Acc", null, "Accelerator. The ESS Linear Accelerator"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); systemGroupAcc = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupAcc, - "RFQ", null, - "Radio Frequency Quadrupole", "empty"); + "RFQ", null, "Radio Frequency Quadrupole"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); systemRFQ = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemRFQ, - "010", null, - "RFQ-010", "Approved by Daniel Piso"); + "010", null, "RFQ-010"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); subsystem010 = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "EMR", null, - "Electromagnetic Resonators", "empty"); + "EMR", null, "Electromagnetic Resonators"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineEMR = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineEMR, - null, null, - "Control", "These names are needed now, so I am approving, but please add a description to these later."); + null, null, "Control"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupEMR = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupEMR, - "FS", null, - "Flow Switch", "Approve names added from misc device group"); + "FS", null, "Flow Switch"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceTypeFS = approvedStructureElement.getUuid(); } @@ -121,8 +115,8 @@ public class PvNamesIT { NameElementCommandCreate nameElementCommandCreate = null; nameElementCommandCreate = new NameElementCommandCreate( - subsystem010, deviceTypeFS, "001", - "description", "comment"); + subsystem010, deviceTypeFS, + "001", "description"); ITUtilNames.assertCreate(nameElementCommandCreate); diff --git a/src/test/java/org/openepics/names/docker/StructuresDeviceGroupIT.java b/src/test/java/org/openepics/names/docker/StructuresDeviceGroupIT.java index 5249b5d5..e3c856ff 100644 --- a/src/test/java/org/openepics/names/docker/StructuresDeviceGroupIT.java +++ b/src/test/java/org/openepics/names/docker/StructuresDeviceGroupIT.java @@ -69,7 +69,7 @@ class StructuresDeviceGroupIT { // attributes for entry for operations - create, update, delete, approve, cancel, reject // some set client side, others set server side // client side - // type, uuid, parent uuid, name, mnemonic, description, comment + // type, uuid, parent uuid, name, mnemonic, description // may be set client side for test purposes // order of methods in test not known // therefore mnemonic values chosen to not interfere with mnemonic values in other methods @@ -79,12 +79,12 @@ class StructuresDeviceGroupIT { // for such operations that send Command objects to backend, it is also possible to send StructureElement // // StructureElementCommand - // create - type, parent, name, mnemonic, description, comment - // update - uuid, type, parent, name, mnemonic, description, comment - // delete - uuid, type, comment - // approve - uuid, type, comment - // cancel - uuid, type, comment - // reject - uuid, type, comment + // create - type, parent, name, mnemonic, description + // update - uuid, type, parent, name, mnemonic, description + // delete - uuid, type + // approve - uuid, type + // cancel - uuid, type + // reject - uuid, type // // response status codes @@ -103,15 +103,13 @@ class StructuresDeviceGroupIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "Di", null, - "description", "comment"); + "Di", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineUuid = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "Di2", null, - "description", "comment"); + "Di2", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); discipline2Uuid = approvedStructureElement.getUuid(); @@ -149,7 +147,6 @@ class StructuresDeviceGroupIT { // name // mnemonic // description - // comment try { StructureElementCommandCreate structureElementCommandCreate = new StructureElementCommandCreate(); @@ -178,10 +175,6 @@ class StructuresDeviceGroupIT { ITUtilStructures.assertCreate(structureElementCommandCreate, ITUtil.HTTP_UNPROCESSABLE_ENTITY); structureElementCommandCreate.setDescription("description"); - ITUtilStructures.assertValidate(structureElementCommandCreate, StructureCommand.CREATE, Boolean.FALSE); - ITUtilStructures.assertCreate(structureElementCommandCreate, ITUtil.HTTP_UNPROCESSABLE_ENTITY); - - structureElementCommandCreate.setComment("comment"); ITUtilStructures.assertValidate(structureElementCommandCreate, StructureCommand.CREATE, Boolean.TRUE); structureElementCommandCreate.setType(null); @@ -214,7 +207,6 @@ class StructuresDeviceGroupIT { structureElementCommandCreate.setType(Type.DEVICEGROUP); structureElementCommandCreate.setParent(disciplineUuid); structureElementCommandCreate.setDescription("description"); - structureElementCommandCreate.setComment("comment"); // mnemonic rules @@ -356,8 +348,7 @@ class StructuresDeviceGroupIT { structureElementCommand = new StructureElementCommand( null, Type.DEVICEGROUP, disciplineUuid, - null, null, - "description", "comment"); + null, null, "description"); structureElementCommandCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommand); structureElementCommandConfirm = StructureElementUtil.convertCommand2CommandConfirm(structureElementCommand); @@ -421,8 +412,7 @@ class StructuresDeviceGroupIT { structureElementCommand = new StructureElementCommand( null, Type.DEVICEGROUP, disciplineUuid, - null, null, - "description", "comment"); + null, null, "description"); structureElementCommandCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommand); structureElementCommandConfirm = StructureElementUtil.convertCommand2CommandConfirm(structureElementCommand); @@ -486,8 +476,7 @@ class StructuresDeviceGroupIT { structureElementCommand = new StructureElementCommand( null, Type.DEVICEGROUP, disciplineUuid, - null, null, - "description", "comment"); + null, null, "description"); structureElementCommandCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommand); structureElementCommandConfirm = StructureElementUtil.convertCommand2CommandConfirm(structureElementCommand); @@ -552,7 +541,6 @@ class StructuresDeviceGroupIT { // name // mnemonic // description - // comment try { UUID uuid = null; @@ -564,8 +552,7 @@ class StructuresDeviceGroupIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineUuid, - null, null, - "description", "comment"); + null, null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); uuid = approvedStructureElement.getUuid(); @@ -619,13 +606,6 @@ class StructuresDeviceGroupIT { structureElementCommandUpdate.setDescription("description"); ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); - - structureElementCommandUpdate.setComment(null); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.FALSE); - ITUtilStructures.assertUpdate(structureElementCommandUpdate, ITUtil.HTTP_UNPROCESSABLE_ENTITY); - - structureElementCommandUpdate.setComment("comment"); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); } catch (Exception e) { fail(); } @@ -656,14 +636,11 @@ class StructuresDeviceGroupIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineUuid, - null, null, - "description", "comment"); + null, null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandUpdate.setComment("comment update approve check"); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.APPROVE, Boolean.FALSE); @@ -718,14 +695,11 @@ class StructuresDeviceGroupIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineUuid, - null, null, - "description", "comment"); + null, null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandUpdate.setComment("comment update cancel check"); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.CANCEL, Boolean.FALSE); @@ -780,14 +754,11 @@ class StructuresDeviceGroupIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineUuid, - null, null, - "description", "comment"); + null, null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandUpdate.setComment("comment update reject check"); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.REJECT, Boolean.FALSE); @@ -834,7 +805,6 @@ class StructuresDeviceGroupIT { // validate delete // uuid // type - // comment try { UUID uuid = null; @@ -846,8 +816,7 @@ class StructuresDeviceGroupIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineUuid, - null, null, - "description", "comment"); + null, null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); uuid = approvedStructureElement.getUuid(); @@ -877,13 +846,6 @@ class StructuresDeviceGroupIT { structureElementCommandConfirm.setType(Type.DEVICEGROUP); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); - - structureElementCommandConfirm.setComment(null); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.FALSE); - ITUtilStructures.assertDelete(structureElementCommandConfirm, ITUtil.HTTP_UNPROCESSABLE_ENTITY); - - structureElementCommandConfirm.setComment("comment"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); } catch (Exception e) { fail(); } @@ -913,13 +875,10 @@ class StructuresDeviceGroupIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineUuid, - null, null, - "description", "comment"); + null, null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandConfirm.setComment("comment delete approve check"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.APPROVE, Boolean.FALSE); @@ -973,13 +932,10 @@ class StructuresDeviceGroupIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineUuid, - null, null, - "description", "comment"); + null, null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandConfirm.setComment("comment update delete check"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.CANCEL, Boolean.FALSE); @@ -1033,13 +989,10 @@ class StructuresDeviceGroupIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineUuid, - null, null, - "description", "comment"); + null, null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandConfirm.setComment("comment delete reject check"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.REJECT, Boolean.FALSE); @@ -1087,8 +1040,7 @@ class StructuresDeviceGroupIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineUuid, - null, 41, - "description", "comment"); + null, 41, "description"); // create createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); @@ -1185,8 +1137,7 @@ class StructuresDeviceGroupIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineUuid, - null, 41, - "description", "comment"); + null, 41, "description"); // create createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); @@ -1283,8 +1234,7 @@ class StructuresDeviceGroupIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineUuid, - null, 41, - "description", "comment"); + null, 41, "description"); // create createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); @@ -1392,32 +1342,28 @@ class StructuresDeviceGroupIT { // a number of entries for which the last entry has status PENDING structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineUuid, - null, 1, - "description", "comment"); + null, 1, "description"); createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); uuid = createdStructureElement.getUuid(); // a number of entries for which the last entry has status CANCELLED structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineUuid, - null, 2, - "description", "comment"); + null, 2, "description"); createdStructureElement = ITUtilStructures.assertCreateCancel(structureElementCommandCreate); uuid2 = createdStructureElement.getUuid(); // a number of entries for which the last entry has status REJECTED structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineUuid, - null, 3, - "description", "comment"); + null, 3, "description"); createdStructureElement = ITUtilStructures.assertCreateReject(structureElementCommandCreate); uuid3 = createdStructureElement.getUuid(); // a number of entries for which the last entry has status APPROVED structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineUuid, - null, 4, - "description", "comment"); + null, 4, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); uuid4 = createdStructureElement.getUuid(); @@ -1486,105 +1432,101 @@ class StructuresDeviceGroupIT { // a number of entries for which the last entry has status PENDING structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineUuid, - null, null, - "description", "comment"); + null, null, "description"); responseStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(responseStructureElement); uuid = responseStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdate(structureElementCommandUpdate); // a number of entries for which the last entry has status CANCELLED structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineUuid, - null, 2, - "description", "comment"); + null, 2, "description"); responseStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(responseStructureElement); uuid2 = responseStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); // a number of entries for which the last entry has status REJECTED structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineUuid, - null, 1, - "description", "comment"); + null, 1, "description"); responseStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(responseStructureElement); uuid3 = responseStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); // a number of entries for which the last entry has status APPROVED structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineUuid, - null, 1, - "description", "comment"); + null, 1, "description"); responseStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(responseStructureElement); uuid4 = responseStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); try { @@ -1654,73 +1596,69 @@ class StructuresDeviceGroupIT { // create + approve structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 1, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 1, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 1, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 1, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 1, "description", "comment") + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 1, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 1, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 1, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 1, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 1, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); uuid = approvedStructureElements[0].getUuid(); // create + cancel structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 2, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 2, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 2, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 2, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 2, "description", "comment") + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 2, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 2, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 2, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 2, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 2, "description") }; ITUtilStructures.assertCreateCancel(structureElementCommandsCreate); // create + reject structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 3, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 3, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 3, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 3, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 3, "description", "comment"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 3, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 3, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 3, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 3, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 3, "description"), }; ITUtilStructures.assertCreateReject(structureElementCommandsCreate); // create structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 4, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 4, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 4, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 4, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 4, "description", "comment") + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 4, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 4, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 4, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 4, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 4, "description") }; ITUtilStructures.assertCreate(structureElementCommandsCreate); String description2 = "some other description"; - String comment2 = "some other comment"; String description3 = "more description"; - String comment3 = "more comment"; // create + approve // update + approve // update + approve // delete + reject structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 5, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 5, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 5, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 5, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 5, "description", "comment") + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 5, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 5, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 5, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 5, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 5, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description2); - structureElementCommandUpdate.setComment(comment2); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description3); - structureElementCommandUpdate.setComment(comment3); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); @@ -1729,11 +1667,11 @@ class StructuresDeviceGroupIT { // create + approve // delete + approve structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 6, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 6, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 6, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 6, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 6, "description", "comment") + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 6, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 6, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 6, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 6, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 6, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); @@ -1742,11 +1680,11 @@ class StructuresDeviceGroupIT { // create + approve // delete structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 7, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 7, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 7, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 7, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 7, "description", "comment") + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 7, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 7, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 7, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 7, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 7, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); @@ -1760,11 +1698,11 @@ class StructuresDeviceGroupIT { // delete + reject // delete structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 8, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 8, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 8, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 8, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 8, "description", "comment") + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 8, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 8, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 8, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 8, "description"), + new StructureElementCommandCreate(Type.DEVICEGROUP, discipline2Uuid, null, 8, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); uuid2 = approvedStructureElements[0].getUuid(); @@ -1772,13 +1710,11 @@ class StructuresDeviceGroupIT { structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description2); - structureElementCommandUpdate.setComment(comment2); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description3); - structureElementCommandUpdate.setComment(comment3); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); diff --git a/src/test/java/org/openepics/names/docker/StructuresDeviceTypeIT.java b/src/test/java/org/openepics/names/docker/StructuresDeviceTypeIT.java index 69044fde..7eace1db 100644 --- a/src/test/java/org/openepics/names/docker/StructuresDeviceTypeIT.java +++ b/src/test/java/org/openepics/names/docker/StructuresDeviceTypeIT.java @@ -69,7 +69,7 @@ class StructuresDeviceTypeIT { // attributes for entry for operations - create, update, delete, approve, cancel, reject // some set client side, others set server side // client side - // type, uuid, parent uuid, name, mnemonic, description, comment + // type, uuid, parent uuid, name, mnemonic, description // may be set client side for test purposes // order of methods in test not known // therefore mnemonic values chosen to not interfere with mnemonic values in other methods @@ -79,12 +79,12 @@ class StructuresDeviceTypeIT { // for such operations that send Command objects to backend, it is also possible to send StructureElement // // StructureElementCommand - // create - type, parent, name, mnemonic, description, comment - // update - uuid, type, parent, name, mnemonic, description, comment - // delete - uuid, type, comment - // approve - uuid, type, comment - // cancel - uuid, type, comment - // reject - uuid, type, comment + // create - type, parent, name, mnemonic, description + // update - uuid, type, parent, name, mnemonic, description + // delete - uuid, type + // approve - uuid, type + // cancel - uuid, type + // reject - uuid, type // // response status codes @@ -103,15 +103,13 @@ class StructuresDeviceTypeIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "Di", null, - "description", "comment"); + "Di", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineUuid = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineUuid, - null, null, - "description", "comment"); + null, null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupUuid = approvedStructureElement.getUuid(); @@ -149,7 +147,6 @@ class StructuresDeviceTypeIT { // name // mnemonic // description - // comment try { StructureElementCommandCreate structureElementCommandCreate = new StructureElementCommandCreate(); @@ -194,10 +191,6 @@ class StructuresDeviceTypeIT { ITUtilStructures.assertCreate(structureElementCommandCreate, ITUtil.HTTP_UNPROCESSABLE_ENTITY); structureElementCommandCreate.setDescription("description"); - ITUtilStructures.assertValidate(structureElementCommandCreate, StructureCommand.CREATE, Boolean.FALSE); - ITUtilStructures.assertCreate(structureElementCommandCreate, ITUtil.HTTP_UNPROCESSABLE_ENTITY); - - structureElementCommandCreate.setComment("comment"); ITUtilStructures.assertValidate(structureElementCommandCreate, StructureCommand.CREATE, Boolean.TRUE); structureElementCommandCreate.setType(null); @@ -225,7 +218,6 @@ class StructuresDeviceTypeIT { structureElementCommandCreate.setType(Type.DEVICETYPE); structureElementCommandCreate.setParent(deviceGroupUuid); structureElementCommandCreate.setDescription("description"); - structureElementCommandCreate.setComment("comment"); // mnemonic rules @@ -354,8 +346,7 @@ class StructuresDeviceTypeIT { structureElementCommand = new StructureElementCommand( null, Type.DEVICETYPE, deviceGroupUuid, - "Ca", null, - "description", "comment"); + "Ca", null, "description"); structureElementCommandCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommand); structureElementCommandConfirm = StructureElementUtil.convertCommand2CommandConfirm(structureElementCommand); @@ -415,8 +406,7 @@ class StructuresDeviceTypeIT { structureElementCommand = new StructureElementCommand( null, Type.DEVICETYPE, deviceGroupUuid, - "Cc", null, - "description", "comment"); + "Cc", null, "description"); structureElementCommandCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommand); structureElementCommandConfirm = StructureElementUtil.convertCommand2CommandConfirm(structureElementCommand); @@ -481,8 +471,7 @@ class StructuresDeviceTypeIT { structureElementCommand = new StructureElementCommand( null, Type.DEVICETYPE, deviceGroupUuid, - "Cr", null, - "description", "comment"); + "Cr", null, "description"); structureElementCommandCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommand); structureElementCommandConfirm = StructureElementUtil.convertCommand2CommandConfirm(structureElementCommand); @@ -548,7 +537,6 @@ class StructuresDeviceTypeIT { // name // mnemonic // description - // comment try { UUID uuid = null; @@ -560,8 +548,7 @@ class StructuresDeviceTypeIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupUuid, - "Cu", null, - "description", "comment"); + "Cu", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); uuid = approvedStructureElement.getUuid(); @@ -615,13 +602,6 @@ class StructuresDeviceTypeIT { structureElementCommandUpdate.setDescription("description"); ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); - - structureElementCommandUpdate.setComment(null); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.FALSE); - ITUtilStructures.assertUpdate(structureElementCommandUpdate, ITUtil.HTTP_UNPROCESSABLE_ENTITY); - - structureElementCommandUpdate.setComment("comment"); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); } catch (Exception e) { fail(); } @@ -652,14 +632,11 @@ class StructuresDeviceTypeIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupUuid, - "Ua", null, - "description", "comment"); + "Ua", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandUpdate.setComment("comment update approve check"); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.APPROVE, Boolean.FALSE); @@ -714,14 +691,11 @@ class StructuresDeviceTypeIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupUuid, - "Uc", null, - "description", "comment"); + "Uc", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandUpdate.setComment("comment update cancel check"); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.CANCEL, Boolean.FALSE); @@ -776,14 +750,11 @@ class StructuresDeviceTypeIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupUuid, - "Ur", null, - "description", "comment"); + "Ur", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandUpdate.setComment("comment update reject check"); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.REJECT, Boolean.FALSE); @@ -830,7 +801,6 @@ class StructuresDeviceTypeIT { // validate delete // uuid // type - // comment try { UUID uuid = null; @@ -842,8 +812,7 @@ class StructuresDeviceTypeIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupUuid, - "Cd", null, - "description", "comment"); + "Cd", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); uuid = approvedStructureElement.getUuid(); @@ -873,13 +842,6 @@ class StructuresDeviceTypeIT { structureElementCommandConfirm.setType(Type.DEVICETYPE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); - - structureElementCommandConfirm.setComment(null); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.FALSE); - ITUtilStructures.assertDelete(structureElementCommandConfirm, ITUtil.HTTP_UNPROCESSABLE_ENTITY); - - structureElementCommandConfirm.setComment("comment"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); } catch (Exception e) { fail(); } @@ -909,13 +871,10 @@ class StructuresDeviceTypeIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupUuid, - "Da", null, - "description", "comment"); + "Da", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandConfirm.setComment("comment delete approve check"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.APPROVE, Boolean.FALSE); @@ -969,13 +928,10 @@ class StructuresDeviceTypeIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupUuid, - "Dc", null, - "description", "comment"); + "Dc", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandConfirm.setComment("comment update delete check"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.CANCEL, Boolean.FALSE); @@ -1036,13 +992,10 @@ class StructuresDeviceTypeIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupUuid, - "Dr", null, - "description", "comment"); + "Dr", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandConfirm.setComment("comment delete reject check"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.REJECT, Boolean.FALSE); @@ -1083,8 +1036,7 @@ class StructuresDeviceTypeIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupUuid, - "Rsha", 41, - "description", "comment"); + "Rsha", 41, "description"); // create createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); @@ -1183,8 +1135,7 @@ class StructuresDeviceTypeIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupUuid, - "Rshc", 41, - "description", "comment"); + "Rshc", 41, "description"); // create createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); @@ -1283,8 +1234,7 @@ class StructuresDeviceTypeIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupUuid, - "Rshr", 41, - "description", "comment"); + "Rshr", 41, "description"); // create createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); @@ -1394,32 +1344,28 @@ class StructuresDeviceTypeIT { // a number of entries for which the last entry has status PENDING structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupUuid, - "P1", 1, - "description", "comment"); + "P1", 1, "description"); createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); uuid = createdStructureElement.getUuid(); // a number of entries for which the last entry has status CANCELLED structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupUuid, - "C1", 2, - "description", "comment"); + "C1", 2, "description"); createdStructureElement = ITUtilStructures.assertCreateCancel(structureElementCommandCreate); uuid2 = createdStructureElement.getUuid(); // a number of entries for which the last entry has status REJECTED structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupUuid, - "R1", 3, - "description", "comment"); + "R1", 3, "description"); createdStructureElement = ITUtilStructures.assertCreateReject(structureElementCommandCreate); uuid3 = createdStructureElement.getUuid(); // a number of entries for which the last entry has status APPROVED structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupUuid, - "A1", 4, - "description", "comment"); + "A1", 4, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); uuid4 = createdStructureElement.getUuid(); @@ -1491,105 +1437,101 @@ class StructuresDeviceTypeIT { // a number of entries for which the last entry has status PENDING structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupUuid, - "P9", null, - "description", "comment"); + "P9", null, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(createdStructureElement); uuid = createdStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdate(structureElementCommandUpdate); // a number of entries for which the last entry has status CANCELLED structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupUuid, - "C9", 2, - "description", "comment"); + "C9", 2, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(createdStructureElement); uuid2 = createdStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); // a number of entries for which the last entry has status REJECTED structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupUuid, - "R9", 1, - "description", "comment"); + "R9", 1, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(createdStructureElement); uuid3 = createdStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); // a number of entries for which the last entry has status APPROVED structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupUuid, - "A9", 1, - "description", "comment"); + "A9", 1, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(createdStructureElement); uuid4 = createdStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); try { @@ -1662,73 +1604,69 @@ class StructuresDeviceTypeIT { // create + approve structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AA1", 1, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AA2", 1, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AA3", 1, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AA4", 1, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AA5", 1, "description", "comment") + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AA1", 1, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AA2", 1, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AA3", 1, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AA4", 1, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AA5", 1, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); uuid = approvedStructureElements[0].getUuid(); // create + cancel structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AB1", 2, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AB2", 2, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AB3", 2, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AB4", 2, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AB5", 2, "description", "comment") + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AB1", 2, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AB2", 2, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AB3", 2, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AB4", 2, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AB5", 2, "description") }; ITUtilStructures.assertCreateCancel(structureElementCommandsCreate); // create + reject structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AC1", 3, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AC2", 3, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AC3", 3, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AC4", 3, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AC5", 3, "description", "comment") + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AC1", 3, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AC2", 3, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AC3", 3, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AC4", 3, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AC5", 3, "description") }; ITUtilStructures.assertCreateReject(structureElementCommandsCreate); // create structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AD1", 4, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AD2", 4, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AD3", 4, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AD4", 4, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AD5", 4, "description", "comment") + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AD1", 4, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AD2", 4, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AD3", 4, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AD4", 4, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AD5", 4, "description") }; ITUtilStructures.assertCreate(structureElementCommandsCreate); String description2 = "some other description"; - String comment2 = "some other comment"; String description3 = "more description"; - String comment3 = "more comment"; // create + approve // update + approve // update + approve // delete + reject structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AE1", 5, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AE2", 5, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AE3", 5, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AE4", 5, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AE5", 5, "description", "comment") + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AE1", 5, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AE2", 5, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AE3", 5, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AE4", 5, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AE5", 5, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description2); - structureElementCommandUpdate.setComment(comment2); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description3); - structureElementCommandUpdate.setComment(comment3); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); @@ -1737,11 +1675,11 @@ class StructuresDeviceTypeIT { // create + approve // delete + approve structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AF1", 6, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AF2", 6, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AF3", 6, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AF4", 6, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AF5", 6, "description", "comment") + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AF1", 6, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AF2", 6, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AF3", 6, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AF4", 6, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AF5", 6, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); @@ -1750,11 +1688,11 @@ class StructuresDeviceTypeIT { // create + approve // delete structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AG1", 7, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AG2", 7, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AG3", 7, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AG4", 7, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AG5", 7, "description", "comment") + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AG1", 7, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AG2", 7, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AG3", 7, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AG4", 7, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AG5", 7, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); @@ -1768,11 +1706,11 @@ class StructuresDeviceTypeIT { // delete + reject // delete structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AH1", 8, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AH2", 8, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AH3", 8, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AH4", 8, "description", "comment"), - new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AH5", 8, "description", "comment") + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AH1", 8, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AH2", 8, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AH3", 8, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AH4", 8, "description"), + new StructureElementCommandCreate(Type.DEVICETYPE, deviceGroupUuid, "AH5", 8, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); uuid2 = approvedStructureElements[0].getUuid(); @@ -1780,13 +1718,11 @@ class StructuresDeviceTypeIT { structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description2); - structureElementCommandUpdate.setComment(comment2); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description3); - structureElementCommandUpdate.setComment(comment3); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); diff --git a/src/test/java/org/openepics/names/docker/StructuresDisciplineIT.java b/src/test/java/org/openepics/names/docker/StructuresDisciplineIT.java index c2994cb4..3a1ff290 100644 --- a/src/test/java/org/openepics/names/docker/StructuresDisciplineIT.java +++ b/src/test/java/org/openepics/names/docker/StructuresDisciplineIT.java @@ -68,7 +68,7 @@ class StructuresDisciplineIT { // attributes for entry for operations - create, update, delete, approve, cancel, reject // some set client side, others set server side // client side - // type, uuid, parent uuid, name, mnemonic, description, comment + // type, uuid, parent uuid, name, mnemonic, description // may be set client side for test purposes // order of methods in test not known // therefore mnemonic values chosen to not interfere with mnemonic values in other methods @@ -78,12 +78,12 @@ class StructuresDisciplineIT { // for such operations that send Command objects to backend, it is also possible to send StructureElement // // StructureElementCommand - // create - type, parent, name, mnemonic, description, comment - // update - uuid, type, parent, name, mnemonic, description, comment - // delete - uuid, type, comment - // approve - uuid, type, comment - // cancel - uuid, type, comment - // reject - uuid, type, comment + // create - type, parent, name, mnemonic, description + // update - uuid, type, parent, name, mnemonic, description + // delete - uuid, type + // approve - uuid, type + // cancel - uuid, type + // reject - uuid, type // // response status codes @@ -113,7 +113,6 @@ class StructuresDisciplineIT { // name // mnemonic // description - // comment try { StructureElementCommandCreate structureElementCommandCreate = new StructureElementCommandCreate(); @@ -142,10 +141,6 @@ class StructuresDisciplineIT { ITUtilStructures.assertCreate(structureElementCommandCreate, ITUtil.HTTP_UNPROCESSABLE_ENTITY); structureElementCommandCreate.setDescription("description"); - ITUtilStructures.assertValidate(structureElementCommandCreate, StructureCommand.CREATE, Boolean.FALSE); - ITUtilStructures.assertCreate(structureElementCommandCreate, ITUtil.HTTP_UNPROCESSABLE_ENTITY); - - structureElementCommandCreate.setComment("comment"); ITUtilStructures.assertValidate(structureElementCommandCreate, StructureCommand.CREATE, Boolean.TRUE); structureElementCommandCreate.setType(null); @@ -172,7 +167,6 @@ class StructuresDisciplineIT { structureElementCommandCreate.setType(Type.DISCIPLINE); structureElementCommandCreate.setDescription("description"); - structureElementCommandCreate.setComment("comment"); // mnemonic rules @@ -288,8 +282,7 @@ class StructuresDisciplineIT { structureElementCommand = new StructureElementCommand( null, Type.DISCIPLINE, null, - "Ca", null, - "description", "comment"); + "Ca", null, "description"); structureElementCommandCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommand); structureElementCommandConfirm = StructureElementUtil.convertCommand2CommandConfirm(structureElementCommand); @@ -349,8 +342,7 @@ class StructuresDisciplineIT { structureElementCommand = new StructureElementCommand( null, Type.DISCIPLINE, null, - "Cc", null, - "description", "comment"); + "Cc", null, "description"); structureElementCommandCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommand); structureElementCommandConfirm = StructureElementUtil.convertCommand2CommandConfirm(structureElementCommand); @@ -415,8 +407,7 @@ class StructuresDisciplineIT { structureElementCommand = new StructureElementCommand( null, Type.DISCIPLINE, null, - "Cr", null, - "description", "comment"); + "Cr", null, "description"); structureElementCommandCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommand); structureElementCommandConfirm = StructureElementUtil.convertCommand2CommandConfirm(structureElementCommand); @@ -481,7 +472,6 @@ class StructuresDisciplineIT { // name // mnemonic // description - // comment try { UUID uuid = null; @@ -493,8 +483,7 @@ class StructuresDisciplineIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "Cu", null, - "description", "comment"); + "Cu", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); uuid = approvedStructureElement.getUuid(); @@ -541,13 +530,6 @@ class StructuresDisciplineIT { structureElementCommandUpdate.setDescription("description"); ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); - - structureElementCommandUpdate.setComment(null); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.FALSE); - ITUtilStructures.assertUpdate(structureElementCommandUpdate, ITUtil.HTTP_UNPROCESSABLE_ENTITY); - - structureElementCommandUpdate.setComment("comment"); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); } catch (Exception e) { fail(); } @@ -578,14 +560,11 @@ class StructuresDisciplineIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "Ua", null, - "description", "comment"); + "Ua", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandUpdate.setComment("comment update approve check"); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.APPROVE, Boolean.FALSE); @@ -640,14 +619,11 @@ class StructuresDisciplineIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "Uc", null, - "description", "comment"); + "Uc", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandUpdate.setComment("comment update cancel check"); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.CANCEL, Boolean.FALSE); @@ -702,14 +678,11 @@ class StructuresDisciplineIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "Ur", null, - "description", "comment"); + "Ur", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandUpdate.setComment("comment update reject check"); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.REJECT, Boolean.FALSE); @@ -756,7 +729,6 @@ class StructuresDisciplineIT { // validate delete // uuid // type - // comment try { UUID uuid = null; @@ -768,8 +740,7 @@ class StructuresDisciplineIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "Cd", null, - "description", "comment"); + "Cd", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); uuid = approvedStructureElement.getUuid(); @@ -799,13 +770,6 @@ class StructuresDisciplineIT { structureElementCommandConfirm.setType(Type.DISCIPLINE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); - - structureElementCommandConfirm.setComment(null); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.FALSE); - ITUtilStructures.assertDelete(structureElementCommandConfirm, ITUtil.HTTP_UNPROCESSABLE_ENTITY); - - structureElementCommandConfirm.setComment("comment"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); } catch (Exception e) { fail(); } @@ -835,13 +799,10 @@ class StructuresDisciplineIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "Da", null, - "description", "comment"); + "Da", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandConfirm.setComment("comment delete approve check"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.APPROVE, Boolean.FALSE); @@ -895,13 +856,10 @@ class StructuresDisciplineIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "Dc", null, - "description", "comment"); + "Dc", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandConfirm.setComment("comment update delete check"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.CANCEL, Boolean.FALSE); @@ -955,13 +913,10 @@ class StructuresDisciplineIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "Dr", null, - "description", "comment"); + "Dr", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandConfirm.setComment("comment delete reject check"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.REJECT, Boolean.FALSE); @@ -1009,8 +964,7 @@ class StructuresDisciplineIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "Rsha", 41, - "description", "comment"); + "Rsha", 41, "description"); // create createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); @@ -1091,8 +1045,7 @@ class StructuresDisciplineIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "Rshc", 41, - "description", "comment"); + "Rshc", 41, "description"); // create createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); @@ -1173,8 +1126,7 @@ class StructuresDisciplineIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "Rshr", 41, - "description", "comment"); + "Rshr", 41, "description"); // create createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); @@ -1266,32 +1218,28 @@ class StructuresDisciplineIT { // a number of entries for which the last entry has status PENDING structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "P1", 1, - "description", "comment"); + "P1", 1, "description"); createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); uuid = createdStructureElement.getUuid(); // a number of entries for which the last entry has status CANCELLED structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "C1", 2, - "description", "comment"); + "C1", 2, "description"); createdStructureElement = ITUtilStructures.assertCreateCancel(structureElementCommandCreate); uuid2 = createdStructureElement.getUuid(); // a number of entries for which the last entry has status REJECTED structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "R1", 3, - "description", "comment"); + "R1", 3, "description"); createdStructureElement = ITUtilStructures.assertCreateReject(structureElementCommandCreate); uuid3 = createdStructureElement.getUuid(); // a number of entries for which the last entry has status APPROVED structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "A1", 4, - "description", "comment"); + "A1", 4, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); uuid4 = createdStructureElement.getUuid(); @@ -1359,105 +1307,101 @@ class StructuresDisciplineIT { // a number of entries for which the last entry has status PENDING structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "P9", null, - "description", "comment"); + "P9", null, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(createdStructureElement); uuid = createdStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdate(structureElementCommandUpdate); // a number of entries for which the last entry has status CANCELLED structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "C9", 2, - "description", "comment"); + "C9", 2, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(createdStructureElement); uuid2 = createdStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); // a number of entries for which the last entry has status REJECTED structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "R9", 1, - "description", "comment"); + "R9", 1, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(createdStructureElement); uuid3 = createdStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); // a number of entries for which the last entry has status APPROVED structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "A9", 1, - "description", "comment"); + "A9", 1, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(createdStructureElement); uuid4 = createdStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); try { @@ -1526,73 +1470,69 @@ class StructuresDisciplineIT { // create + approve structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AA1", 1, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AA2", 1, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AA3", 1, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AA4", 1, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AA5", 1, "description", "comment") + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AA1", 1, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AA2", 1, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AA3", 1, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AA4", 1, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AA5", 1, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); uuid = approvedStructureElements[0].getUuid(); // create + cancel structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AB1", 2, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AB2", 2, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AB3", 2, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AB4", 2, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AB5", 2, "description", "comment") + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AB1", 2, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AB2", 2, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AB3", 2, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AB4", 2, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AB5", 2, "description") }; ITUtilStructures.assertCreateCancel(structureElementCommandsCreate); // create + reject structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AC1", 3, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AC2", 3, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AC3", 3, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AC4", 3, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AC5", 3, "description", "comment") + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AC1", 3, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AC2", 3, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AC3", 3, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AC4", 3, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AC5", 3, "description") }; ITUtilStructures.assertCreateReject(structureElementCommandsCreate); // create structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AD1", 4, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AD2", 4, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AD3", 4, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AD4", 4, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AD5", 4, "description", "comment") + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AD1", 4, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AD2", 4, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AD3", 4, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AD4", 4, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AD5", 4, "description") }; ITUtilStructures.assertCreate(structureElementCommandsCreate); String description2 = "some other description"; - String comment2 = "some other comment"; String description3 = "more description"; - String comment3 = "more comment"; // create + approve // update + approve // update + approve // delete + reject structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AE1", 5, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AE2", 5, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AE3", 5, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AE4", 5, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AE5", 5, "description", "comment") + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AE1", 5, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AE2", 5, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AE3", 5, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AE4", 5, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AE5", 5, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description2); - structureElementCommandUpdate.setComment(comment2); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description3); - structureElementCommandUpdate.setComment(comment3); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); @@ -1601,11 +1541,11 @@ class StructuresDisciplineIT { // create + approve // delete + approve structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AF1", 6, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AF2", 6, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AF3", 6, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AF4", 6, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AF5", 6, "description", "comment") + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AF1", 6, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AF2", 6, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AF3", 6, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AF4", 6, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AF5", 6, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); @@ -1614,11 +1554,11 @@ class StructuresDisciplineIT { // create + approve // delete structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AG1", 7, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AG2", 7, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AG3", 7, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AG4", 7, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AG5", 7, "description", "comment") + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AG1", 7, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AG2", 7, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AG3", 7, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AG4", 7, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AG5", 7, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); @@ -1632,11 +1572,11 @@ class StructuresDisciplineIT { // delete + reject // delete structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AH1", 8, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AH2", 8, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AH3", 8, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AH4", 8, "description", "comment"), - new StructureElementCommandCreate(Type.DISCIPLINE, null, "AH5", 8, "description", "comment") + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AH1", 8, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AH2", 8, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AH3", 8, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AH4", 8, "description"), + new StructureElementCommandCreate(Type.DISCIPLINE, null, "AH5", 8, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); uuid2 = approvedStructureElements[0].getUuid(); @@ -1644,13 +1584,11 @@ class StructuresDisciplineIT { structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description2); - structureElementCommandUpdate.setComment(comment2); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description3); - structureElementCommandUpdate.setComment(comment3); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); diff --git a/src/test/java/org/openepics/names/docker/StructuresSubsystemIT.java b/src/test/java/org/openepics/names/docker/StructuresSubsystemIT.java index 901eb97c..2b4bc4fd 100644 --- a/src/test/java/org/openepics/names/docker/StructuresSubsystemIT.java +++ b/src/test/java/org/openepics/names/docker/StructuresSubsystemIT.java @@ -69,7 +69,7 @@ class StructuresSubsystemIT { // attributes for entry for operations - create, update, delete, approve, cancel, reject // some set client side, others set server side // client side - // type, uuid, parent uuid, name, mnemonic, description, comment + // type, uuid, parent uuid, name, mnemonic, description // may be set client side for test purposes // order of methods in test not known // therefore mnemonic values chosen to not interfere with mnemonic values in other methods @@ -79,12 +79,12 @@ class StructuresSubsystemIT { // for such operations that send Command objects to backend, it is also possible to send StructureElement // // StructureElementCommand - // create - type, parent, name, mnemonic, description, comment - // update - uuid, type, parent, name, mnemonic, description, comment - // delete - uuid, type, comment - // approve - uuid, type, comment - // cancel - uuid, type, comment - // reject - uuid, type, comment + // create - type, parent, name, mnemonic, description + // update - uuid, type, parent, name, mnemonic, description + // delete - uuid, type + // approve - uuid, type + // cancel - uuid, type + // reject - uuid, type // // response status codes @@ -103,15 +103,13 @@ class StructuresSubsystemIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "Sg", null, - "description", "comment"); + "Sg", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); systemGroupUuid = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupUuid, - "Sys", null, - "description", "comment"); + "Sys", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); systemUuid = approvedStructureElement.getUuid(); @@ -150,7 +148,6 @@ class StructuresSubsystemIT { // name // mnemonic // description - // comment try { StructureElementCommandCreate structureElementCommandCreate = new StructureElementCommandCreate(); @@ -196,10 +193,6 @@ class StructuresSubsystemIT { ITUtilStructures.assertCreate(structureElementCommandCreate, ITUtil.HTTP_UNPROCESSABLE_ENTITY); structureElementCommandCreate.setDescription("description"); - ITUtilStructures.assertValidate(structureElementCommandCreate, StructureCommand.CREATE, Boolean.FALSE); - ITUtilStructures.assertCreate(structureElementCommandCreate, ITUtil.HTTP_UNPROCESSABLE_ENTITY); - - structureElementCommandCreate.setComment("comment"); ITUtilStructures.assertValidate(structureElementCommandCreate, StructureCommand.CREATE, Boolean.TRUE); structureElementCommandCreate.setType(null); @@ -227,7 +220,6 @@ class StructuresSubsystemIT { structureElementCommandCreate.setType(Type.SUBSYSTEM); structureElementCommandCreate.setParent(systemUuid); structureElementCommandCreate.setDescription("description"); - structureElementCommandCreate.setComment("comment"); // mnemonic rules @@ -352,8 +344,7 @@ class StructuresSubsystemIT { structureElementCommand = new StructureElementCommand( null, Type.SUBSYSTEM, systemUuid, - "Ca", null, - "description", "comment"); + "Ca", null, "description"); structureElementCommandCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommand); structureElementCommandConfirm = StructureElementUtil.convertCommand2CommandConfirm(structureElementCommand); @@ -413,8 +404,7 @@ class StructuresSubsystemIT { structureElementCommand = new StructureElementCommand( null, Type.SUBSYSTEM, systemUuid, - "Cc", null, - "description", "comment"); + "Cc", null, "description"); structureElementCommandCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommand); structureElementCommandConfirm = StructureElementUtil.convertCommand2CommandConfirm(structureElementCommand); @@ -479,8 +469,7 @@ class StructuresSubsystemIT { structureElementCommand = new StructureElementCommand( null, Type.SUBSYSTEM, systemUuid, - "Cr", null, - "description", "comment"); + "Cr", null, "description"); structureElementCommandCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommand); structureElementCommandConfirm = StructureElementUtil.convertCommand2CommandConfirm(structureElementCommand); @@ -546,7 +535,6 @@ class StructuresSubsystemIT { // name // mnemonic // description - // comment try { UUID uuid = null; @@ -558,8 +546,7 @@ class StructuresSubsystemIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemUuid, - "Cu", null, - "description", "comment"); + "Cu", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); uuid = approvedStructureElement.getUuid(); @@ -613,13 +600,6 @@ class StructuresSubsystemIT { structureElementCommandUpdate.setDescription("description"); ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); - - structureElementCommandUpdate.setComment(null); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.FALSE); - ITUtilStructures.assertUpdate(structureElementCommandUpdate, ITUtil.HTTP_UNPROCESSABLE_ENTITY); - - structureElementCommandUpdate.setComment("comment"); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); } catch (Exception e) { fail(); } @@ -650,14 +630,11 @@ class StructuresSubsystemIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemUuid, - "Ua", null, - "description", "comment"); + "Ua", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandUpdate.setComment("comment update approve check"); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.APPROVE, Boolean.FALSE); @@ -712,14 +689,11 @@ class StructuresSubsystemIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemUuid, - "Uc", null, - "description", "comment"); + "Uc", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandUpdate.setComment("comment update cancel check"); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.CANCEL, Boolean.FALSE); @@ -774,14 +748,11 @@ class StructuresSubsystemIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemUuid, - "Ur", null, - "description", "comment"); + "Ur", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandUpdate.setComment("comment update reject check"); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.REJECT, Boolean.FALSE); @@ -828,7 +799,6 @@ class StructuresSubsystemIT { // validate delete // uuid // type - // comment try { UUID uuid = null; @@ -840,8 +810,7 @@ class StructuresSubsystemIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemUuid, - "Cd", null, - "description", "comment"); + "Cd", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); uuid = approvedStructureElement.getUuid(); @@ -871,13 +840,6 @@ class StructuresSubsystemIT { structureElementCommandConfirm.setType(Type.SUBSYSTEM); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); - - structureElementCommandConfirm.setComment(null); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.FALSE); - ITUtilStructures.assertDelete(structureElementCommandConfirm, ITUtil.HTTP_UNPROCESSABLE_ENTITY); - - structureElementCommandConfirm.setComment("comment"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); } catch (Exception e) { fail(); } @@ -907,13 +869,10 @@ class StructuresSubsystemIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemUuid, - "Da", null, - "description", "comment"); + "Da", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandConfirm.setComment("comment delete approve check"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.APPROVE, Boolean.FALSE); @@ -967,13 +926,10 @@ class StructuresSubsystemIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemUuid, - "Dc", null, - "description", "comment"); + "Dc", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandConfirm.setComment("comment update delete check"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.CANCEL, Boolean.FALSE); @@ -1027,13 +983,10 @@ class StructuresSubsystemIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemUuid, - "Dr", null, - "description", "comment"); + "Dr", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandConfirm.setComment("comment delete reject check"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.REJECT, Boolean.FALSE); @@ -1081,8 +1034,7 @@ class StructuresSubsystemIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemUuid, - "Rsha", 41, - "description", "comment"); + "Rsha", 41, "description"); // create createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); @@ -1207,8 +1159,7 @@ class StructuresSubsystemIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemUuid, - "Rshc", 41, - "description", "comment"); + "Rshc", 41, "description"); // create createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); @@ -1333,8 +1284,7 @@ class StructuresSubsystemIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemUuid, - "Rshr", 41, - "description", "comment"); + "Rshr", 41, "description"); // create createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); @@ -1470,32 +1420,28 @@ class StructuresSubsystemIT { // a number of entries for which the last entry has status PENDING structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemUuid, - "P1", 1, - "description", "comment"); + "P1", 1, "description"); createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); uuid = createdStructureElement.getUuid(); // a number of entries for which the last entry has status CANCELLED structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemUuid, - "C1", 2, - "description", "comment"); + "C1", 2, "description"); createdStructureElement = ITUtilStructures.assertCreateCancel(structureElementCommandCreate); uuid2 = createdStructureElement.getUuid(); // a number of entries for which the last entry has status REJECTED structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemUuid, - "R1", 3, - "description", "comment"); + "R1", 3, "description"); createdStructureElement = ITUtilStructures.assertCreateReject(structureElementCommandCreate); uuid3 = createdStructureElement.getUuid(); // a number of entries for which the last entry has status APPROVED structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemUuid, - "A1", 4, - "description", "comment"); + "A1", 4, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); uuid4 = createdStructureElement.getUuid(); @@ -1571,105 +1517,101 @@ class StructuresSubsystemIT { // a number of entries for which the last entry has status PENDING structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemUuid, - "P9", null, - "description", "comment"); + "P9", null, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(createdStructureElement); uuid = createdStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdate(structureElementCommandUpdate); // a number of entries for which the last entry has status CANCELLED structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemUuid, - "C9", 2, - "description", "comment"); + "C9", 2, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(createdStructureElement); uuid2 = createdStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); // a number of entries for which the last entry has status REJECTED structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemUuid, - "R9", 1, - "description", "comment"); + "R9", 1, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(createdStructureElement); uuid3 = createdStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); // a number of entries for which the last entry has status APPROVED structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemUuid, - "A9", 1, - "description", "comment"); + "A9", 1, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(createdStructureElement); uuid4 = createdStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); try { @@ -1746,73 +1688,69 @@ class StructuresSubsystemIT { // create + approve structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AA1", 1, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AA2", 1, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AA3", 1, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AA4", 1, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AA5", 1, "description", "comment") + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AA1", 1, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AA2", 1, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AA3", 1, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AA4", 1, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AA5", 1, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); uuid = approvedStructureElements[0].getUuid(); // create + cancel structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AB1", 2, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AB2", 2, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AB3", 2, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AB4", 2, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AB5", 2, "description", "comment") + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AB1", 2, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AB2", 2, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AB3", 2, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AB4", 2, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AB5", 2, "description") }; ITUtilStructures.assertCreateCancel(structureElementCommandsCreate); // create + reject structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AC1", 3, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AC2", 3, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AC3", 3, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AC4", 3, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AC5", 3, "description", "comment") + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AC1", 3, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AC2", 3, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AC3", 3, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AC4", 3, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AC5", 3, "description") }; ITUtilStructures.assertCreateReject(structureElementCommandsCreate); // create structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AD1", 4, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AD2", 4, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AD3", 4, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AD4", 4, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AD5", 4, "description", "comment") + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AD1", 4, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AD2", 4, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AD3", 4, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AD4", 4, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AD5", 4, "description") }; ITUtilStructures.assertCreate(structureElementCommandsCreate); String description2 = "some other description"; - String comment2 = "some other comment"; String description3 = "more description"; - String comment3 = "more comment"; // create + approve // update + approve // update + approve // delete + reject structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AE1", 5, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AE2", 5, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AE3", 5, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AE4", 5, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AE5", 5, "description", "comment") + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AE1", 5, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AE2", 5, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AE3", 5, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AE4", 5, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AE5", 5, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description2); - structureElementCommandUpdate.setComment(comment2); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description3); - structureElementCommandUpdate.setComment(comment3); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); @@ -1821,11 +1759,11 @@ class StructuresSubsystemIT { // create + approve // delete + approve structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AF1", 6, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AF2", 6, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AF3", 6, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AF4", 6, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AF5", 6, "description", "comment") + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AF1", 6, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AF2", 6, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AF3", 6, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AF4", 6, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AF5", 6, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); @@ -1834,11 +1772,11 @@ class StructuresSubsystemIT { // create + approve // delete structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AG1", 7, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AG2", 7, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AG3", 7, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AG4", 7, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AG5", 7, "description", "comment") + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AG1", 7, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AG2", 7, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AG3", 7, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AG4", 7, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AG5", 7, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); @@ -1852,11 +1790,11 @@ class StructuresSubsystemIT { // delete + reject // delete structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AH1", 8, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AH2", 8, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AH3", 8, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AH4", 8, "description", "comment"), - new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AH5", 8, "description", "comment") + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AH1", 8, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AH2", 8, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AH3", 8, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AH4", 8, "description"), + new StructureElementCommandCreate(Type.SUBSYSTEM, systemUuid, "AH5", 8, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); uuid2 = approvedStructureElements[0].getUuid(); @@ -1864,13 +1802,11 @@ class StructuresSubsystemIT { structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description2); - structureElementCommandUpdate.setComment(comment2); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description3); - structureElementCommandUpdate.setComment(comment3); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); diff --git a/src/test/java/org/openepics/names/docker/StructuresSystemGroupIT.java b/src/test/java/org/openepics/names/docker/StructuresSystemGroupIT.java index 98359237..0609c7ae 100644 --- a/src/test/java/org/openepics/names/docker/StructuresSystemGroupIT.java +++ b/src/test/java/org/openepics/names/docker/StructuresSystemGroupIT.java @@ -69,7 +69,7 @@ class StructuresSystemGroupIT { // attributes for entry for operations - create, update, delete, approve, cancel, reject // some set client side, others set server side // client side - // type, uuid, parent uuid, name, mnemonic, description, comment + // type, uuid, parent uuid, name, mnemonic, description // may be set client side for test purposes // order of methods in test not known // therefore mnemonic values chosen to not interfere with mnemonic values in other methods @@ -79,12 +79,12 @@ class StructuresSystemGroupIT { // for such operations that send Command objects to backend, it is also possible to send StructureElement // // StructureElementCommand - // create - type, parent, name, mnemonic, description, comment - // update - uuid, type, parent, name, mnemonic, description, comment - // delete - uuid, type, comment - // approve - uuid, type, comment - // cancel - uuid, type, comment - // reject - uuid, type, comment + // create - type, parent, name, mnemonic, description + // update - uuid, type, parent, name, mnemonic, description + // delete - uuid, type + // approve - uuid, type + // cancel - uuid, type + // reject - uuid, type @Container public static final ComposeContainer ENVIRONMENT = ITUtil.defaultComposeContainers(); @@ -115,7 +115,6 @@ class StructuresSystemGroupIT { // name // mnemonic // description - // comment try { StructureElementCommandCreate structureElementCommandCreate = new StructureElementCommandCreate(); @@ -146,10 +145,6 @@ class StructuresSystemGroupIT { ITUtilStructures.assertCreate(structureElementCommandCreate, ITUtil.HTTP_UNPROCESSABLE_ENTITY); structureElementCommandCreate.setDescription("description"); - ITUtilStructures.assertValidate(structureElementCommandCreate, StructureCommand.CREATE, Boolean.FALSE); - ITUtilStructures.assertCreate(structureElementCommandCreate, ITUtil.HTTP_UNPROCESSABLE_ENTITY); - - structureElementCommandCreate.setComment("comment"); ITUtilStructures.assertValidate(structureElementCommandCreate, StructureCommand.CREATE, Boolean.TRUE); structureElementCommandCreate.setMnemonic(""); @@ -182,7 +177,6 @@ class StructuresSystemGroupIT { structureElementCommandCreate.setType(Type.SYSTEMGROUP); structureElementCommandCreate.setDescription("description"); - structureElementCommandCreate.setComment("comment"); // mnemonic rules @@ -317,8 +311,7 @@ class StructuresSystemGroupIT { structureElementCommand = new StructureElementCommand( null, Type.SYSTEMGROUP, null, - "Ca", null, - "description", "comment"); + "Ca", null, "description"); structureElementCommandCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommand); structureElementCommandConfirm = StructureElementUtil.convertCommand2CommandConfirm(structureElementCommand); @@ -356,16 +349,14 @@ class StructuresSystemGroupIT { // create structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - null, null, - "description2", "comment2"); + null, null, "description2"); createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); uuid2 = createdStructureElement.getUuid(); // create structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - null, null, - "description3", "comment3"); + null, null, "description3"); createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); uuid3 = createdStructureElement.getUuid(); @@ -399,8 +390,7 @@ class StructuresSystemGroupIT { structureElementCommand = new StructureElementCommand( null, Type.SYSTEMGROUP, null, - "Cc", null, - "description", "comment"); + "Cc", null, "description"); structureElementCommandCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommand); structureElementCommandConfirm = StructureElementUtil.convertCommand2CommandConfirm(structureElementCommand); @@ -429,11 +419,6 @@ class StructuresSystemGroupIT { ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.CANCEL, Boolean.FALSE); structureElementCommandConfirm.setType(Type.SYSTEMGROUP); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.CANCEL, Boolean.TRUE); - structureElementCommandConfirm.setComment(null); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.CANCEL, Boolean.FALSE); - structureElementCommandConfirm.setComment("comment"); - // cancel ITUtilStructures.assertCancel(structureElementCommandConfirm); @@ -475,8 +460,7 @@ class StructuresSystemGroupIT { structureElementCommand = new StructureElementCommand( null, Type.SYSTEMGROUP, null, - "Cr", null, - "description", "comment"); + "Cr", null, "description"); structureElementCommandCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommand); structureElementCommandConfirm = StructureElementUtil.convertCommand2CommandConfirm(structureElementCommand); @@ -541,7 +525,6 @@ class StructuresSystemGroupIT { // name // mnemonic // description - // comment try { UUID uuid = null; @@ -553,8 +536,7 @@ class StructuresSystemGroupIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "Cu", null, - "description", "comment"); + "Cu", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); uuid = approvedStructureElement.getUuid(); @@ -600,13 +582,6 @@ class StructuresSystemGroupIT { structureElementCommandUpdate.setDescription("description"); ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); - - structureElementCommandUpdate.setComment(null); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.FALSE); - ITUtilStructures.assertUpdate(structureElementCommandUpdate, ITUtil.HTTP_UNPROCESSABLE_ENTITY); - - structureElementCommandUpdate.setComment("comment"); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); } catch (Exception e) { fail(); } @@ -637,14 +612,12 @@ class StructuresSystemGroupIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "Ua", null, - "description", "comment"); + "Ua", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); structureElementCommandUpdate.setDescription("description update approve check"); - structureElementCommandUpdate.setComment("comment update approve check"); ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.APPROVE, Boolean.FALSE); @@ -700,14 +673,12 @@ class StructuresSystemGroupIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "Uc", null, - "description", "comment"); + "Uc", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); structureElementCommandUpdate.setDescription("description update cancel check"); - structureElementCommandUpdate.setComment("comment update cancel check"); ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.CANCEL, Boolean.FALSE); @@ -763,14 +734,12 @@ class StructuresSystemGroupIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "Ur", null, - "description", "comment"); + "Ur", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); structureElementCommandUpdate.setDescription("description update reject check"); - structureElementCommandUpdate.setComment("comment update reject check"); ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.REJECT, Boolean.FALSE); @@ -818,7 +787,6 @@ class StructuresSystemGroupIT { // validate delete // uuid // type - // comment try { UUID uuid = null; @@ -830,8 +798,7 @@ class StructuresSystemGroupIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "Cd", null, - "description", "comment"); + "Cd", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); uuid = approvedStructureElement.getUuid(); @@ -861,13 +828,6 @@ class StructuresSystemGroupIT { structureElementCommandConfirm.setType(Type.SYSTEMGROUP); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); - - structureElementCommandConfirm.setComment(null); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.FALSE); - ITUtilStructures.assertDelete(structureElementCommandConfirm, ITUtil.HTTP_UNPROCESSABLE_ENTITY); - - structureElementCommandConfirm.setComment("comment"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); } catch (Exception e) { fail(); } @@ -897,13 +857,10 @@ class StructuresSystemGroupIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "Da", null, - "description", "comment"); + "Da", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandConfirm.setComment("comment delete approve check"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.APPROVE, Boolean.FALSE); @@ -957,13 +914,10 @@ class StructuresSystemGroupIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "Dc", null, - "description", "comment"); + "Dc", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandConfirm.setComment("comment update delete check"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.CANCEL, Boolean.FALSE); @@ -1017,13 +971,10 @@ class StructuresSystemGroupIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "Dr", null, - "description", "comment"); + "Dr", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandConfirm.setComment("comment delete reject check"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.REJECT, Boolean.FALSE); @@ -1071,8 +1022,7 @@ class StructuresSystemGroupIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "Rsha", 41, - "description", "comment"); + "Rsha", 41, "description"); // create createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); @@ -1153,8 +1103,7 @@ class StructuresSystemGroupIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "Rshc", 41, - "description", "comment"); + "Rshc", 41, "description"); // create createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); @@ -1235,8 +1184,7 @@ class StructuresSystemGroupIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "Rshr", 41, - "description", "comment"); + "Rshr", 41, "description"); // create createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); @@ -1328,32 +1276,28 @@ class StructuresSystemGroupIT { // a number of entries for which the last entry has status PENDING structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "P1", 1, - "description", "comment"); + "P1", 1, "description"); createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); uuid = createdStructureElement.getUuid(); // a number of entries for which the last entry has status CANCELLED structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "C1", 2, - "description", "comment"); + "C1", 2, "description"); createdStructureElement = ITUtilStructures.assertCreateCancel(structureElementCommandCreate); uuid2 = createdStructureElement.getUuid(); // a number of entries for which the last entry has status REJECTED structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "R1", 3, - "description", "comment"); + "R1", 3, "description"); createdStructureElement = ITUtilStructures.assertCreateReject(structureElementCommandCreate); uuid3 = createdStructureElement.getUuid(); // a number of entries for which the last entry has status APPROVED structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "A1", 4, - "description", "comment"); + "A1", 4, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); uuid4 = createdStructureElement.getUuid(); @@ -1421,105 +1365,101 @@ class StructuresSystemGroupIT { // a number of entries for which the last entry has status PENDING structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "P9", null, - "description", "comment"); + "P9", null, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(createdStructureElement); uuid = createdStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdate(structureElementCommandUpdate); // a number of entries for which the last entry has status CANCELLED structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "C9", 2, - "description", "comment"); + "C9", 2, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(createdStructureElement); uuid2 = createdStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); // a number of entries for which the last entry has status REJECTED structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "R9", 1, - "description", "comment"); + "R9", 1, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(createdStructureElement); uuid3 = createdStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); // a number of entries for which the last entry has status APPROVED structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "A9", 1, - "description", "comment"); + "A9", 1, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(createdStructureElement); uuid4 = createdStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); try { @@ -1588,73 +1528,69 @@ class StructuresSystemGroupIT { // create + approve structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AA1", 1, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AA2", 1, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AA3", 1, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AA4", 1, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AA5", 1, "description", "comment") + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AA1", 1, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AA2", 1, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AA3", 1, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AA4", 1, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AA5", 1, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); uuid = approvedStructureElements[0].getUuid(); // create + cancel structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AB1", 2, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AB2", 2, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AB3", 2, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AB4", 2, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AB5", 2, "description", "comment"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AB1", 2, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AB2", 2, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AB3", 2, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AB4", 2, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AB5", 2, "description"), }; ITUtilStructures.assertCreateCancel(structureElementCommandsCreate); // create + reject structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AC1", 3, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AC2", 3, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AC3", 3, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AC4", 3, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AC5", 3, "description", "comment") + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AC1", 3, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AC2", 3, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AC3", 3, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AC4", 3, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AC5", 3, "description") }; ITUtilStructures.assertCreateReject(structureElementCommandsCreate); // create structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AD1", 4, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AD2", 4, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AD3", 4, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AD4", 4, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AD5", 4, "description", "comment") + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AD1", 4, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AD2", 4, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AD3", 4, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AD4", 4, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AD5", 4, "description") }; ITUtilStructures.assertCreate(structureElementCommandsCreate); String description2 = "some other description"; - String comment2 = "some other comment"; String description3 = "more description"; - String comment3 = "more comment"; // create + approve // update + approve // update + approve // delete + reject structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AE1", 5, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AE2", 5, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AE3", 5, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AE4", 5, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AE5", 5, "description", "comment") + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AE1", 5, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AE2", 5, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AE3", 5, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AE4", 5, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AE5", 5, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description2); - structureElementCommandUpdate.setComment(comment2); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description3); - structureElementCommandUpdate.setComment(comment3); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); @@ -1663,11 +1599,11 @@ class StructuresSystemGroupIT { // create + approve // delete + approve structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AF1", 6, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AF2", 6, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AF3", 6, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AF4", 6, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AF5", 6, "description", "comment"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AF1", 6, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AF2", 6, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AF3", 6, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AF4", 6, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AF5", 6, "description"), }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); @@ -1676,11 +1612,11 @@ class StructuresSystemGroupIT { // create + approve // delete structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AG1", 7, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AG2", 7, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AG3", 7, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AG4", 7, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AG5", 7, "description", "comment") + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AG1", 7, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AG2", 7, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AG3", 7, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AG4", 7, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AG5", 7, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); @@ -1694,11 +1630,11 @@ class StructuresSystemGroupIT { // delete + reject // delete structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AH1", 8, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AH2", 8, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AH3", 8, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AH4", 8, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AH5", 8, "description", "comment") + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AH1", 8, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AH2", 8, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AH3", 8, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AH4", 8, "description"), + new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "AH5", 8, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); uuid2 = approvedStructureElements[0].getUuid(); @@ -1706,13 +1642,11 @@ class StructuresSystemGroupIT { structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description2); - structureElementCommandUpdate.setComment(comment2); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description3); - structureElementCommandUpdate.setComment(comment3); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); diff --git a/src/test/java/org/openepics/names/docker/StructuresSystemIT.java b/src/test/java/org/openepics/names/docker/StructuresSystemIT.java index 7d6facb0..dfbc26cb 100644 --- a/src/test/java/org/openepics/names/docker/StructuresSystemIT.java +++ b/src/test/java/org/openepics/names/docker/StructuresSystemIT.java @@ -69,7 +69,7 @@ class StructuresSystemIT { // attributes for entry for operations - create, update, delete, approve, cancel, reject // some set client side, others set server side // client side - // type, uuid, parent uuid, name, mnemonic, description, comment + // type, uuid, parent uuid, name, mnemonic, description // may be set client side for test purposes // order of methods in test not known // therefore mnemonic values chosen to not interfere with mnemonic values in other methods @@ -79,12 +79,12 @@ class StructuresSystemIT { // for such operations that send Command objects to backend, it is also possible to send StructureElement // // StructureElementCommand - // create - type, parent, name, mnemonic, description, comment - // update - uuid, type, parent, name, mnemonic, description, comment - // delete - uuid, type, comment - // approve - uuid, type, comment - // cancel - uuid, type, comment - // reject - uuid, type, comment + // create - type, parent, name, mnemonic, description + // update - uuid, type, parent, name, mnemonic, description + // delete - uuid, type + // approve - uuid, type + // cancel - uuid, type + // reject - uuid, type // // response status codes @@ -102,8 +102,7 @@ class StructuresSystemIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "Sg", null, - "description", "comment"); + "Sg", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); systemGroupUuid = approvedStructureElement.getUuid(); @@ -141,7 +140,6 @@ class StructuresSystemIT { // name // mnemonic // description - // comment try { StructureElementCommandCreate structureElementCommandCreate = new StructureElementCommandCreate(); @@ -180,10 +178,6 @@ class StructuresSystemIT { ITUtilStructures.assertCreate(structureElementCommandCreate, ITUtil.HTTP_UNPROCESSABLE_ENTITY); structureElementCommandCreate.setDescription("description"); - ITUtilStructures.assertValidate(structureElementCommandCreate, StructureCommand.CREATE, Boolean.FALSE); - ITUtilStructures.assertCreate(structureElementCommandCreate, ITUtil.HTTP_UNPROCESSABLE_ENTITY); - - structureElementCommandCreate.setComment("comment"); ITUtilStructures.assertValidate(structureElementCommandCreate, StructureCommand.CREATE, Boolean.TRUE); structureElementCommandCreate.setType(null); @@ -211,7 +205,6 @@ class StructuresSystemIT { structureElementCommandCreate.setType(Type.SYSTEM); structureElementCommandCreate.setParent(systemGroupUuid); structureElementCommandCreate.setDescription("description"); - structureElementCommandCreate.setComment("comment"); // mnemonic rules @@ -335,8 +328,7 @@ class StructuresSystemIT { structureElementCommand = new StructureElementCommand( null, Type.SYSTEM, systemGroupUuid, - "Ca", null, - "description", "comment"); + "Ca", null, "description"); structureElementCommandCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommand); structureElementCommandConfirm = StructureElementUtil.convertCommand2CommandConfirm(structureElementCommand); @@ -396,8 +388,7 @@ class StructuresSystemIT { structureElementCommand = new StructureElementCommand( null, Type.SYSTEM, systemGroupUuid, - "Cc", null, - "description", "comment"); + "Cc", null, "description"); structureElementCommandCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommand); structureElementCommandConfirm = StructureElementUtil.convertCommand2CommandConfirm(structureElementCommand); @@ -462,8 +453,7 @@ class StructuresSystemIT { structureElementCommand = new StructureElementCommand( null, Type.SYSTEM, systemGroupUuid, - "Cr", null, - "description", "comment"); + "Cr", null, "description"); structureElementCommandCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommand); structureElementCommandConfirm = StructureElementUtil.convertCommand2CommandConfirm(structureElementCommand); @@ -529,7 +519,6 @@ class StructuresSystemIT { // name // mnemonic // description - // comment try { UUID uuid = null; @@ -541,8 +530,7 @@ class StructuresSystemIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupUuid, - "Cu", null, - "description", "comment"); + "Cu", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); uuid = approvedStructureElement.getUuid(); @@ -596,13 +584,6 @@ class StructuresSystemIT { structureElementCommandUpdate.setDescription("description"); ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); - - structureElementCommandUpdate.setComment(null); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.FALSE); - ITUtilStructures.assertUpdate(structureElementCommandUpdate, ITUtil.HTTP_UNPROCESSABLE_ENTITY); - - structureElementCommandUpdate.setComment("comment"); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); } catch (Exception e) { fail(); } @@ -633,14 +614,11 @@ class StructuresSystemIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupUuid, - "Ua", null, - "description", "comment"); + "Ua", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandUpdate.setComment("comment update approve check"); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.APPROVE, Boolean.FALSE); @@ -695,14 +673,11 @@ class StructuresSystemIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupUuid, - "Uc", null, - "description", "comment"); + "Uc", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandUpdate.setComment("comment update cancel check"); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.CANCEL, Boolean.FALSE); @@ -757,14 +732,11 @@ class StructuresSystemIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupUuid, - "Ur", null, - "description", "comment"); + "Ur", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElement); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandUpdate.setComment("comment update reject check"); - ITUtilStructures.assertValidate(structureElementCommandUpdate, StructureCommand.UPDATE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.REJECT, Boolean.FALSE); @@ -811,7 +783,6 @@ class StructuresSystemIT { // validate delete // uuid // type - // comment try { UUID uuid = null; @@ -823,8 +794,7 @@ class StructuresSystemIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupUuid, - "Cd", null, - "description", "comment"); + "Cd", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); uuid = approvedStructureElement.getUuid(); @@ -854,13 +824,6 @@ class StructuresSystemIT { structureElementCommandConfirm.setType(Type.SYSTEM); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); - - structureElementCommandConfirm.setComment(null); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.FALSE); - ITUtilStructures.assertDelete(structureElementCommandConfirm, ITUtil.HTTP_UNPROCESSABLE_ENTITY); - - structureElementCommandConfirm.setComment("comment"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); } catch (Exception e) { fail(); } @@ -890,13 +853,10 @@ class StructuresSystemIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupUuid, - "Da", null, - "description", "comment"); + "Da", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandConfirm.setComment("comment delete approve check"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.APPROVE, Boolean.FALSE); @@ -950,13 +910,10 @@ class StructuresSystemIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupUuid, - "Dc", null, - "description", "comment"); + "Dc", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandConfirm.setComment("comment update delete check"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.CANCEL, Boolean.FALSE); @@ -1010,13 +967,10 @@ class StructuresSystemIT { // create, approve structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupUuid, - "Dr", null, - "description", "comment"); + "Dr", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElement); - structureElementCommandConfirm.setComment("comment delete reject check"); - ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.DELETE, Boolean.TRUE); ITUtilStructures.assertValidate(structureElementCommandConfirm, StructureCommand.REJECT, Boolean.FALSE); @@ -1064,8 +1018,7 @@ class StructuresSystemIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupUuid, - "Rsha", 41, - "description", "comment"); + "Rsha", 41, "description"); // create createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); @@ -1164,8 +1117,7 @@ class StructuresSystemIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupUuid, - "Rshc", 41, - "description", "comment"); + "Rshc", 41, "description"); // create createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); @@ -1264,8 +1216,7 @@ class StructuresSystemIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupUuid, - "Rshr", 41, - "description", "comment"); + "Rshr", 41, "description"); // create createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); @@ -1375,32 +1326,28 @@ class StructuresSystemIT { // a number of entries for which the last entry has status PENDING structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupUuid, - "P1", 1, - "description", "comment"); + "P1", 1, "description"); createdStructureElement = ITUtilStructures.assertCreate(structureElementCommandCreate); uuid = createdStructureElement.getUuid(); // a number of entries for which the last entry has status CANCELLED structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupUuid, - "C1", 2, - "description", "comment"); + "C1", 2, "description"); createdStructureElement = ITUtilStructures.assertCreateCancel(structureElementCommandCreate); uuid2 = createdStructureElement.getUuid(); // a number of entries for which the last entry has status REJECTED structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupUuid, - "R1", 3, - "description", "comment"); + "R1", 3, "description"); createdStructureElement = ITUtilStructures.assertCreateReject(structureElementCommandCreate); uuid3 = createdStructureElement.getUuid(); // a number of entries for which the last entry has status APPROVED structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupUuid, - "A1", 4, - "description", "comment"); + "A1", 4, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); uuid4 = createdStructureElement.getUuid(); @@ -1472,105 +1419,101 @@ class StructuresSystemIT { // a number of entries for which the last entry has status PENDING structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupUuid, - "P9", null, - "description", "comment"); + "P9", null, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(createdStructureElement); uuid = createdStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdate(structureElementCommandUpdate); // a number of entries for which the last entry has status CANCELLED structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupUuid, - "C9", 2, - "description", "comment"); + "C9", 2, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(createdStructureElement); uuid2 = createdStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); // a number of entries for which the last entry has status REJECTED structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupUuid, - "R9", 1, - "description", "comment"); + "R9", 1, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(createdStructureElement); uuid3 = createdStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); // a number of entries for which the last entry has status APPROVED structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupUuid, - "A9", 1, - "description", "comment"); + "A9", 1, "description"); createdStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); structureElementCommandUpdate = StructureElementUtil.convertElement2CommandUpdate(createdStructureElement); uuid4 = createdStructureElement.getUuid(); - structureElementCommandUpdate.setComment("comment 2"); + structureElementCommandUpdate.setDescription("description 2"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 3"); + structureElementCommandUpdate.setDescription("description 3"); ITUtilStructures.assertUpdateCancel(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 4"); + structureElementCommandUpdate.setDescription("description 4"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 5"); + structureElementCommandUpdate.setDescription("description 5"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 6"); + structureElementCommandUpdate.setDescription("description 6"); ITUtilStructures.assertUpdateReject(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 7"); + structureElementCommandUpdate.setDescription("description 7"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 8"); + structureElementCommandUpdate.setDescription("description 8"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); - structureElementCommandUpdate.setComment("comment 9"); + structureElementCommandUpdate.setDescription("description 9"); ITUtilStructures.assertUpdateApprove(structureElementCommandUpdate); try { @@ -1643,73 +1586,69 @@ class StructuresSystemIT { // create + approve structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AA1", 1, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AA2", 1, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AA3", 1, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AA4", 1, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AA5", 1, "description", "comment") + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AA1", 1, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AA2", 1, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AA3", 1, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AA4", 1, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AA5", 1, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); uuid = approvedStructureElements[0].getUuid(); // create + cancel structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AB1", 2, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AB2", 2, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AB3", 2, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AB4", 2, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AB5", 2, "description", "comment") + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AB1", 2, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AB2", 2, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AB3", 2, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AB4", 2, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AB5", 2, "description") }; ITUtilStructures.assertCreateCancel(structureElementCommandsCreate); // create + reject structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AC1", 3, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AC2", 3, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AC3", 3, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AC4", 3, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AC5", 3, "description", "comment") + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AC1", 3, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AC2", 3, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AC3", 3, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AC4", 3, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AC5", 3, "description") }; ITUtilStructures.assertCreateReject(structureElementCommandsCreate); // create structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AD1", 4, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AD2", 4, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AD3", 4, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AD4", 4, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AD5", 4, "description", "comment") + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AD1", 4, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AD2", 4, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AD3", 4, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AD4", 4, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AD5", 4, "description") }; ITUtilStructures.assertCreate(structureElementCommandsCreate); String description2 = "some other description"; - String comment2 = "some other comment"; String description3 = "more description"; - String comment3 = "more comment"; // create + approve // update + approve // update + approve // delete + reject structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AE1", 5, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AE2", 5, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AE3", 5, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AE4", 5, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AE5", 5, "description", "comment") + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AE1", 5, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AE2", 5, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AE3", 5, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AE4", 5, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AE5", 5, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description2); - structureElementCommandUpdate.setComment(comment2); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description3); - structureElementCommandUpdate.setComment(comment3); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); @@ -1718,11 +1657,11 @@ class StructuresSystemIT { // create + approve // delete + approve structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AF1", 6, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AF2", 6, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AF3", 6, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AF4", 6, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AF5", 6, "description", "comment") + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AF1", 6, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AF2", 6, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AF3", 6, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AF4", 6, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AF5", 6, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); @@ -1731,11 +1670,11 @@ class StructuresSystemIT { // create + approve // delete structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AG1", 7, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AG2", 7, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AG3", 7, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AG4", 7, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AG5", 7, "description", "comment") + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AG1", 7, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AG2", 7, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AG3", 7, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AG4", 7, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AG5", 7, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); @@ -1749,11 +1688,11 @@ class StructuresSystemIT { // delete + reject // delete structureElementCommandsCreate = new StructureElementCommandCreate[] { - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AH1", 8, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AH2", 8, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AH3", 8, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AH4", 8, "description", "comment"), - new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AH5", 8, "description", "comment") + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AH1", 8, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AH2", 8, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AH3", 8, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AH4", 8, "description"), + new StructureElementCommandCreate(Type.SYSTEM, systemGroupUuid, "AH5", 8, "description") }; approvedStructureElements = ITUtilStructures.assertCreateApprove(structureElementCommandsCreate); uuid2 = approvedStructureElements[0].getUuid(); @@ -1761,13 +1700,11 @@ class StructuresSystemIT { structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description2); - structureElementCommandUpdate.setComment(comment2); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsUpdate = StructureElementUtil.convertElement2CommandUpdate(approvedStructureElements); for (StructureElementCommandUpdate structureElementCommandUpdate : structureElementCommandsUpdate) { structureElementCommandUpdate.setDescription(description3); - structureElementCommandUpdate.setComment(comment3); } approvedStructureElements = ITUtilStructures.assertUpdateApprove(structureElementCommandsUpdate); structureElementCommandsConfirm = StructureElementUtil.convertElement2CommandConfirm(approvedStructureElements); diff --git a/src/test/java/org/openepics/names/docker/complex/NamesInstanceIndexIT.java b/src/test/java/org/openepics/names/docker/complex/NamesInstanceIndexIT.java index 0279adee..f1706143 100644 --- a/src/test/java/org/openepics/names/docker/complex/NamesInstanceIndexIT.java +++ b/src/test/java/org/openepics/names/docker/complex/NamesInstanceIndexIT.java @@ -147,36 +147,31 @@ class NamesInstanceIndexIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "Acc", null, - "Accelerator. The ESS Linear Accelerator", "approved by alfio"); + "Acc", null, "Accelerator. The ESS Linear Accelerator"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); systemGroupAcc = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupAcc, - "RFQ", null, - "Radio Frequency Quadrupole", "empty"); + "RFQ", null, "Radio Frequency Quadrupole"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); systemRFQ = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemRFQ, - "010PRL", null, - "01 Phase Reference Line", "Approved by Daniel Piso"); + "010PRL", null, "01 Phase Reference Line"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); subsystem010PRL = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemRFQ, - "010", null, - "RFQ-010", "Approved by Daniel Piso"); + "010", null, "RFQ-010"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); subsystem010 = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemRFQ, - "N1U1", null, - "Power switch board 01. Electrical power cabinets", "Approved by Daniel Piso"); + "N1U1", null, "Power switch board 01. Electrical power cabinets"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); subsystemN1U1 = approvedStructureElement.getUuid(); @@ -184,57 +179,49 @@ class NamesInstanceIndexIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "Cryo", null, - "Cryogenics", "empty"); + "Cryo", null, "Cryogenics"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineCryo = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "EMR", null, - "Electromagnetic Resonators", "empty"); + "EMR", null, "Electromagnetic Resonators"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineEMR = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "HVAC", null, - "Heating, Cooling and Air Conditioning", "empty"); + "HVAC", null, "Heating, Cooling and Air Conditioning"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineHVAC = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "Proc", null, - "General Process Control", "empty"); + "Proc", null, "General Process Control"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineProc = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "SC", null, - "Software Controllers", "empty"); + "SC", null, "Software Controllers"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineSC = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "Vac", null, - "Vacuum", "empty"); + "Vac", null, "Vacuum"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineVac = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "WtrC", null, - "Water Cooling", "empty"); + "WtrC", null, "Water Cooling"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineWtrC = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "BMD", null, - "Beam Magnets and Deflectors", "empty"); + "BMD", null, "Beam Magnets and Deflectors"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineBMD = approvedStructureElement.getUuid(); @@ -243,57 +230,49 @@ class NamesInstanceIndexIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineCryo, - null, null, - "empty", "empty"); + null, null, "empty"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupCryo = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineEMR, - null, null, - "empty", "empty"); + null, null, "empty"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupEMR = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineHVAC, - null, null, - "empty, empty", "empty"); + null, null, "empty"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupHVAC = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineProc, - null, null, - "empty", "empty"); + null, null, "empty"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupProc = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineSC, - null, null, - "empty", "empty"); + null, null, "empty"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupSC = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineVac, - null, null, - "empty", "empty"); + null, null, "empty"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupVac = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineWtrC, - null, null, - "empty", "empty"); + null, null, "empty"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupWtrC = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineBMD, - null, null, - "empty", "empty"); + null, null, "empty"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupBMD = approvedStructureElement.getUuid(); @@ -301,29 +280,25 @@ class NamesInstanceIndexIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupCryo, - "FS", null, - "Flow Switch", "empty"); + "FS", null, "Flow Switch"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_Cryo_FS = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupCryo, - "IOC", null, - "Input Output Controller", "empty"); + "IOC", null, "Input Output Controller"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_Cryo_IOC = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupCryo, - "RFA", null, - "RF Antenna", "empty"); + "RFA", null, "RF Antenna"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_Cryo_RFA = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupCryo, - "TT", null, - "Temperature Transmitter", "empty"); + "TT", null, "Temperature Transmitter"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_Cryo_TT = approvedStructureElement.getUuid(); @@ -331,29 +306,25 @@ class NamesInstanceIndexIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupEMR, - "FS", null, - "Flow Switch", "empty"); + "FS", null, "Flow Switch"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_EMR_FS = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupEMR, - "IOC", null, - "Input Output Controller", "empty"); + "IOC", null, "Input Output Controller"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_EMR_IOC = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupEMR, - "RFA", null, - "RF Antenna", "empty"); + "RFA", null, "RF Antenna"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_EMR_RFA = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupEMR, - "TT", null, - "Temperature Transmitter", "empty"); + "TT", null, "Temperature Transmitter"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_EMR_TT = approvedStructureElement.getUuid(); @@ -361,29 +332,25 @@ class NamesInstanceIndexIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupHVAC, - "FS", null, - "Flow Switch", "empty"); + "FS", null, "Flow Switch"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_HVAC_FS = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupHVAC, - "IOC", null, - "Input Output Controller", "empty"); + "IOC", null, "Input Output Controller"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_HVAC_IOC = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupHVAC, - "RFA", null, - "RF Antenna", "empty"); + "RFA", null, "RF Antenna"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_HVAC_RFA = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupHVAC, - "TT", null, - "Temperature Transmitter", "empty"); + "TT", null, "Temperature Transmitter"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_HVAC_TT = approvedStructureElement.getUuid(); @@ -391,29 +358,25 @@ class NamesInstanceIndexIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupProc, - "FS", null, - "Flow Switch", "empty"); + "FS", null, "Flow Switch"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_Proc_FS = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupProc, - "IOC", null, - "Input Output Controller", "empty"); + "IOC", null, "Input Output Controller"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_Proc_IOC = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupProc, - "RFA", null, - "RF Antenna", "empty"); + "RFA", null, "RF Antenna"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_Proc_RFA = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupProc, - "TT", null, - "Temperature Transmitter", "empty"); + "TT", null, "Temperature Transmitter"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_Proc_TT = approvedStructureElement.getUuid(); @@ -421,29 +384,25 @@ class NamesInstanceIndexIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupSC, - "FS", null, - "Flow Switch", "empty"); + "FS", null, "Flow Switch"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_SC_FS = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupSC, - "IOC", null, - "Input Output Controller", "empty"); + "IOC", null, "Input Output Controller"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_SC_IOC = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupSC, - "RFA", null, - "RF Antenna", "empty"); + "RFA", null, "RF Antenna"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_SC_RFA = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupSC, - "TT", null, - "Temperature Transmitter", "empty"); + "TT", null, "Temperature Transmitter"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_SC_TT = approvedStructureElement.getUuid(); @@ -451,29 +410,25 @@ class NamesInstanceIndexIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupVac, - "FS", null, - "Flow Switch", "empty"); + "FS", null, "Flow Switch"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_Vac_FS = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupVac, - "IOC", null, - "Input Output Controller", "empty"); + "IOC", null, "Input Output Controller"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_Vac_IOC = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupVac, - "RFA", null, - "RF Antenna", "empty"); + "RFA", null, "RF Antenna"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_Vac_RFA = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupVac, - "TT", null, - "Temperature Transmitter", "empty"); + "TT", null, "Temperature Transmitter"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_Vac_TT = approvedStructureElement.getUuid(); @@ -481,29 +436,25 @@ class NamesInstanceIndexIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupWtrC, - "FS", null, - "Flow Switch", "empty"); + "FS", null, "Flow Switch"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_WtrC_FS = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupWtrC, - "IOC", null, - "Input Output Controller", "empty"); + "IOC", null, "Input Output Controller"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_WtrC_IOC = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupWtrC, - "RFA", null, - "RF Antenna", "empty"); + "RFA", null, "RF Antenna"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_WtrC_RFA = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupWtrC, - "TT", null, - "Temperature Transmitter", "empty"); + "TT", null, "Temperature Transmitter"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_WtrC_TT = approvedStructureElement.getUuid(); @@ -511,29 +462,25 @@ class NamesInstanceIndexIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupBMD, - "FS", null, - "Flow Switch", "empty"); + "FS", null, "Flow Switch"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_BMD_FS = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupBMD, - "IOC", null, - "Input Output Controller", "empty"); + "IOC", null, "Input Output Controller"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_BMD_IOC = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupBMD, - "RFA", null, - "RF Antenna", "empty"); + "RFA", null, "RF Antenna"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_BMD_RFA = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupBMD, - "TT", null, - "Temperature Transmitter", "empty"); + "TT", null, "Temperature Transmitter"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_BMD_TT = approvedStructureElement.getUuid(); } @@ -561,7 +508,6 @@ class NamesInstanceIndexIT { NameElementCommandCreate nameElementCommandCreate = new NameElementCommandCreate(); nameElementCommandCreate.setParentSystemStructure(subsystem010PRL); nameElementCommandCreate.setDescription("description"); - nameElementCommandCreate.setComment("comment"); // ---------------------------------------------------------------------------------------------------- @@ -700,7 +646,6 @@ class NamesInstanceIndexIT { NameElementCommandCreate nameElementCommandCreate = new NameElementCommandCreate(); nameElementCommandCreate.setParentSystemStructure(subsystem010PRL); nameElementCommandCreate.setDescription("description"); - nameElementCommandCreate.setComment("comment"); // ---------------------------------------------------------------------------------------------------- @@ -839,7 +784,6 @@ class NamesInstanceIndexIT { NameElementCommandCreate nameElementCommandCreate = new NameElementCommandCreate(); nameElementCommandCreate.setParentSystemStructure(subsystem010PRL); nameElementCommandCreate.setDescription("description"); - nameElementCommandCreate.setComment("comment"); // ---------------------------------------------------------------------------------------------------- @@ -978,7 +922,6 @@ class NamesInstanceIndexIT { NameElementCommandCreate nameElementCommandCreate = new NameElementCommandCreate(); nameElementCommandCreate.setParentSystemStructure(subsystem010PRL); nameElementCommandCreate.setDescription("description"); - nameElementCommandCreate.setComment("comment"); // ---------------------------------------------------------------------------------------------------- @@ -1117,7 +1060,6 @@ class NamesInstanceIndexIT { NameElementCommandCreate nameElementCommandCreate = new NameElementCommandCreate(); nameElementCommandCreate.setParentSystemStructure(subsystem010PRL); nameElementCommandCreate.setDescription("description"); - nameElementCommandCreate.setComment("comment"); // ---------------------------------------------------------------------------------------------------- @@ -1256,7 +1198,6 @@ class NamesInstanceIndexIT { NameElementCommandCreate nameElementCommandCreate = new NameElementCommandCreate(); nameElementCommandCreate.setParentSystemStructure(subsystem010PRL); nameElementCommandCreate.setDescription("description"); - nameElementCommandCreate.setComment("comment"); // ---------------------------------------------------------------------------------------------------- @@ -1395,7 +1336,6 @@ class NamesInstanceIndexIT { NameElementCommandCreate nameElementCommandCreate = new NameElementCommandCreate(); nameElementCommandCreate.setParentSystemStructure(subsystem010PRL); nameElementCommandCreate.setDescription("description"); - nameElementCommandCreate.setComment("comment"); // ---------------------------------------------------------------------------------------------------- @@ -1534,7 +1474,6 @@ class NamesInstanceIndexIT { NameElementCommandCreate nameElementCommandCreate = new NameElementCommandCreate(); nameElementCommandCreate.setParentSystemStructure(subsystem010PRL); nameElementCommandCreate.setDescription("description"); - nameElementCommandCreate.setComment("comment"); // ---------------------------------------------------------------------------------------------------- diff --git a/src/test/java/org/openepics/names/docker/complex/NamesLegacyIT.java b/src/test/java/org/openepics/names/docker/complex/NamesLegacyIT.java index 777ac3b5..39016393 100644 --- a/src/test/java/org/openepics/names/docker/complex/NamesLegacyIT.java +++ b/src/test/java/org/openepics/names/docker/complex/NamesLegacyIT.java @@ -122,10 +122,9 @@ class NamesLegacyIT { StructureElement approvedStructureElement = null; String description = "description"; - String comment = "comment"; // sg0 - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEMGROUP, null, null, null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEMGROUP, null, null, null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); ITUtilStructures.assertRead("", 1); @@ -138,48 +137,48 @@ class NamesLegacyIT { // system group // sg0 - no mnemonic - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "Sg1", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "Sg1", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sg1 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg1, "Sys11", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg1, "Sys11", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sys11 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg1, "Sys12", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg1, "Sys12", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sys12 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg1, "Sys13", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg1, "Sys13", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sys13 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys11, "Sub111", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys11, "Sub111", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys11, "Sub112", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys11, "Sub112", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys11, "Sub113", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys11, "Sub113", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys12, "Sub121", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys12, "Sub121", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys12, "Sub122", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys12, "Sub122", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys12, "Sub123", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys12, "Sub123", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys13, "Sub131", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys13, "Sub131", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys13, "Sub132", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys13, "Sub132", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sub132 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys13, "Sub133", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys13, "Sub133", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); ITUtilStructures.assertRead("", 14); @@ -206,49 +205,49 @@ class NamesLegacyIT { // Sys12-Sub121, Sys12-Sub122, Sys12-Sub123 // Sys13-Sub131, Sys13-Sub132, Sys13-Sub133 - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "Sg2", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "Sg2", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sg2 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg2, "Sys21", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg2, "Sys21", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sys21 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg2, "Sys22", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg2, "Sys22", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sys22 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg2, "Sys23", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg2, "Sys23", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sys23 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys21, "Sub211", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys21, "Sub211", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys21, "Sub212", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys21, "Sub212", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys21, "Sub213", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys21, "Sub213", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys22, "Sub221", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys22, "Sub221", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys22, "Sub222", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys22, "Sub222", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys22, "Sub223", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys22, "Sub223", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys23, "Sub231", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys23, "Sub231", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sub231 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys23, "Sub232", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys23, "Sub232", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sub232 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys23, "Sub233", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys23, "Sub233", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sub233 = approvedStructureElement.getUuid(); @@ -276,55 +275,55 @@ class NamesLegacyIT { // Sys22-Sub221, Sys22-Sub222, Sys22-Sub223 // Sys23-Sub231, Sys23-Sub232, Sys23-Sub233 - structureElementCommandCreate = new StructureElementCommandCreate(Type.DISCIPLINE, null, "Di2", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DISCIPLINE, null, "Di2", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); di2 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICEGROUP, di2, "", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICEGROUP, di2, "", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dg21 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICEGROUP, di2, "", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICEGROUP, di2, "", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dg22 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICEGROUP, di2, "", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICEGROUP, di2, "", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dg23 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg21, "Dt211", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg21, "Dt211", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt211 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg21, "Dt212", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg21, "Dt212", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt212 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg21, "Dt213", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg21, "Dt213", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt213 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg22, "Dt221", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg22, "Dt221", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt221 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg22, "Dt222", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg22, "Dt222", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt222 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg22, "Dt223", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg22, "Dt223", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt223 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg23, "Dt231", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg23, "Dt231", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt231 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg23, "Dt232", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg23, "Dt232", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt232 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg23, "Dt233", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg23, "Dt233", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt233 = approvedStructureElement.getUuid(); @@ -349,31 +348,31 @@ class NamesLegacyIT { // Dt221, Dt222, Dt223 // Dt231, Dt232, Dt233 - nameElementCommandCreate = new NameElementCommandCreate(sg2, dt211, "211", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sg2, dt211, "211", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sg2, dt212, "212", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sg2, dt212, "212", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sg2, dt213, "213", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sg2, dt213, "213", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sys22, dt221, "221", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sys22, dt221, "221", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sys22, dt222, "222", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sys22, dt222, "222", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sys22, dt223, "223", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sys22, dt223, "223", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sub231, dt231, "231", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sub231, dt231, "231", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sub232, dt232, "232", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sub232, dt232, "232", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sub233, dt233, "233", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sub233, dt233, "233", description); ITUtilNames.assertCreate(nameElementCommandCreate); ITUtilStructures.assertRead("", 40); diff --git a/src/test/java/org/openepics/names/docker/complex/NamesLegacyStructuresDeleteIT.java b/src/test/java/org/openepics/names/docker/complex/NamesLegacyStructuresDeleteIT.java index 2a32a216..e44db19e 100644 --- a/src/test/java/org/openepics/names/docker/complex/NamesLegacyStructuresDeleteIT.java +++ b/src/test/java/org/openepics/names/docker/complex/NamesLegacyStructuresDeleteIT.java @@ -120,10 +120,9 @@ class NamesLegacyStructuresDeleteIT { StructureElement approvedStructureElement = null; String description = "description"; - String comment = "comment"; // sg0 - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEMGROUP, null, null, null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEMGROUP, null, null, null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); ITUtilStructures.assertRead("", 1); @@ -136,48 +135,48 @@ class NamesLegacyStructuresDeleteIT { // system group // sg0 - no mnemonic - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "Sg1", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "Sg1", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sg1 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg1, "Sys11", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg1, "Sys11", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sys11 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg1, "Sys12", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg1, "Sys12", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sys12 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg1, "Sys13", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg1, "Sys13", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sys13 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys11, "Sub111", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys11, "Sub111", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys11, "Sub112", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys11, "Sub112", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys11, "Sub113", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys11, "Sub113", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys12, "Sub121", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys12, "Sub121", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys12, "Sub122", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys12, "Sub122", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys12, "Sub123", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys12, "Sub123", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys13, "Sub131", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys13, "Sub131", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys13, "Sub132", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys13, "Sub132", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sub132 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys13, "Sub133", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys13, "Sub133", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); ITUtilStructures.assertRead("", 14); @@ -204,49 +203,49 @@ class NamesLegacyStructuresDeleteIT { // Sys12-Sub121, Sys12-Sub122, Sys12-Sub123 // Sys13-Sub131, Sys13-Sub132, Sys13-Sub133 - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "Sg2", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "Sg2", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sg2 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg2, "Sys21", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg2, "Sys21", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sys21 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg2, "Sys22", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg2, "Sys22", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sys22 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg2, "Sys23", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg2, "Sys23", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sys23 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys21, "Sub211", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys21, "Sub211", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys21, "Sub212", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys21, "Sub212", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys21, "Sub213", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys21, "Sub213", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys22, "Sub221", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys22, "Sub221", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys22, "Sub222", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys22, "Sub222", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys22, "Sub223", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys22, "Sub223", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys23, "Sub231", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys23, "Sub231", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sub231 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys23, "Sub232", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys23, "Sub232", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sub232 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys23, "Sub233", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys23, "Sub233", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sub233 = approvedStructureElement.getUuid(); @@ -274,55 +273,55 @@ class NamesLegacyStructuresDeleteIT { // Sys22-Sub221, Sys22-Sub222, Sys22-Sub223 // Sys23-Sub231, Sys23-Sub232, Sys23-Sub233 - structureElementCommandCreate = new StructureElementCommandCreate(Type.DISCIPLINE, null, "Di2", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DISCIPLINE, null, "Di2", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); di2 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICEGROUP, di2, "", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICEGROUP, di2, "", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dg21 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICEGROUP, di2, "", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICEGROUP, di2, "", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dg22 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICEGROUP, di2, "", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICEGROUP, di2, "", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dg23 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg21, "Dt211", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg21, "Dt211", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt211 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg21, "Dt212", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg21, "Dt212", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt212 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg21, "Dt213", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg21, "Dt213", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt213 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg22, "Dt221", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg22, "Dt221", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt221 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg22, "Dt222", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg22, "Dt222", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt222 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg22, "Dt223", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg22, "Dt223", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt223 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg23, "Dt231", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg23, "Dt231", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt231 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg23, "Dt232", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg23, "Dt232", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt232 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg23, "Dt233", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg23, "Dt233", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt233 = approvedStructureElement.getUuid(); @@ -347,31 +346,31 @@ class NamesLegacyStructuresDeleteIT { // Dt221, Dt222, Dt223 // Dt231, Dt232, Dt233 - nameElementCommandCreate = new NameElementCommandCreate(sg2, dt211, "211", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sg2, dt211, "211", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sg2, dt212, "212", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sg2, dt212, "212", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sg2, dt213, "213", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sg2, dt213, "213", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sys22, dt221, "221", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sys22, dt221, "221", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sys22, dt222, "222", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sys22, dt222, "222", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sys22, dt223, "223", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sys22, dt223, "223", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sub231, dt231, "231", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sub231, dt231, "231", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sub232, dt232, "232", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sub232, dt232, "232", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sub233, dt233, "233", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sub233, dt233, "233", description); ITUtilNames.assertCreate(nameElementCommandCreate); ITUtilStructures.assertRead("", 40); diff --git a/src/test/java/org/openepics/names/docker/complex/NamesLegacyStructuresUpdateIT.java b/src/test/java/org/openepics/names/docker/complex/NamesLegacyStructuresUpdateIT.java index d6724d35..01c0385a 100644 --- a/src/test/java/org/openepics/names/docker/complex/NamesLegacyStructuresUpdateIT.java +++ b/src/test/java/org/openepics/names/docker/complex/NamesLegacyStructuresUpdateIT.java @@ -120,10 +120,9 @@ class NamesLegacyStructuresUpdateIT { StructureElement approvedStructureElement = null; String description = "description"; - String comment = "comment"; // sg0 - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEMGROUP, null, null, null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEMGROUP, null, null, null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); ITUtilStructures.assertRead("", 1); @@ -136,48 +135,48 @@ class NamesLegacyStructuresUpdateIT { // system group // sg0 - no mnemonic - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "Sg1", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "Sg1", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sg1 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg1, "Sys11", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg1, "Sys11", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sys11 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg1, "Sys12", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg1, "Sys12", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sys12 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg1, "Sys13", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg1, "Sys13", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sys13 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys11, "Sub111", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys11, "Sub111", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys11, "Sub112", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys11, "Sub112", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys11, "Sub113", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys11, "Sub113", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys12, "Sub121", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys12, "Sub121", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys12, "Sub122", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys12, "Sub122", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys12, "Sub123", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys12, "Sub123", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys13, "Sub131", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys13, "Sub131", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys13, "Sub132", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys13, "Sub132", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sub132 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys13, "Sub133", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys13, "Sub133", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); ITUtilStructures.assertRead("", 14); @@ -205,49 +204,49 @@ class NamesLegacyStructuresUpdateIT { // Sys12-Sub121, Sys12-Sub122, Sys12-Sub123 // Sys13-Sub131, Sys13-Sub132, Sys13-Sub133 - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "Sg2", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEMGROUP, null, "Sg2", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sg2 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg2, "Sys21", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg2, "Sys21", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sys21 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg2, "Sys22", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg2, "Sys22", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sys22 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg2, "Sys23", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SYSTEM, sg2, "Sys23", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sys23 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys21, "Sub211", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys21, "Sub211", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys21, "Sub212", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys21, "Sub212", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys21, "Sub213", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys21, "Sub213", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys22, "Sub221", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys22, "Sub221", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys22, "Sub222", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys22, "Sub222", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys22, "Sub223", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys22, "Sub223", null, description); ITUtilStructures.assertCreateApprove(structureElementCommandCreate); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys23, "Sub231", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys23, "Sub231", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sub231 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys23, "Sub232", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys23, "Sub232", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sub232 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys23, "Sub233", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.SUBSYSTEM, sys23, "Sub233", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); sub233 = approvedStructureElement.getUuid(); @@ -275,55 +274,55 @@ class NamesLegacyStructuresUpdateIT { // Sys22-Sub221, Sys22-Sub222, Sys22-Sub223 // Sys23-Sub231, Sys23-Sub232, Sys23-Sub233 - structureElementCommandCreate = new StructureElementCommandCreate(Type.DISCIPLINE, null, "Di2", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DISCIPLINE, null, "Di2", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); di2 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICEGROUP, di2, "", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICEGROUP, di2, "", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dg21 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICEGROUP, di2, "", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICEGROUP, di2, "", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dg22 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICEGROUP, di2, "", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICEGROUP, di2, "", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dg23 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg21, "Dt211", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg21, "Dt211", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt211 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg21, "Dt212", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg21, "Dt212", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt212 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg21, "Dt213", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg21, "Dt213", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt213 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg22, "Dt221", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg22, "Dt221", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt221 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg22, "Dt222", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg22, "Dt222", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt222 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg22, "Dt223", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg22, "Dt223", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt223 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg23, "Dt231", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg23, "Dt231", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt231 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg23, "Dt232", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg23, "Dt232", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt232 = approvedStructureElement.getUuid(); - structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg23, "Dt233", null, description, comment); + structureElementCommandCreate = new StructureElementCommandCreate(Type.DEVICETYPE, dg23, "Dt233", null, description); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); dt233 = approvedStructureElement.getUuid(); @@ -348,31 +347,31 @@ class NamesLegacyStructuresUpdateIT { // Dt221, Dt222, Dt223 // Dt231, Dt232, Dt233 - nameElementCommandCreate = new NameElementCommandCreate(sg2, dt211, "211", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sg2, dt211, "211", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sg2, dt212, "212", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sg2, dt212, "212", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sg2, dt213, "213", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sg2, dt213, "213", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sys22, dt221, "221", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sys22, dt221, "221", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sys22, dt222, "222", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sys22, dt222, "222", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sys22, dt223, "223", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sys22, dt223, "223", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sub231, dt231, "231", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sub231, dt231, "231", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sub232, dt232, "232", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sub232, dt232, "232", description); ITUtilNames.assertCreate(nameElementCommandCreate); - nameElementCommandCreate = new NameElementCommandCreate(sub233, dt233, "233", description, comment); + nameElementCommandCreate = new NameElementCommandCreate(sub233, dt233, "233", description); ITUtilNames.assertCreate(nameElementCommandCreate); ITUtilStructures.assertRead("", 40); diff --git a/src/test/java/org/openepics/names/docker/complex/NamesMultipleIT.java b/src/test/java/org/openepics/names/docker/complex/NamesMultipleIT.java index 42672e61..6fe8f70c 100644 --- a/src/test/java/org/openepics/names/docker/complex/NamesMultipleIT.java +++ b/src/test/java/org/openepics/names/docker/complex/NamesMultipleIT.java @@ -59,12 +59,12 @@ import org.testcontainers.junit.jupiter.Testcontainers; class NamesMultipleIT { // names for each of - // system group + description + comment - // system group + device type + index + description + comment - // system + description + comment - // system + device type + index + description + comment - // subsystem + description + comment - // subsystem + device type + index + description + comment + // system group + description + // system group + device type + index + description + // system + description + // system + device type + index + description + // subsystem + description + // subsystem + device type + index + description @Container public static final ComposeContainer ENVIRONMENT = ITUtil.defaultComposeContainers(); @@ -86,43 +86,37 @@ class NamesMultipleIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "Acc", null, - "Accelerator. The ESS Linear Accelerator", "approved by alfio"); + "Acc", null, "Accelerator. The ESS Linear Accelerator"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); systemGroupAcc = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupAcc, - "RFQ", null, - "Radio Frequency Quadrupole", "empty"); + "RFQ", null, "Radio Frequency Quadrupole"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); systemRFQ = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemRFQ, - "010PRL", null, - "01 Phase Reference Line", "Approved by Daniel Piso"); + "010PRL", null, "01 Phase Reference Line"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); subsystem010PRL = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "Cryo", null, - "Cryogenics", "empty"); + "Cryo", null, "Cryogenics"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineCryo = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineCryo, - null, null, - "empty", "empty"); + null, null, "empty"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupCryo = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupCryo, - "FS", null, - "Flow Switch", "empty"); + "FS", null, "Flow Switch"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceType_Cryo_FS = approvedStructureElement.getUuid(); } @@ -158,15 +152,15 @@ class NamesMultipleIT { String value = null; nameElementCommands = new NameElementCommand[] { - new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "011", "checkCreate 1.3.011", "checkCreate 1.3.011"), - new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "012", "checkCreate 1.3.012", "checkCreate 1.3.012"), - new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "013", "checkCreate 1.3.013", "checkCreate 1.3.013"), - new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "011", "checkCreate 2.3.011", "checkCreate 2.3.011"), - new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "012", "checkCreate 2.3.012", "checkCreate 2.3.012"), - new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "013", "checkCreate 2.3.013", "checkCreate 2.3.013"), - new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "011", "checkCreate 3.3.011", "checkCreate 3.3.011"), - new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "012", "checkCreate 3.3.012", "checkCreate 3.3.012"), - new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "013", "checkCreate 3.3.013", "checkCreate 3.3.013") + new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "011", "checkCreate 1.3.011"), + new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "012", "checkCreate 1.3.012"), + new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "013", "checkCreate 1.3.013"), + new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "011", "checkCreate 2.3.011"), + new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "012", "checkCreate 2.3.012"), + new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "013", "checkCreate 2.3.013"), + new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "011", "checkCreate 3.3.011"), + new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "012", "checkCreate 3.3.012"), + new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "013", "checkCreate 3.3.013") }; nameElementCommandsCreate = NameElementUtil.convertCommand2CommandCreate(nameElementCommands); nameElementCommandsUpdate = NameElementUtil.convertCommand2CommandUpdate(nameElementCommands); @@ -202,12 +196,6 @@ class NamesMultipleIT { ITUtilNames.assertValidate(nameElementCommandsCreate, NameCommand.CREATE, Boolean.FALSE); nameElementCommandsCreate[3].setDescription(value); ITUtilNames.assertValidate(nameElementCommandsCreate, NameCommand.CREATE, Boolean.TRUE); - - value = nameElementCommandsCreate[3].getComment(); - nameElementCommandsCreate[3].setComment(null); - ITUtilNames.assertValidate(nameElementCommandsCreate, NameCommand.CREATE, Boolean.FALSE); - nameElementCommandsCreate[3].setComment(value); - ITUtilNames.assertValidate(nameElementCommandsCreate, NameCommand.CREATE, Boolean.TRUE); } catch (Exception e) { fail(); } @@ -237,16 +225,16 @@ class NamesMultipleIT { int nbrNames = -1; nameElementCommands = new NameElementCommand[] { - new NameElementCommand(null, systemGroupAcc, null, null, "create 1.0.0", "create 1.0.0"), - new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "021", "create 1.3.021", "create 1.3.021"), - new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "022", "create 1.3.022", "create 1.3.022"), - new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "023", "create 1.3.023", "create 1.3.023"), - new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "021", "create 2.3.021", "create 2.3.021"), - new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "022", "create 2.3.022", "create 2.3.022"), - new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "023", "create 2.3.023", "create 2.3.023"), - new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "021", "create 3.3.021", "create 3.3.021"), - new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "022", "create 3.3.022", "create 3.3.022"), - new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "023", "create 3.3.023", "create 3.3.023") + new NameElementCommand(null, systemGroupAcc, null, null, "create 1.0.0"), + new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "021", "create 1.3.021"), + new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "022", "create 1.3.022"), + new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "023", "create 1.3.023"), + new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "021", "create 2.3.021"), + new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "022", "create 2.3.022"), + new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "023", "create 2.3.023"), + new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "021", "create 3.3.021"), + new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "022", "create 3.3.022"), + new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "023", "create 3.3.023") }; nameElementCommandsCreate = NameElementUtil.convertCommand2CommandCreate(nameElementCommands); nameElementCommandsUpdate = NameElementUtil.convertCommand2CommandUpdate(nameElementCommands); @@ -325,15 +313,15 @@ class NamesMultipleIT { String value = null; nameElementCommands = new NameElementCommand[] { - new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "031", "checkUpdate 1.3.031", "checkUpdate 1.3.031"), - new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "032", "checkUpdate 1.3.032", "checkUpdate 1.3.032"), - new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "033", "checkUpdate 1.3.033", "checkUpdate 1.3.033"), - new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "031", "checkUpdate 2.3.031", "checkUpdate 2.3.031"), - new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "032", "checkUpdate 2.3.032", "checkUpdate 2.3.032"), - new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "033", "checkUpdate 2.3.033", "checkUpdate 2.3.033"), - new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "031", "checkUpdate 3.3.031", "checkUpdate 3.3.031"), - new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "032", "checkUpdate 3.3.032", "checkUpdate 3.3.032"), - new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "033", "checkUpdate 3.3.033", "checkUpdate 3.3.033") + new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "031", "checkUpdate 1.3.031"), + new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "032", "checkUpdate 1.3.032"), + new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "033", "checkUpdate 1.3.033"), + new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "031", "checkUpdate 2.3.031"), + new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "032", "checkUpdate 2.3.032"), + new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "033", "checkUpdate 2.3.033"), + new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "031", "checkUpdate 3.3.031"), + new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "032", "checkUpdate 3.3.032"), + new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "033", "checkUpdate 3.3.033") }; nameElementCommandsCreate = NameElementUtil.convertCommand2CommandCreate(nameElementCommands); nameElementCommandsUpdate = NameElementUtil.convertCommand2CommandUpdate(nameElementCommands); @@ -393,12 +381,6 @@ class NamesMultipleIT { ITUtilNames.assertValidate(nameElementCommandsUpdate, NameCommand.UPDATE, Boolean.FALSE); nameElementCommandsUpdate[3].setDescription(value); ITUtilNames.assertValidate(nameElementCommandsUpdate, NameCommand.UPDATE, Boolean.TRUE); - - value = nameElementCommandsUpdate[3].getComment(); - nameElementCommandsUpdate[3].setComment(null); - ITUtilNames.assertValidate(nameElementCommandsUpdate, NameCommand.UPDATE, Boolean.FALSE); - nameElementCommandsUpdate[3].setComment(value); - ITUtilNames.assertValidate(nameElementCommandsUpdate, NameCommand.UPDATE, Boolean.TRUE); } @Test @@ -427,16 +409,16 @@ class NamesMultipleIT { int nbrNames = -1; nameElementCommands = new NameElementCommand[] { - new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "041", "update 1.3.041", "update 1.3.041"), - new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "042", "update 1.3.042", "update 1.3.042"), - new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "043", "update 1.3.043", "update 1.3.043"), - new NameElementCommand(null, systemRFQ, null, null, "update 2.0.0", "update 2.0.0"), - new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "041", "update 2.3.041", "update 2.3.041"), - new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "042", "update 2.3.042", "update 2.3.042"), - new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "043", "update 2.3.043", "update 2.3.043"), - new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "041", "update 3.3.041", "update 3.3.041"), - new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "042", "update 3.3.042", "update 3.3.042"), - new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "043", "update 3.3.043", "update 3.3.043") + new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "041", "update 1.3.041"), + new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "042", "update 1.3.042"), + new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "043", "update 1.3.043"), + new NameElementCommand(null, systemRFQ, null, null, "update 2.0.0"), + new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "041", "update 2.3.041"), + new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "042", "update 2.3.042"), + new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "043", "update 2.3.043"), + new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "041", "update 3.3.041"), + new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "042", "update 3.3.042"), + new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "043", "update 3.3.043") }; nameElementCommandsCreate = NameElementUtil.convertCommand2CommandCreate(nameElementCommands); nameElementCommandsUpdate = NameElementUtil.convertCommand2CommandUpdate(nameElementCommands); @@ -535,7 +517,6 @@ class NamesMultipleIT { // create in order to delete // validate delete // uuid - // comment NameElementCommandCreate[] nameElementCommandsCreate = null; NameElementCommandUpdate[] nameElementCommandsUpdate = null; @@ -544,18 +525,17 @@ class NamesMultipleIT { NameElement[] createdNameElements = null; int nbrNames = -1; UUID uuid = null; - String value = null; nameElementCommands = new NameElementCommand[] { - new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "051", "checkDelete 1.3.051", "checkDelete 1.3.051"), - new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "052", "checkDelete 1.3.052", "checkDelete 1.3.052"), - new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "053", "checkDelete 1.3.053", "checkDelete 1.3.053"), - new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "051", "checkDelete 2.3.051", "checkDelete 2.3.051"), - new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "052", "checkDelete 2.3.052", "checkDelete 2.3.052"), - new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "053", "checkDelete 2.3.053", "checkDelete 2.3.053"), - new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "051", "checkDelete 3.3.051", "checkDelete 3.3.051"), - new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "052", "checkDelete 3.3.052", "checkDelete 3.3.052"), - new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "053", "checkDelete 3.3.053", "checkDelete 3.3.053") + new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "051", "checkDelete 1.3.051"), + new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "052", "checkDelete 1.3.052"), + new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "053", "checkDelete 1.3.053"), + new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "051", "checkDelete 2.3.051"), + new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "052", "checkDelete 2.3.052"), + new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "053", "checkDelete 2.3.053"), + new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "051", "checkDelete 3.3.051"), + new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "052", "checkDelete 3.3.052"), + new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "053", "checkDelete 3.3.053") }; nameElementCommandsCreate = NameElementUtil.convertCommand2CommandCreate(nameElementCommands); nameElementCommandsUpdate = NameElementUtil.convertCommand2CommandUpdate(nameElementCommands); @@ -592,12 +572,6 @@ class NamesMultipleIT { ITUtilNames.assertValidate(nameElementCommandsConfirm, NameCommand.DELETE, Boolean.FALSE); nameElementCommandsConfirm[3].setUuid(uuid); ITUtilNames.assertValidate(nameElementCommandsConfirm, NameCommand.DELETE, Boolean.TRUE); - - value = nameElementCommandsConfirm[3].getComment(); - nameElementCommandsConfirm[3].setComment(null); - ITUtilNames.assertValidate(nameElementCommandsConfirm, NameCommand.DELETE, Boolean.FALSE); - nameElementCommandsConfirm[3].setComment(value); - ITUtilNames.assertValidate(nameElementCommandsConfirm, NameCommand.DELETE, Boolean.TRUE); } @Test @@ -618,12 +592,12 @@ class NamesMultipleIT { // create in order to delete // // names for each of - // system group + description + comment - // system group + device type + index + description + comment - // system + description + comment - // system + device type + index + description + comment - // subsystem + description + comment - // subsystem + device type + index + description + comment + // system group + description + // system group + device type + index + description + // system + description + // system + device type + index + description + // subsystem + description + // subsystem + device type + index + description NameElementCommandCreate[] nameElementCommandsCreate = null; NameElementCommandUpdate[] nameElementCommandsUpdate = null; @@ -633,16 +607,16 @@ class NamesMultipleIT { int nbrNames = -1; nameElementCommands = new NameElementCommand[] { - new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "061", "delete 1.3.061", "delete 1.3.061"), - new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "062", "delete 1.3.062", "delete 1.3.062"), - new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "063", "delete 1.3.063", "delete 1.3.063"), - new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "061", "delete 2.3.061", "delete 2.3.061"), - new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "062", "delete 2.3.062", "delete 2.3.062"), - new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "063", "delete 2.3.063", "delete 2.3.063"), - new NameElementCommand(null, subsystem010PRL, null, null, "delete 3.0.0", "delete 3.0.0"), - new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "061", "delete 3.3.061", "delete 3.3.061"), - new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "062", "delete 3.3.062", "delete 3.3.062"), - new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "063", "delete 3.3.063", "delete 3.3.063") + new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "061", "delete 1.3.061"), + new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "062", "delete 1.3.062"), + new NameElementCommand(null, systemGroupAcc, deviceType_Cryo_FS, "063", "delete 1.3.063"), + new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "061", "delete 2.3.061"), + new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "062", "delete 2.3.062"), + new NameElementCommand(null, systemRFQ, deviceType_Cryo_FS, "063", "delete 2.3.063"), + new NameElementCommand(null, subsystem010PRL, null, null, "delete 3.0.0"), + new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "061", "delete 3.3.061"), + new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "062", "delete 3.3.062"), + new NameElementCommand(null, subsystem010PRL, deviceType_Cryo_FS, "063", "delete 3.3.063") }; nameElementCommandsCreate = NameElementUtil.convertCommand2CommandCreate(nameElementCommands); nameElementCommandsUpdate = NameElementUtil.convertCommand2CommandUpdate(nameElementCommands); diff --git a/src/test/java/org/openepics/names/docker/complex/StructuresLevel3IT.java b/src/test/java/org/openepics/names/docker/complex/StructuresLevel3IT.java index e46f713d..99fa99b5 100644 --- a/src/test/java/org/openepics/names/docker/complex/StructuresLevel3IT.java +++ b/src/test/java/org/openepics/names/docker/complex/StructuresLevel3IT.java @@ -134,15 +134,13 @@ class StructuresLevel3IT { structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "Acc", null, - "Accelerator. The ESS Linear Accelerator", "approved by alfio"); + "Acc", null, "Accelerator. The ESS Linear Accelerator"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); systemGroupAcc = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupAcc, - "RFQ", null, - "Radio Frequency Quadrupole", "empty"); + "RFQ", null, "Radio Frequency Quadrupole"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); systemRFQ = approvedStructureElement.getUuid(); @@ -150,57 +148,49 @@ class StructuresLevel3IT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "Cryo", null, - "Cryogenics", "empty"); + "Cryo", null, "Cryogenics"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineCryo = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "EMR", null, - "Electromagnetic Resonators", "empty"); + "EMR", null, "Electromagnetic Resonators"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineEMR = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "HVAC", null, - "Heating, Cooling and Air Conditioning", "empty"); + "HVAC", null, "Heating, Cooling and Air Conditioning"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineHVAC = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "Proc", null, - "General Process Control", "empty"); + "Proc", null, "General Process Control"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineProc = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "SC", null, - "Software Controllers", "empty"); + "SC", null, "Software Controllers"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineSC = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "Vac", null, - "Vacuum", "empty"); + "Vac", null, "Vacuum"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineVac = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "WtrC", null, - "Water Cooling", "empty"); + "WtrC", null, "Water Cooling"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineWtrC = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "BMD", null, - "Beam Magnets and Deflectors", "empty"); + "BMD", null, "Beam Magnets and Deflectors"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineBMD = approvedStructureElement.getUuid(); @@ -208,57 +198,49 @@ class StructuresLevel3IT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineCryo, - null, null, - "empty", "empty"); + null, null, "empty"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupCryo = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineEMR, - null, null, - "empty", "empty"); + null, null, "empty"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupEMR = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineHVAC, - null, null, - "empty", "empty"); + null, null, "empty"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupHVAC = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineProc, - null, null, - "empty", "empty"); + null, null, "empty"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupProc = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineSC, - null, null, - "empty", "empty"); + null, null, "empty"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupSC = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineVac, - null, null, - "empty", "empty"); + null, null, "empty"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupVac = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineWtrC, - null, null, - "empty", "empty"); + null, null, "empty"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupWtrC = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineBMD, - null, null, - "empty", "empty"); + null, null, "empty"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupBMD = approvedStructureElement.getUuid(); } @@ -295,20 +277,17 @@ class StructuresLevel3IT { structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemRFQ, - "010PRL", null, - "01 Phase Reference Line", "Approved by Daniel Piso"); + "010PRL", null, "01 Phase Reference Line"); createdStructureElement_010PRL = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemRFQ, - "010", null, - "RFQ-010", "Approved by Daniel Piso"); + "010", null, "RFQ-010"); createdStructureElement_010 = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemRFQ, - "N1U1", null, - "Power switch board 01. Electrical power cabinets", "Approved by Daniel Piso"); + "N1U1", null, "Power switch board 01. Electrical power cabinets"); createdStructureElement_N1U1 = ITUtilStructures.assertCreate(structureElementCommandCreate); approvedStructureElement = ITUtilStructures.assertApprove(StructureElementUtil.convertElement2CommandConfirm(createdStructureElement_010PRL)); @@ -393,208 +372,176 @@ class StructuresLevel3IT { structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupCryo, - "FS", null, - "Flow Switch", "empty"); + "FS", null, "Flow Switch"); createdStructureElement_Cryo_FS = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupCryo, - "IOC", null, - "Input Output Controller", "empty"); + "IOC", null, "Input Output Controller"); createdStructureElement_Cryo_IOC = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupCryo, - "RFA", null, - "RF Antenna", "empty"); + "RFA", null, "RF Antenna"); createdStructureElement_Cryo_RFA = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupCryo, - "TT", null, - "Temperature Transmitter", "empty"); + "TT", null, "Temperature Transmitter"); createdStructureElement_Cryo_TT = ITUtilStructures.assertCreate(structureElementCommandCreate); // ---------------------------------------------------------------------------------------------------- structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupEMR, - "FS", null, - "Flow Switch", "empty"); + "FS", null, "Flow Switch"); createdStructureElement_EMR_FS = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupEMR, - "IOC", null, - "Input Output Controller", "empty"); + "IOC", null, "Input Output Controller"); createdStructureElement_EMR_IOC = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupEMR, - "RFA", null, - "RF Antenna", "empty"); + "RFA", null, "RF Antenna"); createdStructureElement_EMR_RFA = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupEMR, - "TT", null, - "Temperature Transmitter", "empty"); + "TT", null, "Temperature Transmitter"); createdStructureElement_EMR_TT = ITUtilStructures.assertCreate(structureElementCommandCreate); // ---------------------------------------------------------------------------------------------------- structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupHVAC, - "FS", null, - "Flow Switch", "empty"); + "FS", null, "Flow Switch"); createdStructureElement_HVAC_FS = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupHVAC, - "IOC", null, - "Input Output Controller", "empty"); + "IOC", null, "Input Output Controller"); createdStructureElement_HVAC_IOC = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupHVAC, - "RFA", null, - "RF Antenna", "empty"); + "RFA", null, "RF Antenna"); createdStructureElement_HVAC_RFA = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupHVAC, - "TT", null, - "Temperature Transmitter", "empty"); + "TT", null, "Temperature Transmitter"); createdStructureElement_HVAC_TT = ITUtilStructures.assertCreate(structureElementCommandCreate); // ---------------------------------------------------------------------------------------------------- structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupProc, - "FS", null, - "Flow Switch", "empty"); + "FS", null, "Flow Switch"); createdStructureElement_Proc_FS = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupProc, - "IOC", null, - "Input Output Controller", "empty"); + "IOC", null, "Input Output Controller"); createdStructureElement_Proc_IOC = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupProc, - "RFA", null, - "RF Antenna", "empty"); + "RFA", null, "RF Antenna"); createdStructureElement_Proc_RFA = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupProc, - "TT", null, - "Temperature Transmitter", "empty"); + "TT", null, "Temperature Transmitter"); createdStructureElement_Proc_TT = ITUtilStructures.assertCreate(structureElementCommandCreate); // ---------------------------------------------------------------------------------------------------- structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupSC, - "FS", null, - "Flow Switch", "empty"); + "FS", null, "Flow Switch"); createdStructureElement_SC_FS = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupSC, - "IOC", null, - "Input Output Controller", "empty"); + "IOC", null, "Input Output Controller"); createdStructureElement_SC_IOC = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupSC, - "RFA", null, - "RF Antenna", "empty"); + "RFA", null, "RF Antenna"); createdStructureElement_SC_RFA = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupSC, - "TT", null, - "Temperature Transmitter", "empty"); + "TT", null, "Temperature Transmitter"); createdStructureElement_SC_TT = ITUtilStructures.assertCreate(structureElementCommandCreate); // ---------------------------------------------------------------------------------------------------- structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupVac, - "FS", null, - "Flow Switch", "empty"); + "FS", null, "Flow Switch"); createdStructureElement_Vac_FS = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupVac, - "IOC", null, - "Input Output Controller", "empty"); + "IOC", null, "Input Output Controller"); createdStructureElement_Vac_IOC = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupVac, - "RFA", null, - "RF Antenna", "empty"); + "RFA", null, "RF Antenna"); createdStructureElement_Vac_RFA = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupVac, - "TT", null, - "Temperature Transmitter", "empty"); + "TT", null, "Temperature Transmitter"); createdStructureElement_Vac_TT = ITUtilStructures.assertCreate(structureElementCommandCreate); // ---------------------------------------------------------------------------------------------------- structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupWtrC, - "FS", null, - "Flow Switch", "empty"); + "FS", null, "Flow Switch"); createdStructureElement_WtrC_FS = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupWtrC, - "IOC", null, - "Input Output Controller", "empty"); + "IOC", null, "Input Output Controller"); createdStructureElement_WtrC_IOC = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupWtrC, - "RFA", null, - "RF Antenna", "empty"); + "RFA", null, "RF Antenna"); createdStructureElement_WtrC_RFA = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupWtrC, - "TT", null, - "Temperature Transmitter", "empty"); + "TT", null, "Temperature Transmitter"); createdStructureElement_WtrC_TT = ITUtilStructures.assertCreate(structureElementCommandCreate); // ---------------------------------------------------------------------------------------------------- structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupBMD, - "FS", null, - "Flow Switch", "empty"); + "FS", null, "Flow Switch"); createdStructureElement_BMD_FS = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupBMD, - "IOC", null, - "Input Output Controller", "empty"); + "IOC", null, "Input Output Controller"); createdStructureElement_BMD_IOC = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupBMD, - "RFA", null, - "RF Antenna", "empty"); + "RFA", null, "RF Antenna"); createdStructureElement_BMD_RFA = ITUtilStructures.assertCreate(structureElementCommandCreate); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupBMD, - "TT", null, - "Temperature Transmitter", "empty"); + "TT", null, "Temperature Transmitter"); createdStructureElement_BMD_TT = ITUtilStructures.assertCreate(structureElementCommandCreate); // ---------------------------------------------------------------------------------------------------- diff --git a/src/test/java/org/openepics/names/docker/complex/StructuresMultipleIT.java b/src/test/java/org/openepics/names/docker/complex/StructuresMultipleIT.java index 278063ed..ecfcf0de 100644 --- a/src/test/java/org/openepics/names/docker/complex/StructuresMultipleIT.java +++ b/src/test/java/org/openepics/names/docker/complex/StructuresMultipleIT.java @@ -76,43 +76,37 @@ class StructuresMultipleIT { structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEMGROUP, null, - "Sg", null, - "description", "comment"); + "Sg", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); systemGroupUuid = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.SYSTEM, systemGroupUuid, - "Sys", null, - "description", "comment"); + "Sys", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); systemUuid = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.SUBSYSTEM, systemUuid, - "Sub", null, - "description", "comment"); + "Sub", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); subsystemUuid = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DISCIPLINE, null, - "Di", null, - "description", "comment"); + "Di", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); disciplineUuid = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICEGROUP, disciplineUuid, - null, null, - "description", "comment"); + null, null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceGroupUuid = approvedStructureElement.getUuid(); structureElementCommandCreate = new StructureElementCommandCreate( Type.DEVICETYPE, deviceGroupUuid, - "Dt", null, - "description", "comment"); + "Dt", null, "description"); approvedStructureElement = ITUtilStructures.assertCreateApprove(structureElementCommandCreate); deviceTypeUuid = approvedStructureElement.getUuid(); } @@ -142,7 +136,6 @@ class StructuresMultipleIT { // name // mnemonic // description - // comment try { StructureElementCommandCreate[] structureElementCommandsCreate = null; @@ -182,12 +175,12 @@ class StructuresMultipleIT { ITUtilStructures.assertIsValidToCreate(Type.DEVICETYPE, "Di-DtChc", Boolean.TRUE); structureElementCommands = new StructureElementCommand[] { - new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgChc", null, "description", "comment"), - new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysChc", null, "description", "comment"), - new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubChc", null, "description", "comment"), - new StructureElementCommand(null, Type.DISCIPLINE, null, "DiChc", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtChc", null, "description", "comment") + new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgChc", null, "description"), + new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysChc", null, "description"), + new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubChc", null, "description"), + new StructureElementCommand(null, Type.DISCIPLINE, null, "DiChc", null, "description"), + new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description"), + new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtChc", null, "description") }; structureElementCommandsCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommands); structureElementCommandsUpdate = StructureElementUtil.convertCommand2CommandUpdate(structureElementCommands); @@ -223,12 +216,6 @@ class StructuresMultipleIT { ITUtilStructures.assertValidate(structureElementCommandsCreate, StructureCommand.CREATE, Boolean.FALSE); structureElementCommandsCreate[1].setDescription(value); ITUtilStructures.assertValidate(structureElementCommandsCreate, StructureCommand.CREATE, Boolean.TRUE); - - value = structureElementCommandsCreate[1].getComment(); - structureElementCommandsCreate[1].setComment(null); - ITUtilStructures.assertValidate(structureElementCommandsCreate, StructureCommand.CREATE, Boolean.FALSE); - structureElementCommandsCreate[1].setComment(value); - ITUtilStructures.assertValidate(structureElementCommandsCreate, StructureCommand.CREATE, Boolean.TRUE); } catch (Exception e) { fail(); } @@ -259,12 +246,12 @@ class StructuresMultipleIT { StructureElement[] approvedStructureElements = null; structureElementCommands = new StructureElementCommand[] { - new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgCa", null, "description", "comment"), - new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysCa", null, "description", "comment"), - new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubCa", null, "description", "comment"), - new StructureElementCommand(null, Type.DISCIPLINE, null, "DiCa", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtCa", null, "description", "comment") + new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgCa", null, "description"), + new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysCa", null, "description"), + new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubCa", null, "description"), + new StructureElementCommand(null, Type.DISCIPLINE, null, "DiCa", null, "description"), + new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description"), + new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtCa", null, "description") }; structureElementCommandsCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommands); structureElementCommandsUpdate = StructureElementUtil.convertCommand2CommandUpdate(structureElementCommands); @@ -370,12 +357,12 @@ class StructuresMultipleIT { StructureElement[] cancelledStructureElements = null; structureElementCommands = new StructureElementCommand[] { - new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgCc", null, "description", "comment"), - new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysCc", null, "description", "comment"), - new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubCc", null, "description", "comment"), - new StructureElementCommand(null, Type.DISCIPLINE, null, "DiCc", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtCc", null, "description", "comment") + new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgCc", null, "description"), + new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysCc", null, "description"), + new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubCc", null, "description"), + new StructureElementCommand(null, Type.DISCIPLINE, null, "DiCc", null, "description"), + new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description"), + new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtCc", null, "description") }; structureElementCommandsCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommands); structureElementCommandsUpdate = StructureElementUtil.convertCommand2CommandUpdate(structureElementCommands); @@ -479,12 +466,12 @@ class StructuresMultipleIT { StructureElement[] rejectedStructureElements = null; structureElementCommands = new StructureElementCommand[] { - new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgCr", null, "description", "comment"), - new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysCr", null, "description", "comment"), - new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubCr", null, "description", "comment"), - new StructureElementCommand(null, Type.DISCIPLINE, null, "DiCr", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtCr", null, "description", "comment") + new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgCr", null, "description"), + new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysCr", null, "description"), + new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubCr", null, "description"), + new StructureElementCommand(null, Type.DISCIPLINE, null, "DiCr", null, "description"), + new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description"), + new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtCr", null, "description") }; structureElementCommandsCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommands); structureElementCommandsUpdate = StructureElementUtil.convertCommand2CommandUpdate(structureElementCommands); @@ -590,7 +577,6 @@ class StructuresMultipleIT { // name // mnemonic // description - // comment try { StructureElementCommandCreate[] structureElementCommandsCreate = null; @@ -602,12 +588,12 @@ class StructuresMultipleIT { String value = null; structureElementCommands = new StructureElementCommand[] { - new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgCu", null, "description", "comment"), - new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysCu", null, "description", "comment"), - new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubCu", null, "description", "comment"), - new StructureElementCommand(null, Type.DISCIPLINE, null, "DiCu", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtCu", null, "description", "comment") + new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgCu", null, "description"), + new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysCu", null, "description"), + new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubCu", null, "description"), + new StructureElementCommand(null, Type.DISCIPLINE, null, "DiCu", null, "description"), + new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description"), + new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtCu", null, "description") }; structureElementCommandsCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommands); structureElementCommandsUpdate = StructureElementUtil.convertCommand2CommandUpdate(structureElementCommands); @@ -689,12 +675,6 @@ class StructuresMultipleIT { ITUtilStructures.assertValidate(structureElementCommandsUpdate, StructureCommand.UPDATE, Boolean.FALSE); structureElementCommandsUpdate[1].setDescription(value); ITUtilStructures.assertValidate(structureElementCommandsUpdate, StructureCommand.UPDATE, Boolean.TRUE); - - value = structureElementCommandsUpdate[1].getComment(); - structureElementCommandsUpdate[1].setComment(null); - ITUtilStructures.assertValidate(structureElementCommandsUpdate, StructureCommand.UPDATE, Boolean.FALSE); - structureElementCommandsUpdate[1].setComment(value); - ITUtilStructures.assertValidate(structureElementCommandsUpdate, StructureCommand.UPDATE, Boolean.TRUE); } catch (Exception e) { fail(); } @@ -727,12 +707,12 @@ class StructuresMultipleIT { StructureElement[] updatedStructureElements = null; structureElementCommands = new StructureElementCommand[] { - new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgUa", null, "description", "comment"), - new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysUa", null, "description", "comment"), - new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubUa", null, "description", "comment"), - new StructureElementCommand(null, Type.DISCIPLINE, null, "DiUa", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtUa", null, "description", "comment") + new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgUa", null, "description"), + new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysUa", null, "description"), + new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubUa", null, "description"), + new StructureElementCommand(null, Type.DISCIPLINE, null, "DiUa", null, "description"), + new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description"), + new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtUa", null, "description") }; structureElementCommandsCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommands); structureElementCommandsUpdate = StructureElementUtil.convertCommand2CommandUpdate(structureElementCommands); @@ -894,12 +874,12 @@ class StructuresMultipleIT { StructureElement[] cancelledStructureElements = null; structureElementCommands = new StructureElementCommand[] { - new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgUc", null, "description", "comment"), - new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysUc", null, "description", "comment"), - new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubUc", null, "description", "comment"), - new StructureElementCommand(null, Type.DISCIPLINE, null, "DiUc", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtUc", null, "description", "comment") + new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgUc", null, "description"), + new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysUc", null, "description"), + new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubUc", null, "description"), + new StructureElementCommand(null, Type.DISCIPLINE, null, "DiUc", null, "description"), + new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description"), + new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtUc", null, "description") }; structureElementCommandsCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommands); structureElementCommandsUpdate = StructureElementUtil.convertCommand2CommandUpdate(structureElementCommands); @@ -1061,12 +1041,12 @@ class StructuresMultipleIT { StructureElement[] rejectedStructureElements = null; structureElementCommands = new StructureElementCommand[] { - new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgUr", null, "description", "comment"), - new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysUr", null, "description", "comment"), - new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubUr", null, "description", "comment"), - new StructureElementCommand(null, Type.DISCIPLINE, null, "DiUr", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtUr", null, "description", "comment") + new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgUr", null, "description"), + new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysUr", null, "description"), + new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubUr", null, "description"), + new StructureElementCommand(null, Type.DISCIPLINE, null, "DiUr", null, "description"), + new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description"), + new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtUr", null, "description") }; structureElementCommandsCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommands); structureElementCommandsUpdate = StructureElementUtil.convertCommand2CommandUpdate(structureElementCommands); @@ -1217,7 +1197,6 @@ class StructuresMultipleIT { // validate delete // uuid // type - // comment try { StructureElementCommandCreate[] structureElementCommandsCreate = null; @@ -1226,15 +1205,14 @@ class StructuresMultipleIT { StructureElementCommand[] structureElementCommands = null; StructureElement[] approvedStructureElements = null; UUID uuid = null; - String value = null; structureElementCommands = new StructureElementCommand[] { - new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgCd", null, "description", "comment"), - new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysCd", null, "description", "comment"), - new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubCd", null, "description", "comment"), - new StructureElementCommand(null, Type.DISCIPLINE, null, "DiCd", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtCd", null, "description", "comment") + new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgCd", null, "description"), + new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysCd", null, "description"), + new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubCd", null, "description"), + new StructureElementCommand(null, Type.DISCIPLINE, null, "DiCd", null, "description"), + new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description"), + new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtCd", null, "description") }; structureElementCommandsCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommands); structureElementCommandsUpdate = StructureElementUtil.convertCommand2CommandUpdate(structureElementCommands); @@ -1292,12 +1270,6 @@ class StructuresMultipleIT { ITUtilStructures.assertValidate(structureElementCommandsConfirm, StructureCommand.DELETE, Boolean.FALSE); structureElementCommandsConfirm[1].setUuid(uuid); ITUtilStructures.assertValidate(structureElementCommandsConfirm, StructureCommand.DELETE, Boolean.TRUE); - - value = structureElementCommandsConfirm[1].getComment(); - structureElementCommandsConfirm[1].setComment(null); - ITUtilStructures.assertValidate(structureElementCommandsConfirm, StructureCommand.DELETE, Boolean.FALSE); - structureElementCommandsConfirm[1].setComment(value); - ITUtilStructures.assertValidate(structureElementCommandsConfirm, StructureCommand.DELETE, Boolean.TRUE); } catch (Exception e) { fail(); } @@ -1329,12 +1301,12 @@ class StructuresMultipleIT { StructureElement[] approvedStructureElements = null; structureElementCommands = new StructureElementCommand[] { - new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgDa", null, "description", "comment"), - new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysDa", null, "description", "comment"), - new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubDa", null, "description", "comment"), - new StructureElementCommand(null, Type.DISCIPLINE, null, "DiDa", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtDa", null, "description", "comment") + new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgDa", null, "description"), + new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysDa", null, "description"), + new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubDa", null, "description"), + new StructureElementCommand(null, Type.DISCIPLINE, null, "DiDa", null, "description"), + new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description"), + new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtDa", null, "description") }; structureElementCommandsCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommands); structureElementCommandsUpdate = StructureElementUtil.convertCommand2CommandUpdate(structureElementCommands); @@ -1466,12 +1438,12 @@ class StructuresMultipleIT { StructureElement[] cancelledStructureElements = null; structureElementCommands = new StructureElementCommand[] { - new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgDc", null, "description", "comment"), - new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysDc", null, "description", "comment"), - new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubDc", null, "description", "comment"), - new StructureElementCommand(null, Type.DISCIPLINE, null, "DiDc", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtDc", null, "description", "comment") + new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgDc", null, "description"), + new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysDc", null, "description"), + new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubDc", null, "description"), + new StructureElementCommand(null, Type.DISCIPLINE, null, "DiDc", null, "description"), + new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description"), + new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtDc", null, "description") }; structureElementCommandsCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommands); structureElementCommandsUpdate = StructureElementUtil.convertCommand2CommandUpdate(structureElementCommands); @@ -1603,12 +1575,12 @@ class StructuresMultipleIT { StructureElement[] rejectedStructureElements = null; structureElementCommands = new StructureElementCommand[] { - new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgDr", null, "description", "comment"), - new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysDr", null, "description", "comment"), - new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubDr", null, "description", "comment"), - new StructureElementCommand(null, Type.DISCIPLINE, null, "DiDr", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description", "comment"), - new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtDr", null, "description", "comment") + new StructureElementCommand(null, Type.SYSTEMGROUP, null, "SgDr", null, "description"), + new StructureElementCommand(null, Type.SYSTEM, systemGroupUuid, "SysDr", null, "description"), + new StructureElementCommand(null, Type.SUBSYSTEM, systemUuid, "SubDr", null, "description"), + new StructureElementCommand(null, Type.DISCIPLINE, null, "DiDr", null, "description"), + new StructureElementCommand(null, Type.DEVICEGROUP, disciplineUuid, "", null, "description"), + new StructureElementCommand(null, Type.DEVICETYPE, deviceGroupUuid, "DtDr", null, "description") }; structureElementCommandsCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommands); structureElementCommandsUpdate = StructureElementUtil.convertCommand2CommandUpdate(structureElementCommands); diff --git a/src/test/java/org/openepics/names/repository/model/DeviceGroupTest.java b/src/test/java/org/openepics/names/repository/model/DeviceGroupTest.java index 160dbfc5..6e54d0aa 100644 --- a/src/test/java/org/openepics/names/repository/model/DeviceGroupTest.java +++ b/src/test/java/org/openepics/names/repository/model/DeviceGroupTest.java @@ -46,13 +46,13 @@ class DeviceGroupTest { s1 = new DeviceGroup( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", null, null, - "description", Status.APPROVED, true, false, + "AA1", null, null, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new DeviceGroup( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", null, null, - "description", Status.APPROVED, true, false, + "AA1", null, null, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertEquals(s1, s2); @@ -75,13 +75,13 @@ class DeviceGroupTest { s1 = new DeviceGroup( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", null, null, - "description", Status.APPROVED, true, false, + "AA1", null, null, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new DeviceGroup( UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", null, null, - "description", Status.APPROVED, true, false, + "AA1", null, null, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertNotEquals(s1, s2); @@ -105,13 +105,13 @@ class DeviceGroupTest { s1 = new DeviceGroup( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", null, null, - "description", Status.APPROVED, true, false, + "AA1", null, null, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new DeviceGroup( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", null, null, - "description", Status.APPROVED, true, false, + "AA1", null, null, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertNotNull(s1); @@ -127,13 +127,13 @@ class DeviceGroupTest { s1 = new DeviceGroup( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", null, null, - "description", Status.APPROVED, true, false, + "AA1", null, null, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new DeviceGroup( UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", null, null, - "description", Status.APPROVED, true, false, + "AA1", null, null, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertNotNull(s1); @@ -149,8 +149,8 @@ class DeviceGroupTest { s1 = new DeviceGroup( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", null, null, - "description", Status.APPROVED, true, false, + "AA1", null, null, "description", + Status.APPROVED, true, false, date, "test who", "comment"); String str = s1.toString(); @@ -168,8 +168,8 @@ class DeviceGroupTest { s1 = new DeviceGroup( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", null, null, - "description", Status.APPROVED, true, false, + "AA1", null, null, "description", + Status.APPROVED, true, false, date, "test who", "comment"); String str = s1.toStringSimple(); diff --git a/src/test/java/org/openepics/names/repository/model/DeviceTypeTest.java b/src/test/java/org/openepics/names/repository/model/DeviceTypeTest.java index 5506179a..e6733428 100644 --- a/src/test/java/org/openepics/names/repository/model/DeviceTypeTest.java +++ b/src/test/java/org/openepics/names/repository/model/DeviceTypeTest.java @@ -46,13 +46,13 @@ class DeviceTypeTest { s1 = new DeviceType( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new DeviceType( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertEquals(s1, s2); @@ -75,13 +75,13 @@ class DeviceTypeTest { s1 = new DeviceType( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new DeviceType( UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertNotEquals(s1, s2); @@ -105,13 +105,13 @@ class DeviceTypeTest { s1 = new DeviceType( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new DeviceType( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertNotNull(s1); @@ -127,13 +127,13 @@ class DeviceTypeTest { s1 = new DeviceType( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new DeviceType( UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertNotNull(s1); @@ -149,8 +149,8 @@ class DeviceTypeTest { s1 = new DeviceType( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); String str = s1.toString(); @@ -168,8 +168,8 @@ class DeviceTypeTest { s1 = new DeviceType( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); String str = s1.toStringSimple(); diff --git a/src/test/java/org/openepics/names/repository/model/DisciplineTest.java b/src/test/java/org/openepics/names/repository/model/DisciplineTest.java index 82c504ee..4f74ed81 100644 --- a/src/test/java/org/openepics/names/repository/model/DisciplineTest.java +++ b/src/test/java/org/openepics/names/repository/model/DisciplineTest.java @@ -46,13 +46,13 @@ class DisciplineTest { s1 = new Discipline( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new Discipline( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertEquals(s1, s2); @@ -75,13 +75,13 @@ class DisciplineTest { s1 = new Discipline( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new Discipline( UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertNotEquals(s1, s2); @@ -105,13 +105,13 @@ class DisciplineTest { s1 = new Discipline( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new Discipline( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertNotNull(s1); @@ -127,13 +127,13 @@ class DisciplineTest { s1 = new Discipline( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new Discipline( UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertNotNull(s1); @@ -149,8 +149,8 @@ class DisciplineTest { s1 = new Discipline( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); String str = s1.toString(); @@ -168,8 +168,8 @@ class DisciplineTest { s1 = new Discipline( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); String str = s1.toStringSimple(); diff --git a/src/test/java/org/openepics/names/repository/model/NameTest.java b/src/test/java/org/openepics/names/repository/model/NameTest.java index 6b312e64..43f34e2a 100644 --- a/src/test/java/org/openepics/names/repository/model/NameTest.java +++ b/src/test/java/org/openepics/names/repository/model/NameTest.java @@ -46,13 +46,13 @@ class NameTest { n1 = new Name( UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, null, - null, "Acc", "ACC", - null, Status.APPROVED, true, false, + null, "Acc", "ACC", null, + Status.APPROVED, true, false, date, "test who", null); n2 = new Name( UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, null, - null, "Acc", "ACC", - null, Status.APPROVED, true, false, + null, "Acc", "ACC", null, + Status.APPROVED, true, false, date, "test who", null); assertEquals(n1, n2); @@ -75,13 +75,13 @@ class NameTest { n1 = new Name( UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, null, - null, "Acc", "ACC", - null, Status.APPROVED, true, false, + null, "Acc", "ACC", null, + Status.APPROVED, true, false, date, "test who", null); n2 = new Name( UUID.fromString("55bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, null, - null, "Acc", "ACC", - null, Status.APPROVED, true, false, + null, "Acc", "ACC", null, + Status.APPROVED, true, false, date, "test who", null); assertNotEquals(n1, n2); @@ -105,13 +105,13 @@ class NameTest { n1 = new Name( UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, null, - null, "Acc", "ACC", - null, Status.APPROVED, true, false, + null, "Acc", "ACC", null, + Status.APPROVED, true, false, date, "test who", null); n2 = new Name( UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, null, - null, "Acc", "ACC", - null, Status.APPROVED, true, false, + null, "Acc", "ACC", null, + Status.APPROVED, true, false, date, "test who", null); assertNotNull(n1); @@ -127,13 +127,13 @@ class NameTest { n1 = new Name( UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, null, - null, "Acc", "ACC", - null, Status.APPROVED, true, false, + null, "Acc", "ACC", null, + Status.APPROVED, true, false, date, "test who", null); n2 = new Name( UUID.fromString("55bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, null, - null, "Acc", "ACC", - null, Status.APPROVED, true, false, + null, "Acc", "ACC", null, + Status.APPROVED, true, false, date, "test who", null); assertNotNull(n1); @@ -149,8 +149,8 @@ class NameTest { n1 = new Name( UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, null, - null, "Acc", "ACC", - null, Status.APPROVED, true, false, + null, "Acc", "ACC", null, + Status.APPROVED, true, false, date, "test who", null); String str = n1.toString(); @@ -168,8 +168,8 @@ class NameTest { n1 = new Name( UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, null, - null, "Acc", "ACC", - null, Status.APPROVED, true, false, + null, "Acc", "ACC", null, + Status.APPROVED, true, false, date, "test who", null); String str = n1.toStringSimple(); diff --git a/src/test/java/org/openepics/names/repository/model/StructureTest.java b/src/test/java/org/openepics/names/repository/model/StructureTest.java index 55cfe7bc..68a32131 100644 --- a/src/test/java/org/openepics/names/repository/model/StructureTest.java +++ b/src/test/java/org/openepics/names/repository/model/StructureTest.java @@ -46,13 +46,13 @@ class StructureTest { s1 = new Structure( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new Structure( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertEquals(s1, s2); @@ -75,13 +75,13 @@ class StructureTest { s1 = new Structure( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new Structure( UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertNotEquals(s1, s2); @@ -105,13 +105,13 @@ class StructureTest { s1 = new Structure( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new Structure( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertNotNull(s1); @@ -127,13 +127,13 @@ class StructureTest { s1 = new Structure( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new Structure( UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertNotNull(s1); @@ -149,8 +149,8 @@ class StructureTest { s1 = new Structure( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); String str = s1.toString(); @@ -168,8 +168,8 @@ class StructureTest { s1 = new Structure( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); String str = s1.toStringSimple(); diff --git a/src/test/java/org/openepics/names/repository/model/SubsystemTest.java b/src/test/java/org/openepics/names/repository/model/SubsystemTest.java index ae6ae8dd..1b0b3282 100644 --- a/src/test/java/org/openepics/names/repository/model/SubsystemTest.java +++ b/src/test/java/org/openepics/names/repository/model/SubsystemTest.java @@ -46,13 +46,13 @@ class SubsystemTest { s1 = new Subsystem( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new Subsystem( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertEquals(s1, s2); @@ -75,13 +75,13 @@ class SubsystemTest { s1 = new Subsystem( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new Subsystem( UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertNotEquals(s1, s2); @@ -105,13 +105,13 @@ class SubsystemTest { s1 = new Subsystem( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new Subsystem( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertNotNull(s1); @@ -127,13 +127,13 @@ class SubsystemTest { s1 = new Subsystem( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new Subsystem( UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertNotNull(s1); @@ -149,8 +149,8 @@ class SubsystemTest { s1 = new Subsystem( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); String str = s1.toString(); @@ -168,8 +168,8 @@ class SubsystemTest { s1 = new Subsystem( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); String str = s1.toStringSimple(); diff --git a/src/test/java/org/openepics/names/repository/model/SystemGroupTest.java b/src/test/java/org/openepics/names/repository/model/SystemGroupTest.java index b75b495b..5b321bcc 100644 --- a/src/test/java/org/openepics/names/repository/model/SystemGroupTest.java +++ b/src/test/java/org/openepics/names/repository/model/SystemGroupTest.java @@ -46,13 +46,13 @@ class SystemGroupTest { s1 = new SystemGroup( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new SystemGroup( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertEquals(s1, s2); @@ -75,13 +75,13 @@ class SystemGroupTest { s1 = new SystemGroup( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new SystemGroup( UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertNotEquals(s1, s2); @@ -105,13 +105,13 @@ class SystemGroupTest { s1 = new SystemGroup( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new SystemGroup( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertNotNull(s1); @@ -127,13 +127,13 @@ class SystemGroupTest { s1 = new SystemGroup( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new SystemGroup( UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertNotNull(s1); @@ -149,8 +149,8 @@ class SystemGroupTest { s1 = new SystemGroup( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); String str = s1.toString(); @@ -168,8 +168,8 @@ class SystemGroupTest { s1 = new SystemGroup( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); String str = s1.toStringSimple(); diff --git a/src/test/java/org/openepics/names/repository/model/SystemTest.java b/src/test/java/org/openepics/names/repository/model/SystemTest.java index ce6304f5..d7145b9e 100644 --- a/src/test/java/org/openepics/names/repository/model/SystemTest.java +++ b/src/test/java/org/openepics/names/repository/model/SystemTest.java @@ -46,13 +46,13 @@ class SystemTest { s1 = new System( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new System( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertEquals(s1, s2); @@ -75,13 +75,13 @@ class SystemTest { s1 = new System( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new System( UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertNotEquals(s1, s2); @@ -105,13 +105,13 @@ class SystemTest { s1 = new System( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new System( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertNotNull(s1); @@ -127,13 +127,13 @@ class SystemTest { s1 = new System( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); s2 = new System( UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); assertNotNull(s1); @@ -149,8 +149,8 @@ class SystemTest { s1 = new System( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); String str = s1.toString(); @@ -168,8 +168,8 @@ class SystemTest { s1 = new System( UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), - "AA1", "AA1", 41, - "description", Status.APPROVED, true, false, + "AA1", "AA1", 41, "description", + Status.APPROVED, true, false, date, "test who", "comment"); String str = s1.toStringSimple(); diff --git a/src/test/java/org/openepics/names/rest/beans/element/NameElementCommandConfirmTest.java b/src/test/java/org/openepics/names/rest/beans/element/NameElementCommandConfirmTest.java index efeea9dc..79dec121 100644 --- a/src/test/java/org/openepics/names/rest/beans/element/NameElementCommandConfirmTest.java +++ b/src/test/java/org/openepics/names/rest/beans/element/NameElementCommandConfirmTest.java @@ -46,9 +46,9 @@ class NameElementCommandConfirmTest { NameElementCommandConfirm ne1 = null, ne2 = null; ne1 = new NameElementCommandConfirm( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), null); + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a")); ne2 = new NameElementCommandConfirm( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), null); + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a")); assertEquals(ne1, ne2); } @@ -57,7 +57,7 @@ class NameElementCommandConfirmTest { void equalsJson() { ObjectMapper mapper = new ObjectMapper(); NameElementCommandConfirm ne1 = null, ne2 = null; - String json = "{\"uuid\": \"45bdc415-cf5a-4650-b6dd-478540830c2a\", \"comment\": null}"; + String json = "{\"uuid\": \"45bdc415-cf5a-4650-b6dd-478540830c2a\"}"; try { ne1 = mapper.readValue(json, NameElementCommandConfirm.class); @@ -86,9 +86,9 @@ class NameElementCommandConfirmTest { NameElementCommandConfirm ne1 = null, ne2 = null; ne1 = new NameElementCommandConfirm( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), null); + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a")); ne2 = new NameElementCommandConfirm( - UUID.fromString("55bdc415-cf5a-4650-b6dd-478540830c2a"), null); + UUID.fromString("55bdc415-cf5a-4650-b6dd-478540830c2a")); assertNotEquals(ne1, ne2); } @@ -97,8 +97,8 @@ class NameElementCommandConfirmTest { void notEqualsJson() { ObjectMapper mapper = new ObjectMapper(); NameElementCommandConfirm ne1 = null, ne2 = null; - String json = "{\"uuid\": \"45bdc415-cf5a-4650-b6dd-478540830c2a\", \"comment\": null}"; - String json2 = "{\"uuid\": \"55bdc415-cf5a-4650-b6dd-478540830c2a\", \"comment\": null}"; + String json = "{\"uuid\": \"45bdc415-cf5a-4650-b6dd-478540830c2a\"}"; + String json2 = "{\"uuid\": \"55bdc415-cf5a-4650-b6dd-478540830c2a\"}"; try { ne1 = mapper.readValue(json, NameElementCommandConfirm.class); @@ -128,9 +128,9 @@ class NameElementCommandConfirmTest { NameElementCommandConfirm ne1 = null, ne2 = null; ne1 = new NameElementCommandConfirm( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), null); + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a")); ne2 = new NameElementCommandConfirm( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), null); + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a")); assertNotNull(ne1); assertNotNull(ne2); @@ -143,9 +143,9 @@ class NameElementCommandConfirmTest { NameElementCommandConfirm ne1 = null, ne2 = null; ne1 = new NameElementCommandConfirm( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), null); + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a")); ne2 = new NameElementCommandConfirm( - UUID.fromString("55bdc415-cf5a-4650-b6dd-478540830c2a"), null); + UUID.fromString("55bdc415-cf5a-4650-b6dd-478540830c2a")); assertNotNull(ne1); assertNotNull(ne2); @@ -158,13 +158,12 @@ class NameElementCommandConfirmTest { NameElementCommandConfirm ne1 = null; ne1 = new NameElementCommandConfirm( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), null); + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a")); String str = ne1.toString(); assertNotNull(str); assertTrue(str.contains("uuid")); - assertTrue(str.contains("comment")); } } diff --git a/src/test/java/org/openepics/names/rest/beans/element/NameElementCommandCreateTest.java b/src/test/java/org/openepics/names/rest/beans/element/NameElementCommandCreateTest.java index ea310339..600e52b5 100644 --- a/src/test/java/org/openepics/names/rest/beans/element/NameElementCommandCreateTest.java +++ b/src/test/java/org/openepics/names/rest/beans/element/NameElementCommandCreateTest.java @@ -46,11 +46,11 @@ class NameElementCommandCreateTest { NameElementCommandCreate ne1 = null, ne2 = null; ne1 = new NameElementCommandCreate( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), null, null, - "System structure only", null); + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), null, + null, "System structure only"); ne2 = new NameElementCommandCreate( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), null, null, - "System structure only", null); + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), null, + null, "System structure only"); assertEquals(ne1, ne2); } @@ -59,7 +59,7 @@ class NameElementCommandCreateTest { void equalsJson() { ObjectMapper mapper = new ObjectMapper(); NameElementCommandCreate ne1 = null, ne2 = null; - String json = "{\"parentSystemStructure\": \"45bdc415-cf5a-4650-b6dd-478540830c2a\", \"parentDeviceStructure\": null, \"index\": null, \"description\": \"System structure only\", \"comment\": null}"; + String json = "{\"parentSystemStructure\": \"45bdc415-cf5a-4650-b6dd-478540830c2a\", \"parentDeviceStructure\": null, \"index\": null, \"description\": \"System structure only\"}"; try { ne1 = mapper.readValue(json, NameElementCommandCreate.class); @@ -88,11 +88,11 @@ class NameElementCommandCreateTest { NameElementCommandCreate ne1 = null, ne2 = null; ne1 = new NameElementCommandCreate( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), null, null, - "System structure only", null); + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), null, + null, "System structure only"); ne2 = new NameElementCommandCreate( - UUID.fromString("55bdc415-cf5a-4650-b6dd-478540830c2a"), null, null, - "System structure only", null); + UUID.fromString("55bdc415-cf5a-4650-b6dd-478540830c2a"), null, + null, "System structure only"); assertNotEquals(ne1, ne2); } @@ -101,8 +101,8 @@ class NameElementCommandCreateTest { void notEqualsJson() { ObjectMapper mapper = new ObjectMapper(); NameElementCommandCreate ne1 = null, ne2 = null; - String json = "{\"parentSystemStructure\": \"45bdc415-cf5a-4650-b6dd-478540830c2a\", \"parentDeviceStructure\": null, \"index\": null, \"description\": \"System structure only\", \"comment\": null}"; - String json2 = "{\"parentSystemStructure\": \"55bdc415-cf5a-4650-b6dd-478540830c2a\", \"parentDeviceStructure\": null, \"index\": null, \"description\": \"System structure only\", \"comment\": null}"; + String json = "{\"parentSystemStructure\": \"45bdc415-cf5a-4650-b6dd-478540830c2a\", \"parentDeviceStructure\": null, \"index\": null, \"description\": \"System structure only\"}"; + String json2 = "{\"parentSystemStructure\": \"55bdc415-cf5a-4650-b6dd-478540830c2a\", \"parentDeviceStructure\": null, \"index\": null, \"description\": \"System structure only\"}"; try { ne1 = mapper.readValue(json, NameElementCommandCreate.class); @@ -132,11 +132,11 @@ class NameElementCommandCreateTest { NameElementCommandCreate ne1 = null, ne2 = null; ne1 = new NameElementCommandCreate( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), null, null, - "System structure only", null); + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), null, + null, "System structure only"); ne2 = new NameElementCommandCreate( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), null, null, - "System structure only", null); + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), null, + null, "System structure only"); assertNotNull(ne1); assertNotNull(ne2); @@ -149,11 +149,11 @@ class NameElementCommandCreateTest { NameElementCommandCreate ne1 = null, ne2 = null; ne1 = new NameElementCommandCreate( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), null, null, - "System structure only", null); + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), null, + null, "System structure only"); ne2 = new NameElementCommandCreate( - UUID.fromString("55bdc415-cf5a-4650-b6dd-478540830c2a"), null, null, - "System structure only", null); + UUID.fromString("55bdc415-cf5a-4650-b6dd-478540830c2a"), null, + null, "System structure only"); assertNotNull(ne1); assertNotNull(ne2); @@ -166,14 +166,13 @@ class NameElementCommandCreateTest { NameElementCommandCreate ne1 = null; ne1 = new NameElementCommandCreate( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), null, null, - "System structure only", null); + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), null, + null, "System structure only"); String str = ne1.toString(); assertNotNull(str); assertTrue(str.contains("parentSystemStructure")); - assertTrue(str.contains("comment")); } } diff --git a/src/test/java/org/openepics/names/rest/beans/element/NameElementCommandTest.java b/src/test/java/org/openepics/names/rest/beans/element/NameElementCommandTest.java index a2c9f846..649bb0fd 100644 --- a/src/test/java/org/openepics/names/rest/beans/element/NameElementCommandTest.java +++ b/src/test/java/org/openepics/names/rest/beans/element/NameElementCommandTest.java @@ -46,11 +46,11 @@ class NameElementCommandTest { NameElementCommand ne1 = null, ne2 = null; ne1 = new NameElementCommand( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null); + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, + null, "System structure only"); ne2 = new NameElementCommand( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null); + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, + null, "System structure only"); assertEquals(ne1, ne2); } @@ -59,7 +59,7 @@ class NameElementCommandTest { void equalsJson() { ObjectMapper mapper = new ObjectMapper(); NameElementCommand ne1 = null, ne2 = null; - String json = "{\"uuid\": \"45bdc415-cf5a-4650-b6dd-478540830c2a\", \"parentSystemStructure\": \"eb7e55c2-012b-419d-881a-58a858894e92\", \"parentDeviceStructure\": null, \"index\": null, \"description\": \"System structure only\", \"comment\": null}"; + String json = "{\"uuid\": \"45bdc415-cf5a-4650-b6dd-478540830c2a\", \"parentSystemStructure\": \"eb7e55c2-012b-419d-881a-58a858894e92\", \"parentDeviceStructure\": null, \"index\": null, \"description\": \"System structure only\"}"; try { ne1 = mapper.readValue(json, NameElementCommand.class); @@ -88,11 +88,11 @@ class NameElementCommandTest { NameElementCommand ne1 = null, ne2 = null; ne1 = new NameElementCommand( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null); + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, + null, "System structure only"); ne2 = new NameElementCommand( - UUID.fromString("55bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null); + UUID.fromString("55bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, + null, "System structure only"); assertNotEquals(ne1, ne2); } @@ -101,8 +101,8 @@ class NameElementCommandTest { void notEqualsJson() { ObjectMapper mapper = new ObjectMapper(); NameElementCommand ne1 = null, ne2 = null; - String json = "{\"uuid\": \"45bdc415-cf5a-4650-b6dd-478540830c2a\", \"parentSystemStructure\": \"eb7e55c2-012b-419d-881a-58a858894e92\", \"parentDeviceStructure\": null, \"index\": null, \"description\": \"System structure only\", \"comment\": null}"; - String json2 = "{\"uuid\": \"55bdc415-cf5a-4650-b6dd-478540830c2a\", \"parentSystemStructure\": \"eb7e55c2-012b-419d-881a-58a858894e92\", \"parentDeviceStructure\": null, \"index\": null, \"description\": \"System structure only\", \"comment\": null}"; + String json = "{\"uuid\": \"45bdc415-cf5a-4650-b6dd-478540830c2a\", \"parentSystemStructure\": \"eb7e55c2-012b-419d-881a-58a858894e92\", \"parentDeviceStructure\": null, \"index\": null, \"description\": \"System structure only\"}"; + String json2 = "{\"uuid\": \"55bdc415-cf5a-4650-b6dd-478540830c2a\", \"parentSystemStructure\": \"eb7e55c2-012b-419d-881a-58a858894e92\", \"parentDeviceStructure\": null, \"index\": null, \"description\": \"System structure only\"}"; try { ne1 = mapper.readValue(json, NameElementCommand.class); @@ -132,11 +132,11 @@ class NameElementCommandTest { NameElementCommand ne1 = null, ne2 = null; ne1 = new NameElementCommand( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null); + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, + null, "System structure only"); ne2 = new NameElementCommand( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null); + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, + null, "System structure only"); assertNotNull(ne1); assertNotNull(ne2); @@ -149,11 +149,11 @@ class NameElementCommandTest { NameElementCommand ne1 = null, ne2 = null; ne1 = new NameElementCommand( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null); + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, + null, "System structure only"); ne2 = new NameElementCommand( - UUID.fromString("55bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null); + UUID.fromString("55bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, + null, "System structure only"); assertNotNull(ne1); assertNotNull(ne2); @@ -166,14 +166,13 @@ class NameElementCommandTest { NameElementCommand ne1 = null; ne1 = new NameElementCommand( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null); + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, + null, "System structure only"); String str = ne1.toString(); assertNotNull(str); assertTrue(str.contains("uuid")); - assertTrue(str.contains("comment")); } } diff --git a/src/test/java/org/openepics/names/rest/beans/element/NameElementCommandUpdateTest.java b/src/test/java/org/openepics/names/rest/beans/element/NameElementCommandUpdateTest.java index 8c585527..99885321 100644 --- a/src/test/java/org/openepics/names/rest/beans/element/NameElementCommandUpdateTest.java +++ b/src/test/java/org/openepics/names/rest/beans/element/NameElementCommandUpdateTest.java @@ -47,10 +47,10 @@ class NameElementCommandUpdateTest { ne1 = new NameElementCommandUpdate( UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null); + "System structure only"); ne2 = new NameElementCommandUpdate( UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null); + "System structure only"); assertEquals(ne1, ne2); } @@ -59,7 +59,7 @@ class NameElementCommandUpdateTest { void equalsJson() { ObjectMapper mapper = new ObjectMapper(); NameElementCommandUpdate ne1 = null, ne2 = null; - String json = "{\"uuid\": \"45bdc415-cf5a-4650-b6dd-478540830c2a\", \"parentSystemStructure\": \"eb7e55c2-012b-419d-881a-58a858894e92\", \"parentDeviceStructure\": null, \"index\": null, \"description\": \"System structure only\", \"comment\": null}"; + String json = "{\"uuid\": \"45bdc415-cf5a-4650-b6dd-478540830c2a\", \"parentSystemStructure\": \"eb7e55c2-012b-419d-881a-58a858894e92\", \"parentDeviceStructure\": null, \"index\": null, \"description\": \"System structure only\"}"; try { ne1 = mapper.readValue(json, NameElementCommandUpdate.class); @@ -89,10 +89,10 @@ class NameElementCommandUpdateTest { ne1 = new NameElementCommandUpdate( UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null); + "System structure only"); ne2 = new NameElementCommandUpdate( UUID.fromString("55bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null); + "System structure only"); assertNotEquals(ne1, ne2); } @@ -101,8 +101,8 @@ class NameElementCommandUpdateTest { void notEqualsJson() { ObjectMapper mapper = new ObjectMapper(); NameElementCommandUpdate ne1 = null, ne2 = null; - String json = "{\"uuid\": \"45bdc415-cf5a-4650-b6dd-478540830c2a\", \"parentSystemStructure\": \"eb7e55c2-012b-419d-881a-58a858894e92\", \"parentDeviceStructure\": null, \"index\": null, \"description\": \"System structure only\", \"comment\": null}"; - String json2 = "{\"uuid\": \"55bdc415-cf5a-4650-b6dd-478540830c2a\", \"parentSystemStructure\": \"eb7e55c2-012b-419d-881a-58a858894e92\", \"parentDeviceStructure\": null, \"index\": null, \"description\": \"System structure only\", \"comment\": null}"; + String json = "{\"uuid\": \"45bdc415-cf5a-4650-b6dd-478540830c2a\", \"parentSystemStructure\": \"eb7e55c2-012b-419d-881a-58a858894e92\", \"parentDeviceStructure\": null, \"index\": null, \"description\": \"System structure only\"}"; + String json2 = "{\"uuid\": \"55bdc415-cf5a-4650-b6dd-478540830c2a\", \"parentSystemStructure\": \"eb7e55c2-012b-419d-881a-58a858894e92\", \"parentDeviceStructure\": null, \"index\": null, \"description\": \"System structure only\"}"; try { ne1 = mapper.readValue(json, NameElementCommandUpdate.class); @@ -133,10 +133,10 @@ class NameElementCommandUpdateTest { ne1 = new NameElementCommandUpdate( UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null); + "System structure only"); ne2 = new NameElementCommandUpdate( UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null); + "System structure only"); assertNotNull(ne1); assertNotNull(ne2); @@ -150,10 +150,10 @@ class NameElementCommandUpdateTest { ne1 = new NameElementCommandUpdate( UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null); + "System structure only"); ne2 = new NameElementCommandUpdate( UUID.fromString("55bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null); + "System structure only"); assertNotNull(ne1); assertNotNull(ne2); @@ -167,13 +167,12 @@ class NameElementCommandUpdateTest { ne1 = new NameElementCommandUpdate( UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null); + "System structure only"); String str = ne1.toString(); assertNotNull(str); assertTrue(str.contains("uuid")); - assertTrue(str.contains("comment")); } } diff --git a/src/test/java/org/openepics/names/rest/beans/element/NameElementTest.java b/src/test/java/org/openepics/names/rest/beans/element/NameElementTest.java index 18d1e395..d5a4b220 100644 --- a/src/test/java/org/openepics/names/rest/beans/element/NameElementTest.java +++ b/src/test/java/org/openepics/names/rest/beans/element/NameElementTest.java @@ -50,17 +50,17 @@ class NameElementTest { Date date = new Date(); ne1 = new NameElement( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null, + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, + null, "System structure only", "Acc", null, "Acc", Status.APPROVED, true, false, - date, "test who"); + date, "test who", null); ne2 = new NameElement( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null, + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, + null, "System structure only", "Acc", null, "Acc", Status.APPROVED, true, false, - date, "test who"); + date, "test who", null); assertEquals(ne1, ne2); } @@ -99,17 +99,17 @@ class NameElementTest { Date date = new Date(); ne1 = new NameElement( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null, + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, + null, "System structure only", "Acc", null, "Acc", Status.APPROVED, true, false, - date, "test who"); + date, "test who", null); ne2 = new NameElement( - UUID.fromString("55bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null, + UUID.fromString("55bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, + null, "System structure only", "Acc", null, "Acc", Status.APPROVED, true, false, - date, "test who"); + date, "test who", null); assertNotEquals(ne1, ne2); } @@ -150,17 +150,17 @@ class NameElementTest { Date date = new Date(); ne1 = new NameElement( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null, + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, + null, "System structure only", "Acc", null, "Acc", Status.APPROVED, true, false, - date, "test who"); + date, "test who", null); ne2 = new NameElement( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null, + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, + null, "System structure only", "Acc", null, "Acc", Status.APPROVED, true, false, - date, "test who"); + date, "test who", null); assertNotNull(ne1); assertNotNull(ne2); @@ -174,17 +174,17 @@ class NameElementTest { Date date = new Date(); ne1 = new NameElement( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null, + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, + null, "System structure only", "Acc", null, "Acc", Status.APPROVED, true, false, - date, "test who"); + date, "test who", null); ne2 = new NameElement( - UUID.fromString("55bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null, + UUID.fromString("55bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, + null, "System structure only", "Acc", null, "Acc", Status.APPROVED, true, false, - date, "test who"); + date, "test who", null); assertNotNull(ne1); assertNotNull(ne2); @@ -198,11 +198,11 @@ class NameElementTest { Date date = new Date(); ne1 = new NameElement( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null, + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, + null, "System structure only", "Acc", null, "Acc", Status.APPROVED, true, false, - date, "test who"); + date, "test who", null); String str = ne1.toString(); @@ -218,11 +218,11 @@ class NameElementTest { Date date = new Date(); ne1 = new NameElement( - UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, null, - "System structure only", null, + UUID.fromString("45bdc415-cf5a-4650-b6dd-478540830c2a"), UUID.fromString("eb7e55c2-012b-419d-881a-58a858894e92"), null, + null, "System structure only", "Acc", null, "Acc", Status.APPROVED, true, false, - date, "test who"); + date, "test who", null); String str = ne1.toStringSimple(); diff --git a/src/test/java/org/openepics/names/rest/beans/element/StructureElementCommandConfirmTest.java b/src/test/java/org/openepics/names/rest/beans/element/StructureElementCommandConfirmTest.java index f5470fa2..08e6ea68 100644 --- a/src/test/java/org/openepics/names/rest/beans/element/StructureElementCommandConfirmTest.java +++ b/src/test/java/org/openepics/names/rest/beans/element/StructureElementCommandConfirmTest.java @@ -47,9 +47,9 @@ class StructureElementCommandConfirmTest { StructureElementCommandConfirm se1 = null, se2 = null; se1 = new StructureElementCommandConfirm( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, "comment"); + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM); se2 = new StructureElementCommandConfirm( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, "comment"); + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM); assertEquals(se1, se2); } @@ -58,7 +58,7 @@ class StructureElementCommandConfirmTest { void equalsJson() { ObjectMapper mapper = new ObjectMapper(); StructureElementCommandConfirm se1 = null, se2 = null; - String json = "{\"uuid\": \"a14a8565-de10-4026-97e3-ab129ffaba96\", \"type\": \"SYSTEM\", \"comment\": \"comment\"};"; + String json = "{\"uuid\": \"a14a8565-de10-4026-97e3-ab129ffaba96\", \"type\": \"SYSTEM\"};"; try { se1 = mapper.readValue(json, StructureElementCommandConfirm.class); @@ -87,9 +87,9 @@ class StructureElementCommandConfirmTest { StructureElementCommandConfirm se1 = null, se2 = null; se1 = new StructureElementCommandConfirm( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, "comment"); + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM); se2 = new StructureElementCommandConfirm( - UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, "comment"); + UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM); assertNotEquals(se1, se2); } @@ -98,8 +98,8 @@ class StructureElementCommandConfirmTest { void notEqualsJson() { ObjectMapper mapper = new ObjectMapper(); StructureElementCommandConfirm se1 = null, se2 = null; - String json = "{\"uuid\": \"a14a8565-de10-4026-97e3-ab129ffaba96\", \"type\": \"SYSTEM\", \"comment\": \"comment\"};"; - String json2 = "{\"uuid\": \"b14a8565-de10-4026-97e3-ab129ffaba96\", \"type\": \"SYSTEM\", \"comment\": \"comment\"};"; + String json = "{\"uuid\": \"a14a8565-de10-4026-97e3-ab129ffaba96\", \"type\": \"SYSTEM\"};"; + String json2 = "{\"uuid\": \"b14a8565-de10-4026-97e3-ab129ffaba96\", \"type\": \"SYSTEM\"};"; try { se1 = mapper.readValue(json, StructureElementCommandConfirm.class); @@ -129,9 +129,9 @@ class StructureElementCommandConfirmTest { StructureElementCommandConfirm se1 = null, se2 = null; se1 = new StructureElementCommandConfirm( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, "comment"); + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM); se2 = new StructureElementCommandConfirm( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, "comment"); + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM); assertNotNull(se1); assertNotNull(se2); @@ -144,9 +144,9 @@ class StructureElementCommandConfirmTest { StructureElementCommandConfirm se1 = null, se2 = null; se1 = new StructureElementCommandConfirm( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, "comment"); + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM); se2 = new StructureElementCommandConfirm( - UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, "comment"); + UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM); assertNotNull(se1); assertNotNull(se2); @@ -159,13 +159,12 @@ class StructureElementCommandConfirmTest { StructureElementCommandConfirm se1 = null; se1 = new StructureElementCommandConfirm( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, "comment"); + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM); String str = se1.toString(); assertNotNull(str); assertTrue(str.contains("uuid")); - assertTrue(str.contains("comment")); } } diff --git a/src/test/java/org/openepics/names/rest/beans/element/StructureElementCommandCreateTest.java b/src/test/java/org/openepics/names/rest/beans/element/StructureElementCommandCreateTest.java index da76f3c8..fdb45ae7 100644 --- a/src/test/java/org/openepics/names/rest/beans/element/StructureElementCommandCreateTest.java +++ b/src/test/java/org/openepics/names/rest/beans/element/StructureElementCommandCreateTest.java @@ -47,9 +47,11 @@ class StructureElementCommandCreateTest { StructureElementCommandCreate se1 = null, se2 = null; se1 = new StructureElementCommandCreate( - Type.SYSTEM, UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), "AA1", 41, "description", "comment"); + Type.SYSTEM, UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), + "AA1", 41, "description"); se2 = new StructureElementCommandCreate( - Type.SYSTEM, UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), "AA1", 41, "description", "comment"); + Type.SYSTEM, UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), + "AA1", 41, "description"); assertEquals(se1, se2); } @@ -58,7 +60,7 @@ class StructureElementCommandCreateTest { void equalsJson() { ObjectMapper mapper = new ObjectMapper(); StructureElementCommandCreate se1 = null, se2 = null; - String json = "{\"type\": \"SYSTEM\", \"parent\": \"a14a8565-de10-4026-97e3-ab129ffaba96\", \"mnemonic\": \"AA1\", \"ordering\": \"41\", \"description\": \"description\", \"comment\": \"comment\"};"; + String json = "{\"type\": \"SYSTEM\", \"parent\": \"a14a8565-de10-4026-97e3-ab129ffaba96\", \"mnemonic\": \"AA1\", \"ordering\": \"41\", \"description\": \"description\"};"; try { se1 = mapper.readValue(json, StructureElementCommandCreate.class); @@ -87,9 +89,11 @@ class StructureElementCommandCreateTest { StructureElementCommandCreate se1 = null, se2 = null; se1 = new StructureElementCommandCreate( - Type.SYSTEM, UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), "AA1", 41, "description", "comment"); + Type.SYSTEM, UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), + "AA1", 41, "description"); se2 = new StructureElementCommandCreate( - Type.SYSTEM, UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), "AA1", 41, "description", "comment"); + Type.SYSTEM, UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), + "AA1", 41, "description"); assertNotEquals(se1, se2); } @@ -98,8 +102,8 @@ class StructureElementCommandCreateTest { void notEqualsJson() { ObjectMapper mapper = new ObjectMapper(); StructureElementCommandCreate se1 = null, se2 = null; - String json = "{\"type\": \"SYSTEM\", \"parent\": \"a14a8565-de10-4026-97e3-ab129ffaba96\", \"mnemonic\": \"AA1\", \"ordering\": \"41\", \"description\": \"description\", \"comment\": \"comment\"};"; - String json2 = "{\"type\": \"SYSTEM\", \"parent\": \"b14a8565-de10-4026-97e3-ab129ffaba96\", \"mnemonic\": \"AA1\", \"ordering\": \"41\", \"description\": \"description\", \"comment\": \"comment\"};"; + String json = "{\"type\": \"SYSTEM\", \"parent\": \"a14a8565-de10-4026-97e3-ab129ffaba96\", \"mnemonic\": \"AA1\", \"ordering\": \"41\", \"description\": \"description\"};"; + String json2 = "{\"type\": \"SYSTEM\", \"parent\": \"b14a8565-de10-4026-97e3-ab129ffaba96\", \"mnemonic\": \"AA1\", \"ordering\": \"41\", \"description\": \"description\"};"; try { se1 = mapper.readValue(json, StructureElementCommandCreate.class); @@ -129,9 +133,11 @@ class StructureElementCommandCreateTest { StructureElementCommandCreate se1 = null, se2 = null; se1 = new StructureElementCommandCreate( - Type.SYSTEM, UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), "AA1", 41, "description", "comment"); + Type.SYSTEM, UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), + "AA1", 41, "description"); se2 = new StructureElementCommandCreate( - Type.SYSTEM, UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), "AA1", 41, "description", "comment"); + Type.SYSTEM, UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), + "AA1", 41, "description"); assertNotNull(se1); assertNotNull(se2); @@ -144,9 +150,11 @@ class StructureElementCommandCreateTest { StructureElementCommandCreate se1 = null, se2 = null; se1 = new StructureElementCommandCreate( - Type.SYSTEM, UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), "AA1", 41, "description", "comment"); + Type.SYSTEM, UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), + "AA1", 41, "description"); se2 = new StructureElementCommandCreate( - Type.SYSTEM, UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), "AA1", 41, "description", "comment"); + Type.SYSTEM, UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), + "AA1", 41, "description"); assertNotNull(se1); assertNotNull(se2); @@ -159,13 +167,13 @@ class StructureElementCommandCreateTest { StructureElementCommandCreate se1 = null; se1 = new StructureElementCommandCreate( - Type.SYSTEM, UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), "AA1", 41, "description", "comment"); + Type.SYSTEM, UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), + "AA1", 41, "description"); String str = se1.toString(); assertNotNull(str); assertTrue(str.contains("parent")); - assertTrue(str.contains("comment")); } } diff --git a/src/test/java/org/openepics/names/rest/beans/element/StructureElementCommandTest.java b/src/test/java/org/openepics/names/rest/beans/element/StructureElementCommandTest.java index fd65f7db..385f6373 100644 --- a/src/test/java/org/openepics/names/rest/beans/element/StructureElementCommandTest.java +++ b/src/test/java/org/openepics/names/rest/beans/element/StructureElementCommandTest.java @@ -47,9 +47,11 @@ class StructureElementCommandTest { StructureElementCommand se1 = null, se2 = null; se1 = new StructureElementCommand( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, "description", "comment"); + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description"); se2 = new StructureElementCommand( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, "description", "comment"); + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description"); assertEquals(se1, se2); } @@ -58,7 +60,7 @@ class StructureElementCommandTest { void equalsJson() { ObjectMapper mapper = new ObjectMapper(); StructureElementCommand se1 = null, se2 = null; - String json = "{\"uuid\": \"a14a8565-de10-4026-97e3-ab129ffaba96\", \"type\": \"SYSTEM\", \"parent\": \"05d52f1c-391e-41e3-a48f-dc8f36f8329b\", \"mnemonic\": \"AA1\", \"ordering\": \"41\", \"description\": \"description\", \"comment\": \"comment\"};"; + String json = "{\"uuid\": \"a14a8565-de10-4026-97e3-ab129ffaba96\", \"type\": \"SYSTEM\", \"parent\": \"05d52f1c-391e-41e3-a48f-dc8f36f8329b\", \"mnemonic\": \"AA1\", \"ordering\": \"41\", \"description\": \"description\"};"; try { se1 = mapper.readValue(json, StructureElementCommand.class); @@ -87,9 +89,11 @@ class StructureElementCommandTest { StructureElementCommand se1 = null, se2 = null; se1 = new StructureElementCommand( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, "description", "comment"); + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description"); se2 = new StructureElementCommand( - UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, "description", "comment"); + UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description"); assertNotEquals(se1, se2); } @@ -98,8 +102,8 @@ class StructureElementCommandTest { void notEqualsJson() { ObjectMapper mapper = new ObjectMapper(); StructureElementCommand se1 = null, se2 = null; - String json = "{\"uuid\": \"a14a8565-de10-4026-97e3-ab129ffaba96\", \"type\": \"SYSTEM\", \"parent\": \"05d52f1c-391e-41e3-a48f-dc8f36f8329b\", \"mnemonic\": \"AA1\", \"ordering\": \"41\", \"description\": \"description\", \"comment\": \"comment\"};"; - String json2 = "{\"uuid\": \"b14a8565-de10-4026-97e3-ab129ffaba96\", \"type\": \"SYSTEM\", \"parent\": \"05d52f1c-391e-41e3-a48f-dc8f36f8329b\", \"mnemonic\": \"AA1\", \"ordering\": \"41\", \"description\": \"description\", \"comment\": \"comment\"};"; + String json = "{\"uuid\": \"a14a8565-de10-4026-97e3-ab129ffaba96\", \"type\": \"SYSTEM\", \"parent\": \"05d52f1c-391e-41e3-a48f-dc8f36f8329b\", \"mnemonic\": \"AA1\", \"ordering\": \"41\", \"description\": \"description\"};"; + String json2 = "{\"uuid\": \"b14a8565-de10-4026-97e3-ab129ffaba96\", \"type\": \"SYSTEM\", \"parent\": \"05d52f1c-391e-41e3-a48f-dc8f36f8329b\", \"mnemonic\": \"AA1\", \"ordering\": \"41\", \"description\": \"description\"};"; try { se1 = mapper.readValue(json, StructureElementCommand.class); @@ -129,9 +133,11 @@ class StructureElementCommandTest { StructureElementCommand se1 = null, se2 = null; se1 = new StructureElementCommand( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, "description", "comment"); + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description"); se2 = new StructureElementCommand( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, "description", "comment"); + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description"); assertNotNull(se1); assertNotNull(se2); @@ -144,9 +150,11 @@ class StructureElementCommandTest { StructureElementCommand se1 = null, se2 = null; se1 = new StructureElementCommand( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, "description", "comment"); + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description"); se2 = new StructureElementCommand( - UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, "description", "comment"); + UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description"); assertNotNull(se1); assertNotNull(se2); @@ -159,13 +167,13 @@ class StructureElementCommandTest { StructureElementCommand se1 = null; se1 = new StructureElementCommand( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, "description", "comment"); + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description"); String str = se1.toString(); assertNotNull(str); assertTrue(str.contains("uuid")); - assertTrue(str.contains("comment")); } } diff --git a/src/test/java/org/openepics/names/rest/beans/element/StructureElementCommandUpdateTest.java b/src/test/java/org/openepics/names/rest/beans/element/StructureElementCommandUpdateTest.java index 77d4cd5e..7b093e82 100644 --- a/src/test/java/org/openepics/names/rest/beans/element/StructureElementCommandUpdateTest.java +++ b/src/test/java/org/openepics/names/rest/beans/element/StructureElementCommandUpdateTest.java @@ -47,9 +47,11 @@ class StructureElementCommandUpdateTest { StructureElementCommandUpdate se1 = null, se2 = null; se1 = new StructureElementCommandUpdate( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, "description", "comment"); + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description"); se2 = new StructureElementCommandUpdate( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, "description", "comment"); + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description"); assertEquals(se1, se2); } @@ -58,7 +60,7 @@ class StructureElementCommandUpdateTest { void equalsJson() { ObjectMapper mapper = new ObjectMapper(); StructureElementCommandUpdate se1 = null, se2 = null; - String json = "{\"uuid\": \"a14a8565-de10-4026-97e3-ab129ffaba96\", \"type\": \"SYSTEM\", \"parent\": \"05d52f1c-391e-41e3-a48f-dc8f36f8329b\", \"mnemonic\": \"AA1\", \"ordering\": \"41\", \"description\": \"description\", \"comment\": \"comment\"};"; + String json = "{\"uuid\": \"a14a8565-de10-4026-97e3-ab129ffaba96\", \"type\": \"SYSTEM\", \"parent\": \"05d52f1c-391e-41e3-a48f-dc8f36f8329b\", \"mnemonic\": \"AA1\", \"ordering\": \"41\", \"description\": \"description\"};"; try { se1 = mapper.readValue(json, StructureElementCommandUpdate.class); @@ -87,9 +89,11 @@ class StructureElementCommandUpdateTest { StructureElementCommandUpdate se1 = null, se2 = null; se1 = new StructureElementCommandUpdate( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, "description", "comment"); + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description"); se2 = new StructureElementCommandUpdate( - UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, "description", "comment"); + UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description"); assertNotEquals(se1, se2); } @@ -98,8 +102,8 @@ class StructureElementCommandUpdateTest { void notEqualsJson() { ObjectMapper mapper = new ObjectMapper(); StructureElementCommandUpdate se1 = null, se2 = null; - String json = "{\"uuid\": \"a14a8565-de10-4026-97e3-ab129ffaba96\", \"type\": \"SYSTEM\", \"parent\": \"05d52f1c-391e-41e3-a48f-dc8f36f8329b\", \"mnemonic\": \"AA1\", \"ordering\": \"41\", \"description\": \"description\", \"comment\": \"comment\"};"; - String json2 = "{\"uuid\": \"b14a8565-de10-4026-97e3-ab129ffaba96\", \"type\": \"SYSTEM\", \"parent\": \"05d52f1c-391e-41e3-a48f-dc8f36f8329b\", \"mnemonic\": \"AA1\", \"ordering\": \"41\", \"description\": \"description\", \"comment\": \"comment\"};"; + String json = "{\"uuid\": \"a14a8565-de10-4026-97e3-ab129ffaba96\", \"type\": \"SYSTEM\", \"parent\": \"05d52f1c-391e-41e3-a48f-dc8f36f8329b\", \"mnemonic\": \"AA1\", \"ordering\": \"41\", \"description\": \"description\"};"; + String json2 = "{\"uuid\": \"b14a8565-de10-4026-97e3-ab129ffaba96\", \"type\": \"SYSTEM\", \"parent\": \"05d52f1c-391e-41e3-a48f-dc8f36f8329b\", \"mnemonic\": \"AA1\", \"ordering\": \"41\", \"description\": \"description\"};"; try { se1 = mapper.readValue(json, StructureElementCommandUpdate.class); @@ -129,9 +133,11 @@ class StructureElementCommandUpdateTest { StructureElementCommandUpdate se1 = null, se2 = null; se1 = new StructureElementCommandUpdate( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, "description", "comment"); + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description"); se2 = new StructureElementCommandUpdate( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, "description", "comment"); + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description"); assertNotNull(se1); assertNotNull(se2); @@ -144,9 +150,11 @@ class StructureElementCommandUpdateTest { StructureElementCommandUpdate se1 = null, se2 = null; se1 = new StructureElementCommandUpdate( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, "description", "comment"); + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description"); se2 = new StructureElementCommandUpdate( - UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, "description", "comment"); + UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description"); assertNotNull(se1); assertNotNull(se2); @@ -159,13 +167,13 @@ class StructureElementCommandUpdateTest { StructureElementCommandUpdate se1 = null; se1 = new StructureElementCommandUpdate( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, "description", "comment"); + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description"); String str = se1.toString(); assertNotNull(str); assertTrue(str.contains("uuid")); - assertTrue(str.contains("comment")); } } diff --git a/src/test/java/org/openepics/names/rest/beans/element/StructureElementTest.java b/src/test/java/org/openepics/names/rest/beans/element/StructureElementTest.java index 31883038..9454bfbd 100644 --- a/src/test/java/org/openepics/names/rest/beans/element/StructureElementTest.java +++ b/src/test/java/org/openepics/names/rest/beans/element/StructureElementTest.java @@ -51,17 +51,17 @@ class StructureElementTest { Date date = new Date(); se1 = new StructureElement( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, - "description", "comment", + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description", "AA1", 2, Status.APPROVED, true, false, - date, "test who"); + date, "test who", "comment"); se2 = new StructureElement( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, - "description", "comment", + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description", "AA1", 2, Status.APPROVED, true, false, - date, "test who"); + date, "test who", "comment"); assertEquals(se1, se2); } @@ -100,17 +100,17 @@ class StructureElementTest { Date date = new Date(); se1 = new StructureElement( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, - "description", "comment", + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description", "AA1", 2, Status.APPROVED, true, false, - date, "test who"); + date, "test who", "comment"); se2 = new StructureElement( - UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, - "description", "comment", + UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description", "AA1", 2, Status.APPROVED, true, false, - date, "test who"); + date, "test who", "comment"); assertNotEquals(se1, se2); } @@ -151,17 +151,17 @@ class StructureElementTest { Date date = new Date(); se1 = new StructureElement( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, - "description", "comment", + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description", "AA1", 2, Status.APPROVED, true, false, - date, "test who"); + date, "test who", "comment"); se2 = new StructureElement( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, - "description", "comment", + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description", "AA1", 2, Status.APPROVED, true, false, - date, "test who"); + date, "test who", "comment"); assertNotNull(se1); assertNotNull(se2); @@ -175,17 +175,17 @@ class StructureElementTest { Date date = new Date(); se1 = new StructureElement( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, - "description", "comment", + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description", "AA1", 2, Status.APPROVED, true, false, - date, "test who"); + date, "test who", "comment"); se2 = new StructureElement( - UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, - "description", "comment", + UUID.fromString("b14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description", "AA1", 2, Status.APPROVED, true, false, - date, "test who"); + date, "test who", "comment"); assertNotNull(se1); assertNotNull(se2); @@ -199,11 +199,11 @@ class StructureElementTest { Date date = new Date(); se1 = new StructureElement( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, - "description", "comment", + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description", "AA1", 2, Status.APPROVED, true, false, - date, "test who"); + date, "test who", "comment"); String str = se1.toString(); @@ -219,11 +219,11 @@ class StructureElementTest { Date date = new Date(); se1 = new StructureElement( - UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), "AA1", 41, - "description", "comment", + UUID.fromString("a14a8565-de10-4026-97e3-ab129ffaba96"), Type.SYSTEM, UUID.fromString("05d52f1c-391e-41e3-a48f-dc8f36f8329b"), + "AA1", 41, "description", "AA1", 2, Status.APPROVED, true, false, - date, "test who"); + date, "test who", "comment"); String str = se1.toStringSimple(); diff --git a/src/test/java/org/openepics/names/util/NameElementUtilTest.java b/src/test/java/org/openepics/names/util/NameElementUtilTest.java index 1c22959b..38ce1a5c 100644 --- a/src/test/java/org/openepics/names/util/NameElementUtilTest.java +++ b/src/test/java/org/openepics/names/util/NameElementUtilTest.java @@ -79,11 +79,11 @@ class NameElementUtilTest { UUID uuid = UUID.randomUUID(); UUID parentSystemStructure = UUID.randomUUID(); UUID parentDeviceStructure = UUID.randomUUID(); + String index = "ty"; + String description = "op"; String systemStructure = "qw"; String deviceStructure = "er"; - String index = "ty"; String name = "ui"; - String description = "op"; Status status = Status.APPROVED; Boolean latest = Boolean.TRUE; Boolean deleted = Boolean.FALSE; @@ -92,11 +92,10 @@ class NameElementUtilTest { String comment = "df"; NameElement nameElement = NameElementUtil.getNameElement( - uuid, - parentSystemStructure, parentDeviceStructure, - systemStructure, deviceStructure, - index, name, - description, status, latest, deleted, + uuid, parentSystemStructure, parentDeviceStructure, + index, description, + systemStructure, deviceStructure, name, + status, latest, deleted, when, who, comment); assertNotNull(nameElement); @@ -127,9 +126,8 @@ class NameElementUtilTest { UUID uuid3 = UUID.randomUUID(); String str1 = "qwer"; String str2 = "asdf"; - String str3 = "zxcv"; - NameElementCommandCreate commandCreate = new NameElementCommandCreate(uuid2, uuid3, str1, str2, str3); + NameElementCommandCreate commandCreate = new NameElementCommandCreate(uuid2, uuid3, str1, str2); NameElementCommand command = NameElementUtil.convertCommandCreate2Command(commandCreate); assertNotNull(command); @@ -138,7 +136,6 @@ class NameElementUtilTest { assertEquals(uuid3, command.getParentDeviceStructure()); assertEquals(str1, command.getIndex()); assertEquals(str2, command.getDescription()); - assertEquals(str3, command.getComment()); } /** @@ -151,9 +148,8 @@ class NameElementUtilTest { UUID uuid3 = UUID.randomUUID(); String str1 = "qwer"; String str2 = "asdf"; - String str3 = "zxcv"; - NameElementCommandUpdate commandUpdate = new NameElementCommandUpdate(uuid1, uuid2, uuid3, str1, str2, str3); + NameElementCommandUpdate commandUpdate = new NameElementCommandUpdate(uuid1, uuid2, uuid3, str1, str2); NameElementCommand command = NameElementUtil.convertCommandUpdate2Command(commandUpdate); assertNotNull(command); @@ -162,7 +158,6 @@ class NameElementUtilTest { assertEquals(uuid3, command.getParentDeviceStructure()); assertEquals(str1, command.getIndex()); assertEquals(str2, command.getDescription()); - assertEquals(str3, command.getComment()); } /** @@ -171,9 +166,8 @@ class NameElementUtilTest { @Test void convertCommandConfirm2Command() { UUID uuid1 = UUID.randomUUID(); - String str3 = "zxcv"; - NameElementCommandConfirm commandConfirm = new NameElementCommandConfirm(uuid1, str3); + NameElementCommandConfirm commandConfirm = new NameElementCommandConfirm(uuid1); NameElementCommand command = NameElementUtil.convertCommandConfirm2Command(commandConfirm); assertNotNull(command); @@ -182,7 +176,6 @@ class NameElementUtilTest { assertNull(command.getParentDeviceStructure()); assertNull(command.getIndex()); assertNull(command.getDescription()); - assertEquals(str3, command.getComment()); } // ---------------------------------------------------------------------------------------------------- @@ -197,9 +190,8 @@ class NameElementUtilTest { UUID uuid3 = UUID.randomUUID(); String str1 = "qwer"; String str2 = "asdf"; - String str3 = "zxcv"; - NameElementCommand command = new NameElementCommand(uuid1, uuid2, uuid3, str1, str2, str3); + NameElementCommand command = new NameElementCommand(uuid1, uuid2, uuid3, str1, str2); NameElementCommandCreate commandCreate = NameElementUtil.convertCommand2CommandCreate(command); assertNotNull(commandCreate); @@ -207,7 +199,6 @@ class NameElementUtilTest { assertEquals(uuid3, commandCreate.getParentDeviceStructure()); assertEquals(str1, commandCreate.getIndex()); assertEquals(str2, commandCreate.getDescription()); - assertEquals(str3, commandCreate.getComment()); NameElementCommandCreate[] commandCreate2 = NameElementUtil.convertCommand2CommandCreate(new NameElementCommand[] {command}); @@ -218,7 +209,6 @@ class NameElementUtilTest { assertEquals(uuid3, commandCreate2[0].getParentDeviceStructure()); assertEquals(str1, commandCreate2[0].getIndex()); assertEquals(str2, commandCreate2[0].getDescription()); - assertEquals(str3, commandCreate2[0].getComment()); } /** @@ -231,9 +221,8 @@ class NameElementUtilTest { UUID uuid3 = UUID.randomUUID(); String str1 = "qwer"; String str2 = "asdf"; - String str3 = "zxcv"; - NameElementCommand command = new NameElementCommand(uuid1, uuid2, uuid3, str1, str2, str3); + NameElementCommand command = new NameElementCommand(uuid1, uuid2, uuid3, str1, str2); NameElementCommandUpdate commandUpdate = NameElementUtil.convertCommand2CommandUpdate(command); assertNotNull(commandUpdate); @@ -242,7 +231,6 @@ class NameElementUtilTest { assertEquals(uuid3, commandUpdate.getParentDeviceStructure()); assertEquals(str1, commandUpdate.getIndex()); assertEquals(str2, commandUpdate.getDescription()); - assertEquals(str3, commandUpdate.getComment()); NameElementCommandUpdate[] commandUpdate2 = NameElementUtil.convertCommand2CommandUpdate(new NameElementCommand[] {command}); @@ -254,7 +242,6 @@ class NameElementUtilTest { assertEquals(uuid3, commandUpdate2[0].getParentDeviceStructure()); assertEquals(str1, commandUpdate2[0].getIndex()); assertEquals(str2, commandUpdate2[0].getDescription()); - assertEquals(str3, commandUpdate2[0].getComment()); } /** @@ -267,14 +254,12 @@ class NameElementUtilTest { UUID uuid3 = UUID.randomUUID(); String str1 = "qwer"; String str2 = "asdf"; - String str3 = "zxcv"; - NameElementCommand command = new NameElementCommand(uuid1, uuid2, uuid3, str1, str2, str3); + NameElementCommand command = new NameElementCommand(uuid1, uuid2, uuid3, str1, str2); NameElementCommandConfirm commandConfirm = NameElementUtil.convertCommand2CommandConfirm(command); assertNotNull(commandConfirm); assertEquals(uuid1, commandConfirm.getUuid()); - assertEquals(str3, commandConfirm.getComment()); NameElementCommandConfirm[] commandConfirm2 = NameElementUtil.convertCommand2CommandConfirm(new NameElementCommand[] {command}); @@ -282,7 +267,6 @@ class NameElementUtilTest { assertEquals(1, commandConfirm2.length); assertNotNull(commandConfirm2[0]); assertEquals(uuid1, commandConfirm2[0].getUuid()); - assertEquals(str3, commandConfirm2[0].getComment()); } // ---------------------------------------------------------------------------------------------------- @@ -295,11 +279,11 @@ class NameElementUtilTest { UUID uuid = UUID.randomUUID(); UUID parentSystemStructure = UUID.randomUUID(); UUID parentDeviceStructure = UUID.randomUUID(); + String index = "ty"; + String description = "op"; String systemStructure = "qw"; String deviceStructure = "er"; - String index = "ty"; String name = "ui"; - String description = "op"; Status status = Status.APPROVED; Boolean latest = Boolean.TRUE; Boolean deleted = Boolean.FALSE; @@ -308,11 +292,10 @@ class NameElementUtilTest { String comment = "df"; NameElement element = NameElementUtil.getNameElement( - uuid, - parentSystemStructure, parentDeviceStructure, - systemStructure, deviceStructure, - index, name, - description, status, latest, deleted, + uuid, parentSystemStructure, parentDeviceStructure, + index, description, + systemStructure, deviceStructure, name, + status, latest, deleted, when, who, comment); NameElementCommandCreate commandCreate = NameElementUtil.convertElement2CommandCreate(element); @@ -322,7 +305,6 @@ class NameElementUtilTest { assertEquals(parentDeviceStructure, commandCreate.getParentDeviceStructure()); assertEquals(index, commandCreate.getIndex()); assertEquals(description, commandCreate.getDescription()); - assertEquals(comment, commandCreate.getComment()); NameElementCommandCreate[] commandCreate2 = NameElementUtil.convertElement2CommandCreate(new NameElement[] {element}); @@ -333,7 +315,6 @@ class NameElementUtilTest { assertEquals(parentDeviceStructure, commandCreate2[0].getParentDeviceStructure()); assertEquals(index, commandCreate2[0].getIndex()); assertEquals(description, commandCreate2[0].getDescription()); - assertEquals(comment, commandCreate2[0].getComment()); } /** @@ -344,11 +325,11 @@ class NameElementUtilTest { UUID uuid = UUID.randomUUID(); UUID parentSystemStructure = UUID.randomUUID(); UUID parentDeviceStructure = UUID.randomUUID(); + String index = "ty"; + String description = "op"; String systemStructure = "qw"; String deviceStructure = "er"; - String index = "ty"; String name = "ui"; - String description = "op"; Status status = Status.APPROVED; Boolean latest = Boolean.TRUE; Boolean deleted = Boolean.FALSE; @@ -357,11 +338,10 @@ class NameElementUtilTest { String comment = "df"; NameElement element = NameElementUtil.getNameElement( - uuid, - parentSystemStructure, parentDeviceStructure, - systemStructure, deviceStructure, - index, name, - description, status, latest, deleted, + uuid, parentSystemStructure, parentDeviceStructure, + index, description, + systemStructure, deviceStructure, name, + status, latest, deleted, when, who, comment); NameElementCommandUpdate commandUpdate = NameElementUtil.convertElement2CommandUpdate(element); @@ -372,7 +352,6 @@ class NameElementUtilTest { assertEquals(parentDeviceStructure, commandUpdate.getParentDeviceStructure()); assertEquals(index, commandUpdate.getIndex()); assertEquals(description, commandUpdate.getDescription()); - assertEquals(comment, commandUpdate.getComment()); NameElementCommandUpdate[] commandUpdate2 = NameElementUtil.convertElement2CommandUpdate(new NameElement[] {element}); @@ -384,7 +363,6 @@ class NameElementUtilTest { assertEquals(parentDeviceStructure, commandUpdate2[0].getParentDeviceStructure()); assertEquals(index, commandUpdate2[0].getIndex()); assertEquals(description, commandUpdate2[0].getDescription()); - assertEquals(comment, commandUpdate2[0].getComment()); } /** @@ -395,11 +373,11 @@ class NameElementUtilTest { UUID uuid = UUID.randomUUID(); UUID parentSystemStructure = UUID.randomUUID(); UUID parentDeviceStructure = UUID.randomUUID(); + String index = "ty"; + String description = "op"; String systemStructure = "qw"; String deviceStructure = "er"; - String index = "ty"; String name = "ui"; - String description = "op"; Status status = Status.APPROVED; Boolean latest = Boolean.TRUE; Boolean deleted = Boolean.FALSE; @@ -408,18 +386,16 @@ class NameElementUtilTest { String comment = "df"; NameElement element = NameElementUtil.getNameElement( - uuid, - parentSystemStructure, parentDeviceStructure, - systemStructure, deviceStructure, - index, name, - description, status, latest, deleted, + uuid, parentSystemStructure, parentDeviceStructure, + index, description, + systemStructure, deviceStructure, name, + status, latest, deleted, when, who, comment); NameElementCommandConfirm commandConfirm = NameElementUtil.convertElement2CommandConfirm(element); assertNotNull(commandConfirm); assertEquals(uuid, commandConfirm.getUuid()); - assertEquals(comment, commandConfirm.getComment()); NameElementCommandConfirm[] commandConfirm2 = NameElementUtil.convertElement2CommandConfirm(new NameElement[] {element}); @@ -427,7 +403,6 @@ class NameElementUtilTest { assertEquals(1, commandConfirm2.length); assertNotNull(commandConfirm2[0]); assertEquals(uuid, commandConfirm2[0].getUuid()); - assertEquals(comment, commandConfirm2[0].getComment()); } } diff --git a/src/test/java/org/openepics/names/util/StructureElementUtilTest.java b/src/test/java/org/openepics/names/util/StructureElementUtilTest.java index eed41ecd..eda0b66a 100644 --- a/src/test/java/org/openepics/names/util/StructureElementUtilTest.java +++ b/src/test/java/org/openepics/names/util/StructureElementUtilTest.java @@ -53,10 +53,10 @@ class StructureElementUtilTest { Type type = Type.DEVICETYPE; UUID parent = UUID.randomUUID(); String mnemonic = "jk"; - String mnemonicPath = "zx"; Integer ordering = 41; - Integer level = 3; String description = "cv"; + String mnemonicPath = "zx"; + Integer level = 3; Status status = Status.PENDING; Boolean latest = Boolean.FALSE; Boolean deleted = Boolean.FALSE; @@ -65,11 +65,10 @@ class StructureElementUtilTest { String comment = "ml"; StructureElement structureElement = StructureElementUtil.getStructureElement( - uuid, - type, - parent, - mnemonic, mnemonicPath, ordering, level, - description, status, latest, deleted, + uuid, type, parent, + mnemonic, ordering, description, + mnemonicPath, level, + status, latest, deleted, when, who, comment); assertNotNull(structureElement); @@ -132,10 +131,9 @@ class StructureElementUtilTest { UUID uuid2 = UUID.randomUUID(); String str2 = "asdf"; String str3 = "zxcv"; - String str4 = "tyui"; Integer int1 = 41; - StructureElementCommandCreate commandCreate = new StructureElementCommandCreate(type, uuid2, str2, int1, str3, str4); + StructureElementCommandCreate commandCreate = new StructureElementCommandCreate(type, uuid2, str2, int1, str3); StructureElementCommand command = StructureElementUtil.convertCommandCreate2Command(commandCreate); assertNull(command.getUuid()); @@ -144,7 +142,6 @@ class StructureElementUtilTest { assertEquals(str2, command.getMnemonic()); assertEquals(int1, command.getOrdering()); assertEquals(str3, command.getDescription()); - assertEquals(str4, command.getComment()); } /** @@ -157,10 +154,9 @@ class StructureElementUtilTest { UUID uuid2 = UUID.randomUUID(); String str2 = "asdf"; String str3 = "zxcv"; - String str4 = "tyui"; Integer int1 = 41; - StructureElementCommandUpdate commandUpdate = new StructureElementCommandUpdate(uuid1, type, uuid2, str2, int1, str3, str4); + StructureElementCommandUpdate commandUpdate = new StructureElementCommandUpdate(uuid1, type, uuid2, str2, int1, str3); StructureElementCommand command = StructureElementUtil.convertCommandUpdate2Command(commandUpdate); assertEquals(uuid1, command.getUuid()); @@ -169,7 +165,6 @@ class StructureElementUtilTest { assertEquals(str2, command.getMnemonic()); assertEquals(int1, command.getOrdering()); assertEquals(str3, command.getDescription()); - assertEquals(str4, command.getComment()); } /** @@ -179,9 +174,8 @@ class StructureElementUtilTest { void convertCommandConfirm2Command() { UUID uuid1 = UUID.randomUUID(); Type type = Type.SUBSYSTEM; - String str4 = "tyui"; - StructureElementCommandConfirm commandConfirm = new StructureElementCommandConfirm(uuid1, type, str4); + StructureElementCommandConfirm commandConfirm = new StructureElementCommandConfirm(uuid1, type); StructureElementCommand command = StructureElementUtil.convertCommandConfirm2Command(commandConfirm); assertEquals(uuid1, command.getUuid()); @@ -190,7 +184,6 @@ class StructureElementUtilTest { assertNull(command.getMnemonic()); assertNull(command.getOrdering()); assertNull(command.getDescription()); - assertEquals(str4, command.getComment()); } // ---------------------------------------------------------------------------------------------------- @@ -205,10 +198,9 @@ class StructureElementUtilTest { UUID uuid2 = UUID.randomUUID(); String str2 = "asdf"; String str3 = "zxcv"; - String str4 = "tyui"; Integer int1 = 41; - StructureElementCommand command = new StructureElementCommand(uuid1, type, uuid2, str2, int1, str3, str4); + StructureElementCommand command = new StructureElementCommand(uuid1, type, uuid2, str2, int1, str3); StructureElementCommandCreate commandCreate = StructureElementUtil.convertCommand2CommandCreate(command); assertNotNull(commandCreate); @@ -217,7 +209,6 @@ class StructureElementUtilTest { assertEquals(str2, commandCreate.getMnemonic()); assertEquals(int1, command.getOrdering()); assertEquals(str3, commandCreate.getDescription()); - assertEquals(str4, commandCreate.getComment()); StructureElementCommandCreate[] commandCreate2 = StructureElementUtil.convertCommand2CommandCreate(new StructureElementCommand[] {command}); @@ -229,7 +220,6 @@ class StructureElementUtilTest { assertEquals(str2, commandCreate2[0].getMnemonic()); assertEquals(int1, commandCreate2[0].getOrdering()); assertEquals(str3, commandCreate2[0].getDescription()); - assertEquals(str4, commandCreate2[0].getComment()); } /** @@ -242,10 +232,9 @@ class StructureElementUtilTest { UUID uuid2 = UUID.randomUUID(); String str2 = "asdf"; String str3 = "zxcv"; - String str4 = "tyui"; Integer int1 = 41; - StructureElementCommand command = new StructureElementCommand(uuid1, type, uuid2, str2, int1, str3, str4); + StructureElementCommand command = new StructureElementCommand(uuid1, type, uuid2, str2, int1, str3); StructureElementCommandUpdate commandUpdate = StructureElementUtil.convertCommand2CommandUpdate(command); assertNotNull(commandUpdate); @@ -255,7 +244,6 @@ class StructureElementUtilTest { assertEquals(str2, commandUpdate.getMnemonic()); assertEquals(int1, commandUpdate.getOrdering()); assertEquals(str3, commandUpdate.getDescription()); - assertEquals(str4, commandUpdate.getComment()); StructureElementCommandUpdate[] commandUpdate2 = StructureElementUtil.convertCommand2CommandUpdate(new StructureElementCommand[] {command}); @@ -268,7 +256,6 @@ class StructureElementUtilTest { assertEquals(str2, commandUpdate2[0].getMnemonic()); assertEquals(int1, commandUpdate2[0].getOrdering()); assertEquals(str3, commandUpdate2[0].getDescription()); - assertEquals(str4, commandUpdate2[0].getComment()); } /** @@ -281,16 +268,14 @@ class StructureElementUtilTest { UUID uuid2 = UUID.randomUUID(); String str2 = "asdf"; String str3 = "zxcv"; - String str4 = "tyui"; Integer int1 = 41; - StructureElementCommand command = new StructureElementCommand(uuid1, type, uuid2, str2, int1, str3, str4); + StructureElementCommand command = new StructureElementCommand(uuid1, type, uuid2, str2, int1, str3); StructureElementCommandConfirm commandConfirm = StructureElementUtil.convertCommand2CommandConfirm(command); assertNotNull(commandConfirm); assertEquals(uuid1, commandConfirm.getUuid()); assertEquals(type, commandConfirm.getType()); - assertEquals(str4, commandConfirm.getComment()); StructureElementCommandConfirm[] commandConfirm2 = StructureElementUtil.convertCommand2CommandConfirm(new StructureElementCommand[] {command}); @@ -299,7 +284,6 @@ class StructureElementUtilTest { assertNotNull(commandConfirm2[0]); assertEquals(uuid1, commandConfirm2[0].getUuid()); assertEquals(type, commandConfirm2[0].getType()); - assertEquals(str4, commandConfirm2[0].getComment()); } // ---------------------------------------------------------------------------------------------------- @@ -313,10 +297,10 @@ class StructureElementUtilTest { Type type = Type.DEVICETYPE; UUID parent = UUID.randomUUID(); String mnemonic = "jk"; - String mnemonicPath = "zx"; Integer ordering = 41; - Integer level = 3; String description = "cv"; + String mnemonicPath = "zx"; + Integer level = 3; Status status = Status.PENDING; Boolean latest = Boolean.FALSE; Boolean deleted = Boolean.FALSE; @@ -325,11 +309,10 @@ class StructureElementUtilTest { String comment = "ml"; StructureElement element = StructureElementUtil.getStructureElement( - uuid, - type, - parent, - mnemonic, mnemonicPath, ordering, level, - description, status, latest, deleted, + uuid, type, parent, + mnemonic, ordering, description, + mnemonicPath, level, + status, latest, deleted, when, who, comment); StructureElementCommandCreate commandCreate = StructureElementUtil.convertElement2CommandCreate(element); @@ -340,7 +323,6 @@ class StructureElementUtilTest { assertEquals(mnemonic, commandCreate.getMnemonic()); assertEquals(ordering, commandCreate.getOrdering()); assertEquals(description, commandCreate.getDescription()); - assertEquals(comment, commandCreate.getComment()); StructureElementCommandCreate[] commandCreate2 = StructureElementUtil.convertElement2CommandCreate(new StructureElement[] {element}); @@ -352,7 +334,6 @@ class StructureElementUtilTest { assertEquals(mnemonic, commandCreate2[0].getMnemonic()); assertEquals(ordering, commandCreate2[0].getOrdering()); assertEquals(description, commandCreate2[0].getDescription()); - assertEquals(comment, commandCreate2[0].getComment()); } /** @@ -364,10 +345,10 @@ class StructureElementUtilTest { Type type = Type.DEVICETYPE; UUID parent = UUID.randomUUID(); String mnemonic = "jk"; - String mnemonicPath = "zx"; Integer ordering = 41; - Integer level = 3; String description = "cv"; + String mnemonicPath = "zx"; + Integer level = 3; Status status = Status.PENDING; Boolean latest = Boolean.FALSE; Boolean deleted = Boolean.FALSE; @@ -376,11 +357,10 @@ class StructureElementUtilTest { String comment = "ml"; StructureElement element = StructureElementUtil.getStructureElement( - uuid, - type, - parent, - mnemonic, mnemonicPath, ordering, level, - description, status, latest, deleted, + uuid, type, parent, + mnemonic, ordering, description, + mnemonicPath, level, + status, latest, deleted, when, who, comment); StructureElementCommandUpdate commandUpdate = StructureElementUtil.convertElement2CommandUpdate(element); @@ -392,7 +372,6 @@ class StructureElementUtilTest { assertEquals(mnemonic, commandUpdate.getMnemonic()); assertEquals(ordering, commandUpdate.getOrdering()); assertEquals(description, commandUpdate.getDescription()); - assertEquals(comment, commandUpdate.getComment()); StructureElementCommandUpdate[] commandUpdate2 = StructureElementUtil.convertElement2CommandUpdate(new StructureElement[] {element}); @@ -405,7 +384,6 @@ class StructureElementUtilTest { assertEquals(mnemonic, commandUpdate2[0].getMnemonic()); assertEquals(ordering, commandUpdate2[0].getOrdering()); assertEquals(description, commandUpdate2[0].getDescription()); - assertEquals(comment, commandUpdate2[0].getComment()); } /** @@ -417,10 +395,10 @@ class StructureElementUtilTest { Type type = Type.DEVICETYPE; UUID parent = UUID.randomUUID(); String mnemonic = "jk"; - String mnemonicPath = "zx"; Integer ordering = 41; - Integer level = 3; String description = "cv"; + String mnemonicPath = "zx"; + Integer level = 3; Status status = Status.PENDING; Boolean latest = Boolean.FALSE; Boolean deleted = Boolean.FALSE; @@ -429,11 +407,10 @@ class StructureElementUtilTest { String comment = "ml"; StructureElement element = StructureElementUtil.getStructureElement( - uuid, - type, - parent, - mnemonic, mnemonicPath, ordering, level, - description, status, latest, deleted, + uuid, type, parent, + mnemonic, ordering, description, + mnemonicPath, level, + status, latest, deleted, when, who, comment); StructureElementCommandConfirm commandConfirm = StructureElementUtil.convertElement2CommandConfirm(element); @@ -441,7 +418,6 @@ class StructureElementUtilTest { assertNotNull(commandConfirm); assertEquals(uuid, commandConfirm.getUuid()); assertEquals(type, commandConfirm.getType()); - assertEquals(comment, commandConfirm.getComment()); StructureElementCommandConfirm[] commandConfirm2 = StructureElementUtil.convertElement2CommandConfirm(new StructureElement[] {element}); @@ -450,7 +426,6 @@ class StructureElementUtilTest { assertNotNull(commandConfirm2[0]); assertEquals(uuid, commandConfirm2[0].getUuid()); assertEquals(type, commandConfirm2[0].getType()); - assertEquals(comment, commandConfirm2[0].getComment()); } } diff --git a/src/test/java/org/openepics/names/util/UtilitiesTest.java b/src/test/java/org/openepics/names/util/UtilitiesTest.java index 9830c533..9bea5163 100644 --- a/src/test/java/org/openepics/names/util/UtilitiesTest.java +++ b/src/test/java/org/openepics/names/util/UtilitiesTest.java @@ -109,11 +109,10 @@ class UtilitiesTest { assertFalse(Utilities.addToCollection(list, structureElement)); structureElement = StructureElementUtil.getStructureElement( - null, - null, - null, - null, null, null, null, - null, null, null, null, + null, null, null, + null, null, null, + null, null, + null, null, null, null, null, null); assertFalse(Utilities.addToCollection(list, structureElement)); @@ -122,11 +121,10 @@ class UtilitiesTest { assertFalse(Utilities.addToCollection(list, structureElement)); structureElement = StructureElementUtil.getStructureElement( - null, - null, - null, - null, null, null, null, - null, null, null, null, + null, null, null, + null, null, null, + null, null, + null, null, null, null, null, null); assertTrue(Utilities.addToCollection(list, structureElement)); assertEquals(1, list.size()); diff --git a/src/test/java/org/openepics/names/util/ValidateUtilTest.java b/src/test/java/org/openepics/names/util/ValidateUtilTest.java index dfc4823c..dea17fab 100644 --- a/src/test/java/org/openepics/names/util/ValidateUtilTest.java +++ b/src/test/java/org/openepics/names/util/ValidateUtilTest.java @@ -43,48 +43,6 @@ import org.openepics.names.rest.beans.Type; */ class ValidateUtilTest { - /** - * Test of validate input comment. - */ - @Test - void validateInputCommentNull() { - try { - ValidateUtil.validateInputComment(null); - fail(); - } catch (InputNotAvailableException e) { - assertEquals(TextUtil.VALUE_IS_NOT_AVAILABLE, e.getMessage()); - assertEquals(null, e.getDetails()); - assertEquals("comment", e.getField()); - assertEquals(null, e.getCause()); - } catch (Exception e) { - fail(); - } - } - /** - * Test of validate input comment. - */ - @Test - void validateInputCommentEmpty() { - try { - ValidateUtil.validateInputComment(""); - fail(); - } catch (InputNotAvailableException e) { - assertEquals(TextUtil.VALUE_IS_NOT_AVAILABLE, e.getMessage()); - assertEquals("", e.getDetails()); - assertEquals("comment", e.getField()); - assertEquals(null, e.getCause()); - } catch (Exception e) { - fail(); - } - } - /** - * Test of validate input comment. - */ - @Test - void validateInputComment() { - ValidateUtil.validateInputComment("asdf"); - } - /** * Test of validate input description. */ diff --git a/src/test/java/org/openepics/names/util/notification/NotificationNameTest.java b/src/test/java/org/openepics/names/util/notification/NotificationNameTest.java index 0e94bbd8..3eab2612 100644 --- a/src/test/java/org/openepics/names/util/notification/NotificationNameTest.java +++ b/src/test/java/org/openepics/names/util/notification/NotificationNameTest.java @@ -44,7 +44,7 @@ class NotificationNameTest { UUID.randomUUID(), "oldIndexQ", "oldNameW", "oldDescriptionE", "newIndexR", "newNameT", "newDescriptionY", - "commentU", new Date(), "whoI"); + new Date(), "whoI"); assertNotNull(nn); assertTrue(StringUtils.isNotEmpty(nn.toString())); @@ -57,7 +57,7 @@ class NotificationNameTest { UUID.randomUUID(), "oldIndexO", "oldNameP", "oldDescriptionA", "newIndexS", "newNameD", "newDescriptionF", - "commentG", new Date(), "whoH"); + new Date(), "whoH"); assertNotNull(nn); assertTrue(StringUtils.isNotEmpty(nn.toString())); @@ -70,7 +70,7 @@ class NotificationNameTest { UUID.randomUUID(), "oldIndexJ", "oldNameK", "oldDescriptionL", "newIndexZ", "newNameX", "newDescriptionC", - "commentV", new Date(), "whoB"); + new Date(), "whoB"); assertNotNull(nn); assertTrue(StringUtils.isNotEmpty(nn.toString())); diff --git a/src/test/java/org/openepics/names/util/notification/NotificationStructureTest.java b/src/test/java/org/openepics/names/util/notification/NotificationStructureTest.java index 9c44bdaf..1e9ce012 100644 --- a/src/test/java/org/openepics/names/util/notification/NotificationStructureTest.java +++ b/src/test/java/org/openepics/names/util/notification/NotificationStructureTest.java @@ -45,7 +45,7 @@ class NotificationStructureTest { Type.SYSTEM, UUID.randomUUID(), "oldMnemonicW", "oldMnemonicpathE", "oldDescriptionR", "newMnemonicY", "newMnemonicpathU", "newDescriptionI", - "commentO", new Date(), "whoP"); + new Date(), "whoP"); assertNotNull(ns); assertTrue(StringUtils.isNotEmpty(ns.toString())); @@ -58,7 +58,7 @@ class NotificationStructureTest { Type.DISCIPLINE, UUID.randomUUID(), "oldMnemonicS", "oldMnemonicpathD", "oldDescriptionF", "newMnemonicH", "newMnemonicpathJ", "newDescriptionK", - "commentL", new Date(), "whoZ"); + new Date(), "whoZ"); assertNotNull(ns); assertTrue(StringUtils.isNotEmpty(ns.toString())); @@ -71,7 +71,7 @@ class NotificationStructureTest { Type.DEVICETYPE, UUID.randomUUID(), "oldMnemonicC", "oldMnemonicpathV", "oldDescriptionB", "newMnemonicM", "newMnemonicpathQ", "newDescriptionW", - "commentE", new Date(), "whoR"); + new Date(), "whoR"); assertNotNull(ns); assertTrue(StringUtils.isNotEmpty(ns.toString())); diff --git a/src/test/java/org/openepics/names/util/notification/NotificationUtilTest.java b/src/test/java/org/openepics/names/util/notification/NotificationUtilTest.java index b4265f42..7f375634 100644 --- a/src/test/java/org/openepics/names/util/notification/NotificationUtilTest.java +++ b/src/test/java/org/openepics/names/util/notification/NotificationUtilTest.java @@ -48,19 +48,19 @@ class NotificationUtilTest { UUID.randomUUID(), "oldIndexQ", "oldNameW", "oldDescriptionE", "newIndexR", "newNameT", "newDescriptionY", - "commentU", new Date(), "whoI"); + new Date(), "whoI"); NotificationName nn2 = new NotificationName( NameCommand.UPDATE, UUID.randomUUID(), "oldIndexO", "oldNameP", "oldDescriptionA", "newIndexS", "newNameD", "newDescriptionF", - "commentG", new Date(), "whoH"); + new Date(), "whoH"); NotificationName nn3 = new NotificationName( NameCommand.DELETE, UUID.randomUUID(), "oldIndexJ", "oldNameK", "oldDescriptionL", "newIndexZ", "newNameX", "newDescriptionC", - "commentV", new Date(), "whoB"); + new Date(), "whoB"); List<NotificationName> notifications = Lists.newArrayList(); notifications.add(nn1); @@ -81,19 +81,19 @@ class NotificationUtilTest { Type.SYSTEM, UUID.randomUUID(), "oldMnemonicW", "oldMnemonicpathE", "oldDescriptionR", "newMnemonicY", "newMnemonicpathU", "newDescriptionI", - "commentO", new Date(), "whoP"); + new Date(), "whoP"); NotificationStructure ns2 = new NotificationStructure( StructureCommand.CREATE, StructureCommand.APPROVE, Type.DISCIPLINE, UUID.randomUUID(), "oldMnemonicS", "oldMnemonicpathD", "oldDescriptionF", "newMnemonicH", "newMnemonicpathJ", "newDescriptionK", - "commentL", new Date(), "whoZ"); + new Date(), "whoZ"); NotificationStructure ns3 = new NotificationStructure( StructureCommand.CREATE, StructureCommand.APPROVE, Type.DEVICETYPE, UUID.randomUUID(), "oldMnemonicC", "oldMnemonicpathV", "oldDescriptionB", "newMnemonicM", "newMnemonicpathQ", "newDescriptionW", - "commentE", new Date(), "whoR"); + new Date(), "whoR"); List<NotificationStructure> notifications = Lists.newArrayList(); notifications.add(ns1); diff --git a/src/test/resources/INTEGRATIONTEST_DOCKER_TUTORIAL.md b/src/test/resources/INTEGRATIONTEST_DOCKER_TUTORIAL.md index 6d2a8820..9580f002 100644 --- a/src/test/resources/INTEGRATIONTEST_DOCKER_TUTORIAL.md +++ b/src/test/resources/INTEGRATIONTEST_DOCKER_TUTORIAL.md @@ -126,8 +126,7 @@ class StructuresDisciplineIT { structureElementCommand = new StructureElementCommand( null, Type.DISCIPLINE, null, - "Ca", null, - "description", "comment"); + "Ca", null, "description"); structureElementCommandCreate = StructureElementUtil.convertCommand2CommandCreate(structureElementCommand); structureElementCommandConfirm = StructureElementUtil.convertCommand2CommandConfirm(structureElementCommand); @@ -328,8 +327,8 @@ class NamesIT { void readSearchHistoryDeleted() { NameElementCommandCreate nameElementCommandCreate = new NameElementCommandCreate( - subsystem010, deviceTypeFS, "001", - "description", "comment"); + subsystem010, deviceTypeFS, + "001", "description"); ITUtilNames.assertCreate(nameElementCommandCreate); diff --git a/src/test/resources/data/templates/NameElementCommand_create_name.xlsx b/src/test/resources/data/templates/NameElementCommand_create_name.xlsx index 089976615f0091489c96f96b48db39a600dadb04..2100db36f6dd8955548c275608198c5f2eecb870 100644 GIT binary patch delta 3374 zcmZ8kc{tQ<_t)5&Q5c39%h*SZj4ctB?6N=hWE3H5Z^#q++SeM($U4a`vSdw`No3cU zkbOz^r7Vp#%Uho7`u%#J`=4{4?Ox8g&*xnCfMSgz#7K{t21>=iz(93y&$I#}e1`fL zt&%$<3p$<LqyGNS#D<RLRE2k=mjLu0j4OhP>*eGn^1x6fAqC&Pl4sC3nI=d2u<U!+ zvzoz*V3eb4;!Ci5hb&4dCE=XTW`qiX$n;;R8Bhm@$qzi4O)$p2hhB0!Dk!#VRuyUc z({`Nvg~UQRanwvsP})2Cc>o8*`l=C&!B_nmj9#X_aIu}D3D%YAjD|-8Y)pfBY76SK z#vULuUF0A!=?7MZ&yMbrefau0k2!HJL47OGL&2i|psJ}8nxoq{%-VH7XElAoZ@d&% zzEKlh2>becpxSR{pX!2BG*mb5QBqVRi+k$4k5^#4Qzn7U(qPWj?6LY6HoT22i89r` z)R907B;M+-qubXvD$&yg>Oh0f9H=G8(|WIlFMMUBeX10doAvk-4t1SLe^iBWx%VB! z^SfAk3;eJRTllCiv-^Wb@TM8zB^`<BB>su&YmiZ~qZ#vyHV>&i3t^D*tMWZWe1#@* zRJ4_WANd)bC%Vevr7cH3_V3Ys;9WVk==$D<ib=evPC+0`SpcyQa0+GahiBu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)_>&j7QkF*u6`dfYO!|T zl*8~jL?1`KjIdfhq<?A|x?sl6ZKe`!uF-mBWK43Sgp9K~t;M;habTkVNHYj1j3?Xi zhqB4P9T6&3@-bo!gOTRGIOyGd@1D>X=QNV;bO~uLnm>ZpDbBSSSr5h6Mzn0;b)Gvv zp1AN}BCx62Yc?d^jVynEctUz;<?GC;C;&d=DSNuX6q8>(75m?!V*&c3!9lg8OhUiQ zxj6IK`E`Me<->2oIIG;50ZYfGbS`z-6wYN7n?CI?yT$(<5wP=YisuLyI|AH@Rbm(A zKEwa4dyId46a*T@hO_g-&V2r#PO-J@(mZFTKer3wU&FZISTQ&!mInbncl>jT7yjkw z$AI-=V8GfTpy$7JAAuktXTruJxX!y32n1Le+k@ac@BQ-&WMaY6a0pT?v7Wu<f4npn A5dZ)H diff --git a/src/test/resources/data/templates/NameElementCommand_create_name_NameElement.xlsx b/src/test/resources/data/templates/NameElementCommand_create_name_NameElement.xlsx index 5fdb0d3d03c590949d85f9706087f05f3d79c594..3c6da31db53208e5521b92522af74f90f05b61d4 100644 GIT binary patch delta 3276 zcmaJ@XHXMJ8xFm<1EP?GAb|iPD7}d&NHbD{5TvM~CV<pX?g&vpgwP2_l%{}GY0`^y z3{9$tfCQx3C{m<J`2gqU?*4o`v-6gH-<{cccAsaH)mzm$Ob~SRd;n%<W<ZQ9vW!EN zhVICgE6~W(o;X;#<=>7qBj?Ey$&E>s(A{I?$e#~Up2RH*8&x+`T_Rsam}Fiv^Gm(e zr2TEbx%JC)Rh6M1!^-kg@u^;#OZp$zuoN_b-Qy7hcfbkBR@=Z<WG>xun>nG7i zyrS>#<pnM{uW)U3ZWl&eATx4{qMdZja;nK<d(0I5XcUnb#Uc=w5N6p}eYIPbz`CI) zTba7LJx=5?=uQ1Z&S-0Cjo%Jv**o_pve!T*M_+4OL?mBgj2cqDO&c2<j}<V6wd*vR zt&Tm`XiVNtWdU|4^v{S?1e1}j<K6O`{VeBn_Y@JDv|g-TOUz<x+4c$=mLyFt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ViYQ$jGl&KO#|Z z#^0LnrVxX+*~a!(@3q*XyI5idRtcRhP5z<rrpIIcpEItX@fgY7G8=ayc_nVwyJ>A) z&5uCx1d+cFtNG;(e0X_ayGMT*^hU6hy6qvR(*Ix3&jbD%oPerih{T_k*T6e^1i26R z2L1>xLlK7pA_;oth)zP)k0=;s$^Kh@{(o(h=m-0=RSbjCZ?F(WSp{UR%;@OBfdBsR z&;Jeb;J;h|0GNmz0%F347X8%BMSFfbJ<AFJaQ;iDoM<f|e5CXDYl8htr;d1EK!)+q z&f(>WtpX6bdg6qD$dS{#0x&vLBCnwE5vL&tql+fm3Br%KFhLl-BOmc89}lrakn^|< I^w8{o0I^}QNB{r; diff --git a/src/test/resources/data/templates/NameElementCommand_create_name_different_column_order.xlsx b/src/test/resources/data/templates/NameElementCommand_create_name_different_column_order.xlsx index 009f4e823e97dc7285c00298aa3a3e4ce7520cf9..4ba89690fa70db00f9422546bfa0ec9468113989 100644 GIT binary patch delta 3410 zcmZ8k2T;>X6AwWo5DAeULT^%~LnvwxM5Kk@J3I+hK)S$RM0zK5qz4ogsUk(`NR!?{ zswhRI<`G1NPk1xm=l6EzW^Z<HZ}x8Ye!sar)F6sVM}zbN9S8z}fG)V`S5fhhkp9*+ zQY4b#^NBMl;h%}^McBCu=S408e3F5`BN{{Gx5`{ht8pk()7bGljbzoHaK|R}y;?O> z6@EPpJ>MtRi=1Vm=1R7NBo-DYRN%oEs@|-luP$wGMUrDEuM;~)ril;?S!s|Y5l~zV z&ikG>8fD*k;mUmglX@!sU1Wjcdy&`8T5^!Zz%Prh`+^XIY#g{OnV$lPOw;TEJNc*O zpwm(~TyF@Pz~j5ultTH5tnF!vWXcW*t=@RG7mqx?p?Pf8NQ2YH^rW#BM?8wcBQQO; zBLe?IeHw%46WA_gwtAsT>FqLpXXg%K(Xjq7#aIHJ9a)N~;djJC4K;Ty#KeRC5sV%5 zg#TTfgx0EGXyH|aT@27_7A@m&i;y__>Z{`(B;u}|+DgF*Dq5V3L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Kps-)9C6I^qB%_f4D#X3*`U zg^BKpI);*#d3*>KOMd0KbGUTpAAH50{!kNDAt|O;i?vM{Aem(F^}J~E4|uR(m})V` zN*3nhL#?scW+?(;i+N}=&Q&Vb1XR*g5V@%v5EY^SwUwFuPQo3R3m!awqwl&PU2ArU ziyR+hV%PJj=MfsZb?-hrc{I;!_W0t!iu)w!S-1)lSVlfcjp6VI+;qW%e<@K}7qRIu zlluc6yOu@DDsvytOWiUi9zSTfU~PPumoYe5KpPK70@*mxsOruo>zQTNl+uB8>pelM zv-~5sO@bO<Q~TAJ{dk`66=m%ki8)p$S}-ikbvaMW^d{SUB?CifQIOz-DG|NCWuW)~ zIyJ%@*4`!m=%ZV^(-)1AE&23yw^_lu5`%0?!*Wy|zV7fdl%CfK7FMEf$3$~a{P^(o zC(tS93t)#n!;?f6{b$`V1^m`n0DuZU4#dAj{RZdIuUiBkwC`WVIv46xK@#JZ|0Nx{ z(Z6Imw=UC(-t>Pz3Zw&WIl)tn-p1bDffN6TlT~5Atpfm17)kq#yd*CeMBo(ods$@v z4{()~3=?8L#r%J+C6Qs$zs!C=Nj(2ClPB@;od1RS{msw*2a`Z@;1RSub$x&jzQ2Dm zmwdv|2?xJ5Ar1h*!P6e=<LTvl!Pd)5is0^s#ZXbR1O9jKGMya;guXbj**xiNzu5u+ h7Nl7o_^(}z(qLobPQ2@Z{={4+!FfgKXt+-e{||Bl9ohf@ diff --git a/src/test/resources/data/templates/NameElementCommand_create_name_empty_uuid.xlsx b/src/test/resources/data/templates/NameElementCommand_create_name_empty_uuid.xlsx index 16f03e7acf4294650b9d044fb7a5e8f25a911c0b..6ca9f8fa05b6db03240dc08bab087d2d4eb9365f 100644 GIT binary patch delta 3342 zcmZWsc{r5a8y-fsgc$2shAhJ%+gOq;WseyqG7Z@?vL~{SZ75`EEG3a-inNTeZ;8*A z>}4HGXfb@28nXLI-}PPf{mwtnx$g6v_rBieIq!X+H&KJCehg^_WB>t}nVA8so+#2W z2|D0GB&*V?&>v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mxj3q+shK%6fBX0C(d^i+ykm_y(GXd=VEzFYX<Zi%OU-EHgST5( z2S|P|h{udS?u??t&_y5}03Zwc@0|g0%HW7D7sC4LzAF$eHKE_yjFTo}lMB_a9`AFb z3e&uI4nGF8dT#D&k9L5|39(WJ=X*o|g8~=)%%9YMyBGou*DYiy696(OM+k3jNG*#l z#70?8@>Yp;FlZPwKhB6ibC~FrEZCq1uFmANHn^8Ne$1&Tb~t!ouJs3kWXeFM*VWW( zZl^qcw8$m?o!8yJZjFw<2o*^i8z*Y2bKG*qqA`OhXsNSA1Pq+2CG`y7_rWUEc?rBA z%&e|wQR0_gml7Dc#BlZI-h3r@HWlwSY<brvK*8}E3ycBpeknxS&gzr#;X@<)i!1k9 zq0an8I}SuVrUp5WRvAou>pH%rlD&?0kZ!ItD<rgidf4pQJUy=DBj~~(UTNwGq`NP5 ze3-QX`XQo}&|J^;lfe`79~;rO0sx+ubIJYXt8?6=r(frdJVSp0F}&~}0HK>#<uuap zAx@(j9};+iTm9|TgcLqy$PeV#FS|h_Cw_J5goytn{_{K|tn-OOf7JZj)42XAILXLt zgmpF^0+OHY^ss-A%X2>!{z<sU4>>*T->-+jPc_uDg!gBKuAr{b&~gF({ui<Ow-g*d zZIDP5fS&U1dxk{roh)UXDE2dN3qex=aw>s?fB@|lH{lC6_x~|W(4peuPqzNb1ORaU Q#4tc;6A)!2^8Nt-2YzJq8UO$Q diff --git a/src/test/resources/data/templates/NameElementCommand_create_name_incorrect_uuid.xlsx b/src/test/resources/data/templates/NameElementCommand_create_name_incorrect_uuid.xlsx index c61c8890bf487f750e0b49a90f746ec643d4913c..fbc0260bddf7e6e0be4830252073f72e47322ae6 100644 GIT binary patch delta 3537 zcmZWs2T;>V7Y`6Rp&0@RO{qc@qO>5$(OU>5NJo%frAqKX2uPPsC?Wv?Lp%he3W8Fk zsFb5ODN+v+q(qb|@Bue-qkcQH`*z;{_x8R2+uh%rokBJvL53(QAQ(VLM+Y$VFs=j% zQBa-8YH127%Cm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uj<QL}8Ee8GzBZQ*^i%^~UIm-x61<XnkfHMbkTc4>85CLI7PvPmO ziTc|$JqrNffU<{rp*-$O+Ie_LJal*ack%OMfZ&u<>z&iV^jA<#+&eJOuZ2yJLF3|2 Uy&F;fi{ZjCaSBjuv7Z_K4;2<HH2?qr diff --git a/src/test/resources/data/templates/NameElementCommand_create_name_incorrect_uuid_parentdevicestructure.xlsx b/src/test/resources/data/templates/NameElementCommand_create_name_incorrect_uuid_parentdevicestructure.xlsx index 5468bc1552b4c32b2e65df699483475d4ead03f9..28aae6f65fcf194764801a1e57581ec672fe094c 100644 GIT binary patch delta 3474 zcmZ8k2T)U669xjICDaglk)mJ%(hbs^N(n}KkzRd3LJ>p|Ls1YSHApW4F;Yc}h$#Ib zVxbENNbk}jN-uxl{qyGOnYpt&d%yGT&YnHH_r68sA;2gD05ybyj*gDP#?zz{EJ_I= z%W8Q_IjU3TFTmPAiVcwI^cCKV7KSzOA4Px~*DHD!d-?~fveRZhEE9~XzGcXF{k;_E zhN+>p%0?0NjRUjon}mwf%Ddv-nX@8AsCsB80d(Sf2j<ckM&s)(3-=H_`vMy}gcQvD z(RSK?g2{wQ=0=Kii{sk5=5F51L_tns#d+Eu0V*GbZU6F*RxCxL(Gf*S;@I%Qv+Pwu zJPCg6MaEQms|GZTXJ<&RD3%YQ(bD*54iDjl^kcDv^I@K}!r`oOQ>EFdC7K}y*IEt4 zzB-m5RT@|@ImC9xZrUIkBmpJdU#J5K@MwcqM1GG{!Of;LGYH$4{t%%`OCQUWE!kGQ ztR4^F!T*%~ApagC++Oc;A1k3@tEc#a>ad|E_)s_()l(FSU|3F@5r29$U*gTVGg<o= zr&iET@Uj+rNMOnKO7V@AHJQd()-TOgQ-aAv<`jVb%d)?ws)r@1_hWS&+<$Rk0kVU1 zqTgn@rT{MW4+dNssDLq1HOJ#seW0AOt#<1dP@xBpObxSGdU6uu?qYGQ-J$437di?3 z87Im|8S<eQWNNX(M{}>&8yK&bv9%@=r1`eH61ILh7w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o6Z-SExpEVqCz1Z3SaKcm zs6kzD%EHq0oM{T24n^GSkD%VwNsRQG(#tsB^YXdF#*0dQVL|-kvnxM+S{N;9^S%gZ zbc!3YyLvr2UQn7olFZt5SYm9-)6T7G-3)KCXhN@3xzJhB29;@<6Jx#RylTljz`Y6j z<7i<&o$Evu^>@`V0Q~lm0jjovZ2whjO3KOG*T4?t$bUc^wdf51Kckksm7+A_x6+kH zgZLUZ`2P(6K1d_MaD!;>o%xPmn`gatO8c7|0H6`hLd$u}`Mn$h|KLo(9cUlia(>UU zWPflN;H9(-j5of1-&LSLI5=eRZCXzJ8`5nQ;0z!N3}d(mi1GOic46-ya(=Clb{(BR zjqhB~=cTg+#Ld~oo!`vGh3}Q414I=A6A1YK<H=xY3J{olt-XKU?)~AG4PFUizMcLI Z79=+A+PWt0-<)6YLl7IzF!hb%{{R)tE+hZ| diff --git a/src/test/resources/data/templates/NameElementCommand_create_name_incorrect_uuid_parentsystemstructure.xlsx b/src/test/resources/data/templates/NameElementCommand_create_name_incorrect_uuid_parentsystemstructure.xlsx index e89fe3bf82e2cd39a83d32d0919496cac8d23473..47f435c451e4127138f64d55cd937bc564fa36ac 100644 GIT binary patch delta 3520 zcmZWs2{csy7oQ9>mKmaHm>FBPXs97+M7B`&u_Q~fWSL(yWJ{z`giO|vC0nG?ShCEJ z6b3(uN)y7*ntfm9r|j}qozv;p|DN;Cz30BWz0bSfd*7?Y=3t>XBOp5rz{$x8aPzb* zhf3`O?s1y(zT<2^ge$<spMpJz_s1==7Z^=6^6SS!>Xu5G)6CB9ip<opw%L5siotZ{ z_P=KW-M#7TwwbtmLyN#n$9i#UYDs&X2VX|GBpVa_8OSNSxowT{=CLqun7V~UZiz1I z<|lhkep^f3inkoLe7Ky9X>eX#(%#4!8_vs0C_MsZin95fSo14+YrFrcRMefPiL%7o zk7W*2h$G{D4?MMCGgvU<;E@?)x#9M=g+^h>1y0fOkGTe7@{fdhf+cSA$Bq<brW9(2 z7@0L1N&n+qXrf-b-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$XupRm%ELC4 z<nP#HHt%L4XNkW*)$jknaj|DOjYL(cK>&al)8BhWi=GGP5+F+FJ7<39goec377f5- zw$Z$r<4zxp4Yb$QG~cCXot;wfr@nAGJpJm~>{xZI`@RiWf{z|TT<PKl2&d?+3i74y zbNO)kE0<}SNwc`Q5vebCnetN6M+X~BLn`>&NEG1myjt3i!$NddJ88h4ah~=tXK1mE zm;H5zx+B~&!-zzT-Cf{L{Iz^j3;S*rw-})=2>PIA1Eg{1B`FCD8!{{Cm)GSIH)-0v zevbV3Ct}!lUYFGmNBc&nYB1y4Ud3;4N^?oDV&8Gps`EV}cwAxtIVCI9_~9OG%Y$6o z5Is`vLsw1~>sVIYJf{Pcn<?>n3-?GZukXmkW#dYNcD5JAov|xOQIBP!+eA>(7Pt#O ze`P-aj3#Jz$WSjlOzT|t?dR=NpWKtn+;sZP*;uZZQ`NE-*67%Hy23=pYRlqZu4_dN z`bXgGG~>&qi<ooh4hrd?*Qv<An~ovik3k0jRBeEH{%zchjPHM63^o{t{{>nhQWpUJ z7$WyuN-@j)mafd&)aSV2{|^KB0cKf_3q)t@*lX-uKhL>UmOtzO01bF<7J=WKKieVr zKb&#A6U(*VoIk7VxsQJgPJ9^)2j_*YKmRJ|9}EEC5*_|KivZaL=^_kxb|@pz6fX(o zG`)a+IQj&hobyx9qw`<go9FI4bg@RcxnLi`EU{RTCm1J`CXfgW`2RJ^@bd(~FX?>s n_W48qAFF)$S5U6s-cNy0F|p^`buRtQIm7Qlc}a&M7YqLfmtP!x diff --git a/src/test/resources/data/templates/NameElementCommand_create_name_too_few_columns.xlsx b/src/test/resources/data/templates/NameElementCommand_create_name_too_few_columns.xlsx index e433c6a758dbf253fdead9a1cbdd3514adbee0a0..bc801b23bfe34a66d0ba5bc1f15d28d6ef94f406 100644 GIT binary patch delta 3123 zcmaJ@c{CJk7oQnR#8`(hGj>8l$Sx#giPsuoY>{4D)`$vYo$O+)A<5W{C5=M%Ey})T zmwjJrctsyNr?>O|@!fy!?=I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< zAE)QB%95^#g0dSKQJ6PIlU|S9dhtmw=UsKjhwAJD9Eg`C!v;742Lj%AotjW<R{}fa zH6WO1wm-LZK0^<Belo0)YPL@+ar=G$L&_}o`ToCg3<N6P;u8NQZ6a{$;cxL4yz5t> zja%g)Kw#j}IJ9~^YKJzI=L-9N-11N_59E?Cz@sjF5HVTZ3a0FTU3@<);=e2h4vCG> z!^Tgz%nK1Z0RFB#us?vUgg{==L(K2YxWCcg28HmBSLhJ)`_<z64FLjS2phaIhnU}6 z!SM$skf4hYKHT`WXJ`a%f9~;q%l^#80wdf-2p-m*i{Jz6!3hd*xE#`$4h#eR_qMPc dq(>$u?XNXq27$Q#$iaJ@u!j(5n&&=<{tNpnr&Is{ diff --git a/src/test/resources/data/templates/NameElementCommand_create_name_too_many_columns.xlsx b/src/test/resources/data/templates/NameElementCommand_create_name_too_many_columns.xlsx index 4853e4b24005aa95e17c6e9758f42dd4c3f937d7..0b16fab92f3d97e414a78775280b419244f89223 100644 GIT binary patch delta 3418 zcmZ8kc|4Te7awD6X^?H~TgEoZQZ)ALF)`K`$sS@xmKsB164{qBS+W#i$Wk;}vt}6+ zWr>irAv=Za;fMG0`F-kr{y68}bMNzf?{m)mo_lVza=J3u1VIgA2hh{g1BfW|a<C{B z^^qoCq`Ck+X?Rkv{M)dlWjYzcqv>p|$^m-|+jHZ$p^KCEg5wLzTduQkBD;DWZ}Px5 z(~y+q*55m-hpLKTVbi6vADmU?n61+s#+W}nTZNo)mIez&wY8qkzxqlV5g?rKh^q`l zl4X?@5N4>t3(%`lJ;vM8tFgpEZ^jN<A6)%aea{U>&)$MBr02uEQ`G6$yxk#_e}(;y zazJNvqmW!g;k1XqJ?A~iT&xhNq-3|Lk&7J$%tUK<_=Hm1m>Iscafwlj-rv35X<?Rj zBREPiE(N5{WMY_aNJVg|i~1on70nG(k~DdvV<gx1q)6VV#e67eQbR)_{!;skib#p5 zi#%Y|R^slezXcgybD1v1)5h@*eXi#PG*^(RaGQ#SQJ<wmA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A zD(2hM>uvme5X8sc;zV`j+a(HfPyDLKDD;>k_(oe9;T9CuZ#VYIVzZpBE1SoR^Z4bY zMG(GTLI}~;xxTPNCR<=cZQ%mY<sV!=+wC@rURx$kg&0hq@CI2ei)=g!Rddx_YXB&+ zXCOJ^4PwJcF=q2oaPz+(o(c(DW^*&n!*#o+tk}Q3Qno-K!~NS|id6wOx+%pK9xt!C zc+AVX3gToIRC;&g(w$V?MEx3s=}LwuiWf)^o{K&F0gAK^TQvuBn=8kF?sUjZ5X85O z$+_O9<D9U~@27{3Gy_qE&&l@#Y1l0qC!i$?J}|a$I<nlN2K>Z<Tf)2e2Mtnq$CNj4 z_1znKuej|d2E*EFp5nIK^j<C!?X(x{=07X9haEe-VvL;Ax9?WX9YmcK{~)<Yx`0{} z-sF6tiX;6`(k%hMTnvDkzgeI^HwcU%!sUrz3pDZ*XknMV0MK996)wFLSnkq$fQ_im zam$Nc2f7Qad<l|qXi{H*mw!7nj6<IL;_27rlHnI#0AL$k%E8TZ(dXCc!SP$42?q2I z1DA-gJ_#uh@PB6*%U?f@@wWlj(UP1zm&DnzrCQ(5W0><4{7&40MsRXpzH%}r2k8MT jng_)4|0rh2j1v;ihu*yc05JbXF^Jybgi>PIFTno+6(I}4 diff --git a/src/test/resources/data/templates/NameElementCommand_create_name_too_many_columns_uuid.xlsx b/src/test/resources/data/templates/NameElementCommand_create_name_too_many_columns_uuid.xlsx index 316b20d5eab1e30310d617ed5d6db8ba267adf45..8418032a4634499e5a202f0a25bef1e76394d98a 100644 GIT binary patch delta 3412 zcmZ8kc{mi>`yU!(%M!z6ZS2NOwwRDfvXzNJ_G#?0jY1~*p}FGP_pwIeijm5aEh^NA znM?Mq#;&rHeG6aQ=lMO|d;WNr&pGEk%X{AUoD;6`OoPJ&eF_K$u&}TI+PrR7a7Z$o zI^vZo3>O$r1kY1T{|HzR=SdX_&y2OI0PM|e&y3!anja4ii7&38+~VfPw0AqW3#x5q zVkQ@xf9+@<Y9cwrOcx~ncG6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7%Uo>l50r-kmgY3YO1bmwGpSl-at< zx_tS_8uxhh4ThypPpjNJ6GG?=8QyGlQrwVDc+8lro46XFskoVZU(A^>-f!SsbRrTa z*_GJT#b1fv4e8O-sPg?|Go1UN?S!YT$KFxM^^Z*=?LlQEB<9U*8N;mdr)BIg&8z|2 ztVl%v(8u*%J1+7_3rFqh_FC)B?~GfS8Z37R_IF(SDn!5LUZ}xa%cyx6lD?k>p0vOi zk^B=76#yW^_Fs1~g9>2mZ+7xR?~|?Nn;S-~9`kvpm(Jpij1`M^An#u2To7!V`nqg1 zU+Ht#mmKaVN!FH`FNe=X1y)ZA8nQ(5k2JF)rUgThZ&zudD#NvoCgla!X#L!*7NHBK zOLpkGN{TOnL}6<8>m-rUo-iGmpl~WINkI7?<8-CvAg!CH7dz(kmcq&-Tv$b$T)TSb zeMhfn*X})nhGXTC^I(eT+isds2lNC3>}fN1g}*fecp%f<03+=;8Okg~Uh40k3A7*k z5TmegwVNj){e!fJcwnn2eW@rlVS#eDvXU;GUR$E=uGnJ+F`n)V{424aLpcx3qY{_X zVq6M;yj2=J)J0>8>Zo_nKn`o-D!f$H-;6yfkt)BK{PS~&!gWi%>iG<383SvPf?$rf zyTdJ?UD`%wJ8m2}lnnHb1a=(PEgpQ~B=WdsX_mg;gFM<R`$@(;clfpE)Kskdh_fpy zf$~3lZUgu&F#-TJyR3r$#0H#fljom-UAEzWfNl=OUjY7uL-ky%!IaN+5bOr<47d3e zaNq}FSI$8Qr!MFhc>d7gk(?^_zpUSH%Co_KOPlln0NP9Hwy(Fhi_g6P8A-Iam#Gm2 zB^2=ge~QiT2Z!^wz5u{Deuq<(=hq0oFO=zDZ3OYET)gLVv*+TZsK<wJ@tj-PT%43! Z7x6?czH@Wotg;9HoeNHr#__BF{{Wcl4L1M) diff --git a/src/test/resources/data/templates/NameElementCommand_create_names.xlsx b/src/test/resources/data/templates/NameElementCommand_create_names.xlsx index 29185eabed54c2f3bc9795bf55d178c1980bab8f..c5357b75b3dbc1b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^54 zi_0aplkhoXN$}=WYeaYT>capH)b8%F@6^Z(;6j4sb_KV=bC<)?3PBkE`=hkhaqisO z=MUVz$zJ3V8Fz8S(h9h*QZ9fq6IL|cLT_8`o8p|AKhqaa1_ZrF)V}Lujy|LTiM%s= z*=BH+S#A{G-wp>ac;$5}yg+3}Zz5`#2m`#3@_l*lYz|kMX}76$eVV}>eDqKx@vtBN zvembZ{dE0bM^1@P%|ZT*Q%RuzJM#Zf1J0k+pdpm!clJWc=6!XLyoB%#{-z1W0vf*z zq$mOH1NlS%ejv95tieC+sDJne$rh${;7Nv=Kn^_re0roeFm=~oravR+uX+D16vzQV z@eK6$_YSxks;YF&A7g6;1VI7+WLT&_uaMxsU4Lo?q#!|g(O)zCxo58bv|*5%1;q{) tI4vj$yiNKlD0)zX2?+veBn=^ngPOCDAm|<+3D3tvA_{S`pap)7@jn^hO(FmQ diff --git a/src/test/resources/data/templates/StructureElementCommand_create_system.xlsx b/src/test/resources/data/templates/StructureElementCommand_create_system.xlsx index df4ee25e05f030bee11b79506787baaf0d877262..9b013d4318ced2a47bd1347505fc9bda9d8cacc3 100644 GIT binary patch delta 4310 zcmZ9QcUV(P)4)R#dWTR02uPJ8Eff(EsnUxS=^!PM4$?$#=t$F$AXTJ;Gyy?Glt_?X z3{?n40w}$RD80PMeV*^ryMLUsv(KE_b9Q!rGjm3j(v)b8^*~?<fP#Vou;5`<ODjME zI=k1&k;npncQAKB;z$I#fq5V>M`qo%eBxG?+&Yc~WN{qfSxS5St4^9>sk6j2B~AA# z0gGLn`Y0{*_~SNhA(2N<6a2){_p5q%D8FgzHpLf7woM~GW6mvz3C<5JR!Iy!lDySa zuvgMz1^U=x4yLZ^rGH+E2Feya)`)+b*&XeolbzqEVy>HHigZ;=y3ah58%D!OH;<|& zL?TF;Y8S3VVkE(~+c4O~f*A$Zbg@oy>g9|(@ghI%^`FyXR43%B%b4RbiIe^TOF+LD zJUEpCvW>CIM@|Y@R2xeV!^L`kTs*A+DY_?v=orYT{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gE1rI?7Z2~dj)4z)$vM;8Ctd`|TClky6K9`Dfa5LRD(VfV#Ls#SY&$v+mtMz6 zJ3*6cBBNfG?e}cUWZRPGsM}n)DGa#Qs^Dr~te+A8dR$r0uo}|%0KjMF|2!^a_jMiw z79K559f`G9KBFX*a)mw^Y&wxb@_ICFR}1q86_vOfe7K4v%yf6{>W)x6sR{Om%9qQ{ zJPdsKK~}3Uo8Y;+iMH*!^PAlGR34v!z`?H?s`@EQ163gdF%E_G`>tSodfrzZ#P0nu zgM;)R#I>K!M6ZZ_qulA$bE4Cv@>ZunFetVGbNdcrgp}<3)*3+MBWbYF^b$s{k<qCL zB|(A7=SoFITBtEaNVM7RF4Y^qb<=C9M7!3Im8IJ<vW)Xh$#X{V?_Ufy`d0#HQ<=3F zs<i=vFO9_=qMV!_C)wfKqnBbbi7wt5tWYfbjs!Lyo(n3)e|3Q~mH%^iGx*g$BDf*l z@HT5iAM0)#Y3ZoVlIGpAD9HHv#;MCqes$)uRdM}`W^Fz%1($;(jOTsuSa4Gvdcj0+ zykSpnX?NzI<L?we14)XGX@UB<>k)!iZ=S6%{7QN-%gua~pNjVQzn_{V;EzEKz&O+K z{aYX;(|`Qkf4eZe|93;03HrMa_hFKw{MnCN{(nD%e8nWn@oP(?F|(xOXS}kXCvpD~ z7XYv#LV6JKB88aAe*^z4P#FILdJrSSh?$W-%;dihLokDZTOi~Ph~@u$|NNh6|MDfE zK&~-!vH!Zsp9)U>7svw13uga~`ICs?zc7JFC$P|O%%6Fq`3v(MSq0|!eaH7;FkU?J hE13PaMZp5bdy5og;reaq|FqCZ4;DV6drZIF{|BI{vhV-^ diff --git a/src/test/resources/data/templates/StructureElementCommand_create_system_StructureElement.xlsx b/src/test/resources/data/templates/StructureElementCommand_create_system_StructureElement.xlsx index 950faf239ee29b7edcc642278a3a171c152f3baf..f0753712fc1fc340af9136b851f0eaff5294baf6 100644 GIT binary patch delta 3088 zcmZ`*XH*l)5)L7hAiW6*F-TL2NL9+kAiYZs2v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$SHr~ z0DC!=P9*}Ra4NM>#&pMitN%YzU_MImG%|rgQ6Rw`lrYap{C8?+h5SAQK{YP^Qw%uf zl681|u0QA?5XRpjkY?~U7tbl?_xpnS7iI@+<N5=Bve!v|;5rvO1q_6vc~1``f<{qf mfVya&Q_JJn>I3hh&!1XEGzv=K00%hOz)3VCbpYqdvi}2f1Xw-* diff --git a/src/test/resources/data/templates/StructureElementCommand_create_system_different_column_order.xlsx b/src/test/resources/data/templates/StructureElementCommand_create_system_different_column_order.xlsx index f789a9e1a2e0fc3cdb2610f371d10313599f32fd..7baaa52d3e7865bb9e7c383d414491b14536dc14 100644 GIT binary patch delta 4390 zcmZ8l2UJr{(+*%lq$YGolp-BMSE_U&l+Z-L0vLL)(!oeaxfuRs6+r3xa_i*)H- z3<Bn*NsDyFAAHaGKXuQ!_s-dUW_Qla?6W&}OZKHKwSf-V1qJ{Z3<i94zF9@hO+t3| zt&t*;Bs~|fPGlSybN4JUh7f#3<@aV%0j;TvD-C+j_9bpP3!*aj7s5!&PL=D%qE3%z zSis+`*Q>R4cye9X@!ng#RVZOiKA1)uby_U=a>qhzG=OMq6TvLrcn^VZ4p(;UlvD?H zi@&T2<Lk{ru4XRA(OFaLg37JToXndJ6rQGKaQbiv4h&*+MYz>wscb)&Xj`QU=va+s z9i6sY$9QC@2M?y{3MI#0of6O9gLn+44>;V7fYd**=aMv1v`*y79}bf8SEM<;-_cm7 zNB1Sny&v(MECo3q3R9<^cdzD(nm;tAGv(KeAD#`Bq{Q*0^kpnKprGka(GjQ3qv6b6 zOMNJZx9>5&n?Ry;g1M>cssrpc$74a<)wEzo(DSbqYke-1Zr5sc#yWp+HYC5Gu_Kb? zIqJ>}aY}l}H1v^da3n*G!HFxjj2&>pNHlE--J3=-Y|P@ltj-jMLf6_C3R&vTZMwxv z)1xBZc=0bcbyp*=Kfx2fRve&4QK#D%cI@ucG)!PV`I;B`J}Ql!)InpVbiO=FLiK>< z3ULcmcuIwI)g@zT_EeA_*ElfD2<c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ylh<;to57R_~CUZQpEK%~fgyqbjg;+uPWidtptzU4tSW^}0vd50vp zT&JdyU7ZdMs&>r#V5IQrO<;g7eyoM2RUHf1i%`{m(NYLXTM~`>%u@cko#?ij>~$@L z+PE0~wJrvhEspK?R$r=XXIHQ#uYuXQOqBd60`q}5S@TKOK{%F~wolsNk?4mF*IR^Y z3fLH837O|gWM@A(Cc3}=yr*}LfJLhkNR==?@L|hhNwgeSwuGCU9n+q)2AERh#AqD8 zp^<-Q0lqHa>FSm-+SWc!lU4rirS-9TGsn%+hEl(Wa@;GPEvy2ZV;-$b6pX<66F7Kb ze#GI+%uwdt!3@Yx(hZ3n<)D5H2IXy#|3HRp{v+__{=4gx0{yp7^2hOz4v^q6xm2;i zm{QKIq)opU*6ceHqog5;U>C$l+TQdjA8@(KB&1kLl8=U$n)dj=Y3;8XfvPHyp6A~R zA%|h?chersIQ;JoZD#oI<~@d4hT^h`H~IgT2R+0r`1{d0GYsFF80|^Sjh1JDvj0N; zS(`BZQH_8=o+RjS5*7hHO+0)$(Et4`FwxyP4*GBj<h~5_k|BQ#0w}tYh4;7BKa(`w z9}p1e3OSmMoB>S*gR=c{|EH8w{RQ+y%fi@xWBw#0>@Um{bRdl1>X)5Amyh}{48^7Y z`yRG>ULKy_!nPh>c0vJeuK#^0Wrhf%lgnwDmtWxTFtBJm)_=p8{R9e2yTt5X9<+bC km_*C5a{LZ;f<W&{(xnaE%gppQrUD(tdYw3&`Pan%0h`>w;Q#;t diff --git a/src/test/resources/data/templates/StructureElementCommand_create_system_empty_uuid.xlsx b/src/test/resources/data/templates/StructureElementCommand_create_system_empty_uuid.xlsx index b27e3424b99410f9d7ff6c72ecf0155f5c88a76c..c02d179b032e8561518d9e604418246f7a0baec9 100644 GIT binary patch delta 4242 zcmZu!2UJtd)(rtd4ZSBwFVduU1f=&SohTqJ^dbaB4N|43fkZ%%-lU5t9ZV?F1?d5i zrt~6G6@iENukZQ2_0L*!@2pvS=FFXQ?mlN%D{RYyO$`W%7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gSOuNBZ^ZA>{3j^g8yZ~i87yJ(h+oJ;j diff --git a/src/test/resources/data/templates/StructureElementCommand_create_system_incorrect_ordering.xlsx b/src/test/resources/data/templates/StructureElementCommand_create_system_incorrect_ordering.xlsx index babc745622c370465c7e9f34ea747315a55e5fe0..0aa6a6fc499083d07548c7d76bb9dfe9c9bc1d87 100644 GIT binary patch delta 3529 zcmZ9Pc{J4j_s7Q=6ULThFk|1cW)ek6V(e?O6Us7Urx>)1gtFBzqRdBjEo6y?_!vth zTVstOnL+j}l_g{OO6UB3^?CpCzW3bM<D7e5_r71x`+jw3WNNTmnKFWS0nE(IfGt0p zN_Hs*#sgcW%5V~R==d@&|8|_g9EVGI|04=m)1WbRF49Ul*R?scpZ2#`Hjc=J!7-+O z^?L(K6{npF6(x9|r=<(e4zJ(_yX>q%+Ws8()lcqt&%i_DJK8hTA~hxW_--s4;(Irl z$)MsJnwyQ<N)whhEzzwfF2~^CV8uH3AMK?s#oe%D5+7v*l+E1A3kwql$txHo4C-IR z#@><Pf29x02!%g0;g0=UoW>L)a0x7({|Uo9{7p$ff{Zo@MA~J>`W=yA(Sx<vGrhc+ zv=K8Adsli???r&t9j>74;<rg33?rm_3auoD@n-4fs3}FC<|SFO%5_tB=`?cKx=6Hw zQJ|jS&=Gh+jtq21H%h}R>wP&;&o#6a%gf*zNAxuRQPa7wj*kH7mT>e-p-w$zDL$7c zSAWd->}F8@qL;s7X|qoH(hzmbCT>JooRlR#)Z$2UOPkc}WHEYO3a1r}D1+!g{iY6> z{GN1^g97fF^SM}z)Ua@&0YS|}Y5>H!`O>$isbkwJ5VQzDbXfOPvoL&Op>$#~Tx*|Z z<1N6re3j$S*c15T6|Z+2K~0TXn+^8joni3;I9?>p{bo>2jtP4<W=_o46oS(0&FZQ+ zI!U?57KlpptU~;-d++j(4C{oR*m&yMtXp4+Q45APIMO9>#MXF*H`<adz0L#Zuw_ws zd}fbwO(m&dehAslJva?Hk&M;r_2H@gSZ<YM*I%J5)PwOf6c`x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~!<3(kjwm`&z zy~4mRV5QLk34j9<8+#S2nPt(YVC8B?Y3rZ6l&+v2<5B`dA2M}JL`=$&TV69Ao+PDc zbwK$1sX-JGI+@>4?YxN`R-dD?_ddp0TM6{mO&L{qvasUnIW6NZ&^(^6Qow=2-BEFe z1k?!;VtaMkqDhm{!V>o>LTw@$V4%IL9GzF&m$NtAKOGo{)8P8&B#dU)JhpuncU*Z2 zLKTja*k;@qoNnd5ZB1#7jTjz1Svk5REuaZ1K5%$)?EUx_UVY%vx(jYk;pvX2gJ@&1 z5f;<35#Q+8IE#}d2RnlzDh%PBNyoAZ~Le+L?U&FGf#uPTQ6w~<xB7^VM=0m)3` z7e5ha=HWjEIaZn92FyKHg$r5EDt95*S#Q()vYY>Zw7_VB{<y+HY=pCzCm=zN-+;fn zCy?Opb%0p`@myg3F0XWdLkM&+{A?T-n7>)V_8*KJ#)(bn0`vC+>HmXS$Gl?Wytw!X l8yjH=W|NKMLZbn*5msS@z}y#_{x1!M@c{E*vSR&x{D1VcLi+#! diff --git a/src/test/resources/data/templates/StructureElementCommand_create_system_incorrect_uuid.xlsx b/src/test/resources/data/templates/StructureElementCommand_create_system_incorrect_uuid.xlsx index aa0029771fcc899724f0a67ada0984e95e2b2812..91cbb147ce21cf82be8493e4d3caf6e8d5e47a5b 100644 GIT binary patch delta 3531 zcmZ8kc{mi#8()@nu5+#2ck9e8R|>h$mHWPL<=CXQtelImEGi*kZEkW#?nIHZb)O|i z#VT^gFM6KeQ{VYx-ecaGXXbrpKJUEaO3#(RrUpPV2!N835&-bORt**;0sf{nawM{( zXN)g!;}2s8qB|SH`csIZ3~o#-GPDva84#;Jem3v=j6GOv@N-bzPrSwr?Q`C#FVLoi z`evcoPHmcIk_H|86J5&-XxXkCo~?Xd=TPAyj~ZZR@DA2+#m5KSi^c8fMCfq}p3w7{ zD3YY8Z5a4sGv(_3Q|$c5D9oTJ>?#t_PUsx0yHFW*1*ar}$wH&j0*Bl+pt@aV8>ANc zkyW$iRlHfol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LEaz;V8 axqz*h>)d>2l<jXS6BEQOMB&2m$NYca#BZVi diff --git a/src/test/resources/data/templates/StructureElementCommand_create_system_incorrect_uuid_parent.xlsx b/src/test/resources/data/templates/StructureElementCommand_create_system_incorrect_uuid_parent.xlsx index 405ce3397f5093d3ffc772f6652139fb0d7a4f7c..d3f8c4454cdec354322c23107a48ad2c170bd3d2 100644 GIT binary patch delta 3480 zcmZ8kc{~)_7azlnJ%d3ESt7zjktj=J-<PMxo_!f+?8{hcWS3+ZOYtQ8tE}0{o)Fo` zF6%?c*w^A0eLnB^diRfe&OPUR&gU-Ye9t}aWI|-<^|i<;pa3c=DgX#=SW3@NM*fqQ zNs>tb&lzX(^<Rt`_`<o0fTk3|X}L{ELmEiM5btG_i`>>bLlc#ip$X7{bkrcc<d$iU zC?E87LL%4F2nj#bg*2d$Ltl6%E%Du95#|}u*`AW%e}|8SC1_oZ(6>+3OOY3JXTMPn zKCSmq5B1@?O$ea|$Mfm*`APg*cn}iAJ5CNLT6~o0<HJQEETSGgq<jw-7J7y4oiazV zC+sgxrm$~$2_TP)55NLhlYUeqTkwl~y(m>z6=X`73nd@55=V;>sPJCQUdVJ<q`<h+ z8;ooy#4SCqHKs=mEATl-pKpYqov7n9FY4I5Ce(W)P|Hdnq1R{kQm}}+s}ehr5|*8D zh4nikK*m0`qZp`U;rRgvC9?>xwA0zC`n0l3zyc6&FAVTIN##@L-OapOC#WI6@0PV{ zj}|RxR!CeU&P*7FkBad&r1BD5OlB<;=I(r=R<9_4&1R2^Q5*x6n>sm!PXwBbMeyEc zcf<VnN4RoS({5Vx4^lAf7dn4#>O9hSrC0@scN%;yrzV@E9{YszgKSPNMd*U@SvRh+ zhFvG*k?cS2xivM)?$;afe)5U9h=;1oT0L~D%Fv`w_gm(1)}nP%>Pzh^VVoO_qH}e6 zVpk@<gX}Q>^9s$h63<k;eCnfbl>sYihWLgDVC=zEvI9zwF0s}cXndesdTsG!%=<=6 z_E(}xJJZkt?e(WPr9MaI>fvJj800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9Y5^ArUIf_2~quOn|Kk7;oI=PoBf?hM(aCn8d^sEjPPh~Uc@ z#|t5-OGHFoqb*(0M6ck9xrA%_>b$R=-b9i1re__OYtJr<g%0It=B>u0&LN!<-i?wp z<Q}Q!F#7mnY0qEKom!yyOZf$}pi`xw1iq4`EUFQss<jM5x87zZ{&j0Op^+39wz$3^ zcgOuJ8tFX`)C8)r1SU<18TA*bNPJMvinzPjX!@vpFAZIh(D2Q>X<)3ycFXA5m5RKj zsJ$C?lV71A^<H_P9jWbv;m>Ekw}ajt7yZn~IfZL~=330Zq0Rgc-u;)@02LTcvA=Ht zf3Bh9@5ohX|6hX$kK&PmXw9Q~%+q<4kNHO)L&zVy`9JRqB9iy7%Y~N@I0+`Mfcd2` z1~fnpz<<9z=Eq?BXW=8PJ;L07Xq(v2D<XK5@qdRg+dlz+BpKpKKEdOd|LrEe|BFEr zjrb%%M|qA8PYmJXq8TKn@xhKaUB|~q<3JqY6Fk;-|7cH$oczMankqjZ&<jemhjJ2K M`PokB@*Ji857yo|$p8QV diff --git a/src/test/resources/data/templates/StructureElementCommand_create_system_too_few_columns.xlsx b/src/test/resources/data/templates/StructureElementCommand_create_system_too_few_columns.xlsx index cac4280d03ccbf24f7114571d75dc1ff97972036..87ceb370b73f631630836108b04806ba6bf56814 100644 GIT binary patch delta 3185 zcmZ8kX*3jU6dp^AeH$9P3}HgPV(gJE`^Yi|QMR)0j4cx)YxNnjRkpE{ElZJz>|~1! zVVJV-`~IPGI`zGO?mhQ?&V9~(&OP_O?;h+Oj7Cq3gcJk-0)YTtCxbE?J|dD+TOm$# zo%q~wAldxoSd!76Utv7Rub?MfM`83q6L&AoX21(=g*2wI<xyQGLqzr*&2yBCu`F;F zhA2agj;9;LE9&#ci&nrWOFy^f>9yM0m8U3e1$kq+Zz28KQGQ@}jwOIMF+Q?e?r`6C zBZ!3zM}Lzdk@zQ`%WGHYfd9M37FG+u#Pg_kqf|VnK8E*Iq8@|%zi0{Im=LxgqA?q% z@*bg>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z+M6B_Qo=z+{x>0k0S(N&h@Xp5j_>W^JDi1o;HP0i;Pejzo(H0KsL>FWL!AIIWIwQ5 z{=IDRpCGCtKP*PeTfsvI1(rBSD)iT~`Kbo*=LC_5F~2S--rr*W#77Gr6a8_|uWSnb zEry;0-zzA581!qu{UFwVB!Lruhx4cm8bwFX3;6rTVfia0Kicpg$-)~6i5_0c>gY4L xec;GBfbRFqGQ9W{A>l&+YK5Tmj(m6xK0eNW<-o5TxYYUa98d`+5adUK{{s6Sp5Fif diff --git a/src/test/resources/data/templates/StructureElementCommand_create_system_too_many_columns.xlsx b/src/test/resources/data/templates/StructureElementCommand_create_system_too_many_columns.xlsx index 1af2f202793a6b0bfd72391c40f12f892aa270b6..1638a2572f24697339226cbffae4c5e871327e02 100644 GIT binary patch delta 2943 zcmaJ@c{mhm7oQpX)MOtqV~m}|O!n-OEhQP-7+WNfFo<NC2qk1RlC`+D?1`~tsc90j zX30n~22o^Gu0g2}J@>o!yMKJ=pL5=G-se5<d49k5yyv6NPaTMj6&t${fSa2epy7|H zgUA5cc67ZuPz|(a__3}0HgKE=euw<IjM)fmL~Bgo0h0h;lMac*AKLq|h{Si|iSKxA z#`7spulD#1`Q^nc$|t#$IA@9SD**X0<Y3xpMd3x@pSJnqDI~2-i{lFg>*&C|6(m;n z%lCZ_DzPhk(|p_~$&Clo2G&k>f0IPH&zyL3hxOuUWsJx5s_c02BMkz+#u#00QBo=) zyz-7a7TgqbYf~`ddaf6^PZ(@c&Y|3UE3!w$tul8)JtJ9o91m)=x-XqqRp3m^$TO;Q z{xr~+f$!l5>erQa6Iv|d-1*b*4yzf_H0|#4e)1gfEXhs~FynE+w-8SZyz}`Yws6lu zZuO6gD~$|Q*&tTMu~&#u=z|jWB}E`XCAblqBQ1?Q%N>29c-_4Wo8xF4M6OPg9rQLP zE}1i>Z;hZrw!hCZQ+iN?1uhAA-io#KPKC|2n_5V#h>nN&#-d*?%?_W<BKk<1fe2yw z#F&_&fPL;YV^t#|ic?5}`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Rx7y0{r9=y~TthuS7hBfpML z=o-zaUJf}+n{3y`niV75uTl9zd$9CjC0?}w6_69L6UzF{VmDH!>maQOgaS`n?xnSx zp#S{ze=FQUo#O@6BZXyub{!#*v4eimRAl(4LISF~ufW?tH4bDpRP8`gpclY<dYgY+ znK1lunEHXm9cI9>Z#gKh_y(A|#Qxi_8J72d_4TJ%z=K644luvQ2<$fu6CNole}MV* zNPNFxlJNvlNr!!3v_SJv`kt*|@94k#f(iowuKt(J1N{Snlw1M=6vKRd%#lElAmIPK yv(4-{ASQQj_1fML_|1bQo=@z^!7e74%+oXWzHYWxFMh`y$6JWWu+k6jFZ>5DEFvHP diff --git a/src/test/resources/data/templates/StructureElementCommand_create_system_too_many_columns_uuid.xlsx b/src/test/resources/data/templates/StructureElementCommand_create_system_too_many_columns_uuid.xlsx index a50491adef9f45ac5269d3589602a3198fed2776..e4cd24426f50ec45a26fccf9efb614ae521ecd58 100644 GIT binary patch delta 3018 zcmZ`*2{e@L7oV|?t&kb}P?m~eWZ##3NTi9zUMfr0VGvp07)y+;M%kl`vCJULpvaP> zX|g3-lqG5kBT>Sq{?hsX&)0X(|2gM9_j&I9-S>Ik=Xc+G?~-n!9v{kzl}!i)fj~fL zf4e$9SupFaY)}WQvFuHJS((2lE*$%QoBTOVSOL~78@s@LrkMSv?NUj9Yx6q6lcpq- zruL)8in=-?X_p6m3lokWPH`=B&J`6n0_L})29Lk0y6Xr2YFjjxM$o!_;;#=S-&6t% znbJ;jtJ^&G%5hBoX?}<`wMitifBn?6wS!2v*^{F;H=gK_V=v$+c?puo8U=k!?DQa_ zgmfUBeACT|yE!&>^FRcyz@7UAl-snDU5TC=MN>XcE|^fy#zV)jEKOE-WC|%I&g0pI z#&yo0`d?&YX#!w_I?^-X!HIY`fg878su_=Kp1rmI)204PWqFB$=3MsJ2U#ckr!KFG zeaNww|9sDn*)*pr7qn4z{5kv;thkJA@hBKj4sL?w%g9Jygv6XAese2#%6BjcqE=_h z4S1SlEn2L|qz)r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)l=Doe(us#x#J;9|IV#GweM4P|;W>xmk*B`bK6a9sbf@%O{46#$94oDS#G zwjryxvpv}9mwM3=7rv*Rdh0Gw1NV!TiUxy<%AS&6ef7AOqJGV{7q&UA@Zd>1zKpCt zzM)pU>Sh19t-`Dn5;=Y}xF6F#qRa=QsI%A+dbruYBbnjaeTPoJq)KlwKPYUeEdO%) z-#zZI)A0cs&4f<;oI4_fsfQEeO_7nG0(miw9|D}6*!e@6F9tiL<6_sq2XgDbhnWzZ z8dUR8;{(;@`k^^&us9-A6ZM1pwZ`)OufzT%?|A`$5HDp%UvF<`pTGcBr4Vl~Q)3{D zAmINKt@W?b1O10J2xlg)Aob&hUq5^FA7@f=55=Vq-_|J(1xny1#ib6py#vk?Cn6zp U$X%3x0+nz!67uX!(I4jj1w5KG<^TWy diff --git a/src/test/resources/data/templates/StructureElementCommand_create_systems.xlsx b/src/test/resources/data/templates/StructureElementCommand_create_systems.xlsx index e9c4898620b30b3cb3987c8471fc5ea2bafaeee4..a90e58144e771d9a5ef2ad78186d5fa80339661e 100644 GIT binary patch delta 3570 zcmZ9Oc|6o#7stm~$G(hhhU}!sHg=L_$R3*P*)#SfTR&+~V^_?Gvah2M$xe;zWEa_z zea#vo6CUaHJTK4h{&ViR=W}1L`#tA--}m4YX5?vZ=@OHG0TdJz07`e0avFXj;xk(T zBa#B1Ph5#N|4uB)XwO4fcXAPw*Q6Z%hpjStzZDm^kTLD`+jkNb_N#9|$bBY&!Fljc zylT-`w8woO9n-!x)NTK=!XwW=w7uHf1I0*zuH*B2CKz~x`<JR^eLZ3w89HE-eH&Yb z-3KO<7)mELiOj^h5bmK9wiD*{x}anb&nIBGUf+hs>)#VTj!6mNE{1-THrZ7PR$=4q zE7ebXNL9xkCP{V#PU#B4VHLU&Za%c+&m16$mY0}?yKZaqQm9ilr+|8$dVhxZ&$R$I zct#X54Weomby}A7$sP*FlcXr!$%`sPAX`M7`_?b_!xV(xf}@vtQFN{H{53goMUSHg zX^GWOxJzD0!d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