F1 (Java) Story 28 [Search]: Implement search in a namespace context
Description
Today's Search logic is namespace-aware. It doesn't respect the x-collaboration header and can't perform a search in a custom namespace. We need to implement an accordant logic for it.
See ADR - Project & Workflow Services - Core Services Integration - Search Service Support
Acceptance criteria
- when the x-collaboration header is set, the search happens in a custom NS
Testing scenarios
- all unit tests
- search with and without the set x-collaboration header. Make sure the results are properly different.