Skip to content

Check for existence of related object in IngestedRelationshipsTransformer#14

Open
mike-jones wants to merge 6 commits intoredbox-mint:masterfrom
innodev-au:master
Open

Check for existence of related object in IngestedRelationshipsTransformer#14
mike-jones wants to merge 6 commits intoredbox-mint:masterfrom
innodev-au:master

Conversation

@mike-jones
Copy link

Added logic and configuration options to control the behaviour of the IngestedRelationshipsTransformer's handling of related objects.

  1. Check for existence of the related object before creating the relationship. This logic is activated by using the boolean option "checkExistence" (which may exist within the relationship definition of the JSON config).

  2. Forcibly update relationship metadata (at harvest time) - overriding the existing PROPERTY_FLAG check. This logic is activated by using the boolean option "forceUpdate" (which may exist directly under the "ingest-relations" section in the JSON config).

…handled such that:

- related object existence checking may be done (configurable with the "checkExistence" property)
- forced updating of the relationships on a harvested record (configurable with the "forceUpdate" property)
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