Skip to content

Commit

Permalink
EPMRPP-97869 add filter operations GT,LT
Browse files Browse the repository at this point in the history
  • Loading branch information
grabsefx committed Dec 11, 2024
1 parent ac8208c commit 4f36fa9
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"
},
Expand Down

0 comments on commit 4f36fa9

Please sign in to comment.