-
Notifications
You must be signed in to change notification settings - Fork 290
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
Fixes #5334 - removes traces of Elastic Search #5578
Conversation
db18dd5
to
9fe3ab4
Compare
There may still be a couple of traces in the backup/restore script and in the ping test. LGTM aside from that though 🐨 |
d82032b
to
1667458
Compare
If this is designed to remove the last bits of ES, please update this to 'fixes' and also update the Redmine ticket to better describe what this is fixing. |
Looks like this is what @beav is referring to --https://github.com/Katello/katello/blob/master/spec/models/ping_spec.rb#L11-L12 Also, this can now be removed and any references to it (check application_controller.rb) -- https://github.com/Katello/katello/blob/master/config/katello.yaml.example#L16 This directory can be removed -- https://github.com/cfouant/katello/tree/166745889808a2279722209eee5d57b627894aaa/test/fixtures/vcr_cassettes/elasticsearch |
module Provider | ||
class ReindexSubscriptions < ElasticSearch::Abstract | ||
class ReindexSubscriptions < Actions::EntryAction | ||
middleware.use Actions::Middleware::KeepCurrentUser |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Blank line after this to separate logical chunks of code for readability.
Parts of (or perhaps the entire file) can be removed -- https://github.com/cfouant/katello/blob/166745889808a2279722209eee5d57b627894aaa/spec/helpers/search_helper_methods.rb |
1667458
to
1a7632f
Compare
7467761
to
23947e0
Compare
23947e0
to
81cf7c6
Compare
81cf7c6
to
b28e7af
Compare
@johnpmitsch - should all traces of System.index be removed? I note at least one other. |
Can you also update the PR message to say fixes? |
@cfouant I think so, I assume you mean https://github.com/Katello/katello/blob/master/lib/katello/tasks/clean_backend_objects.rake#L19 -- maybe @ehelms can confirm that line is ok to remove? |
@cfouant Yea, instances of System.index can be removed. In general, .index was an elasticsearch concept. |
Based on IRC conversation, you will want to remove the webmock removal commit -- that should also get the tests back to green. |
b28e7af
to
1d603f7
Compare
1d603f7
to
33231f7
Compare
ACK for me -- as @jlsherrill did a lot of the original ES work, I'd like him to do final ACK on this |
ACK from me 👍 So long ES, we hardly knew ye 🚢 |
Fixes #5334 - removes traces of Elastic Search
I know this is closed but I wanted to comment with a 👍 and 👏 |
No description provided.