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

LIBHYDRA-577: Updating about controller to ping Solr #398

Merged
merged 6 commits into from
Apr 18, 2024

Conversation

aguilarm-umd
Copy link
Contributor

When visiting the about page, pinging solr so that when refreshing the user can be sure that Solr is back up again. Previously refreshing the page would have user's think the service was back up. Now a flash screen will appear on refresh's of the page.

https://umd-dit.atlassian.net/browse/LIBHYDRA-577

aguilarm-umd and others added 4 commits April 17, 2024 16:38
When visiting the about page, pinging solr so that when refreshing
the user can be sure that Solr is back up again. Previously refreshing
the page would have user's think the service was back up. Now a flash
screen will appear on refresh's of the page.

https://umd-dit.atlassian.net/browse/LIBHYDRA-577
…rror methods.

- put the common code into the application controller (logging and setting the flash message)
- replaced the Solr error handler in the catalog_controller with goto_about_page, which calls solr_connection_error then does the redirect

https://umd-dit.atlassian.net/browse/LIBHYDRA-577
Copy link
Member

@peichman-umd peichman-umd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. See one suggested change to consolidate the catalog and static_pages solr_connection_error methods in PR #5

LIBHYDRA-577. Combined the catalog and static_pages solr_connection_error methods.
@aguilarm-umd
Copy link
Contributor Author

Merged the changes requested

@peichman-umd peichman-umd merged commit b265bd6 into umd-lib:develop Apr 18, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants