[COMPASS-7193] Ping the hello endpoint on Compass startup to see if the ai features are enabled Created: 05/Sep/23  Updated: 25/Sep/23  Resolved: 13/Sep/23

Status: Closed
Project: Compass
Component/s: GAI
Affects Version/s: None
Fix Version/s: No version

Type: Task Priority: Major - P3
Reporter: Rhys Howell Assignee: Rhys Howell
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Depends
depends on COMPASS-7190 Add hello endpoint Closed
Epic Link: COMPASS-6866
Story Points: 3
Documentation Changes: Not Needed
Sprint: Iteration Juravenator, Iteration Kentrosaurus

 Description   

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.



 Comments   
Comment by Githook User [ 25/Sep/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: feat(atlas-service): ping if ai feature enabled COMPASS-7193 (#4840)
Branch: ga-releases
https://github.com/mongodb-js/compass/commit/121cce60246567df0da667d593f99b331f2dde41

Comment by Githook User [ 20/Sep/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: feat(atlas-service): ping if ai feature enabled COMPASS-7193 (#4840)
Branch: vectorsearch
https://github.com/mongodb-js/compass/commit/121cce60246567df0da667d593f99b331f2dde41

Comment by Githook User [ 19/Sep/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: feat(atlas-service): ping if ai feature enabled COMPASS-7193 (#4840)
Branch: refactor-compass-collection-plugin
https://github.com/mongodb-js/compass/commit/121cce60246567df0da667d593f99b331f2dde41

Comment by Githook User [ 18/Sep/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: feat(atlas-service): ping if ai feature enabled COMPASS-7193 (#4840)
Branch: beta-releases
https://github.com/mongodb-js/compass/commit/121cce60246567df0da667d593f99b331f2dde41

Comment by Githook User [ 14/Sep/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: feat(atlas-service): ping if ai feature enabled COMPASS-7193 (#4840)
Branch: COMPASS-7171-search-e2e-tests
https://github.com/mongodb-js/compass/commit/121cce60246567df0da667d593f99b331f2dde41

Comment by Githook User [ 14/Sep/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: feat(atlas-service): ping if ai feature enabled COMPASS-7193 (#4840)
Branch: export-to-language-v6
https://github.com/mongodb-js/compass/commit/121cce60246567df0da667d593f99b331f2dde41

Comment by Githook User [ 13/Sep/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: feat(atlas-service): ping if ai feature enabled COMPASS-7193 (#4840)
Branch: COMPASS-7167-drop-index
https://github.com/mongodb-js/compass/commit/121cce60246567df0da667d593f99b331f2dde41

Comment by Githook User [ 13/Sep/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: feat(atlas-service): ping if ai feature enabled COMPASS-7193 (#4840)
Branch: search-indexes-zero-state
https://github.com/mongodb-js/compass/commit/121cce60246567df0da667d593f99b331f2dde41

Comment by Githook User [ 13/Sep/23 ]

Author:

{'name': 'Rhys', 'email': 'Anemy@users.noreply.github.com', 'username': 'Anemy'}

Message: feat(atlas-service): ping if ai feature enabled COMPASS-7193 (#4840)
Branch: main
https://github.com/mongodb-js/compass/commit/121cce60246567df0da667d593f99b331f2dde41

Generated at Wed Feb 07 22:45:42 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.