WriteTransaction writeTransaction = dataBroker.newWriteOnlyTransaction();
final InstanceIdentifier<PatchCont> iid = InstanceIdentifier.create(PatchCont.class);
- writeTransaction.mergeParentStructurePut(LogicalDatastoreType.CONFIGURATION, iid, new PatchContBuilder()
+ writeTransaction.put(LogicalDatastoreType.CONFIGURATION, iid, new PatchContBuilder()
.addAugmentation(new PatchCont1Builder()
.setPatchChoice1(new PatchCase1Builder().setCaseLeaf1("ChoiceLeaf").build())
.setLeaf1("AugmentLeaf")
adapter.assertGot(getNotifJson(JSON_NOTIF_LEAVES_CREATE));
writeTransaction = dataBroker.newWriteOnlyTransaction();
- writeTransaction.mergeParentStructureMerge(LogicalDatastoreType.CONFIGURATION, iid, new PatchContBuilder()
+ writeTransaction.merge(LogicalDatastoreType.CONFIGURATION, iid, new PatchContBuilder()
.addAugmentation(new PatchCont1Builder()
.setPatchChoice1(new PatchCase1Builder().setCaseLeaf1("ChoiceUpdate").build())
.setLeaf1("AugmentLeaf")
WriteTransaction writeTransaction = dataBroker.newWriteOnlyTransaction();
final InstanceIdentifier<PatchCont> iid = InstanceIdentifier.create(PatchCont.class);
- writeTransaction.mergeParentStructurePut(LogicalDatastoreType.CONFIGURATION, iid, new PatchContBuilder()
+ writeTransaction.put(LogicalDatastoreType.CONFIGURATION, iid, new PatchContBuilder()
.addAugmentation(new PatchCont1Builder()
.setPatchChoice2(new PatchCase11Builder()
.setPatchSubChoice11(new PatchSubCase11Builder()
adapter.assertGot(getNotifJson(JSON_NOTIF_CHANGED_LEAVES_CREATE));
writeTransaction = dataBroker.newWriteOnlyTransaction();
- writeTransaction.mergeParentStructureMerge(LogicalDatastoreType.CONFIGURATION, iid, new PatchContBuilder()
+ writeTransaction.merge(LogicalDatastoreType.CONFIGURATION, iid, new PatchContBuilder()
.addAugmentation(new PatchCont1Builder()
.setPatchChoice2(new PatchCase11Builder()
.setPatchSubChoice11(new PatchSubCase11Builder()
MyList1Builder builder = new MyList1Builder().setMyLeaf11("Jed").setName("Althea");
final InstanceIdentifier<MyList1> iid = InstanceIdentifier.create(PatchCont.class)
.child(MyList1.class, new MyList1Key("Althea"));
- writeTransaction.mergeParentStructurePut(LogicalDatastoreType.CONFIGURATION, iid, builder.build());
+ writeTransaction.put(LogicalDatastoreType.CONFIGURATION, iid, builder.build());
writeTransaction.commit();
adapter.assertGot(getNotifJson(JSON_NOTIF_CREATE));
writeTransaction = dataBroker.newWriteOnlyTransaction();
builder = new MyList1Builder().withKey(new MyList1Key("Althea")).setMyLeaf12("Bertha");
- writeTransaction.mergeParentStructureMerge(LogicalDatastoreType.CONFIGURATION, iid, builder.build());
+ writeTransaction.merge(LogicalDatastoreType.CONFIGURATION, iid, builder.build());
writeTransaction.commit();
adapter.assertGot(getNotifJson(JSON_NOTIF_UPDATE));
MyList1Builder builder = new MyList1Builder().setMyLeaf11("Jed").setName("Althea");
InstanceIdentifier<MyList1> iid = InstanceIdentifier.create(PatchCont.class)
.child(MyList1.class, new MyList1Key("Althea"));
- writeTransaction.mergeParentStructurePut(LogicalDatastoreType.CONFIGURATION, iid, builder.build());
+ writeTransaction.put(LogicalDatastoreType.CONFIGURATION, iid, builder.build());
writeTransaction.commit();
adapter.assertGot(getNotifJson(JSON_NOTIF_WITHOUT_DATA_CREATE));
writeTransaction = dataBroker.newWriteOnlyTransaction();
builder = new MyList1Builder().withKey(new MyList1Key("Althea")).setMyLeaf12("Bertha");
- writeTransaction.mergeParentStructureMerge(LogicalDatastoreType.CONFIGURATION, iid, builder.build());
+ writeTransaction.merge(LogicalDatastoreType.CONFIGURATION, iid, builder.build());
writeTransaction.commit();
adapter.assertGot(getNotifJson(JSON_NOTIF_WITHOUT_DATA_UPDATE));
MyList1Builder builder = new MyList1Builder().setMyLeaf11("Jed").setName("Althea");
InstanceIdentifier<MyList1> iid = InstanceIdentifier.create(PatchCont.class)
.child(MyList1.class, new MyList1Key("Althea"));
- writeTransaction.mergeParentStructurePut(LogicalDatastoreType.CONFIGURATION, iid, builder.build());
+ writeTransaction.put(LogicalDatastoreType.CONFIGURATION, iid, builder.build());
writeTransaction.commit();
adapter.assertXmlSimilar(getResultXml(XML_NOTIF_CREATE));
writeTransaction = dataBroker.newWriteOnlyTransaction();
builder = new MyList1Builder().withKey(new MyList1Key("Althea")).setMyLeaf12("Bertha");
- writeTransaction.mergeParentStructureMerge(LogicalDatastoreType.CONFIGURATION, iid, builder.build());
+ writeTransaction.merge(LogicalDatastoreType.CONFIGURATION, iid, builder.build());
writeTransaction.commit();
adapter.assertXmlSimilar(getResultXml(XML_NOTIF_UPDATE));
MyList1Builder builder = new MyList1Builder().setMyLeaf11("Jed").setName("Althea");
InstanceIdentifier<MyList1> iid = InstanceIdentifier.create(PatchCont.class)
.child(MyList1.class, new MyList1Key("Althea"));
- writeTransaction.mergeParentStructurePut(LogicalDatastoreType.CONFIGURATION, iid, builder.build());
+ writeTransaction.put(LogicalDatastoreType.CONFIGURATION, iid, builder.build());
writeTransaction.commit();
adapter.assertXmlSimilar(getResultXml(XML_NOTIF_WITHOUT_DATA_CREATE));
writeTransaction = dataBroker.newWriteOnlyTransaction();
builder = new MyList1Builder().withKey(new MyList1Key("Althea")).setMyLeaf12("Bertha");
- writeTransaction.mergeParentStructureMerge(LogicalDatastoreType.CONFIGURATION, iid, builder.build());
+ writeTransaction.merge(LogicalDatastoreType.CONFIGURATION, iid, builder.build());
writeTransaction.commit();
adapter.assertXmlSimilar(getResultXml(XML_NOTIF_WITHOUT_DATA_UPDATE));
changeService.registerDataTreeChangeListener(root, adapter);
WriteTransaction writeTransaction = dataBroker.newWriteOnlyTransaction();
final InstanceIdentifier<PatchCont> iid = InstanceIdentifier.create(PatchCont.class);
- writeTransaction.mergeParentStructurePut(LogicalDatastoreType.CONFIGURATION, iid, new PatchContBuilder()
+ writeTransaction.put(LogicalDatastoreType.CONFIGURATION, iid, new PatchContBuilder()
.addAugmentation(new PatchCont1Builder()
.setPatchChoice1(new PatchCase1Builder().setCaseLeaf1("ChoiceLeaf").build())
.setLeaf1("AugmentLeaf")
adapter.assertXmlSimilar(getResultXml(XML_NOTIF_LEAVES_CREATE));
writeTransaction = dataBroker.newWriteOnlyTransaction();
- writeTransaction.mergeParentStructureMerge(LogicalDatastoreType.CONFIGURATION, iid, new PatchContBuilder()
+ writeTransaction.merge(LogicalDatastoreType.CONFIGURATION, iid, new PatchContBuilder()
.addAugmentation(new PatchCont1Builder()
.setPatchChoice1(new PatchCase1Builder().setCaseLeaf1("ChoiceUpdate").build())
.setLeaf1("AugmentLeaf")
changeService.registerDataTreeChangeListener(root, adapter);
WriteTransaction writeTransaction = dataBroker.newWriteOnlyTransaction();
final InstanceIdentifier<PatchCont> iid = InstanceIdentifier.create(PatchCont.class);
- writeTransaction.mergeParentStructurePut(LogicalDatastoreType.CONFIGURATION, iid, new PatchContBuilder()
+ writeTransaction.put(LogicalDatastoreType.CONFIGURATION, iid, new PatchContBuilder()
.addAugmentation(new PatchCont1Builder()
.setPatchChoice2(new PatchCase11Builder()
.setPatchSubChoice11(new PatchSubCase11Builder()
adapter.assertXmlSimilar(getResultXml(XML_NOTIF_CHANGED_LEAVES_CREATE));
writeTransaction = dataBroker.newWriteOnlyTransaction();
- writeTransaction.mergeParentStructureMerge(LogicalDatastoreType.CONFIGURATION, iid, new PatchContBuilder()
+ writeTransaction.merge(LogicalDatastoreType.CONFIGURATION, iid, new PatchContBuilder()
.addAugmentation(new PatchCont1Builder()
.setPatchChoice2(new PatchCase11Builder()
.setPatchSubChoice11(new PatchSubCase11Builder()