Get parser runnable jar file to work with real TTPs 56/15156/2
authorColin Dixon <colin@colindixon.com>
Wed, 11 Feb 2015 16:58:39 +0000 (08:58 -0800)
committerColin Dixon <colin@colindixon.com>
Wed, 11 Feb 2015 17:11:39 +0000 (09:11 -0800)
commit8042355dbce937f3fc9aee668ca1b377409010e1
tree46e39b91a636532557a9df3608aedb0feb520edc
parent44e1c547d18f76f0b9a0596b6fc61e667e3556fd
Get parser runnable jar file to work with real TTPs

* Change parser's main function to create a simple TTP and print it in
  JSON instead of just printing a string.
* Created a utils module which provides tools for converting between
  TTPs and JSON/XML.
* Refactored a lot of the functions from the ttp-model's tests to the
  util module.

Change-Id: I667f120606217557711a0c7d778aea9f26146baf
Signed-off-by: Colin Dixon <colin@colindixon.com>
parser/src/main/java/org/opendaylight/ttp/parser/Main.java
pom.xml
ttp-model/pom.xml
ttp-model/src/test/java/org/opendaylight/ttp/model/test/TTPYangModelTest.java
utils/pom.xml [new file with mode: 0644]
utils/src/main/java/org/opendaylight/ttp/utils/TTPUtils.java [new file with mode: 0644]