diff options
author | Maros Marsalek <mmarsalek@frinx.io> | 2018-04-25 10:20:59 +0200 |
---|---|---|
committer | Marek Gradzki <mgradzki@cisco.com> | 2018-06-22 07:51:15 +0000 |
commit | 6b85046b2aebdcac796f12ccbe78394b625eff44 (patch) | |
tree | 1ae06b7dd3eacfe5d93ff0ffcc248532b87c3b9f /infra/translate-utils/src | |
parent | 27e44d90653d16cbfe60757679a3f7d044ee1932 (diff) |
Collect all the updates for subtree writersstable/1801
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>
Signed-off-by: Marek Gradzki <mgradzki@cisco.com>
(cherry picked from commit 4aba3123f79d21b480e9e1cb3e0cdbcf3068ba1b)
Diffstat (limited to 'infra/translate-utils/src')
-rw-r--r-- | infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/DataObjects.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/DataObjects.java b/infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/DataObjects.java index 77db65c5d..f3da1c767 100644 --- a/infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/DataObjects.java +++ b/infra/translate-utils/src/test/java/io/fd/honeycomb/translate/util/DataObjects.java @@ -69,6 +69,14 @@ public class DataObjects { RWUtils.makeIidWildcarded(InstanceIdentifier.create(DataObject1.class).child(DataObject1ChildK.class)); InstanceIdentifier<DataObject1ChildK> INTERNALLY_KEYED_IID = InstanceIdentifier.create(DataObject1.class) .child(DataObject1ChildK.class, new DataObject1ChildKey()); + + public interface DataObject1ChildKNested extends DataObject, ChildOf<DataObject1ChildK> { + InstanceIdentifier<DataObject1ChildK.DataObject1ChildKNested> IID = DataObject1ChildK.IID.child(DataObject1ChildK.DataObject1ChildKNested.class); + } + + public interface DataObject1ChildKNested2 extends DataObject, ChildOf<DataObject1ChildK> { + InstanceIdentifier<DataObject1ChildK.DataObject1ChildKNested2> IID = DataObject1ChildK.IID.child(DataObject1ChildK.DataObject1ChildKNested2.class); + } } public static class DataObject1ChildKey implements Identifier<DataObject1ChildK> { |