TNO/knowledge-engine

Admin-UI in distributed mode should show existing KBs in other runtimes.

bnouwt opened this issue · 0 comments

Currently, the AdminUI retrieves the initial KBs once at startup and afterwards relies on the react KIs to update this initial state. However, the initial ask KI is triggered too quickly when the AdminUI's KE Runtime runs in distributed mode; it happens before other KE Runtimes and their KBs are retrieved and so it misses the initial KBs in those KE Runtimes. Possible solutions:

  • Make sure the initial ask KI is triggered after the initial KE Runtimes and their KBs are retrieved. Maybe just add a simple few seconds delay?
  • Create an API operation to manually trigger this ask KI, so we can at least fix the problem when it occurs.
  • Periodically (every few minutes?) trigger this ask KI and refresh the internal store.