SuccessChanges

Summary

  1. Add QueryCriteriaValidator to search (details)
  2. Minor changes to SearchCriteriaValidator (details)
  3. Let the QueryCriteriaValidator actually just validate a command instead of also parsing it (details)
  4. Remove pubSubMediator from QueryCriteriaValidator as it can be created with the actorSystem. (details)
  5. Rename config key for query criteria validator implementation class to make the name of the config entry more clear (details)
  6. Make DittoSearchConfig extensible by providing its current config path (details)
  7. Change license header for search query validation to 2021 (details)
Commit 059b1d2ad7c6144d644f91496910c8a0acbb63dc by david.schwilk
Add QueryCriteriaValidator to search

Adds an extendable point to allow custom validation of search queries.

Signed-off-by: David Schwilk <david.schwilk@bosch.io>
The file was modifiedservices/thingsearch/starter/src/test/java/org/eclipse/ditto/services/thingsearch/starter/actors/SearchActorIT.java (diff)
The file was modifiedservices/thingsearch/common/src/main/java/org/eclipse/ditto/services/thingsearch/common/config/DittoSearchConfig.java (diff)
The file was modifiedservices/thingsearch/starter/src/main/resources/things-search.conf (diff)
The file was addedservices/thingsearch/persistence/src/main/java/org/eclipse/ditto/services/thingsearch/persistence/query/validation/QueryCriteriaValidator.java
The file was modifiedservices/thingsearch/persistence/src/test/resources/test.conf (diff)
The file was modifiedservices/thingsearch/common/src/main/java/org/eclipse/ditto/services/thingsearch/common/config/SearchConfig.java (diff)
The file was addedservices/thingsearch/starter/src/test/resources/actors-test.conf
The file was modifiedservices/thingsearch/persistence/src/main/java/org/eclipse/ditto/services/thingsearch/persistence/query/QueryParser.java (diff)
The file was modifiedservices/thingsearch/starter/src/main/java/org/eclipse/ditto/services/thingsearch/starter/actors/SearchRootActor.java (diff)
The file was addedservices/thingsearch/starter/src/test/resources/logback-test.xml
The file was addedservices/thingsearch/persistence/src/main/java/org/eclipse/ditto/services/thingsearch/persistence/query/validation/DefaultQueryCriteriaValidator.java
Commit 5024a29c8558d7a93305edc5e64e1021e23ee73d by david.schwilk
Minor changes to SearchCriteriaValidator

Signed-off-by: David Schwilk <david.schwilk@bosch.io>
The file was modifiedservices/thingsearch/starter/src/test/resources/actors-test.conf (diff)
The file was modifiedservices/thingsearch/starter/src/main/resources/things-search.conf (diff)
The file was modifiedservices/thingsearch/persistence/src/main/java/org/eclipse/ditto/services/thingsearch/persistence/query/validation/DefaultQueryCriteriaValidator.java (diff)
The file was modifiedservices/thingsearch/persistence/src/main/java/org/eclipse/ditto/services/thingsearch/persistence/query/validation/QueryCriteriaValidator.java (diff)
The file was modifiedservices/thingsearch/starter/src/main/java/org/eclipse/ditto/services/thingsearch/starter/actors/SearchRootActor.java (diff)
The file was modifiedservices/thingsearch/starter/src/test/java/org/eclipse/ditto/services/thingsearch/starter/actors/SearchActorIT.java (diff)
Commit 4e9db4f632fa81b876530d290dc981fe65227083 by Florian Fendt
Let the QueryCriteriaValidator actually just validate a command instead of also parsing it

Signed-off-by: Florian Fendt <Florian.Fendt@bosch.io>
The file was modifiedservices/thingsearch/persistence/src/main/java/org/eclipse/ditto/services/thingsearch/persistence/query/QueryParser.java (diff)
The file was modifiedservices/thingsearch/common/src/main/java/org/eclipse/ditto/services/thingsearch/common/config/SearchConfig.java (diff)
The file was modifiedservices/thingsearch/persistence/src/main/java/org/eclipse/ditto/services/thingsearch/persistence/query/validation/DefaultQueryCriteriaValidator.java (diff)
The file was modifiedservices/thingsearch/persistence/src/main/java/org/eclipse/ditto/services/thingsearch/persistence/query/validation/QueryCriteriaValidator.java (diff)
Commit 88b7b9791f774182b4de08f3faf530781679b476 by Florian Fendt
Remove pubSubMediator from QueryCriteriaValidator as it can be created with the actorSystem.

Signed-off-by: Florian Fendt <Florian.Fendt@bosch.io>
The file was modifiedservices/thingsearch/persistence/src/main/java/org/eclipse/ditto/services/thingsearch/persistence/query/validation/DefaultQueryCriteriaValidator.java (diff)
The file was modifiedservices/thingsearch/starter/src/test/java/org/eclipse/ditto/services/thingsearch/starter/actors/SearchActorIT.java (diff)
The file was modifiedservices/thingsearch/starter/src/main/java/org/eclipse/ditto/services/thingsearch/starter/actors/SearchRootActor.java (diff)
The file was modifiedservices/thingsearch/persistence/src/main/java/org/eclipse/ditto/services/thingsearch/persistence/query/validation/QueryCriteriaValidator.java (diff)
Commit c28da2beb2a9025028523e67daf4ce0a4366096b by Florian Fendt
Rename config key for query criteria validator implementation class to make the name of the config entry more clear

Signed-off-by: Florian Fendt <Florian.Fendt@bosch.io>
The file was modifiedservices/thingsearch/persistence/src/main/java/org/eclipse/ditto/services/thingsearch/persistence/query/validation/QueryCriteriaValidator.java (diff)
The file was modifiedservices/thingsearch/common/src/main/java/org/eclipse/ditto/services/thingsearch/common/config/DittoSearchConfig.java (diff)
The file was modifiedservices/thingsearch/common/src/main/java/org/eclipse/ditto/services/thingsearch/common/config/SearchConfig.java (diff)
The file was modifiedservices/thingsearch/starter/src/test/resources/actors-test.conf (diff)
The file was modifiedservices/thingsearch/starter/src/main/resources/things-search.conf (diff)
Commit 67616010793e44b3a29d9080c033e0093cb0fd5c by Florian Fendt
Make DittoSearchConfig extensible by providing its current config path

Signed-off-by: Florian Fendt <Florian.Fendt@bosch.io>
The file was modifiedservices/thingsearch/persistence/src/main/java/org/eclipse/ditto/services/thingsearch/persistence/query/validation/QueryCriteriaValidator.java (diff)
The file was modifiedservices/thingsearch/common/src/main/java/org/eclipse/ditto/services/thingsearch/common/config/DittoSearchConfig.java (diff)
The file was modifiedservices/thingsearch/starter/src/main/java/org/eclipse/ditto/services/thingsearch/starter/actors/SearchRootActor.java (diff)
Commit 67089bff8f8119dfb5020ff652bc80c9cc444e52 by david.schwilk
Change license header for search query validation to 2021

Signed-off-by: David Schwilk <david.schwilk@bosch.io>
The file was modifiedservices/thingsearch/persistence/src/main/java/org/eclipse/ditto/services/thingsearch/persistence/query/validation/QueryCriteriaValidator.java (diff)
The file was modifiedservices/thingsearch/starter/src/test/resources/logback-test.xml (diff)
The file was modifiedservices/thingsearch/persistence/src/main/java/org/eclipse/ditto/services/thingsearch/persistence/query/validation/DefaultQueryCriteriaValidator.java (diff)