<type>xml</type>
<classifier>features</classifier>
</dependency>
- <dependency>
- <groupId>org.opendaylight.infrautils</groupId>
- <artifactId>odl-infrautils-inject</artifactId>
- <type>xml</type>
- <classifier>features</classifier>
- </dependency>
<dependency>
<groupId>org.opendaylight.aaa</groupId>
<artifactId>odl-aaa-shiro</artifactId>
try {
Optional<String> res = jsonRestconfService.invokeRpc(
"sal-remote:create-data-change-event-subscription", Optional.of(SUBSCRIBE_JSON));
- LOG.info("create-data-change-event-subscription returned {}", res.toString());
+ LOG.info("create-data-change-event-subscription returned {}", res);
} catch (OperationFailedException e) {
LOG.error("exception while calling create-data-change-event-subscription", e);
}
Optional<String> res = null;
try {
res = jsonRestconfService.subscribeToStream(identifier, map);
- LOG.info("subscribeToStream returned {}", res.toString());
+ LOG.info("subscribeToStream returned {}", res);
} catch (OperationFailedException e) {
LOG.error("exception while calling subscribeToStream", e);
}