Skip to content

Add node.search_url to internalAPI

Dmitry Gruzd requested to merge add-webserver-url into main

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.

  1. Export GDK_DIR
    export GDK_DIR=<PATH_TO_GDK>
  2. Execute Zoekt indexer in GDK mode
    make gdk
  3. Tail log/development.log
  4. Verify that you see both node.search_url and node.url as parameters for /api/v4/internal/search/zoekt/<UUID>/tasks
Edited by Dmitry Gruzd

Merge request reports

Loading