Skip to content

INSPIRE Atom feeds / Fix link to atom search endpoint#7565

Merged
fxprunayre merged 1 commit into
geonetwork:mainfrom
GeoCat:inspire-atom-search
Jan 5, 2024
Merged

INSPIRE Atom feeds / Fix link to atom search endpoint#7565
fxprunayre merged 1 commit into
geonetwork:mainfrom
GeoCat:inspire-atom-search

Conversation

@josegar74

Copy link
Copy Markdown
Member

Follow up of #6395

The URL in the ATOM Feeds OpenSearchDescription.xml document pointed to /htmlsearch. This service is not defined in GeoNetwork 4.x and also in GeoNetwork 3.12.x was redirecting to the application search results page. What looks not correct as the endpoint is to return ATOM Feeds.

Updated to use the correct endpoint.

Test case (with local feeds):

  1. Enable the INSPIRE setting
  2. Create an iso19139 service metadata
  3. Request the OpenSearchDescription.xml document:

http://localhost:8080/geonetwork/srv/opensearch/OpenSearchDescription.xml?uuid=SERVICEUUID

Without the change:

http://localhost:8080/geonetwork/srv/en/opensearch/htmlsearch?q={searchTerms?}

Endpoint fails as doesn't exist

With the change:

http://localhost:8080/geonetwork/opensearch/en/search?q={searchTerms?}

Checklist

  • I have read the contribution guidelines
  • Pull request provided for main branch, backports managed with label
  • Good housekeeping of code, cleaning up comments, tests, and documentation
  • Clean commit history broken into understandable chucks, avoiding big commits with hundreds of files, cautious of reformatting and whitespace changes
  • Clean commit messages, longer verbose messages are encouraged
  • API Changes are identified in commit messages
  • Testing provided for features or enhancements using automatic tests)
  • User documentation provided for new features or enhancements in mannual
  • Build documentation provided for development instructions in README.md files
  • Library management using pom.xml dependency management. Update build documentation with intended library use and library tutorials or documentation

@josegar74 josegar74 added this to the 4.4.2 milestone Dec 20, 2023
@josegar74 josegar74 requested a review from fxprunayre December 20, 2023 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants