-
Notifications
You must be signed in to change notification settings - Fork 0
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
DEV-429: Fix GeoServer URL references updates #14
Conversation
danschmidt5189
commented
Dec 22, 2023
•
edited
Loading
edited
- Fixes how GeoServer reference URLs are updated in the SolrIndexer.
- Refactors the GeoserverPublisher class to incorporate more of the logic currently in the ImportUtil class. Beefs up test coverage around its functionality, including adding a few end-to-end tests that rely on the geoservers running.
bf356b9
to
6223bd5
Compare
spec/geoserver_publisher_spec.rb
Outdated
end | ||
end | ||
|
||
describe 'publish' do |
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.
These tests all hit the actual running GeoServers, so they're pretty valuable. We need a few more end-to-end tests like these (especially for the DataHandler and the logic in the Cli.all method).
99ab0d0
to
64bdab3
Compare
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.
Thanks! Should we test staging next time with big batch?
64bdab3
to
e108ac3
Compare
- Fixes how GeoServer reference URLs are constructed. We now pass only the root path to the geoserver, omitting the /rest/ suffix pointing to the API. It's assumed that the API lives at /rest/ and the web service URLs live at /wms/ and /wfs/ - Refactors the GeoserverPublisher to incorporate much of the logic currently present in Cli or ImportUtil. The test suite has been updated and fleshed out accordingly. more stash more fixes gets suite passing
e108ac3
to
201ebd3
Compare