diff --git a/reportportal-common-api b/reportportal-common-api index b240383eba..f65907e678 160000 --- a/reportportal-common-api +++ b/reportportal-common-api @@ -1 +1 @@ -Subproject commit b240383eba796f6b89aac577412b98ace6a09fe5 +Subproject commit f65907e6780701e5cc99602c6f16364ff5c5ebf8 diff --git a/src/main/java/com/epam/ta/reportportal/core/filter/FilterOperation.java b/src/main/java/com/epam/ta/reportportal/core/filter/FilterOperation.java index ae6cb6df2a..5d95615928 100644 --- a/src/main/java/com/epam/ta/reportportal/core/filter/FilterOperation.java +++ b/src/main/java/com/epam/ta/reportportal/core/filter/FilterOperation.java @@ -34,7 +34,11 @@ public enum FilterOperation { CNT(FilterCondition.builder().withCondition(Condition.CONTAINS)), NON_CNT(FilterCondition.builder().withCondition(Condition.CONTAINS).withNegative(true)), BTW(FilterCondition.builder().withCondition(Condition.BETWEEN)), - IN(FilterCondition.builder().withCondition(Condition.IN)); + IN(FilterCondition.builder().withCondition(Condition.IN)), + GT(FilterCondition.builder().withCondition(Condition.GREATER_THAN)), + GTE(FilterCondition.builder().withCondition(Condition.GREATER_THAN_OR_EQUALS)), + LT(FilterCondition.builder().withCondition(Condition.LOWER_THAN)), + LTE(FilterCondition.builder().withCondition(Condition.LOWER_THAN_OR_EQUALS)); private final ConditionBuilder conditionBuilder; diff --git a/src/test/java/com/epam/ta/reportportal/ws/controller/OrganizationProjectControllerTest.java b/src/test/java/com/epam/ta/reportportal/ws/controller/OrganizationProjectControllerTest.java index e8c50aaf13..afff844f74 100644 --- a/src/test/java/com/epam/ta/reportportal/ws/controller/OrganizationProjectControllerTest.java +++ b/src/test/java/com/epam/ta/reportportal/ws/controller/OrganizationProjectControllerTest.java @@ -66,6 +66,10 @@ void getOrganizationProjectAdmin() throws Exception { "created_at|NE|2024-08-14T06:01:25.329026Z|2", "updated_at|NE|2024-08-14T06:01:25.329026Z|2", "users|EQ|1|2", + "users|GT|0|2", + "users|GTE|0|2", + "users|LT|3|2", + "users|LTE|2|2", "launches|EQ|0|2", "last_launch_occurred|EQ|2024-08-14T06:01:25.329026Z|0" },