ozone
ozone copied to clipboard
HDDS-10389. Implement a search feature for users to locate open keys within the Open Keys Insights section.
What changes were proposed in this pull request?
The existing search functionality for open keys in the Open Keys Insights section is limited to the dataset returned by the API endpoint, which only provides a subset of the available data. It is necessary to enhance this search feature to ensure users can accurately find the specific key information they are seeking or the closest available match.
I have implemented a new search endpoint for Recon Insights specifically for open keys:
http://localhost:9888/api/v1/insights/openKeys/search?searchPrefix=
Currently, this feature is limited to open keys
to keep the initial implementation manageable and prevent the patch from becoming overly large. Since the search functionality involves querying both the KeyTable and the FileTable, we decided to introduce the feature for open keys first. The inclusion of search capabilities for deleted keys and directories will be addressed in subsequent PR's.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-10389
How was this patch tested?
Unit Testing and Manual Testing
@devmadhuu @dombizita Can you please review this! This has been open for quite some time now.
Hi @devmadhuu and @dombizita,
I've noticed that some tests have been failing for this feature ever since I resolved the merge conflict by rebasing. I'm currently in the process of fixing them, and I'll keep you both updated once I've completed the task.
@devmadhuu @dombizita Can you please take a look as this has been open for quite a lot of time and I believe can cat merged.