[TSDR-60] TSC-97 ODL projects need to update their Karaf CLI code Created: 30/May/18 Updated: 07/Jun/18 Resolved: 07/Jun/18 |
|
| Status: | Resolved |
| Project: | tsdr |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Medium |
| Reporter: | Scott Melton | Assignee: | Scott Melton |
| Resolution: | Won't Do | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Description |
|
Seen in Persistence-h2, review the link for other usage. The way to integrate CLI commands has changed, as detailed in https://karaf.apache.org/manual/latest/#_console_3 . All ODL projects need to migrate to this.
should not be used
|
| Comments |
| Comment by Scott Melton [ 07/Jun/18 ] |
|
Persistence-h2 is the only place where the org.apache.karaf.shell.commands.Command is still used. Needs to be replaced with import org.apache.karaf.shell.api.action.Command. H2 was superceded by HSQLDB because of a licensing issue. Remove the code instead of fixing. Remove H2 from code base, downstream can pull Oxygen if needed. We identified other unused code, like the controller metrics monitor. We need to identify this code, evaluate and remove if not needed. Use separate patches for each removal. Review the External interface. Follow this removal and other code cleanup on |