[SNMP4SDN-19] Many REST APIs fail due to expect4j dependencies missing Created: 01/Sep/16  Updated: 19/Oct/17

Status: Confirmed
Project: snmp4sdn
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: Christine Hsieh Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


External issue ID: 6605

 Description   

For snmp4sdn REST APIs that was implemented using CLI to configure switches, fail, including:
All ACL APIs:
acl:xxx (all ACL functions)
Some STP APIs:
misc-config:enable-stp
misc-config:disable-stp

With the gerrit, "Use upstream expect4j", the dependencies expect4j requires are missing (gerrit #43235 for mater, and #43480 for stable/boron).

The missing dependencies could be found as below.
In Karaf console, execute command:
bundle:headers <expect4j_bundle_id>
then shows some import-package are red.
The red ones includes:
com.jcraft.jsch;resolution:=optional,
org.apache.commons.net.io;resolution:=optional,
org.apache.commons.net.telnet;resolution:=optional,
org.apache.oro.text;resolution:=optional,
org.apache.oro.text.regex;resolution:=optional,


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