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

Metadata search cleanup #910

Merged
merged 4 commits into from
Jan 25, 2023
Merged

Conversation

ZakarFin
Copy link
Member

This makes metadata searches a bit faster by requesting "summary" dataset instead of "full". There's a more efficient "brief" option, but it doesn't include dates or organization in the response so we can't use it as a direct replacement.

Also removes unnecessary/duplicated configuration for metadata service integration on Oskari. The only required property in oskari-ext.properties for metadata functionality is now service.metadata.url:

# Used by metadata search/flyout/CSW coverage scheduled task
service.metadata.url=https://www.paikkatietohakemisto.fi/geonetwork/srv/fin/csw

These properties are no longer used and can be removed from oskari-ext.properties:

  • search.channel.METADATA_CATALOGUE_CHANNEL.query.url
  • search.channel.METADATA_CATALOGUE_CHANNEL.server.url
  • search.channel.METADATA_CATALOGUE_CHANNEL.metadata.catalogue.server
  • search.channel.METADATA_CATALOGUE_CHANNEL.metadata.catalogue.path
  • search.channel.METADATA_CATALOGUE_CHANNEL.metadata.catalogue.queryParams
  • search.channel.METADATA_CATALOGUE_CHANNEL.fetchpage.url.[lang code]
  • search.channel.METADATA_CATALOGUE_CHANNEL.image.url.[lang code]

@ZakarFin ZakarFin added this to the 2.10.0 milestone Jan 25, 2023
@ZakarFin ZakarFin merged commit 1cebf3c into oskariorg:develop Jan 25, 2023
@ZakarFin ZakarFin deleted the metadata-search branch January 25, 2023 15:05
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.

1 participant