[GENIUS-139] ITM CLI Commands migrated to new Karaf API and moved to new itm-cli bundle instead of mixed into itm-impl Created: 24/May/18  Updated: 28/Aug/19

Status: Open
Project: genius
Component/s: None
Affects Version/s: None
Fix Version/s: Neon

Type: Improvement Priority: Medium
Reporter: Michael Vorburger Assignee: Apurba Mukherjee
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

The ITM CLI Commands should all be migrated from the old to the new Karaf API.

They also should be all moved into a new TBD itm-cli bundle instead of mixed into itm-impl. (The itm-impl should contain no System.out or CommandSession; no dependency to Karaf CLI; anything related to that should only be in itm-cli, which should use OSGi services exposed by itm-impl, or even just itm-api.)

This will require some clean up, as currently non-CLI code pathes uses the same TepCommandHelper and there is weird code which if there is no CommandSession throws exceptions, but if there is prints to the console (for CLI commands). That should be cleaned up - probably by simply always throwing exceptions and catching them in the CLI.

https://git.opendaylight.org/gerrit/#/c/72204/ is a first stab at this. Who will replicate it?


Generated at Wed Feb 07 20:00:01 UTC 2024 using Jira 8.20.10#820010-sha1:ace47f9899e9ee25d7157d59aa17ab06aee30d3d.