Status: Resolved (View Workflow)
Affects Version/s: None
Fix Version/s: 25.0.0
Security Level: Default (Default Security Scheme)
Sprint:Horizon 2019 - May 22nd 2019, Horizon 2019 - May 29th 2019, Horizon 2019 - June 5th 2019, Horizon 2019 - June 12th 2020, Horizon 2019 - June 19th 2019, Horizon 2019 - July 3rd 2019
The new graph service should allow searching.
- Search is only possible on a specific namespace
- Searching provides various SearchSuggestions not necessarily represented by a vertex (e.g. searching for a category)
- A SearchSuggestion will resolve to vertices, even if the suggestion is not directly known by the graph (e.g. searching for a category)
- No UI is required, ReST is sufficient. Maybe add `graph:search` karaf shell command
It is not required to implement various Search Providers, but provide the API/architecture for it.
An example provider may be implemented, e.g. ApplicationSearchProvider or LabelSearchProvider to demonstrate/verify the search function
There are already existing classes showing the API: https://github.com/opennms/opennms/tree/6098493f6432411a72394f48b4917260c0ee86de/features/graph/api/src/main/java/org/opennms/netmgt/graph/api/search
Feel free to deviate from them.