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

Update links handling for Aardvark transform #115

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

ghukill
Copy link
Contributor

@ghukill ghukill commented Jan 26, 2024

Helpful background context

With updates to the structure of dct_references_s in GeoHarvester (PR), Transmogrifier needs updates as well for parsing that JSON string.

Updates:

  • Field method get_links() is updated to handle new url / website type in JSON string
  • Updating to http vs https for schema.org URIs to be consistent with other OGM metadata

How can a reviewer manually see the effects of these changes?

Changes are minor, updates in test shows how links field is updated in outputted TIMDEX Record.

What are the relevant tickets?

Developer

  • All new ENV is documented in README
  • Stakeholder approval has been confirmed (or is not needed)

Code Reviewer

  • The commit message is clear and follows our guidelines
    (not just this pull request message)
  • There are appropriate tests covering any new functionality
  • The documentation has been updated or is unnecessary
  • The changes have been verified
  • New dependencies are appropriate or there were no changes

Includes new or updated dependencies?

YES | NO

Why these changes are being introduced:
With updates to the structure of dct_references_s in GeoHarvester, Transmogrifier needs updates
as well for parsing that JSON string.

How this addresses that need:
* Field method get_links() is updated to handle new url / website type in JSON string
* Updating to http vs https for schema.org URIs to be consistent with other OGM metadata

Side effects of this change:
* Additional links in TIMDEX record

Relevant ticket(s):
* https://mitlibraries.atlassian.net/browse/GDT-149
@ghukill ghukill merged commit 4d8e00a into main Jan 29, 2024
4 checks passed
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.

3 participants