Skip to content

Conversation

@dr0i
Copy link
Member

@dr0i dr0i commented Jun 2, 2020

See #107.

This incorporates the fork used in https://github.com/hagbeck/metafacture-sandbox/tree/master/enrich_marcxml.

Introduces a new metamorph version.
Lightweight tagged with metamorph_v1.1.

@dr0i dr0i requested a review from fsteeg June 2, 2020 15:53
@dr0i dr0i added the Metamorph label Jun 2, 2020
@dr0i dr0i force-pushed the 107-passDataThroughMetamorph branch 2 times, most recently from 733a60b to c7a5721 Compare June 2, 2020 16:08
dr0i added 2 commits June 2, 2020 18:13
With this version of Metamorph entities (well, entity events) can be passed through.
It is slightly incomaptible with the default Metamorph where two tests would fail:

- org.metafacture.metamorph.collectors.EntityTest > shouldEmitEntityOnEachFlushEvent
- org.metafacture.metamorph.functions.UniqueTest -> shouldAllowSelectingTheUniqueScope

So this introduces a "<version>" element under the "<meta>" element in morph.

The data is flattened, as with Metamorph 1, but the entity's "start"
and "end" events are passed through so that the receiver can handle the flattened
data structure, unflatten it etc.

By preserving the entity events it's now also possible, without any workarounds,
to handle reiterations of entities having the same name.

- add "version" element to metamorph.xsd

See #107.
See also https://github.com/hagbeck/metafacture-sandbox/tree/master/enrich_marcxml.
@dr0i dr0i force-pushed the 107-passDataThroughMetamorph branch from c7a5721 to 7ca5615 Compare June 2, 2020 16:14
@blackwinter blackwinter linked an issue Oct 9, 2020 that may be closed by this pull request
@dr0i
Copy link
Member Author

dr0i commented Oct 13, 2020

Closing in favour of #333.

@dr0i dr0i closed this Oct 13, 2020
@dr0i dr0i deleted the 107-passDataThroughMetamorph branch April 30, 2021 10:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Pass data through Metamorph

2 participants