OHDSI / Atlas

ATLAS is an open source software tool for researchers to conduct scientific analyses on standardized observational data
http://atlas-demo.ohdsi.org/
Apache License 2.0
266 stars 136 forks source link

Adds Solr Vocab status to Configuration page #2869

Open alondhe opened 1 year ago

alondhe commented 1 year ago

This addresses part of #2586.

Only is visible if the app config's useSolrVocabSearch setting is true. If false (which is by default), then you see:

image

If set to true but no cores are accessible based on the WebAPI's info endpoint:

image

If set to true and at least 1 core is available based on the WebAPI's info endpoint, the first core is shown. This matches current functionality, but we should look at being able to pick different cores.

image

chrisknoll commented 1 year ago

Hi, @alondhe , we spoke off line, but for the record: let's avoid the need to set a new config param to make the core versions show, and instead depend on the informatino returned from /info to tell if solr is enabled, and which cores are enabled, and render the UI based on that. This prevents someone 'forgetting' to set a param and simplifies the functionality.