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

filter search down to required fields #8

Merged
merged 3 commits into from
Oct 13, 2021

Conversation

drewdaemon
Copy link
Contributor

@drewdaemon drewdaemon commented Oct 12, 2021

Issue: https://devtopia.esri.com/dc/hub/issues/2279

The essence of this PR is moving the DCAT template creation logic up a level from formatDcatDataset() to getDataStreamDcatUs11(). This has two benefits

  1. it is more efficient than having to run the template creation logic for every dataset that needs to be processed
  2. it makes it easier for getDataStreamDcatUs11 to accurately report all the dependencies for the feed. This allows our serve handler to scope V3 API requests to just the fields that are actually required to generate the feed.

Copy link
Collaborator

@sonofflynn89 sonofflynn89 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good my man!

@drewdaemon drewdaemon merged commit cfe60c5 into main Oct 13, 2021
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.

2 participants