Add node.search_url to internalAPI
What does this MR do and why?
This MR adds an optional search_url
agrument to the indexer, which will allow us to automatically register Zoekt nodes with GDK as well as make it more flexible for self-managed customers.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
- Export
GDK_DIR
export GDK_DIR=<PATH_TO_GDK>
- Execute Zoekt indexer in GDK mode
make gdk
- Tail
log/development.log
- Verify that you see both
node.search_url
andnode.url
as parameters for/api/v4/internal/search/zoekt/<UUID>/tasks
Edited by Dmitry Gruzd