Fix RSQL filter for no target tag and OR (#1824)

* Fix RSQL filter for no target tag and OR
* add test for such filter
* Clean up the code

keeps the legacy Rsql Visitor which could be used with hawkbit.rsql.legacyRsqlVisitor=true

---------

Signed-off-by: Marinov Avgustin <Avgustin.Marinov@bosch.com>
This commit is contained in:
Avgustin Marinov
2024-08-27 10:48:55 +03:00
committed by GitHub
parent 55cc600114
commit d9d4469a95
9 changed files with 592 additions and 21 deletions

View File

@@ -42,6 +42,10 @@ public final class RsqlConfigHolder {
@Autowired
private RsqlVisitorFactory rsqlVisitorFactory;
@Deprecated
@Value("${hawkbit.rsql.legacyRsqlVisitor:false}")
private boolean legacyRsqlVisitor;
/**
* @return The holder singleton instance.
*/