This reverts commit
8befab93f3eb3683ddf68665542bf64c3f36f9f7.
Downstreams are not disconnected from master yet and this exposes
issues with mis-alignment of models and implementation.
Change-Id: Ifc0a9113b7985011be0eff1853d7668e85ece403
Signed-off-by: Robert Varga <robert.varga@pantheon.tech>
public class DataTreeConfiguration implements Immutable {
public static final DataTreeConfiguration DEFAULT_CONFIGURATION = new Builder(TreeType.CONFIGURATION)
.setMandatoryNodesValidation(true).build();
- public static final DataTreeConfiguration DEFAULT_OPERATIONAL = new Builder(TreeType.OPERATIONAL)
- .setMandatoryNodesValidation(true).build();
+ public static final DataTreeConfiguration DEFAULT_OPERATIONAL = new Builder(TreeType.OPERATIONAL).build();
private final TreeType treeType;
private final YangInstanceIdentifier rootPath;
dataTreeConfiguration = DataTreeConfiguration.getDefault(TreeType.OPERATIONAL);
assertEquals(TreeType.OPERATIONAL, dataTreeConfiguration.getTreeType());
assertFalse(dataTreeConfiguration.isUniqueIndexEnabled());
- assertTrue(dataTreeConfiguration.isMandatoryNodesValidationEnabled());
+ assertFalse(dataTreeConfiguration.isMandatoryNodesValidationEnabled());
}
}