Add "provider" field to TIMDEX and derive values for GIS sources #137
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Purpose and background context
Add a top-level field
provider
to the TIMDEX data model and derive values for GIS sources (i.e.,gismit
andgisogm
via theMITAardvark
transformer). This field represents the institution or organization that provides access to the resource represented in TIMDEX. This change came from the need to support a UI filter "Institution" for the GeoData website and implements the decision proposed in ADR-0004.Note a couple things:
provider
for GIS sources.MITAardvark
transformer, the fieldschema_provider_s
is no longer mapped topublication_information
.How can a reviewer manually see the effects of these changes?
Temporarily set AWS credentials for
TimdexManagers
forDev1
in your terminal.Transform
gismit
recordstransmogrifier
:output/output_gismit.json
. All records will read "GIS Lab, MIT Libraries".Transform
gisogm
recorstransmogrifier
:output/output_gisogm.json
. All records will display the value fromschema_provider_s
, which derives its values from the OGM repositories config YAML file (see derivation in geo-harvester).Includes new or updated dependencies?
NO
Changes expectations for external applications?
YES; The OpenSearch field mapping in
timdex-index-manager
requires an update to include "provider" fieldWhat are the relevant tickets?
https://mitlibraries.atlassian.net/jira/software/c/projects/GDT/boards/225?selectedIssue=GDT-203
Developer
Code Reviewer(s)