Migrate netconf-console to Karaf 4 way 12/79612/2
authorJakub Morvay <jmorvay@frinx.io>
Thu, 17 Jan 2019 11:06:09 +0000 (12:06 +0100)
committerJakub Morvay <jakub.morvay@gmail.com>
Thu, 17 Jan 2019 13:02:43 +0000 (13:02 +0000)
commite430b05fd832a2799ae01b7ab9e163d280c4ab82
treee94a2ec79d1b097b9388daad0e60fd6f1691f601
parentd0fc0ce634e6e3588f2073959dbc237bc1677837
Migrate netconf-console to Karaf 4 way

Some migration of netconf-console commands has been already done. We
updated commands to use new Karaf shell-related APIs, but we are still
using blueprint XML to create and register these commands.

This does not work with the new API. Avoid using blueprint, use new
available annotations and refactor commands to be more Karaf 4
compliant.

See https://karaf.apache.org/manual/latest/update-notes.html#_commands
for more detail.

JIRA: NETCONF-599
Change-Id: Ib43ecf01e168f77528dadc6a9224dbf70fba4606
Signed-off-by: Jakub Morvay <jmorvay@frinx.io>
netconf/netconf-console/pom.xml
netconf/netconf-console/src/main/java/org/opendaylight/netconf/console/commands/NetconfConnectDeviceCommand.java
netconf/netconf-console/src/main/java/org/opendaylight/netconf/console/commands/NetconfDisconnectDeviceCommand.java
netconf/netconf-console/src/main/java/org/opendaylight/netconf/console/commands/NetconfListDevicesCommand.java
netconf/netconf-console/src/main/java/org/opendaylight/netconf/console/commands/NetconfShowDeviceCommand.java
netconf/netconf-console/src/main/java/org/opendaylight/netconf/console/commands/NetconfUpdateDeviceCommand.java
netconf/netconf-console/src/main/resources/org/opendaylight/blueprint/netconf-command.xml