Uploaded image for project: 'Compass '
  1. Compass
  2. COMPASS-7193

Ping the hello endpoint on Compass startup to see if the ai features are enabled

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • No version
    • Affects Version/s: None
    • Component/s: GAI
    • None
    • 3
    • Not Needed
    • Iteration Juravenator, Iteration Kentrosaurus

      When Compass starts up, let's ping the hello endpoint added in COMPASS-7190.
      When the request returns a null response let's hide the ai feature. When it returns an object with enabled features we will show/enable them in UI. Save the response as a preference in Compass.

      When the response errors we should default to the existing preference value.

      This preference is defaulted to null on the first run of Compass.

            Assignee:
            rhys.howell@mongodb.com Rhys Howell
            Reporter:
            rhys.howell@mongodb.com Rhys Howell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: