Bug 2358 - Resources for tests json to nn 85/19285/5
authorary <jatoth@cisco.com>
Wed, 29 Apr 2015 09:45:31 +0000 (11:45 +0200)
committerGerrit Code Review <gerrit@opendaylight.org>
Tue, 16 Jun 2015 13:51:10 +0000 (13:51 +0000)
commit1f69678cc0dd17e1161ed9274cc2aff9b384b8ac
tree400d7e2cbbaf989a12fa233051f364759e69fb06
parent7dee83bb7c2645ec9062b9ccd8b9b58261770136
Bug 2358 - Resources for tests json to nn

Tests of codecs are included in codecs yangtools yang-data-codec-gson and yang-data-impl but we test codec on input data and also with presentation of Rest path.

* fix and add yang files for tests
* fix json files
* rename base folder of json-to-cnsn to json-to-nn

Change-Id: Id0a23e655c3ddaaeb60f8652d57a7a5d1458063a
Signed-off-by: ary <jatoth@cisco.com>
(cherry picked from commit 6047f7d9e4f6dbd22666718fcd2d62b91cd245d7)
27 files changed:
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-cnsn/array-with-null.json [deleted file]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-cnsn/identityref/json/data.json [deleted file]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-cnsn/multiple-leaflist-items.json [deleted file]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-cnsn/wrong-top-level2.json [deleted file]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/array-with-null.json [new file with mode: 0644]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/empty-data.json [moved from opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-cnsn/empty-data.json with 100% similarity]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/empty-data1.json [moved from opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-cnsn/empty-data1.json with 100% similarity]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/identityref/identity-module.yang [moved from opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-cnsn/identityref/identity-module.yang with 100% similarity]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/identityref/identityref-module.yang [moved from opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-cnsn/identityref/identityref-module.yang with 100% similarity]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/identityref/json/data.json [new file with mode: 0644]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/invalid-uri-character-in-value.json [moved from opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-cnsn/invalid-uri-character-in-value.json with 75% similarity]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/leafref/augment-leafref-module.yang [moved from opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-cnsn/leafref/augment-leafref-module with 100% similarity]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/leafref/json/data.json [moved from opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-cnsn/leafref/json/data.json with 73% similarity]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/leafref/leafref-module.yang [moved from opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-cnsn/leafref/leafref-module with 100% similarity]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/multiple-items-in-list.json [moved from opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-cnsn/multiple-items-in-list.json with 88% similarity]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/multiple-leaflist-items.json [new file with mode: 0644]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/simple-container-yang/simple-container.yang [moved from opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-cnsn/simple-container-yang/simple-container.yang with 100% similarity]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/simple-container.json [moved from opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-cnsn/simple-container.json with 100% similarity]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/simple-list-yang/1/simple-list1.yang [moved from opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-cnsn/simple-list-yang/1/simple-list1.yang with 100% similarity]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/simple-list-yang/2/simple-list2.yang [moved from opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-cnsn/simple-list-yang/2/simple-list2.yang with 100% similarity]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/simple-list-yang/3/multiple-items.yang [new file with mode: 0644]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/simple-list-yang/4/array-with-null.yang [new file with mode: 0644]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/simple-list.json [moved from opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-cnsn/simple-list.json with 85% similarity]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/unsupported-json-format.json [moved from opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-cnsn/unsupported-json-format.json with 100% similarity]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/wrong-top-level1.json [moved from opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-cnsn/wrong-top-level1.json with 67% similarity]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/wrong-top-level2.json [new file with mode: 0644]
opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-nn/wrong-top-level3.json [moved from opendaylight/md-sal/sal-rest-connector/src/test/resources/json-to-cnsn/wrong-top-level3.json with 100% similarity]

©2013 OpenDaylight, A Linux Foundation Collaborative Project. All Rights Reserved.
OpenDaylight is a registered trademark of The OpenDaylight Project, Inc.
Linux Foundation and OpenDaylight are registered trademarks of the Linux Foundation.
Linux is a registered trademark of Linus Torvalds.