pulibrary / pdc_discovery

Princeton Data Commons discovery portal for Research Data
10 stars 0 forks source link

Solr check does not check the status of the collection we are utilizing, just that Solr is up. #669

Closed carolyncole closed 3 weeks ago

carolyncole commented 1 month ago

Testing the individual collection ping, or checking for a collection in the api response

curl http://localhost:8983/solr/pdc-core-dev/admin/ping or http://localhost:56146/solr/admin/cores?action=STATUS&core=pdc-core-dev and make sure the response has the core instead of empty list

{
  "responseHeader":{
    "status":0,
    "QTime":0},
  "initFailures":{},
  "status":{}
}

Acceptance criteria:

Notes: https://github.com/lbeder/health-monitor-rails/pull/121 has the new code for solr that is part of the gem

carolyncole commented 4 weeks ago

Hey team! Please add your planning poker estimate with Zenhub @hectorcorrea @JaymeeH @jrgriffiniii @kelynch @leefaisonr

carolyncole commented 3 weeks ago

Made a PR https://github.com/lbeder/health-monitor-rails/pull/124