Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add blacklight:check rake tasks for checking solr and controller configurations #846

Merged
merged 1 commit into from Mar 20, 2014

Conversation

cbeer
Copy link
Member

@cbeer cbeer commented Mar 20, 2014

I'm not sure how widely desired this is, but I think it will be handy for trying to teach Blacklight, and hopefully useful in other contexts too. Here are the important checks I could think of:

$ rake blacklight:check:solr
[http://127.0.0.1:8983/solr/]
 - admin/ping: OK
$ rake blacklight:check:controller
[CatalogController]
 - find: OK
 - get_search_results: OK
 - get_solr_response_for_doc_id: OK
$ rake blacklight:check:controller VERBOSE=true
[CatalogController]
 - find: OK
    status: 0
    numFound: 30
    doc count: 10
    facet fields: 9
 - get_search_results: OK
    status: 0
    numFound: 30
    doc count: 10
    facet fields: 7
 - get_solr_response_for_doc_id: OK
    status: 0
$ rake blacklight:check:controller[BookmarksController]
[BookmarksController]
 - find: OK
 - get_search_results: OK
 - get_solr_response_for_doc_id: OK

Fixes #812

jcoyne added a commit that referenced this pull request Mar 20, 2014
add blacklight:check rake tasks for checking solr and controller configurations
@jcoyne jcoyne merged commit f42198a into master Mar 20, 2014
@jcoyne jcoyne deleted the check-task branch March 20, 2014 21:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants