[TSDR-30] Karaf commands are incorrect in documentation camelcase but the application requires uppercase. Created: 17/Oct/16  Updated: 30/Mar/18

Status: Open
Project: tsdr
Component/s: General
Affects Version/s: unspecified
Fix Version/s: None

Type: Bug
Reporter: RichardHill Assignee: Scott Melton
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified
Environment:

Operating System: All
Platform: All


Attachments: File logs.tar    
External issue ID: 6943

 Description   

The documentation shows TSDR karaf commands written in camelcase but the application requires uppercase.

  1. Tested
    Boron integration distribution

git.opendaylight.org:29418/tsdr refs/changes/95/46595/1 && git checkout FETCH_HEAD
commit d7d0b293d43944a6be9e931a68bd86ccf8fc9feb

TSDR
git.opendaylight.org:29418/tsdr.git
commit 2380fe58b68ce4440ff1421c083f9a050a47265c

  1. Steps
    I followed the steps on https://wiki.opendaylight.org/view/TSDR_Getting_Started.

cd tsdr
mvn clean install -DskipTests
cd ../distribution
mvn clean install -DskipTests

Building the TSDR first was succesful.
Building the Integration distribution failed with error

[ERROR] Failed to execute goal org.opendaylight.odlparent:karaf-plugin:1.8.0-SNAPSHOT:populate-local-repo (populate-local-repo) on
project distribution-karaf: Failed to execute: javax.xml.bind.UnmarshalException
[ERROR] - with linked exception:
[ERROR] [org.xml.sax.SAXParseException; lineNumber: 1; columnNumber: 1;
I need to investigate if this is reproducible.

I moved back to a clean machine (new VM with empty .m2) and reversed the order.
So built the integration distro first, then TSDR. Build was successful but running the command.

cd ../distribution
mvn clean install -DskipTests

cd tsdr
mvn clean install

cd ..
./distribution-karaf/target/assembly/bin/karaf

Then within the karaf console type:

tsdr:list FlowStats

opendaylight-user@root> tsdr:list FlowStats
Error executing command: No enum constant org.opendaylight.yang.gen.v1.opendaylight.tsdr.rev150219.DataCategory.FlowSt
ats

I then changed the command to

tsdr:list FLOWSTATS



 Comments   
Comment by RichardHill [ 17/Oct/16 ]

Attachment logs.tar has been added with description: karaf logs from test

Comment by Scott Melton [ 30/Mar/18 ]

Discussed in the 3-28-2018 weekly meeting.

There are several known error handling problems that will be addressed in Flourine.  SIngle defects will be opened as discovered.

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