Remove open-ils.ingest service and related code

Bug #1187029 reported by Jeff Godin on 2013-06-03
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

It appears that the open-ils.ingest service and related code are no longer used nor required.

The working branch referenced below removes the open-ils.ingest service and configs/tests related to it, as well as some import scripts which appear to have been obsoleted by the move to in-db ingest.

There may be related code which should also be removed, or there may be reason to keep some/all of what I have removed here.

This was an experiment. Discussion welcome!

Galen Charlton (gmc) wrote :

I haven't looked at the patch in detail yet, but generally, +1 to getting rid of open-ils.ingest.

Jeff Godin (jgodin) wrote :

If removed, we will probably need to determine the best means of ensuring that existing configuration files are updated to remove reference to open-ils.ingest. This could be as simple as release notes, or could even involve a shim library for an extremely graceful deprecation process (though that might only be delaying the pain).

Galen Charlton (gmc) wrote :

Something that occurred to me while thinking about this: one consequence of the way that Evergreen's Perl modules get installed is that at the moment active steps would have to be taken during upgrade to remove I think we should consider adjusting Open-ILS/src/perlmods/ to do

Build install --uninst 1

Removing dormant sections is about the easiest thing I could envision a script that updates opensrf.xml automatically doing; starting such a script is worth considering IMO to reduce the amount of manual comparison that is required at the moment during upgrade.

If that's not favored, I think putting a note in the release notes is sufficient. It would be a nice enhancement for OpenSRF for it to have a way to check if all defined services have an underlying implementation, however.

I'm not in favor of leaving a shim library around; I think (without testing) that if one neglects to remove the service definition that the OpenSRF startup scripts will charge along blithely -- which is not a huge deal since nothing else depends on the service.

I'm assuming, by the way, that there's no compelling reason to backport the removal of open-ils.ingest.

Jeff Godin (jgodin) on 2013-06-05
Changed in evergreen:
assignee: nobody → Jeff Godin (jgodin)
Ben Shum (bshum) on 2013-07-25
Changed in evergreen:
status: New → In Progress
Jeff Godin (jgodin) on 2014-02-11
Changed in evergreen:
milestone: none → 2.6.0-beta1
Jeff Godin (jgodin) wrote :

I've rebased this branch against current master and done some testing. I've also added release notes recommending the removal of open-ils.ingest and the removal of OpenILS/Application/ from the Perl @INC path.

I researched and tested the suggestion of "Build install --uninst 1", and unfortunately it doesn't do what we want.

In testing, removal of without removing open-ils.ingest from the config was not fatal -- an obvious error was logged, but startup of the remaining services was not affected. Removal of the config without removing on disk should likewise be no issue.

Adding pullrequest for rebased branch user/jeff/remove_ingest_cruft_rebase located at:;a=shortlog;h=refs/heads/user/jeff/remove_ingest_cruft_rebase

Changed in evergreen:
status: In Progress → New
assignee: Jeff Godin (jgodin) → nobody
Bill Erickson (berick) on 2014-02-17
Changed in evergreen:
assignee: nobody → Bill Erickson (erickson-esilibrary)
status: New → In Progress
Bill Erickson (berick) wrote :

Passes the eyeball test. Passes a few running-server tests. 'make check' is happy. I'm not seeing any dangling references. Looks good to me. Merged to master with a tiny typo fix as icing. (Agreed with Galen there's no compelling reason to back-port). Thanks, Jeff!

Changed in evergreen:
assignee: Bill Erickson (erickson-esilibrary) → nobody
status: In Progress → Fix Committed
Changed in evergreen:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers