Bug 5679 - implement new service RestconfService 41/49641/5
authorJakub Toth <jatoth@cisco.com>
Tue, 20 Dec 2016 12:14:38 +0000 (13:14 +0100)
committerJakub Toth <jatoth@cisco.com>
Wed, 21 Dec 2016 13:21:25 +0000 (14:21 +0100)
commit14e29006648677bb5c9c6e82e1a2201e005cdeca
treefc64dfd67072f451ee0dc2a4e5e33ef19bf49825
parent207f4a8a94a43a6cb310b7079f9727fea0b7e706
Bug 5679 - implement new service RestconfService

  * update constants of RestconfModule in Draft18 by latest draft
    of ietf-restconf
  * implement servic for getting yang library version
    * path - /restconf/18/yang-library-version
  * test for new implementation
  * move tests from ../rest/services/impl to ../base/services/impl

Change-Id: I6caf4dce2ce3000ba8ac2b9f0f98d90e25f36d31
Signed-off-by: Jakub Toth <jatoth@cisco.com>
14 files changed:
restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/Draft18.java
restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/base/services/api/BaseServicesWrapper.java
restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/base/services/api/RestconfService.java [new file with mode: 0644]
restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/base/services/impl/RestconfImpl.java [new file with mode: 0644]
restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/common/wrapper/services/ServicesWrapperImpl.java
restconf/sal-rest-connector/src/main/java/org/opendaylight/restconf/utils/mapping/RestconfMappingNodeUtil.java
restconf/sal-rest-connector/src/test/java/org/opendaylight/restconf/base/services/impl/RestconfImplTest.java [new file with mode: 0644]
restconf/sal-rest-connector/src/test/java/org/opendaylight/restconf/base/services/impl/RestconfOperationsServiceTest.java [moved from restconf/sal-rest-connector/src/test/java/org/opendaylight/restconf/rest/services/impl/RestconfOperationsServiceTest.java with 98% similarity]
restconf/sal-rest-connector/src/test/java/org/opendaylight/restconf/base/services/impl/RestconfSchemaServiceTest.java [moved from restconf/sal-rest-connector/src/test/java/org/opendaylight/restconf/rest/services/impl/RestconfSchemaServiceTest.java with 99% similarity]
restconf/sal-rest-connector/src/test/resources/restconf/impl/ietf-inet-types.yang [new file with mode: 0644]
restconf/sal-rest-connector/src/test/resources/restconf/impl/ietf-restconf-monitoring@2016-08-15.yang [new file with mode: 0644]
restconf/sal-rest-connector/src/test/resources/restconf/impl/ietf-restconf@2016-08-15.yang [new file with mode: 0644]
restconf/sal-rest-connector/src/test/resources/restconf/impl/ietf-yang-library@2016-06-21.yang [new file with mode: 0644]
restconf/sal-rest-connector/src/test/resources/restconf/impl/ietf-yang-types.yang [new file with mode: 0644]