Collect all the updates for subtree writers 08/12108/2
authorMaros Marsalek <mmarsalek@frinx.io>
Wed, 25 Apr 2018 08:20:59 +0000 (10:20 +0200)
committerMaros Marsalek <maros.mars@gmail.com>
Wed, 25 Apr 2018 10:52:02 +0000 (12:52 +0200)
commit4c17329ef1b88e75cc24561a3c249e9deb93f05a
treedf93e0a9c2e913cedf6d177b9cba6d58961dae80
parent06c54d51670655162465259854750d116faf9e7a
Collect all the updates for subtree writers

So far, when a subtree writer was registered on a list node
and ModificationDiff detected 2 or more updated list items for that writer,
FlatWriterRegistry just picked the first item in list, processed that one
and ignored the rest.

Change-Id: If66db1eaad5a3b5c35e5586f46fd83a0698e1728
Signed-off-by: Maros Marsalek <maros.mars@gmail.com>
infra/translate-impl/src/main/java/io/fd/honeycomb/translate/impl/write/registry/FlatWriterRegistry.java
infra/translate-impl/src/test/java/io/fd/honeycomb/translate/impl/write/registry/FlatWriterRegistryTest.java
infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/DataObjects.java