Make sure to process all incoming DataObject modifications under
netconf-keystore:keystore container. Do not stop after handling
key-credential list items, handle also modified private-key and
trusted-certificate list items.
JIRA: NETCONF-598
Change-Id: I7e56791c46bd860f98259f73f2832e49abc2e3dc
Signed-off-by: Jakub Morvay <jmorvay@frinx.io>
if (dataAfter != null) {
dataAfter.getKeyCredential().forEach(pair -> pairs.put(pair.key().getKeyId(), pair));
}
- break;
} else if (changedChild.getDataType().equals(PrivateKey.class)) {
onPrivateKeyChanged((DataObjectModification<PrivateKey>)changedChild);